计算机工程与应用 ›› 2019, Vol. 55 ›› Issue (20): 227-231.DOI: 10.3778/j.issn.1002-8331.1806-0355

• 工程与应用 • 上一篇    下一篇

基于MQTT协议的海洋观测数据推送系统

侯敏,刘倩,杨华勇,章国安   

  1. 1.南通大学 电子信息学院,江苏 南通 226019
    2.中天海洋系统有限公司,江苏 南通 226010
  • 出版日期:2019-10-15 发布日期:2019-10-14

Data Push System of Marine Observation Based on MQTT Protocol

HOU Min, LIU Qian, YANG Huayong, ZHANG Guo’an   

  1. 1.School of Electronics and Information, Nantong University, Nantong, Jiangsu 226019, China
    2.Zhongtian Technology Marine Systems Co. Ltd., Nantong, Jiangsu 226010, China
  • Online:2019-10-15 Published:2019-10-14

摘要: 为实现海洋观测数据的及时推送,设计了一种数据推送系统,目的是将各个观测船、浮标和水下观测网等采集到的海洋观测数据推送到手机客户端,并实现异常数据的报警。提出了一种基于MQTT协议的数据推送方案,在加密与验证方面对MQTT协议进行改进。此外,设计了安全认证机制与消息管理模块,保证了消息在传输中不被篡改或者丢失。测试结果证明,该方案安全性较高,服务权限设计合理,费用方面也具有较大的优势。

关键词: MQTT协议, 数据推送, 安卓客户端, 海洋观测

Abstract: In order to realize the timely push of ocean observation data, a data push system is designed, which aims to push the ocean observation data collected by observation ships, buoys and underwater observation networks to mobile phone clients and realize the alarm of abnormal data. A data push scheme based on MQTT protocol is proposed, and the MQTT protocol is improved in terms of encryption and verification. In addition, a secure authentication mechanism and a message management module are designed to ensure that the messages are not falsified or lost during transmission. The test results show that the scheme has high security, and the design of service authority is reasonable and the system has greater advantages in terms of cost.

Key words: MQTT protocol, data push, Android client, marine observation