基于多线程的船载自动识别系统报文解析  被引量:13

Parsing Shipborne AIS Messages Based on Multithreading

在线阅读下载全文

作  者:初秀民[1] 徐海潮[1] 万剑[1] 宋成果[2] 

机构地区:[1]水路公路交通安全控制与装备教育部工程研究中心,武汉430063 [2]武汉理工大学物流工程学院,武汉430063

出  处:《中国航海》2011年第2期19-23,共5页Navigation of China

基  金:西部交通建设科技项目(2009328811064)资助;中央高校基本科研业务费专项资金资助

摘  要:为了改善单线程模式下船载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.

关 键 词:船舶、舰船工程 解析 AIS报文 实时性 多线程 

分 类 号:U675.7[交通运输工程—船舶及航道工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象