节点文献
航海模拟器中数据通信技术的应用研究
The Application Research on Data Communication Technology for Marine Simulator
【作者】 朱春镕;
【导师】 谷伟;
【作者基本信息】 大连海事大学 , 交通信息工程及控制, 2015, 硕士
【摘要】 随着航海模拟器规模的持续扩大与功能的不断完善,其系统的通信负担也在显著增加,出现了数据传输延迟等问题,这意味着航海模拟器现有的数据通信能力将会制约其不断拓展。因此,对于航海模拟器数据通信模块的持续改进与进一步完善势在必行。本课题针对航海模拟器对数据通信实时性、可靠性、灵活性的要求,结合航海模拟器数据通信的现存问题,在航海模拟器中引入了通信服务器,搭建了基于Adaptive Communication Environment(自适配通信网络/环境,以下简称ACE)技术与Client/Server(客户端/服务器)通信模式的数据服务平台,编程实现了试验系统中客户端与通信服务器之间的数据传输。本文主要完成了以下工作:(1)系统地分析了ACE技术的体系结构、框架模式、技术特点及其优势,重点研究了Acceptor-Connector框架、Proactor框架与Task框架的内部机制与功能在航海模拟器数据服务平台的应用。(2)对比分析了单线程、Thread-per-Request、线程池3种通信并发策略,着重研究了半同步/半异步通信并发策略在航海模拟器数据服务平台的应用。(3)研究了Client/Server通信模式的工作原理及其优势,并基于Client/Server通信模式、半同步/半异步通信并发策略搭建了航海模拟器数据服务平台。(4)基于Client/Server通信模式,对航海模拟器的结构与数据通信链路进行了重新设计,并增加了功能模块与内部接口的设计。(5)基于ACE Acceptor-Connector框架,实现了客户端与通信服务器连接的建立;基于ACE Proactor框架与ACE Task框架实现了通信服务器的功能,即完成了数据包信息的接收、暂存、发送以及内存空间的释放。(6)使用VS2008编程,完成了客户端与通信服务器中通信模块的设计,在试验系统中实现了客户端与通信服务器之间的数据传输。
【Abstract】 With continuous development on the scale and function of the marine simulator, the communication load of the system increases evidently. Many problems arise such as the delay of data transmission, which means the existing communication ability of the marine simulator will become a significant factor restricting its development. Therefore, it is imperative to improve and perfect the marine simulator constantly.Aiming at the existed problems of data communication of the marine simulator, this paper introduces the communications server to marine simulator; builds the data service platform based upon ACE (Adaptive Communication Environment) and Client/Server, and achieves data transmission between the client and the communications server within the test system according to the requirements on the real-time, reliability and flexibility of data communication of the marine simulator. The major tasks of this research are summarized as follows:(1) This thesis systematically analyzes the system structure, framework mode, technical features and advantages of ACE. It focuses on the application of the interior mechanism and function of Acceptor-Connector framework, Proactor framework and Task framework on the data service platform of the marine simulator.(2) In this paper, comparative analysis is made among Single thread pattern, Thread-per-Request pattern and thread pool pattern. Besides, the application of Half-Sync/Half-Async pattern on the data service platform of the marine simulator is emphatically studied.(3) This research investigates the operational principles and advantages of Client/Server. Meanwhile, this study sets up the data service platform of the marine simulator on the ground of Client/Server and Half-Sync/Half-Async communication concurrent strategy.(4) This thesis redesigns the structure and data link of the marine simulator and devises the function module and the internal interface on account of Client/Server.(5) In this research, the connection between the client and the communications server is established. The communications server functions with the assistance of ACE Proactor framework and ACE Task framework. In other words, this paper achieves the acceptance, temporary storage, and the sending of packet message and memory deallocation.(6) The last but not the least, this research plans the communication module in the systems of the client and the communications server, and performs the data transmission between them within the test system with the usage of VS2008.
【Key words】 Marine Simulator; Communications Server; Data Service Platform;
- 【网络出版投稿人】 大连海事大学 【网络出版年期】2016年 02期
- 【分类号】U666.158
- 【被引频次】1
- 【下载频次】149