Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (11): 3555-3561.DOI: 10.11772/j.issn.1001-9081.2025101227

• Cyber security • Previous Articles    

Lossless NMEA message secure encoding scheme

Zhiqiang DU1(), Xinyu BAI1,2   

  1. 1.State Key Laboratory of Information Engineering in Surveying,Mapping,and Remote Sensing (Wuhan University),Wuhan Hubei 430072,China
    2.School of Cyber Science and Engineering,Wuhan University,Wuhan Hubei 430072,China
  • Received:2025-10-20 Revised:2026-01-17 Accepted:2026-01-20 Online:2026-02-05 Published:2026-11-10
  • Contact: Zhiqiang DU
  • About author:BAI Xinyu, born in 1998, M. S. candidate. Her research interests include information security, cryptography.
  • Supported by:
    National Natural Science Foundation of China(41971347)

无损的NMEA电文安全编码方案

杜志强1(), 白鑫雨1,2   

  1. 1.测绘遥感信息工程全国重点实验室(武汉大学),武汉 430072
    2.武汉大学 国家网络安全学院,武汉 430072
  • 通讯作者: 杜志强
  • 作者简介:白鑫雨(1998—),女(满族),黑龙江哈尔滨人,硕士研究生,主要研究方向:信息安全、密码学。
  • 基金资助:
    国家自然科学基金资助项目(41971347)

Abstract:

The NMEA 0183 standard protocol in Global Navigation Satellite System (GNSS) is widely used for the transmission of related information. To mitigate the security risks posed by the plaintext transmission of geographic location information in NMEA messages, a lossless, secure encoding scheme for NMEA messages based on their format characteristics was proposed. First, the readable message content was converted into an unreadable string using cryptographic operations such as XOR and permutation, thereby obscuring some obvious NMEA message format identifiers. Second, bit-level merging and splitting operations were performed to obfuscate and de-identify the data while reducing the number of character types in the data. Finally, using binary Huffman tree encoding, the data produced by the previous two steps was compressed, thereby reducing redundancy and controlling data size. Experimental results demonstrate that converting well-formatted raw NMEA messages into featureless data streams with a limited set of character types reduces the risk of analytical attacks based on plaintext format characteristics, and the data compression scheme effectively controls the growth of the encoded data size.

Key words: NMEA 0183 protocol, secure coding, lossless coding, satellite message, Huffman coding

摘要:

全球卫星导航系统(GNSS)中的NMEA 0183标准协议被广泛应用于传输相关信息。为降低NMEA电文明文传输地理位置信息所带来的各类安全风险,提出一种依靠NMEA电文格式特征对自身进行无损安全编码的方案。首先,通过异或、置换等密码学操作将易读的电文内容转化为不可读的字符码串,隐去部分明显的NMEA电文格式标识符;其次,在比特层级进行合并、分割等操作,对数据进行模糊与去特征化处理,同时减少数据中包含的字符种类;最后,基于二叉哈夫曼树编码对前两步处理后的数据进行压缩,以降低数据冗余并控制数据规模。实验结果表明,格式规整的原始NMEA电文被转换为具有有限字符类型的无特征数据流后,可降低基于明文格式特征的分析攻击风险,而数据压缩方案能有效控制编码后的数据增长。

关键词: NMEA 0183协议, 安全编码, 无损编码, 卫星报文, 哈夫曼编码

CLC Number: