通过设计网络节点状态、改进心跳机制、定义心跳数据包协议,提出了一种改进心跳机制的心跳模型.通过该模型在网络节点间传递心跳包,判断网络节点间的连接状况,从而采取相应的措施,提高网络节点服务和通信的可用性和可靠性;同时,有效地降低了单服务器多客户机工作模式下服务器的网络负担.对心跳模型进行了性能分析和模拟测试,结果表明,该模型达到了较好的效果,能够有效地提高网络节点通信的可用性和有效性.
On the basis of designing the states of network nodes, improving the heartbeat mechanism and defining the protocol of heartbeat packets, a heartbeat model is designed. With this model, heartbeat packets are transmitted between the network nodes and the network connection states are estimated, so the service and communication availability and reliability of the network nodes are improved with some corresponding measures. At the same time, network burden of the server can be reduced when the server connects multi-clients. Results of performance analysis and simulation test show that the model has a better result and can effectively enhance the communication availability and reliability at the network nodes.