摘要
为实现船舶导航监控系统可靠的数据传输,通信软件服务器端利用多线程技术实现了与通信运营商转发中心和客户端的网络通信,完成了数据采集和解析功能。通信软件客户端可以与服务器建立连接并接收实时二进制数据,解析后以数据表格形式显示。重点探讨了客户端/服务器模式下基于TCP/IP协议通信的多线程实现过程,并利用时序图和活动图进行具体描述。讨论了在软件安装调试过程中如何解决客户端死机问题和客户端数据与服务器不同步、且数据过少的问题。该软件已交付使用,运行稳定可靠。
To ensure reliable data transfer of the ship navigation and monitoring system,server side of the communication software utilizes multithreading technology to achieve network communication with transfer center of the communications operator and client,and finishes the functions of data acquisition and parser.At the same time,client side of the software establishes connections with server and parses receiving real time binary data to display in data grid.The emphasis of the paper is communication procedure between server and clients based on TCP/IP protocol with sequence diagram and activity diagram description.In the process of installation and debugging,problems of client breakdown and unsynchronized data between server and clients and less data in the clients are solved.The software that has been put into use is stably and reliably.
出处
《计算机工程与设计》
CSCD
北大核心
2010年第7期1417-1420,1522,共5页
Computer Engineering and Design