摘要
随着我国经济快速发展,城市私家车保有量逐年增加,“停车难”问题日益明显。人们对智慧停车服务需求呼声越来越高,“停车诱导系统”在市场需求下应运而生。MQTT协议实现消息异步发布/订阅,解耦发布者和订阅者,更符合智能停车诱导系统中客户端和服务器间数据需双向流动的需求。本文分析智能停车诱导系统中MQTT协议及消息体设计,阐述MQTT协议的六个应用场景:数据上报、信息查询、远程控制、时间同步、软件升级和消息通告,实验分析基于MQTT协议传输的数据有效达到率高、MQTT服务器性能强。
With the rapid development of China's economy,the number of private cars has been increasing year by year.The demand for smart parking services is getting higher and higher,"Parking Guidance System"comes into being in response to the market demand.The MQTT protocol implements information asynchrony Publish/Subscribe Pattern,decouples publishers and subscribers,and is more suited to the bidirectional flow of data between clients and servers in Parking Guidance System.This article analyzes the MQTT protocol and the Message Body design in Parking Guidance System,and describes six application scenarios of the MQTT protocol:data report,information query,remote control,time synchronization,software update and message notification,experimental analysis based on MQTT protocol transmission data effective rate is high,MQTT server performance is high.
作者
傅思萍
FU Si-ping(Information Technology Department, Quanzhou Vocational College of Economics and Business, Quanzhou, Fujjian 362000, China)
出处
《杨凌职业技术学院学报》
2021年第2期15-19,共5页
Journal of Yangling Vocational & Technical College
基金
福建省教育厅中青年教师教育科研项目“智慧城市智能停车诱导系统的研究与设计”(JAT191471)。