计算机工程

• 移动互联与通信技术 • 上一篇    下一篇

基于OpenWrt与ZigBee的智能家居路由器设计

徐哲鑫,张艺林,林潇,吴怡   

  1. (福建师范大学 光电与信息工程学院,福州 350007)
  • 收稿日期:2016-03-09 出版日期:2017-03-15 发布日期:2017-03-15
  • 作者简介:徐哲鑫(1985—),男,讲师、博士,主研方向为无线通信、智能家居;张艺林,硕士研究生;林潇,助理研究员、硕士;吴怡(通信作者),教授、博士
  • 基金项目:
    国家自然科学基金(61571128);教育部博士点基金新教师类项目(20133503120003);福建省科技厅工业科技计划重点项目(2014H0019);福建省自然科学基金(2013J01224)。

Design of Smart Home Router Based on OpenWrt and ZigBee

XU Zhexin,ZHANG Yilin,LIN Xiao,WU Yi   

  1. (College of Photonic and Electronic Engineering,Fujian Normal University,Fuzhou 350007,China)
  • Received:2016-03-09 Online:2017-03-15 Published:2017-03-15

摘要: 为实现家居设备传感网与互联网的互联互通,设计智能家居路由器。采用Zstack协议栈和开源OpenWrt系统分别处理ZigBee和WiFi网络报文,使报文在应用层进行无障碍传输并提供相应数据服务,同时利用智能家居场景设计的服务软件为设备提供管理服务。将上述2种服务与WiFi路由器和ZigBee协调器相结合组成适用于智能家居系统的路由器。通过Packet Sniffer和Wireshark软件分别抓取ZigBee和互联网数据包对路由器功能进行验证,结果表明该路由器能够同时满足智能家居设备以及手机、平板电脑等消费类终端的上网需求,降低了智能家居的安装成本以及硬件复杂度。

关键词: ZigBee协议, OpenWrt系统, 路由器, 智能家居, 嵌入式系统

Abstract: Smart home router is designed to realize the interconnection between the home equipment sensor network and the Internet.It uses Zstack protocol stack and open source OpenWrt system to processe ZigBee and WIFI network packets respectively,so as to achieve barrier-free transmission of packets in the application layer and provide corresponding data service.Service sofrware of smart home scene design is used to provide management services for devices in smart home system.These two services are combined with the WiFi router and ZigBee coordinator to form a router router suitable for smart home system.Using Packet Sniffer and Wireshark to grab the packet from ZigBee and Internet,the function of the proposed router is analyzed and verified.It shows that this router can meet the demand of surfing the Internet from consumer devices,such as mobile phone,tablet PC or other smart home devices.It reduces the installation costs and the hardware complexity of smart home devices.

Key words: ZigBee protocol, OpenWrt system, router, smart home, embedded system

中图分类号: