智能家居中异构网关的设计与应用
发布时间:2018-01-03 20:04
本文关键词:智能家居中异构网关的设计与应用 出处:《杭州电子科技大学》2015年硕士论文 论文类型:学位论文
更多相关文章: RT5350 网关 物联网 串口 Wi-Fi
【摘要】:随着物联网技术的不断成熟,给人们带来舒适、高效生活的智能家居越来越受到重视,家庭异构网关是智能家居系统的核心和枢纽,负责连通外部网络和内部网络,转换不同网络间的通信协议、数据格式,传达信息,在家居网络通信中起着至关重要的作用。本文首先对网关的需求进行了分析,在此基础上对网关通信方式进行了对比和选择,例举了网关的应用场景,并对网关的应用开发了完整的通信系统,包括了用户手持终端(Android手机)的应用开发,远端互联网服务器的中继转发程序,内部的通信网络则采用STM32板代替进行串口通信。主要根据网关的功能大致说明了硬件选型及整体架构;搭建了软件开发环境,移植嵌入式Linux 2.6.21.x的内核,选择关键的驱动和系统应用,进行了串口和Wi-Fi相互透传的程序设计,并在flash中保存网关的配置信息,通过自定义的AT通信协议对相关信息进行配置。Android客户端主要有登录鉴权、开关控制、查询功耗和历史用电、定时功能等家居实用的功能设计。远端互联网服务器主要用于转发数据帧,连通家庭网关和客户端两个通信链路,实现用户的远程访问家庭网络。STM32的串口通信主要包括对串口通信数据的缓冲,网关配置信息的设置以及网关工作状态的监测,如Wi-Fi的连接状态监测。在系统基本功能开发完毕后,根据网关实际应用中涉及的实用功能进行了配套的技术开发,如IP自动识别、网络自动切换等。针对普通用户的使用,设计了一键配置智能联网的简单操作,让网关连接到路由器中。最后,对网关进行了通信测试、延时测试和数据透传性能测试。测试结果表明网关达到了预期的设计目标,模块工作稳定,便于实际的应用,可预见广阔的市场前景。
[Abstract]:Along with the Internet technology continues to mature, to bring people comfort, high intelligent life Home Furnishing is paid more and more attention, home heterogeneous gateway is the core and hub of intelligent Home Furnishing system, responsible for communicating the external network and internal network, communication protocol conversion between different networks, data format, convey information, plays an important role in the Home Furnishing in network communication. Firstly, demand for gateway are analyzed, on the basis of the comparison and selection of the gateway communication mode, application scenarios examples of the gateway, and the application of the gateway developed a complete communication system, including the user terminal (mobile phone Android) application development, relay remote Internet server the redirector, communication network is used instead of STM32 board serial communication. According to the main gateway outlines the hardware choice and overall architecture; To build a software development environment, transplanting the embedded Linux 2.6.21.x kernel, select the key driver and application system, the serial port and Wi-Fi are passing through the program design, and save the configuration information gateway in flash, through the AT custom communication protocol for related information configuration.Android client login authentication, switch control the history, power and electricity inquiries, function design of timing function Home Furnishing practical. Remote Internet server is mainly used for forwarding data frame, connected home gateway and client two communication link, realize the serial communication with the remote access home network.STM32 users include the serial communication data buffer, monitoring gateway settings and configuration information the working state of the gateway, such as the Wi-Fi connection monitoring. In the development of the basic function of the system is completed, according to the actual application involved in the gateway The utility function of the technology supporting the development of IP, such as automatic identification, automatic switching network. Use for ordinary users, design a simple operation key configuration of intelligent network gateway, to connect to the router. Finally, the gateway communication test, delay test and data transmission performance test. The test results show that the gateway to achieve the desired design goals, system is stable, convenient of practical application, the foreseeable broad market prospects.
【学位授予单位】:杭州电子科技大学
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:TU855;TN915.05
【参考文献】
相关期刊论文 前1条
1 王渊博;贺伟;王殿伟;;嵌入式开发中文件传输工具的设计方法[J];信息通信;2014年09期
,本文编号:1375370
本文链接:https://www.wllwen.com/kejilunwen/wltx/1375370.html