In the distributed communication system ,there are multiple distributed sources .According to the character‐istics of the distributed communication on ship ,data distribute service protocol is put forward .This paper introduces the structure model of DDS and the open source software OpenDDS in detail .In order to discuss and compare the DDS with other software about real‐time effect ,ZeroMQ and Boost .Asio model is introduced ,through the comparison of time length from sending to receiving same C + + data ,a conclusion is obtained that the DDS protocol is suitable for distributed communica‐tion on ship .%船舶分布式通信中,有多个分布的信息源。针对船舶分布式通信的特点,考虑到中间件技术的优点,提出了在船舶通信中运用数据分发服务(DDS)协议。论文详细介绍 DDS 结构模型和具体开源软件 OpenDDS ;为了讨论和比较 DDS的实时性效果,引入不同结构的 ZeroMQ 和 Boost .Asio 模型,通过对三种结构的发送和接收相同 C ++数据的传输时间作比较,验证 DDS 完全满足分布式通信的要求,DDS 协议较为适合船舶分布式通信。
展开▼