• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:谭方勇,王 昂,刘子宁.基于ZigBee与MQTT的物联网网关通信框架的设计与实现[J].软件工程,2017,20(4):43-45.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
基于ZigBee与MQTT的物联网网关通信框架的设计与实现
谭方勇,王 昂,刘子宁
(苏州市职业大学,江苏 苏州 215104)
摘 要: 提出了一种基于ZigBee与MQTT的物联网网关协议转换的通信框架的设计方法,主要目的是解决多协议、 多消息格式的兼容与扩展的问题。用C#语言定义了符合框架的传感器设备类和数据类,并利用“观察者模式”和“简 单工厂模式”的设计思想,解决了多协议扩展和通信效率的问题。
关键词: ZigBee;MQTT;物联网网关;通信框架;JSON
中图分类号: TP393.03    文献标识码: A
基金项目: 2016年度苏州市职业大学研究性课程项目《基于互联网+的智能家居安防系统设计》(项目编号:SZDYKC-160601);全国高等院校计算机基础教育研究会2016年度 高职科研规划纵向课题《物联网应用技术专业课程体系与课程标准建设》(项目编号2016GHB02071).
Design and Implementation of the IOT Gateway Communication Framework Based on ZigBee and MQTT
TAN Fangyong,WANG Ang,LIU Zining
( Suzhou Vocational University, Suzhou 215104, China)
Abstract: The paper proposes a design method of the communication framework for internet of things gateway protocol conversion based on ZigBee and MQTT.The main purpose is to solve the compatibility and expansion problems of multi-protocol and multi-message formats.It defines the framework of the sensor device class and data class with the C# language,and solves the low efficiency problem of multi-protocol extension and communication through the design philosophy of Observer Pattern and Simple Factory Pattern.
Keywords: ZigBee;MQTT;IOT Gateway;communication framework;JSON


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫