Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2024, Vol. 50 ›› Issue (4): 50-59. doi: 10.19678/j.issn.1000-3428.0069225

• Intelligent Transportation • Previous Articles     Next Articles

Access Method for Traffic Infrastructure Monitoring Point Data Based on Virtual Gateway

Liang HUANG1,2, Peng ZOU3, Jingjing CAO1,4,*(), Jian HU5, Zexin YAN3, Xiaodie HUANG3   

  1. 1. State Key Laboratory of Maritime Technology and Safety, Wuhan University of Technology, Wuhan 430063, Hubei, China
    2. National Engineering Research Center for Water Transport Safety, Wuhan University of Technology, Wuhan 430063, Hubei, China
    3. Intelligent Transportation Systems Research Center, Wuhan University of Technology, Wuhan 430063, Hubei, China
    4. School of Transportation and Logistics Engineering, Wuhan University of Technology, Wuhan 430063, Hubei, China
    5. NavInfo Co., Ltd., Beijing 100093, China
  • Received:2024-01-15 Online:2024-04-15 Published:2024-04-22
  • Contact: Jingjing CAO

基于虚拟网关的交通基础设施监测点位数据接入方法

黄亮1,2, 邹鹏3, 曹菁菁1,4,*(), 胡健5, 颜泽锌3, 黄小蝶3   

  1. 1. 武汉理工大学水路交通控制全国重点实验室, 湖北 武汉 430063
    2. 武汉理工大学国家水运安全工程技术研究中心, 湖北 武汉 430063
    3. 武汉理工大学智能交通系统研究中心, 湖北 武汉 430063
    4. 武汉理工大学交通与物流工程学院, 湖北 武汉 430063
    5. 北京四维图新科技股份有限公司, 北京 100093
  • 通讯作者: 曹菁菁
  • 基金资助:
    国家重点研发计划(2021YFB2600300)

Abstract:

To address the challenges posed by the diversity of sources, structures, and protocols in transportation infrastructure monitoring point data, this study analyzes the requirements for data access and proposes a virtual gateway for the access of monitoring point data within a transportation infrastructure based on the Netty architecture. The study describe in detail the configuration methods and cluster allocation strategies for integrating monitoring points through the gateway, and it defines the data transmission formats under protocols such as the HyperText Transfer Protocol (HTTP), Transmission Control Protocol (TCP), and User Datagram Protocol (UDP). The study also designs an encoding and verification mechanism for data transmission messages. Through enhanced real monitoring data samples, the performance of the virtual gateway is evaluated using distributed message simulation tools. The findings reveal that the virtual gateway facilitates unified access to multipoint and multiprotocol transportation infrastructure monitoring data, achieving data access and storage time of 8.14 s and 9.75 s per hundred million records, respectively. The average time for data traceability is 2.96 s, thus showing the gateway's capacity to handle monitoring data of points at the billion-scale level. This capability significantly supports the research and application of digital monitoring and transportation infrastructure analysis.

Key words: Netty framework, Kafka message queue, data access, platformization, Internet of Things(IoT) data

摘要:

针对交通基础设施点位监测数据来源多样、结构各异、协议不一的特点, 分析具体接入需求, 提出一种基于Netty架构的交通基础设施监测点位数据接入虚拟网关。阐述网关接入监测点位的配置方法及集群分配策略, 定义超文本传输协议(HTTP)、传输控制协议(TCP)、用户数据报协议(UDP)下的数据传输格式, 设计一种数据传输消息的编码和校验机制。在真实监测数据样本增强的基础上, 利用分布式消息模拟工具对虚拟网关性能进行测试, 结果表明, 该虚拟网关实现了多点位多协议的交通基础设施监测数据统一接入, 每亿条数据接入时间、存储时间分别达到8.14 s和9.75 s, 平均数据溯源时间为2.96 s, 具有亿级规模点位监测数据的接入能力, 可为交通基础设施数字化监测的研究和应用提供理论支撑。

关键词: Netty框架, Kafka消息队列, 数据接入, 平台化, 物联网数据