Journal of Computer Applications
• Network and communications • Previous Articles Next Articles
Zhikun Hu Duochang He Weihua Gui Chunhua Yang
Received:
Revised:
Online:
Published:
Contact:
胡志坤 何多昌 桂卫华 阳春华
通讯作者:
Abstract: A remote monitoring system of rectifier based on an improved heartbeat mechanism was developed according to quickness and stability of remote TCP/IP communication. Different heartbeat mechanism was designed at server and client, and server and client can judge the states of network connections through transmitting heartbeat packets between server and client. The mechanism can request to reconnect with remote clients or server when network is at the jam and inform users when network is at the disconnection. The mechanism was realized by using Socket with the model of single server and multi clients. The heartbeat model had been applied to a remote monitoring system of rectifier based on Client/Server model. The testing result of system and model shows that the heartbeat model has better performance and improves the availability and dependability of the system.
Key words: Heartbeat, Socket, Remote Monitoring, rectifier
摘要: 为了保持基于TCP/IP协议的远程通信的快速性和稳定性,设计一种基于Socket的心跳包机制,并将其应用于一个基于C/S模式的远程监控系统。在客户机与服务器两端设计不同的心跳机制,通过在服务器与客户机之间传递心跳包数据,判断服务器与客户机之间的连接状况,并在网络堵塞时通过连续请求连接来实现重新连通,从而保证系统在网络堵塞时能够有效连通,在网络断开时提示用户。在一个单服务器多客户机模式的模型下,用Socket实现了该机制。该心跳包机制已应用于一个C/S模式的整流装置远程监控系统,通过对系统和模型进行测试表明,该模型达到了较好的效果,提升了系统的可用性和可靠性。
关键词: 心跳包, SOCKET, 远程监控, 整流
Zhikun Hu Duochang He Weihua Gui Chunhua Yang. Remote monitoring system of rectifier based on improved heartbeat mechanism[J]. Journal of Computer Applications.
胡志坤 何多昌 桂卫华 阳春华. 基于改进心跳包机制的整流远程监控系统[J]. 计算机应用.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.joca.cn/EN/
http://www.joca.cn/EN/Y2008/V28/I2/363