摘要
The problems that arise while developing a real-time distributed information-processing software system are studied. And based on the TCP/IP protocols and socket, for its facility in client/server (C/S) model networking programming, a prototype is designed for data transmission between the server and clients and it is applied on an on-line products automatic detection system. The probability analysis on network congestion was also made. A proper mechanism based on the ARCC (adapted RTT congestion control) algorithm is employed for detecting and resolving congestion, the purpose of which is mainly to achieve congestion avoidance under the particular conditions in this network-based system and reach the desired performance. Furthermore, a method is proposed for a client to diagnose automatically the connection status between the server and the client and to re-connect to the server when the disconnection is detected.
研究了一种实时分布式信息处理系统软件开发中的关键技术问题.基于TCP/IP协议及Socket技术,利用C/S模型的网络编程技术,设计实现了用于在线产品自动检测系统的服务器与客服机之间的数据传输原型系统.对网络拥塞进行了可能性分析,提出了一种基于ARCC算法的有效控制机制,并应用于基于网络的实时检测系统中,以解决在特定工况下出现拥塞时实现拥塞避免,达到了预期的效果.而且,还提出了一种自动诊断客户机状态的方法,以方便地检测服务器与客户机的连接状态,当连接中断时可以自动再连接.
基金
The National Natural Science Foundation of China(No60474021)