| 注册
首页|期刊导航|机电工程技术|基于树莓派与MQTT的智能网关设计

基于树莓派与MQTT的智能网关设计

刘亮亮 王兴 王国庆 高瑞娟

机电工程技术2024,Vol.53Issue(8):89-91,149,4.
机电工程技术2024,Vol.53Issue(8):89-91,149,4.DOI:10.3969/j.issn.1009-9492.2024.00040

基于树莓派与MQTT的智能网关设计

Intelligent Gateway Design Based on Raspberry PI and MQTT

刘亮亮 1王兴 1王国庆 1高瑞娟1

作者信息

  • 1. 太原学院机电与车辆工程系,太原 030032
  • 折叠

摘要

Abstract

Aiming at the problems of the diversity of terminal node data transmission protocols and the centralization of network services in the Internet of Things environment,a co-processing gateway based on MQTT protocol is designed.The gateway selects Raspberry PI as the hardware platform,takes embedded mobile devices as the basis,and builds a system structure integrating service agent,data management,protocol conversion,status monitoring and other functions based on the message transmission model of MQTT protocol event publishing and subscription.A communication link consisting of perception layer,service layer and application layer is also established.The whole configuration of gateway system and the design of message publishing and subscription model are completed,and the two-way communication between gateway,sensing device and user is realized.The experimental test shows that the intelligent gateway can establish a stable communication connection,accurately complete the data receiving and sending,and realize the data communication between multiple points.The data transmission process is stable,and no information loss occurs in the test process.The intelligent gateway of MQTT protocol structure realizes the decoupling of the two sides of the message in time,space and synchronization.The gateway alleviates the congestion caused by centralized network services,improves the general processing capacity of data,and improves the efficiency of data transmission.

关键词

智能网关/MQTT协议/树莓派/消息模型

Key words

intelligent gateway/MQTT protocol/Raspberry PI/message model

分类

信息技术与安全科学

引用本文复制引用

刘亮亮,王兴,王国庆,高瑞娟..基于树莓派与MQTT的智能网关设计[J].机电工程技术,2024,53(8):89-91,149,4.

基金项目

山西省基础研究计划(自由探索类)项目(202303021212017) (自由探索类)

机电工程技术

1009-9492

访问量1
|
下载量0
段落导航相关论文