电光与控制, 2018, 25 (4): 69, 网络出版: 2021-01-21
应用Qt的ADS-B报文解析研究与实现
Qt Based ADS-B Message Parsing: Research and Implementation
广播式自动相关监视 1090ES数据链 报文解析 CPR算法 Qt平台 ADS -B 1090ES data link message parsing CPR algorithm Qt platform
摘要
针对传统的ADS-B报文软件解析过程较为复杂、不易理解的问题, 提出一种逻辑简单、易于实现的解析方法。首先, 将网口接收的16进制报文数据转换成相应的01字符串。根据ADS-B报文的结构进行CPR算法的程序实现。最后, 通过SBS-3设备网络端口实时发送ADS-B报文数据, 利用Qt平台实现对ADS-B报文数据的接收和解析工作。通过实际测试并与传统方法对比, 结果表明: 研究的方法和设计的解析程序可以对ADS-B报文数据进行实时解析, 其结果与SBS-3设备提供的硬件参考结果相同, 实验验证了所提方法的有效性与可行性。
Abstract
To solve the problem that the parsing process of the traditional ADS-B message software is complex and difficult to understand, a simple and easy-to-implement analytical method is proposed. First of all, the hexadecimal message data received by the network port is converted into the corresponding 01 character string. Secondly, according to the structure of ADS-B message, the program of CPR algorithm is implemented. Finally, the ADS-B message data is sent in real time via the SBS-3 device network port, and the Qt platform is used to receive and parse the ADS-B message data. The results of actual tests and the comparison with the traditional method show that: 1) The method of the study and the designed parsing procedure can be used to parse the ADS-B message data in real time;and 2) The result is the same as that provided by the SBS-3 device. The experiment proves the effectiveness and feasibility of the proposed method.
王尔申, 翟秋刚, 李玉峰, 庞涛, 曲萍萍. 应用Qt的ADS-B报文解析研究与实现[J]. 电光与控制, 2018, 25(4): 69. WANG Ershen, ZAI Qiugang, LI Yufeng, PANG Tao, QU Pingping. Qt Based ADS-B Message Parsing: Research and Implementation[J]. Electronics Optics & Control, 2018, 25(4): 69.