The present invention provides fault detection method and system of network links, the method comprises the following steps: setting in time did not receive a heartbeat message to the first node, the first node sends a detection message; if not detecting the received response message returned by the first node, the first node is determined as received fault; detection of the first node returns a response message, determining a first node busy. The technical proposal provided by the invention has the advantages of high user experience.
【技术实现步骤摘要】
网络链路的故障检测方法及系统
本专利技术涉及通信领域,尤其涉及一种网络链路的故障检测方法及系统。
技术介绍
节点为网络连接中的基本单元,网络的数据均是通过节点转发给链路中相应的节点,节点是否故障是通过心跳消息来检测的,但是在实际应用中,节点有可能繁忙可能此时无法及时发出心跳消息被判断为误故障,影响客户体验度。
技术实现思路
提供一种网络链路的故障检测方法,其解决了现有技术用户体验度低的缺点。一方面,提供一种网络链路的故障检测方法,所述方法包括如下步骤:在设定时间未接收到第一节点的心跳消息时,向第一节点发送一检测消息;如未接收到第一节点返回的检测响应消息,则确定第一节点故障;如接收到第一节点返回的检测响应消息,则确定第一节点繁忙。可选的,所述方法还包括:如第一节点故障,则执行故障申报程序。可选的,所述方法还包括:如第一节点繁忙,停止向第一节点分配任务。第二方面,提供一种网络链路的故障检测系统,所述方法包括:收发单元,用于在设定时间未接收到第一节点的心跳消息时,向第一节点发送一检测消息;确定单元,用于如未接收到第一节点返回的检测响应消息,则确定第一节点故障;控制单元,用于 ...
【技术保护点】
一种网络链路的故障检测方法,其特征在于,所述方法包括如下步骤:在设定时间未接收到第一节点的心跳消息时,向第一节点发送一检测消息;如未接收到第一节点返回的检测响应消息,则确定第一节点故障;如接收到第一节点返回的检测响应消息,则确定第一节点繁忙。
【技术特征摘要】
1.一种网络链路的故障检测方法,其特征在于,所述方法包括如下步骤:在设定时间未接收到第一节点的心跳消息时,向第一节点发送一检测消息;如未接收到第一节点返回的检测响应消息,则确定第一节点故障;如接收到第一节点返回的检测响应消息,则确定第一节点繁忙。2.根据权利要求1所述的方法,其特征在于,所述方法还包括:如第一节点故障,则执行故障申报程序。3.根据权利要求1所述的方法,其特征在于,所述方法还包括:如第一节点繁忙,停止向第一节点分配任务。4.一种网络链路的故障检测系统,其特征在于,所述方法包括:收发单元,用于在设定时间未接收到第一节点的心跳消息时,向第一节点发送一检测消息;确定单元,用于如未接收到第一节点返回的检测响应消息,则确定第一节...
【专利技术属性】
技术研发人员:李炜,
申请(专利权)人:深圳市伊特利网络科技有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。