首页> 中文期刊> 《中国航海》 >基于多线程的船载自动识别系统报文解析

基于多线程的船载自动识别系统报文解析

         

摘要

为了改善单线程模式下船载AIS报文解析效率低下,实时性不高等问题,设计一种基于多线程技术的AIS报文解析优化系统.通过研究AIS报文的相关特征,分析AIS报文解析的需求,总结一般AIS报文解析方法容易出现的问题.提出利用多线程解析AIS报文的思想;对比多线程的各种关键技术,根据AIS报文特点提出一种利用事件同步的多线程船载AIS报文解析方法,并给出具体实现步骤.在VC++环境下实现该方法,并应用于工程项目.实践证明:该方法与一般的单线程和多线程AIS报文解析相比,系统资源占用少、实时性高,并具有较高稳定性.%To improve the efficiency of parsing shipborne AIS messages, an optimized system of parsing AIS messages based on multithreading is designed.Through studying features of AIS messages and analyzing the needs for parsing AIS message, problems occurring frequently in message parsing are summed up, and an idea of using multithreading to parse AIS message is put forth.By comparing various key techniques for multithread programming, a parsing design of multithreading with event synchronization is proposed according to the features of AIS messages,and the concrete steps to implement it are given.The concept is implemented in the environment of VC++ and is made applications in engineering projects.Practices show that this multithreaded AIS system occupies less resource and possesses superior real-time property and higher stability, comparing with single threaded systems.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号