-
公开(公告)号:US09912560B2
公开(公告)日:2018-03-06
申请号:US14899479
申请日:2014-12-10
Inventor: Zhi Gong , Peng Huang , Chang Hou
IPC: G06F15/173 , H04L12/26
CPC classification number: H04L43/0811 , G06F11/00 , H04L43/10
Abstract: A method and a device for checking health of a link are disclosed in the present disclosure. The method includes: receiving and saving control information generated by a keep-alive program; performing a matching on a message received according to the control information, processing the message if the matching is successful, and sending a processed message to the server to be checked; and determining that the link is healthy if a response message is received from the server to be checked, and determining that the link is unhealthy if no response message r is received from the server to be checked. With embodiments of the present disclosure, control information generated by the keep-alive program is received and saved, a matching is performed on a received message according to the control information, and the message is processed if the matching is successful, and then the processed message is sent to a server to be checked, such that whether a link corresponding to the server to be checked is healthy is checked. The above procedure is in accordance with the procedure of accessing the LVS, and thus the problem of traffic loss or mistakenly rejecting the server may be solved and the accuracy of checking health may be improved.