TRDP(Train Real Time Data)协议作为IEC61375-2-3标准指定的设备间各个系统进行通信的协议,在列车控制与信息服务网络(Train Control and Service Network,TCSN)得到了广泛的应用.由于TRDP协议是轨道交通私有协议,目前Wireshark软件对TRDP协议析解析尚不支持.通过对TRDP协议进行分析,利用Qt读取Excel通信协议文件,自动化生成适用于TRDP协议解析的Lua代码插件,实现在Wireshark中对TRDP协议的识别以及对报文头首部、数据区协议内容解析,同时实现了对TRDP报文的丢包检测、周期分析功能,可以广泛应用于子系统通信之间数据一致性测试及现场列车通信调试.
Implementation of Lua Plugin for Wireshark Ethernet TRDP Protocol Parsing Based on Qt
The TRDP(Train Real Time Data)protocol,as a protocol for communication between devices specified in the IEC61375-2-3 standard,has been widely used in the field of TCSN.Due to it is a private Ethernet protocol in TCSN,Wire-shark does not support the analysis of TRDP protocol.By analyzing the TRDP protocol and utilizing Qt software to read the protocol Excel file,to automatically generate the Lua code plugins suitable for TRDP protocol parsing,packet loss detection,and period analysis.It is widely used for data consistency testing and ground train communication testing.