首页 | 本学科首页   官方微博 | 高级检索  
     

基于Android平台智能家居客户端的设计与实现
引用本文:王运红,何灵娜.基于Android平台智能家居客户端的设计与实现[J].机电工程,2014(8):1086-1089.
作者姓名:王运红  何灵娜
作者单位:浙江工业大学信息工程学院,浙江杭州310023
摘    要:针对智能家居系统中功能实现的便捷性问题,对智能家居系统控制实现的通信模块、数据库和消息通信格式等方面进行了分析与实现,从而设计了智能家居系统客户端。首先基于Android平台采用MVC设计模式将客户端的设计分为View视图、Activity控制层和逻辑功能部分;其次自定义客户端与嵌入式网关之间的数据消息格式,从而采用格式化的消息交互格式提高了系统的可扩展性和网络传输的可靠性;设计并实现了客户端的数据库,以便保存用户设置数据及传感器历史数据;对客户端与网关交互的Socket通信和HTTP协议通信进行了设计与实现。最后结合网关和无线传感网络节点对客户端功能进行了测试。研究结果表明,该客户端能够方便、快捷地实现各功能,符合预期要求。

关 键 词:Android  智能家居  客户端  数据库

Design and implementation of client based on Android for smart home
WANG Yun-hong,HE Ling-na.Design and implementation of client based on Android for smart home[J].Mechanical & Electrical Engineering Magazine,2014(8):1086-1089.
Authors:WANG Yun-hong  HE Ling-na
Affiliation:(College of Information Engineering, Zhejiang University of Technology, Hangzhou 310023, China)
Abstract:Aiming at the convenience of the function realization in smart home, the communication module, database and the message format were designed and realized, thus the client was designed. Firstly, the client's development was divided into View part, Activity control and function module. Secondly, the message format was designed between the client and embedded gateway to improve the reliability of the network transmission. The database of the client was designed to save the data for the sensor history data. The Socket and the HTTP communication were designed and implemented that used for the interaction between the client and gateway. Finally, combining with gateway and wireless sensor network nodes, the control experiments of client were carried out. The results indicate that the client has a good effectiveness of the control function~
Keywords:Android  smart home  client  database
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号