摘要
针对目前使用消息队列遥测传输(message queuing telemetry transport,MQTT)协议进行遥测数据传输时容易出现多节点通道数据重复,以及移动传输中节点通道连接不稳定等问题,提出一种基于WebSocket的MQTT协议(MQTT over WebSocket)数据传输方法。通过设置身份标识去重算法与数据格式匹配算法,构建数据传输模型,解决传输过程中可能出现的冗杂重复、数据丢包问题。使用该方法,辅以支持北斗导航的硬件设备开发一套车辆信息管理系统。测试报告表明,系统使用该方法实现了低频、稳定、高效的数据传输,具有较强的应用价值。
A data transmission method based on MQTT over WebSocket was proposed in view of the problems of multi-node channel data duplication and instability of node channel connection in mobile transmission when using message queuing telemetry transport(MQTT)protocol for data transmission.The problems of redundancy and data packet loss that may occur in the process of data message transmission were solved by setting the identity deduplication algorithm and the data format matching algorithm.A vehicle information management system was developed based on hardware equipment supporting BeiDou navigation using the method.It is verified by test report that low-frequency,high-efficiency,stable data are achieved by system using the method,which has strong application value.
作者
李鹏程
张文胜
郭栋
郝孜奇
LI Peng-cheng;ZHANG Wen-sheng;GUO Dong;HAO Zi-qi(School of Traffic and Transportation,Shijiazhuang Tiedao University,Shijiazhuang 050043,China;China Railway Shisiju Group Corporation Tunnel Engineering Limited Company,Jinan 250000,China;Science and Technology Research and Development Center,Shandong Provincial Communications Planning and Design Institute Limited Company,Jinan 250101,China)
出处
《计算机工程与设计》
北大核心
2022年第3期646-653,共8页
Computer Engineering and Design
基金
河北省科技计划基金项目(18390324D、206Z0801G)
河北省引进国外智力基金项目(2011-2022)
石家庄市科学技术研究与发展计划基金项目(211130204A)
石家庄铁道大学研究生创新基金项目(YC2021052)。