当前位置:主页 > 管理论文 > 城建管理论文 >

智能家居系统客户端与网关的设计与实现

发布时间:2019-02-23 10:29
【摘要】:客户端与网关是智能家居系统中十分重要的部分。布局合理、控制方便的客户端会很大程度提升用户对是智能家居系统的整体感觉,而功能齐全、性能稳定的网关是智能家居系统中最重要的部分,能够对智能家居系统实现质的提升。本文设计并实现了基于Android平台的客户端和智能家居系统网关,旨在使智能家居系统控制更加方便、快捷,提升用户体验并实现对家居设备的集中化控制与管理。主要完成的研究工作如下: 1.根据整个智能家居系统体系结构和网关功能的实现逻辑,根据MVC设计模式对基于Android平台的客户端整体框架进行了设计,同时对客户端与网关交互的Socket通信和HTTP协议通信进行了设计与实现。设计了客户端数据库,采用客户端主动发送连接请求的方式实现客户端数据库与网关数据库的同步。 2.通过对数据库SQLite3和Web服务器Appweb的移植搭建了智能家居系统网关软件开发环境,设计了Socket服务器程序和Web服务器程序,分别连接客户端的Socket请求与HTTP协议请求,利用多线程机制实现了网关软件部分。设计了网关数据库保存家居环境状态数据和设备属性信息。 3.为了实现对家居设备进行统一的管理以及设备间的信息交互,设计了家居设备管理协议。根据智能家居系统的通信模型,设计了网络通信消息格式,从而采用格式化的消息交互格式提高了系统的可扩展性和网络传输的可靠性。 4.搭建了智能家居系统实验环境,对客户端和网关进行了功能测试,结果表明均可满足实际应用要求。对网关性能进行了分析比较,结果符合期望要求。
[Abstract]:Client and gateway are very important parts of smart home system. A client with reasonable layout and convenient control will greatly enhance the overall feeling that the user is a smart home system, and the gateway with complete functions and stable performance is the most important part of the smart home system. It can improve the quality of smart home system. This paper designs and implements the client and smart home system gateway based on Android platform, which aims to make the intelligent home system control more convenient and fast, improve the user experience and realize the centralized control and management of home equipment. The main research work is as follows: 1. According to the realization logic of the whole smart home system architecture and gateway function, according to the MVC design pattern, the whole client frame based on Android platform is designed. At the same time, the Socket communication and HTTP protocol communication between client and gateway are designed and implemented. The client database is designed to synchronize the client database with the gateway database. 2. By transplanting database SQLite3 and Web server Appweb, the software development environment of smart home system gateway is built, and the Socket server program and Web server program are designed to connect the Socket request and HTTP protocol request of the client, respectively. The gateway software is realized by multi-thread mechanism. The gateway database is designed to store the status data of home environment and the device attribute information. 3. In order to realize the unified management of the household equipment and the information exchange between the devices, the management protocol of the household equipment is designed. According to the communication model of smart home system, the network communication message format is designed, and the extensibility of the system and the reliability of network transmission are improved by using the formatted message exchange format. 4. The experiment environment of smart home system is built and the function of client and gateway is tested. The results show that it can meet the requirements of practical application. The performance of the gateway is analyzed and compared, and the results meet the expected requirements.
【学位授予单位】:浙江工业大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.05;TU855

【参考文献】

相关期刊论文 前6条

1 徐光侠;封雷;涂演;李成;;基于Android和Google Maps的生活辅助系统的设计与实现[J];重庆邮电大学学报(自然科学版);2012年02期

2 吴艺娟;秦彩云;万米洋;;基于ZigBee技术的智能家居环境监测系统设计[J];北京石油化工学院学报;2013年01期

3 李慧;张庆范;段培永;;基于用户学习的智能动态热舒适控制系统[J];四川大学学报(工程科学版);2011年02期

4 童小念;安兴亚;蓝晓栺;王江晴;;嵌入式无线移动通信系统的研究与开发[J];通信学报;2008年01期

5 杨珉;王晓阳;张涛;张建军;;国内Android应用商城中程序隐私泄露分析[J];清华大学学报(自然科学版);2012年10期

6 彭凤凌;庹先国;王洪辉;张贵宇;蒲建华;;安卓手机与数据库交互系统的设计与实现[J];计算机工程与设计;2013年11期



本文编号:2428733

资料下载
论文发表

本文链接:https://www.wllwen.com/guanlilunwen/chengjian/2428733.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户3ac45***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com