为了提高船舶监控系统中通信软件的效率和可靠性,采用了基于Openstack搭建云计算平台服务器和服务器+两级客户端的三层架构网络通信两种技术结合的设计方案.其中网络拓扑结构采用服务器+一级客户端+二级客户端的三层网络拓扑结构,服务器和一级客户端(即分控中心的服务器)基于TCP/IP协议传输数据,一级客户端和二级客户端在分控中心局域网内部基于UDP协议广播传输数据.在服务器端,为提高服务器的资源利用率,构建了一个基于Openstack的云计算资源共享平台,实现通信服务器、数据库服务器、应用服务器、AIS分发与解码服务器共享多台主机硬件资源,实现计算资源的虚拟化管理,提高资源的利用率,优化服务器的性能.重点讨论了三层架构的网络拓扑结构、通信流程和云计算平台服务器的搭建细节.实际应用表明该通信软件运行可靠,传输稳定,能保证海量数据的实时传输.
To improve efficiency of communication software in vessel monitoring system, a design scheme integrating three level communication architecture of server + two level clients and cloud computing platform based on Openstack is adopted. Network topology of the software is server + first level client + second level client, where communication between server and first level client( server of the sub-control center) is through TCP/IP protocol and communication between first level client and second level client is through UDP broadcast protocol in local area network of the sub-control center. For the server side, a cloud computing resource sharing system based on Openstack is realized to take full advantage of the server resource. By this way, communication server, database server, application server and AIS data distribution / decoding server can share hardware resource of multiple hosts and manage computing resources virtually, thus improving resources occupation percentage and optimizing server performance. Then three level network topology, communication process and cloud computing server are discussed in detail. Practical application shows the reliability and robustness of the software, while ensuring real-time communication of large amount data.