摘要
阐述了网络通信中心跳包的重要性及心跳包原理。提出了一种新型心跳包实现方法,此方法为通过设计数据组帧来进行心跳包的识别,节省了网络资源,并对各种网络中断情况给出了相关解决方法。在此基础上编写了C#心跳包程序,并对其可行性进行了验证。
In this paper,a novel method to realize the heartbeat packet was proposed.Through designed data frame,it identified the heartbeat packet from the communication data,saved the network resource and gived the relevent solutions about a variety of network interruption.On this basis,it written the C# heartbeat package program.Finally,the feasibility of this method was verified with an example.
出处
《机电一体化》
2014年第10期11-14,19,共5页
Mechatronics
基金
上海市科委科研计划资助项目(编号:08201202103)
关键词
心跳包
C#程序
数据组帧
heartbeat packet
C# program
data frame