WO2017202121A1 - Fault determination method and device - Google Patents

Fault determination method and device Download PDF

Info

Publication number
WO2017202121A1
WO2017202121A1 PCT/CN2017/077569 CN2017077569W WO2017202121A1 WO 2017202121 A1 WO2017202121 A1 WO 2017202121A1 CN 2017077569 W CN2017077569 W CN 2017077569W WO 2017202121 A1 WO2017202121 A1 WO 2017202121A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
node
standby
primary
data packet
Prior art date
Application number
PCT/CN2017/077569
Other languages
French (fr)
Chinese (zh)
Inventor
刘准
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017202121A1 publication Critical patent/WO2017202121A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath

Definitions

  • the present application relates to, but is not limited to, optical communication technology, and more particularly to a fault determination method and apparatus.
  • the SDN network controller can implement the tunnel path hot backup protection of the MPLS (Multi-Protocol Label Switching) traffic engineering through the controller algorithm.
  • MPLS Multi-Protocol Label Switching
  • -standby that is, establish a primary link between two network nodes and a standby link.
  • the bidirectional forwarding detection can be used as a detection method to quickly determine the fault of the primary link and switch the traffic to the backup link.
  • the BFD can be used to detect the fault between the two nodes. Network protocol. After the BFD sends a packet, it waits for the packet to be returned. If the packet is not received within a certain period of time, the link fault needs to be switched.
  • the Resource ReSerVation Protocol-Traffic Engineering (RSVP-TE) for hot-standby protection generally establishes symmetric two head-to-tail Tunnel:
  • Reverse channel tunnel (hot-standby), header-Router2, tail-Router1, tunnelid-1.
  • the primary path is Router2-Router3-Router1 and the backup path is Router2-Router1.
  • BFD for the forward tunnel is detected.
  • BFD1 The packet is sent to Router1-Router2. The packet is forwarded to the reverse tunnel. Router2-Router3-Router1.
  • BFD detection of the tunnel in the reverse tunnel BFD2 The packet is sent to Router2-Router1, and the packet is forwarded to the forward tunnel through Router1-Router3-Router2.
  • This paper provides a fault determination method and device to determine link failure.
  • the embodiment of the invention provides a fault determination method, including:
  • the first path includes a first primary path and a first standby path
  • the second path includes a second primary path and a second standby path, the second primary path is a reverse path of the first primary path, and the second standby path is a reverse of the first standby path path.
  • the step of sending the data packet to the second node by using the first path if the data packet is sent by using the first primary path, determining the first node and the second node In the step of the fault between the links, determining that the first primary path between the first node and the second node is faulty;
  • step of transmitting the data packet to the second node by using the first path if the data packet is sent by using the first standby path, determining that a link exists between the first node and the second node In the step of the fault, it is determined that the first standby path between the first node and the second node is faulty.
  • the method before the sending, by using the first path, the data packet to the second node, the method further includes:
  • the step of determining the first primary path and the first standby path according to the first path establishment request reserves a bidirectional bandwidth.
  • the method before the sending, by using the first path, the data packet to the second node, the method further includes:
  • An embodiment of the present invention further provides a fault determining apparatus, including:
  • a sending module configured to send, by using the first path, a data packet to the second node, where the data packet is used for whether a link between the first node and the second node is faulty;
  • a first determining module configured to determine whether the first node obtains the data packet sent by the second node by using a second path, where the second path is a reverse path of the first path; If the first node cannot obtain the data packet sent by the second node by using the second path, it is determined that the link between the first node and the second node is faulty.
  • the first path includes a first primary path and a first standby path
  • the second path includes a second primary path and a second standby path, the second primary path is a reverse path of the first primary path, and the second standby path is a reverse of the first standby path path.
  • the first determining module is configured to: if the sending module sends the data packet to the second node by using the first primary path, if it is determined that the first node cannot obtain the second node, Determining, by the second path, that the first primary path between the first node and the second node is faulty; if the sending module sends the data packet to the second node by using the first standby path If it is determined that the first node cannot obtain the data packet sent by the second node by using the second path, determining that the first standby path between the first node and the second node is faulty.
  • the apparatus further includes: an obtaining module and a second determining module;
  • the acquiring module is configured to acquire a first path establishment request, where the first path establishment request is used to establish the first path;
  • the second determining module is configured to determine the first primary path and the first standby path according to the first path establishment request.
  • the second determining module is configured to reserve a bidirectional bandwidth when determining the first primary path and the first standby path according to the first path establishment request.
  • the acquiring module is further configured to acquire a second path establishment request, where the second path establishment request is used to establish the second path;
  • the second determining module is further configured to determine a second primary path and a second standby path according to the second path establishment request, where the second primary path is set to be a reverse path of the first primary path And setting the second standby path to be a reverse path of the first standby path.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed by the processor.
  • the data packet is sent to the second node by using the first path, where the data packet is used to determine whether a link between the first node and the second node is faulty; and determining whether the first node is Obtaining, by the second node, the data packet sent by the second path, where the second path is a reverse path of the first path; if it is determined that the first node cannot obtain the second node by using a second And determining, by the path, the data packet, that the link between the first node and the second node is faulty.
  • the hot-standby is implemented in the same path in both directions, which avoids the misjudgment of the faulty link and improves the reliability of the hot-standby.
  • FIG. 1 is a schematic diagram of an ordinary networking of an RSVP-TE hot-stanby application
  • FIG. 2 is a schematic flowchart of an embodiment of a method for determining a fault according to the present invention
  • FIG. 3 is a schematic structural diagram of an embodiment of a fault determining apparatus according to the present invention.
  • FIG. 4 is a schematic structural view of another embodiment of a fault determining apparatus according to the present invention.
  • the fault determination method provided by the embodiment of the present invention may be applied to an SDN network architecture, where the SDN controller determines whether there is a fault between the primary and backup links between the first node and the second node.
  • the fault determining method provided in this embodiment may be performed by a fault determining device, which may be integrated in an SDN controller, or separately, wherein the fault determining device may be implemented in a software and/or hardware manner.
  • the failure determination method and apparatus provided in the present embodiment will be described in detail below.
  • FIG. 2 is a schematic flowchart of a method for determining a fault according to an embodiment of the present invention. As shown in FIG. 2, a method for determining a fault according to an embodiment of the present invention includes:
  • Step 101 Send a data packet to the second node by using the first path.
  • the data packet is used to determine whether a link between the first node and the second node is faulty
  • Step 102 Determine whether the first node obtains the data packet sent by the second node by using the second path.
  • the data packet may be a data packet returned by the second node to the first node after the first node sends the data packet through the first path.
  • the second path is a reverse path of the first path.
  • the reverse path means that the passing nodes are the same, but the path of the opposite direction of data transmission.
  • the first path includes a first primary path and a first standby path;
  • the second path includes a second primary path and a second standby path, and the second primary path is a reverse of the first primary path a path, where the second standby path is a reverse path of the first standby path.
  • Step 103 If it is determined that the first node cannot obtain the data packet sent by the second node by using the second path, determine that the link between the first node and the second node is faulty.
  • the packet determines that there is no fault in the link between the first node and the second node.
  • step of transmitting the data packet to the second node by using the first path if the data packet is sent by using the first primary path, determining that a link exists between the first node and the second node Determining, in the step of the fault, that the first primary path between the first node and the second node is faulty;
  • step of transmitting the data packet to the second node by using the first path if the data packet is sent by using the first standby path, determining that a link exists between the first node and the second node In the step of the fault, it is determined that the first standby path between the first node and the second node is faulty.
  • the direction in which the first node sends a data packet to the second node is a forward tunnel hot-standby path
  • the head is Router1 (ie, the first node)
  • the tail is Router2 (ie, the second node)
  • tunnelid Yes the first primary path Router1-Router2
  • the first standby path is Router1-Router3-Router2
  • the second node returns the data packet direction to the first node as the reverse tunnel hot-standby path
  • the head is Router2, and the tail is Router1.
  • the tunnelid is 2, and the path to be trusted is tunnel1, the second primary path is Router2-Router1, and the second standby path is Router2-Router3-Router1.
  • the return path is set to tunnel2, and the packet path is the primary path Router1-Router2 of tunnel1, and the return path is the main path Router2-Router1 of tunnel2. In this way, the BFP packet forwarding path is the same. If the return packet is not received, the main link of the tunnel is faulty, and no misswitching problem occurs.
  • create tunnel2 that is, BFD detection between the second node and the first node.
  • the return path is set to tunnel1
  • the packet path is the main path of tunnel2, Router2-Router1
  • the return path is the main path of tunnel1, Router1- Router2.
  • the embodiment of the invention realizes that the hot-standby is in the same path in both directions, avoids the misjudgment of the faulty link, and improves the reliability of the hot-standby.
  • the method before the sending the data packet to the second node by using the first path, the method further includes:
  • a bidirectional bandwidth is reserved.
  • the method before the sending the data packet to the second node by using the first path, the method further includes:
  • the usage scenario of this embodiment may be:
  • the SDN controller requests to establish a hot-standby protected tunnel in the forward direction.
  • the forward direction tunnel module is used to calculate the bidirectional connectivity, and the calculation module calculates the forward tunnel active and standby paths according to the calculation path conditions, that is, the bandwidth and the priority.
  • the two-way bandwidth is returned to the calculation result, that is, the path identifier tunnelid is 1, the first primary path is Router1–Router2, and the first standby path is Router1-Router3-Router2.
  • the SDN controller requests to create a reverse tunnel hot-standby path.
  • the header is Router2, the tail is Router1, the tunnelid is 2, and the dependent path is told to be tunnel1.
  • the path of the forward tunnel can be found according to the tail node of the reverse tunnel (that is, the head node of the forward tunnel Router1) and the forward tunnelid (tunnelid1), and the reverse path is used as its own path, that is, tunnel1.
  • the reverse path of the primary path Router1-Router2, Router2-Router1 is the primary path of the tunnel (tunnel2), and the reverse path of the standby path of Router1, Router1-Router3-Router2, is the standby path of the tunnel (tunnel2). That is, the second primary path is Router2-Router1, and the second standby path is Router2-Router3-Router1.
  • FIG. 3 is a schematic structural diagram of an embodiment of a fault determining apparatus according to the present invention. As shown in FIG. 3, the fault determining apparatus of the embodiment includes:
  • the sending module 21 is configured to send, by using the first path, a data packet to the second node, where the data packet is used for whether a link between the first node and the second node is faulty;
  • the first determining module 22 is configured to determine whether the first node obtains the data packet sent by the second node by using the second path, where the second path is a reverse path of the first path; The first node is unable to obtain the data packet sent by the second node by using the second path, and determining that the link between the first node and the second node is faulty.
  • the first path includes a first primary path and a first standby path
  • the second path includes a second primary path and a second standby path, the second primary path is a reverse path of the first primary path, and the second standby path is a reverse of the first standby path path.
  • the first determining module 22 is configured to: if the sending module 21 sends the data packet to the second node by using the first primary path, if it is determined that the first node cannot obtain the Determining, by the second node, the data packet sent by the second path, that the first primary path between the first node and the second node is faulty; if the sending module 21 passes the first standby path to the second node When the data packet is sent, if it is determined that the first node cannot obtain the data packet sent by the second node by using the second path, determining the first between the first node and the second node The standby path is faulty.
  • the hot-standby is implemented in the same path in both directions, which avoids the misjudgment of the faulty link, thereby improving the reliability of the hot-standby.
  • FIG. 4 is a schematic structural view of another embodiment of a fault determining apparatus according to the present invention. As shown in Figure 4, on the basis of the embodiment of Figure 3, may further include: an acquisition module 23 and a second determination module 24;
  • the obtaining module 23 is configured to acquire a first path establishment request, where the first path establishment request is used to establish the first path;
  • the second determining module 24 is configured to determine the first primary path and the first standby path according to the first path establishment request.
  • the second determining module 24 is configured to reserve a bidirectional bandwidth when determining the first primary path and the first standby path according to the first path establishment request.
  • the obtaining module 23 is further configured to acquire a second path establishment request, where the second path establishment request is used to establish the second path;
  • the second determining module 24 is further configured to determine the second primary path and the second standby path according to the second path establishment request, where the second primary path is set to be the reverse of the first primary path a path, where the second standby path is set to be a reverse path of the first standby path.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed by the processor.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • Embodiments of the invention are not limited to any specific form of combination of hardware and software.
  • the embodiment of the invention realizes that the hot-standby is in the same path in both directions, avoids the misjudgment of the faulty link, and improves the reliability of the hot-standby.

Abstract

The disclosure discloses a fault determination method and device. The method comprises: transmitting, via a first path, and to a second node, a data packet used to determine whether a fault is present in a link between a first node and the second node; determining whether the first node has acquired the data packet transmitted via a second path and by the second node, the second path being a reverse path of the first path; and if not, determining that a fault is present in the link between the first node and the second node.

Description

一种故障确定方法及装置Method and device for determining fault 技术领域Technical field
本申请涉及但不限于光通信技术,尤指一种故障确定方法及装置。The present application relates to, but is not limited to, optical communication technology, and more particularly to a fault determination method and apparatus.
背景技术Background technique
在软件定义网络(Software Defined Network,简称SDN)的网络架构中,SDN网络控制器可以通过控制器算法实现MPLS(Multi-Protocol Label Switching,多协议标签交换)流量工程的隧道路径热备份保护(hot-standby),也就是说,在两个网络节点之间建立一条主链路,以及一条备链路。In the network architecture of the Software Defined Network (SDN), the SDN network controller can implement the tunnel path hot backup protection of the MPLS (Multi-Protocol Label Switching) traffic engineering through the controller algorithm. -standby), that is, establish a primary link between two network nodes and a standby link.
通常,可以使用双向转发检测(Bidirectional Forwarding Detection,简称BFD)作为检测手段,快速确定主链路故障,并将流量切换至备链路,其中,该BFD是可以用于检测两个节点之间故障的网络协议。其中,BFD发包后等待回包,如果在一定时间内收不到回包则认为链路故障需要切换。Generally, the bidirectional forwarding detection (BFD) can be used as a detection method to quickly determine the fault of the primary link and switch the traffic to the backup link. The BFD can be used to detect the fault between the two nodes. Network protocol. After the BFD sends a packet, it waits for the packet to be returned. If the packet is not received within a certain period of time, the link fault needs to be switched.
如图1所示,对于热备份(hot-standby)保护的基于流量工程扩展的资源预留协议(Resource ReSerVation Protocol-Traffic Engineering,简称RSVP-TE),一般会建立对称的互为头尾的两条隧道:As shown in Figure 1, the Resource ReSerVation Protocol-Traffic Engineering (RSVP-TE) for hot-standby protection generally establishes symmetric two head-to-tail Tunnel:
正向通道tunnel(hot-standby),头-Router1(第一路由器),尾-Router2(第二路由器),中间节点-Router3(第三路由器),tunnelid-1(通道标识1),主路径:Router1-Router2,备路径:Router1-Router2-Router3;Forward channel tunnel (hot-standby), head-Router1 (first router), tail-Router2 (second router), intermediate node-Router3 (third router), tunnelid-1 (channel identifier 1), main path: Router1-Router2, backup path: Router1-Router2-Router3;
反向通道tunnel(hot-standby),头-Router2,尾-Router1,tunnelid-1。主路径:Router2-Router3-Router1,备路径:Router2-Router1。Reverse channel tunnel (hot-standby), header-Router2, tail-Router1, tunnelid-1. The primary path is Router2-Router3-Router1 and the backup path is Router2-Router1.
正向通道tunnel的BFD检测BFD1:发包走Router1-Router2,回包由路由导入反向tunnel,走Router2-Router3-Router1。BFD for the forward tunnel is detected. BFD1: The packet is sent to Router1-Router2. The packet is forwarded to the reverse tunnel. Router2-Router3-Router1.
反向通道tunnel的BFD检测BFD2:发包走Router2-Router1,回包由路由导入正向tunnel,走Router1-Router3-Router2。BFD detection of the tunnel in the reverse tunnel BFD2: The packet is sent to Router2-Router1, and the packet is forwarded to the forward tunnel through Router1-Router3-Router2.
当Router1-Router3链路出现故障,正向tunnel的BFD1回包路径断掉收 不到回包时,误判发包主链路Router1-Router2出现故障,导致正常链路被断开,进而导致正向通道断流。When the link of Router1-Router3 fails, the BFD1 packet return path of the tunnel is blocked. When the packet is not returned, the primary link Router1-Router2 is faulty, causing the normal link to be disconnected, which causes the forward channel to be disconnected.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供了一种故障确定方法及装置,可以确定链路故障。This paper provides a fault determination method and device to determine link failure.
本发明实施例提供了一种故障确定方法,包括:The embodiment of the invention provides a fault determination method, including:
通过第一路径向第二节点发送数据包,所述数据包用于确定第一节点与所述第二节点之间的链路是否存在故障;Transmitting, by the first path, a data packet to the second node, where the data packet is used to determine whether a link between the first node and the second node is faulty;
确定所述第一节点是否获得所述第二节点通过第二路径发送的所述数据包,所述第二路径为所述第一路径的反向路径;Determining whether the first node obtains the data packet sent by the second node by using a second path, where the second path is a reverse path of the first path;
若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障。If it is determined that the first node cannot obtain the data packet sent by the second node by using the second path, determining that the link between the first node and the second node is faulty.
在一实施方式中,所述第一路径包括第一主路径和第一备路径;In an embodiment, the first path includes a first primary path and a first standby path;
所述第二路径包括第二主路径和第二备路径,所述第二主路径为所述第一主路径的反向路径,所述第二备路径为所述第一备路径的反向路径。The second path includes a second primary path and a second standby path, the second primary path is a reverse path of the first primary path, and the second standby path is a reverse of the first standby path path.
在一实施方式中,所述通过第一路径向第二节点发送所述数据包的步骤中,若通过第一主路径发送所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障的步骤中,确定所述第一节点与所述第二节点之间的第一主路径存在故障;In an embodiment, in the step of sending the data packet to the second node by using the first path, if the data packet is sent by using the first primary path, determining the first node and the second node In the step of the fault between the links, determining that the first primary path between the first node and the second node is faulty;
所述通过第一路径向第二节点发送所述数据包的步骤中,若通过第一备路径发送所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障的步骤中,确定所述第一节点与所述第二节点之间的第一备路径存在故障。In the step of transmitting the data packet to the second node by using the first path, if the data packet is sent by using the first standby path, determining that a link exists between the first node and the second node In the step of the fault, it is determined that the first standby path between the first node and the second node is faulty.
在一实施方式中,所述通过第一路径向第二节点发送所述数据包之前,还包括: In an embodiment, before the sending, by using the first path, the data packet to the second node, the method further includes:
获取第一路径建立请求,所述第一路径建立请求用于建立所述第一路径;Obtaining a first path establishment request, where the first path establishment request is used to establish the first path;
根据所述第一路径建立请求,确定第一主路径和第一备路径。Determining the first primary path and the first standby path according to the first path establishment request.
在一实施方式中,所述根据所述第一路径建立请求,确定第一主路径和第一备路径的步骤中,预留双向带宽。In an embodiment, the step of determining the first primary path and the first standby path according to the first path establishment request reserves a bidirectional bandwidth.
在一实施方式中,所述通过第一路径向第二节点发送所述数据包之前,还包括:In an embodiment, before the sending, by using the first path, the data packet to the second node, the method further includes:
获取第二路径建立请求,所述第二路径建立请求用于建立所述第二路径;Obtaining a second path establishment request, where the second path establishment request is used to establish the second path;
根据所述第二路径建立请求,确定第二主路径和第二备路径,其中,设置所述第二主路径为所述第一主路径的反向路径,设置所述第二备路径为所述第一备路径的反向路径。Determining, according to the second path establishment request, a second primary path and a second standby path, where the second primary path is set as a reverse path of the first primary path, and the second standby path is set as The reverse path of the first standby path.
本发明实施例还提供了一种故障确定装置,包括:An embodiment of the present invention further provides a fault determining apparatus, including:
发送模块,设置为通过第一路径向第二节点发送数据包,所述数据包用于所述第一节点与所述第二节点之间的链路是否存在故障;a sending module, configured to send, by using the first path, a data packet to the second node, where the data packet is used for whether a link between the first node and the second node is faulty;
第一确定模块,设置为确定所述第一节点是否获得所述第二节点通过第二路径发送的所述数据包,所述第二路径为所述第一路径的反向路径;若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障。a first determining module, configured to determine whether the first node obtains the data packet sent by the second node by using a second path, where the second path is a reverse path of the first path; If the first node cannot obtain the data packet sent by the second node by using the second path, it is determined that the link between the first node and the second node is faulty.
在一实施方式中,所述第一路径包括第一主路径和第一备路径;In an embodiment, the first path includes a first primary path and a first standby path;
所述第二路径包括第二主路径和第二备路径,所述第二主路径为所述第一主路径的反向路径,所述第二备路径为所述第一备路径的反向路径。The second path includes a second primary path and a second standby path, the second primary path is a reverse path of the first primary path, and the second standby path is a reverse of the first standby path path.
在一实施方式中,所述第一确定模块,设置为:若发送模块通过第一主路径向第二节点发送所述数据包时,若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的第一主路径存在故障;若发送模块通过第一备路径向第二节点发送所述数据包时,若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的第一备路径存在故障。In an embodiment, the first determining module is configured to: if the sending module sends the data packet to the second node by using the first primary path, if it is determined that the first node cannot obtain the second node, Determining, by the second path, that the first primary path between the first node and the second node is faulty; if the sending module sends the data packet to the second node by using the first standby path If it is determined that the first node cannot obtain the data packet sent by the second node by using the second path, determining that the first standby path between the first node and the second node is faulty.
在一实施方式中,所述装置还包括:获取模块和第二确定模块; In an embodiment, the apparatus further includes: an obtaining module and a second determining module;
所述获取模块,设置为获取第一路径建立请求,所述第一路径建立请求用于建立所述第一路径;The acquiring module is configured to acquire a first path establishment request, where the first path establishment request is used to establish the first path;
所述第二确定模块,设置为根据所述第一路径建立请求,确定第一主路径和第一备路径。The second determining module is configured to determine the first primary path and the first standby path according to the first path establishment request.
在一实施方式中,所述第二确定模块,设置为根据所述第一路径建立请求,确定第一主路径和第一备路径时,预留双向带宽。In an embodiment, the second determining module is configured to reserve a bidirectional bandwidth when determining the first primary path and the first standby path according to the first path establishment request.
在一实施方式中,所述获取模块,还设置为获取第二路径建立请求,所述第二路径建立请求用于建立所述第二路径;In an embodiment, the acquiring module is further configured to acquire a second path establishment request, where the second path establishment request is used to establish the second path;
所述第二确定模块,还设置为根据所述第二路径建立请求,确定第二主路径和第二备路径,其中,设置所述第二主路径为所述第一主路径的反向路径,设置所述第二备路径为所述第一备路径的反向路径。The second determining module is further configured to determine a second primary path and a second standby path according to the second path establishment request, where the second primary path is set to be a reverse path of the first primary path And setting the second standby path to be a reverse path of the first standby path.
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述故障确定方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed by the processor.
在本实施例中,通过第一路径向第二节点发送数据包,所述数据包用于确定第一节点与所述第二节点之间的链路是否存在故障;确定所述第一节点是否获得所述第二节点通过第二路径发送的所述数据包,所述第二路径为所述第一路径的反向路径;若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障。实现了hot-standby双向在相同路径,避免了故障链路的误判断,进而提高了hot-standby的可靠性。In this embodiment, the data packet is sent to the second node by using the first path, where the data packet is used to determine whether a link between the first node and the second node is faulty; and determining whether the first node is Obtaining, by the second node, the data packet sent by the second path, where the second path is a reverse path of the first path; if it is determined that the first node cannot obtain the second node by using a second And determining, by the path, the data packet, that the link between the first node and the second node is faulty. The hot-standby is implemented in the same path in both directions, which avoids the misjudgment of the faulty link and improves the reliability of the hot-standby.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为RSVP-TE hot-stanby应用普通组网示意图;Figure 1 is a schematic diagram of an ordinary networking of an RSVP-TE hot-stanby application;
图2为本发明故障确定方法一实施例的流程示意图;2 is a schematic flowchart of an embodiment of a method for determining a fault according to the present invention;
图3为本发明故障确定装置一实施例的结构示意图;3 is a schematic structural diagram of an embodiment of a fault determining apparatus according to the present invention;
图4为本发明故障确定装置另一实施例的结构示意图。 4 is a schematic structural view of another embodiment of a fault determining apparatus according to the present invention.
详述Detailed
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
本发明实施例提供的故障确定方法可以应用于SDN网络架构中,SDN控制器确定第一节点与第二节点之间的主备链路是否存在故障时。本实施例提供的故障确定方法可以通过故障确定装置来执行,该故障确定装置可以集成在SDN控制器,或者单独设置,其中,该故障确定装置可以采用软件和/或硬件的方式来实现。以下对本实施例提供的故障确定方法及其装置进行详细地说明。The fault determination method provided by the embodiment of the present invention may be applied to an SDN network architecture, where the SDN controller determines whether there is a fault between the primary and backup links between the first node and the second node. The fault determining method provided in this embodiment may be performed by a fault determining device, which may be integrated in an SDN controller, or separately, wherein the fault determining device may be implemented in a software and/or hardware manner. The failure determination method and apparatus provided in the present embodiment will be described in detail below.
图2为本发明故障确定方法一实施例的流程示意图,如图2所示,本发明实施例提供的故障确定方法,包括:2 is a schematic flowchart of a method for determining a fault according to an embodiment of the present invention. As shown in FIG. 2, a method for determining a fault according to an embodiment of the present invention includes:
步骤101、通过第一路径向第二节点发送数据包。Step 101: Send a data packet to the second node by using the first path.
在本实施例中,所述数据包用于确定第一节点与所述第二节点之间的链路是否存在故障;In this embodiment, the data packet is used to determine whether a link between the first node and the second node is faulty;
步骤102、确定所述第一节点是否获得所述第二节点通过第二路径发送的所述数据包。Step 102: Determine whether the first node obtains the data packet sent by the second node by using the second path.
该数据包可以是第二节点根据第一节点通过第一路径发送的数据包之后,通过第二路径向第一节点返回的数据包。The data packet may be a data packet returned by the second node to the first node after the first node sends the data packet through the first path.
在本实施例中,所述第二路径为所述第一路径的反向路径。所述反向路径是指经过的节点相同,只是数据传输的方向相反的路径。In this embodiment, the second path is a reverse path of the first path. The reverse path means that the passing nodes are the same, but the path of the opposite direction of data transmission.
其中,所述第一路径包括第一主路径和第一备路径;所述第二路径包括第二主路径和第二备路径,所述第二主路径为所述第一主路径的反向路径,所述第二备路径为所述第一备路径的反向路径。The first path includes a first primary path and a first standby path; the second path includes a second primary path and a second standby path, and the second primary path is a reverse of the first primary path a path, where the second standby path is a reverse path of the first standby path.
步骤103、若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障。Step 103: If it is determined that the first node cannot obtain the data packet sent by the second node by using the second path, determine that the link between the first node and the second node is faulty.
若确定所述第一节点获得所述第二节点通过第二路径发送的所述数据 包,则确定所述第一节点与所述第二节点之间的链路不存在故障。Determining that the first node obtains the data that is sent by the second node by using the second path The packet determines that there is no fault in the link between the first node and the second node.
所述通过第一路径向第二节点发送所述数据包的步骤中,若通过第一主路径发送所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障的步骤中,确定所述第一节点与所述第二节点之间的第一主路径存在故障;In the step of transmitting the data packet to the second node by using the first path, if the data packet is sent by using the first primary path, determining that a link exists between the first node and the second node Determining, in the step of the fault, that the first primary path between the first node and the second node is faulty;
所述通过第一路径向第二节点发送所述数据包的步骤中,若通过第一备路径发送所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障的步骤中,确定所述第一节点与所述第二节点之间的第一备路径存在故障。In the step of transmitting the data packet to the second node by using the first path, if the data packet is sent by using the first standby path, determining that a link exists between the first node and the second node In the step of the fault, it is determined that the first standby path between the first node and the second node is faulty.
举例来讲,参照图1,第一节点向第二节点发送数据包的方向为正向tunnel hot-standby路径,头是Router1(即第一节点),尾是Router2(即第二节点),tunnelid是1,第一主路径Router1-Router2,第一备路径是Router1-Router3-Router2,第二节点向第一节点返回数据包的方向为反向tunnel hot-standby路径,头是Router2,尾是Router1,tunnelid是2,并告知依赖的路径是tunnel1,第二主路径Router2-Router1,第二备路径是Router2-Router3-Router1。For example, referring to FIG. 1, the direction in which the first node sends a data packet to the second node is a forward tunnel hot-standby path, the head is Router1 (ie, the first node), and the tail is Router2 (ie, the second node), tunnelid Yes, the first primary path Router1-Router2, the first standby path is Router1-Router3-Router2, and the second node returns the data packet direction to the first node as the reverse tunnel hot-standby path, the head is Router2, and the tail is Router1. The tunnelid is 2, and the path to be trusted is tunnel1, the second primary path is Router2-Router1, and the second standby path is Router2-Router3-Router1.
建立tunnel1,即第一节点与第二节点之间的BFD检测,回包路径设为tunnel2,则其发包路径是tunnel1的主路径Router1-Router2,回包路径是tunnel2的主路径Router2-Router1。这样BFD的发包回包路径一致,如果收不到回包肯定是tunnel的主链路产生了问题,就不会产生误切换问题了。Establish tunnel1, that is, BFD detection between the first node and the second node. The return path is set to tunnel2, and the packet path is the primary path Router1-Router2 of tunnel1, and the return path is the main path Router2-Router1 of tunnel2. In this way, the BFP packet forwarding path is the same. If the return packet is not received, the main link of the tunnel is faulty, and no misswitching problem occurs.
再举例来讲,创建tunnel2,即第二节点与第一节点之间的BFD检测,回包路径设为tunnel1,发包路径是tunnel2的主路径Router2-Router1,回包路径是tunnel1的主路径Router1-Router2。For example, create tunnel2, that is, BFD detection between the second node and the first node. The return path is set to tunnel1, the packet path is the main path of tunnel2, Router2-Router1, and the return path is the main path of tunnel1, Router1- Router2.
本发明实施例实现了hot-standby双向在相同路径,避免了故障链路的误判断,进而提高了hot-standby的可靠性。The embodiment of the invention realizes that the hot-standby is in the same path in both directions, avoids the misjudgment of the faulty link, and improves the reliability of the hot-standby.
在上述实施例的基础上,所述通过第一路径向第二节点发送所述数据包之前,还包括: On the basis of the foregoing embodiment, before the sending the data packet to the second node by using the first path, the method further includes:
获取第一路径建立请求,所述第一路径建立请求用于建立所述第一路径;Obtaining a first path establishment request, where the first path establishment request is used to establish the first path;
根据所述第一路径建立请求,确定所述第一主路径和第一备路径。Determining the first primary path and the first standby path according to the first path establishment request.
在确定所述第一主路径和第一备路径时,预留双向带宽。When determining the first primary path and the first standby path, a bidirectional bandwidth is reserved.
在上述实施例的基础上,所述通过第一路径向第二节点发送所述数据包之前,还包括:On the basis of the foregoing embodiment, before the sending the data packet to the second node by using the first path, the method further includes:
获取第二路径建立请求,所述第二路径建立请求用于建立所述第二路径;Obtaining a second path establishment request, where the second path establishment request is used to establish the second path;
根据所述第二路径建立请求,确定第二主路径和第二备路径,其中,设置所述第二主路径为所述第一主路径的反向路径,设置所述第二备路径为所述第一备路径的反向路径。Determining, according to the second path establishment request, a second primary path and a second standby path, where the second primary path is set as a reverse path of the first primary path, and the second standby path is set as The reverse path of the first standby path.
举例来讲,本实施例的使用场景可以是:For example, the usage scenario of this embodiment may be:
SDN控制器请求建立正方向的hot-standby保护的tunnel。为正方向tunnel请求算路模块算路以建立hot-standby保护的tunnel,算路模块根据算路条件,即带宽、优先级等,计算正向tunnel主备路径,并检查双向连通性,预留双向带宽,然后返回计算结果,即路径标识tunnelid是1,第一主路径Router1–Router2,第一备路径是Router1-Router3-Router2。The SDN controller requests to establish a hot-standby protected tunnel in the forward direction. The forward direction tunnel module is used to calculate the bidirectional connectivity, and the calculation module calculates the forward tunnel active and standby paths according to the calculation path conditions, that is, the bandwidth and the priority. The two-way bandwidth is returned to the calculation result, that is, the path identifier tunnelid is 1, the first primary path is Router1–Router2, and the first standby path is Router1-Router3-Router2.
SDN控制器请求创建反向通道tunnel hot-standby路径,头是Router2,尾是Router1,tunnelid是2,并告知依赖的路径是tunnel1。其中,可以根据反向tunnel的尾节点(即正向tunnel的头结点Router1)和携带的正向tunnelid(tunnelid1)查找到正向tunnel的路径,把其反向路径作为自己的路径,即tunnel1的主路径Router1-Router2的反向路径Router2-Router1作为本tunnel(tunnel2)的主路径,tunnel1的备路径Router1-Router3-Router2的反向路径作为本tunnel(tunnel2)的备路径。即第二主路径Router2-Router1,第二备路径是Router2-Router3-Router1。The SDN controller requests to create a reverse tunnel hot-standby path. The header is Router2, the tail is Router1, the tunnelid is 2, and the dependent path is told to be tunnel1. The path of the forward tunnel can be found according to the tail node of the reverse tunnel (that is, the head node of the forward tunnel Router1) and the forward tunnelid (tunnelid1), and the reverse path is used as its own path, that is, tunnel1. The reverse path of the primary path Router1-Router2, Router2-Router1, is the primary path of the tunnel (tunnel2), and the reverse path of the standby path of Router1, Router1-Router3-Router2, is the standby path of the tunnel (tunnel2). That is, the second primary path is Router2-Router1, and the second standby path is Router2-Router3-Router1.
图3为本发明故障确定装置一实施例的结构示意图;如图3所示,本实施例的故障确定装置,包括:3 is a schematic structural diagram of an embodiment of a fault determining apparatus according to the present invention; as shown in FIG. 3, the fault determining apparatus of the embodiment includes:
发送模块21,设置为通过第一路径向第二节点发送数据包,所述数据包用于所述第一节点与所述第二节点之间的链路是否存在故障; The sending module 21 is configured to send, by using the first path, a data packet to the second node, where the data packet is used for whether a link between the first node and the second node is faulty;
第一确定模块22,设置为确定所述第一节点是否获得所述第二节点通过第二路径发送的所述数据包,所述第二路径为所述第一路径的反向路径;若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障。The first determining module 22 is configured to determine whether the first node obtains the data packet sent by the second node by using the second path, where the second path is a reverse path of the first path; The first node is unable to obtain the data packet sent by the second node by using the second path, and determining that the link between the first node and the second node is faulty.
在上述实施例的基础上,所述第一路径包括第一主路径和第一备路径;On the basis of the foregoing embodiment, the first path includes a first primary path and a first standby path;
所述第二路径包括第二主路径和第二备路径,所述第二主路径为所述第一主路径的反向路径,所述第二备路径为所述第一备路径的反向路径。The second path includes a second primary path and a second standby path, the second primary path is a reverse path of the first primary path, and the second standby path is a reverse of the first standby path path.
在上述实施例的基础上,所述第一确定模块22,设置为:若发送模块21通过第一主路径向第二节点发送所述数据包时,若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的第一主路径存在故障;若发送模块21通过第一备路径向第二节点发送所述数据包时,若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的第一备路径存在故障。On the basis of the foregoing embodiment, the first determining module 22 is configured to: if the sending module 21 sends the data packet to the second node by using the first primary path, if it is determined that the first node cannot obtain the Determining, by the second node, the data packet sent by the second path, that the first primary path between the first node and the second node is faulty; if the sending module 21 passes the first standby path to the second node When the data packet is sent, if it is determined that the first node cannot obtain the data packet sent by the second node by using the second path, determining the first between the first node and the second node The standby path is faulty.
本实施例实现了hot-standby双向在相同路径,避免了故障链路的误判断,进而提高了hot-standby的可靠性。In this embodiment, the hot-standby is implemented in the same path in both directions, which avoids the misjudgment of the faulty link, thereby improving the reliability of the hot-standby.
图4为本发明故障确定装置另一实施例的结构示意图。如图4所示,在图3的实施例的基础上,还可以包括:获取模块23和和第二确定模块24;4 is a schematic structural view of another embodiment of a fault determining apparatus according to the present invention. As shown in Figure 4, on the basis of the embodiment of Figure 3, may further include: an acquisition module 23 and a second determination module 24;
所述获取模块23,设置为获取第一路径建立请求,所述第一路径建立请求用于建立所述第一路径;The obtaining module 23 is configured to acquire a first path establishment request, where the first path establishment request is used to establish the first path;
所述第二确定模块24,设置为根据所述第一路径建立请求,确定第一主路径和第一备路径。The second determining module 24 is configured to determine the first primary path and the first standby path according to the first path establishment request.
在上述实施例的基础上,所述第二确定模块24,设置为根据所述第一路径建立请求,确定第一主路径和第一备路径时,预留双向带宽。On the basis of the foregoing embodiment, the second determining module 24 is configured to reserve a bidirectional bandwidth when determining the first primary path and the first standby path according to the first path establishment request.
在上述实施例的基础上,所述获取模块23,还设置为获取第二路径建立请求,所述第二路径建立请求用于建立所述第二路径;On the basis of the foregoing embodiment, the obtaining module 23 is further configured to acquire a second path establishment request, where the second path establishment request is used to establish the second path;
所述第二确定模块24,还设置为根据所述第二路径建立请求,确定第二主路径和第二备路径,其中,设置所述第二主路径为所述第一主路径的反向 路径,设置所述第二备路径为所述第一备路径的反向路径。The second determining module 24 is further configured to determine the second primary path and the second standby path according to the second path establishment request, where the second primary path is set to be the reverse of the first primary path a path, where the second standby path is set to be a reverse path of the first standby path.
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述故障确定方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed by the processor.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. All or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present application are as described above, but the description is only for the purpose of understanding the present application, and is not intended to limit the present application. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
本发明实施例实现了hot-standby双向在相同路径,避免了故障链路的误判断,进而提高了hot-standby的可靠性。 The embodiment of the invention realizes that the hot-standby is in the same path in both directions, avoids the misjudgment of the faulty link, and improves the reliability of the hot-standby.

Claims (12)

  1. 一种故障确定方法,包括:A method for determining a fault, comprising:
    通过第一路径向第二节点发送数据包,所述数据包用于确定第一节点与所述第二节点之间的链路是否存在故障;Transmitting, by the first path, a data packet to the second node, where the data packet is used to determine whether a link between the first node and the second node is faulty;
    确定所述第一节点是否获得所述第二节点通过第二路径发送的所述数据包,所述第二路径为所述第一路径的反向路径;Determining whether the first node obtains the data packet sent by the second node by using a second path, where the second path is a reverse path of the first path;
    若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障。If it is determined that the first node cannot obtain the data packet sent by the second node by using the second path, determining that the link between the first node and the second node is faulty.
  2. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述第一路径包括第一主路径和第一备路径;The first path includes a first primary path and a first standby path;
    所述第二路径包括第二主路径和第二备路径,所述第二主路径为所述第一主路径的反向路径,所述第二备路径为所述第一备路径的反向路径。The second path includes a second primary path and a second standby path, the second primary path is a reverse path of the first primary path, and the second standby path is a reverse of the first standby path path.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    所述通过第一路径向第二节点发送所述数据包的步骤中,若通过第一主路径发送所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障的步骤中,确定所述第一节点与所述第二节点之间的第一主路径存在故障;In the step of transmitting the data packet to the second node by using the first path, if the data packet is sent by using the first primary path, determining that a link exists between the first node and the second node Determining, in the step of the fault, that the first primary path between the first node and the second node is faulty;
    所述通过第一路径向第二节点发送所述数据包的步骤中,若通过第一备路径发送所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障的步骤中,确定所述第一节点与所述第二节点之间的第一备路径存在故障。In the step of transmitting the data packet to the second node by using the first path, if the data packet is sent by using the first standby path, determining that a link exists between the first node and the second node In the step of the fault, it is determined that the first standby path between the first node and the second node is faulty.
  4. 根据权利要求1-3任一项所述的方法,其中,所述通过第一路径向第二节点发送所述数据包之前,还包括:The method according to any one of claims 1-3, wherein before the sending the data packet to the second node by using the first path, the method further includes:
    获取第一路径建立请求,所述第一路径建立请求用于建立所述第一路径;Obtaining a first path establishment request, where the first path establishment request is used to establish the first path;
    根据所述第一路径建立请求,确定第一主路径和第一备路径。Determining the first primary path and the first standby path according to the first path establishment request.
  5. 根据权利要求4所述的方法,其中,所述根据所述第一路径建立请求,确定第一主路径和第一备路径的步骤中,预留双向带宽。 The method according to claim 4, wherein in the step of determining the first primary path and the first standby path according to the first path establishment request, the bidirectional bandwidth is reserved.
  6. 根据权利要求4所述的方法,其中,所述通过第一路径向第二节点发送所述数据包之前,还包括:The method according to claim 4, wherein before the sending the data packet to the second node by using the first path, the method further includes:
    获取第二路径建立请求,所述第二路径建立请求用于建立所述第二路径;Obtaining a second path establishment request, where the second path establishment request is used to establish the second path;
    根据所述第二路径建立请求,确定第二主路径和第二备路径,其中,设置所述第二主路径为所述第一主路径的反向路径,设置所述第二备路径为所述第一备路径的反向路径。Determining, according to the second path establishment request, a second primary path and a second standby path, where the second primary path is set as a reverse path of the first primary path, and the second standby path is set as The reverse path of the first standby path.
  7. 一种故障确定装置,包括:A fault determining device includes:
    发送模块,设置为通过第一路径向第二节点发送数据包,所述数据包用于所述第一节点与所述第二节点之间的链路是否存在故障;a sending module, configured to send, by using the first path, a data packet to the second node, where the data packet is used for whether a link between the first node and the second node is faulty;
    第一确定模块,设置为确定所述第一节点是否获得所述第二节点通过第二路径发送的所述数据包,所述第二路径为所述第一路径的反向路径;若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的链路存在故障。a first determining module, configured to determine whether the first node obtains the data packet sent by the second node by using a second path, where the second path is a reverse path of the first path; If the first node cannot obtain the data packet sent by the second node by using the second path, it is determined that the link between the first node and the second node is faulty.
  8. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein
    所述第一路径包括第一主路径和第一备路径;The first path includes a first primary path and a first standby path;
    所述第二路径包括第二主路径和第二备路径,所述第二主路径为所述第一主路径的反向路径,所述第二备路径为所述第一备路径的反向路径。The second path includes a second primary path and a second standby path, the second primary path is a reverse path of the first primary path, and the second standby path is a reverse of the first standby path path.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    所述第一确定模块,设置为:若发送模块通过第一主路径向第二节点发送所述数据包时,若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的第一主路径存在故障;若发送模块通过第一备路径向第二节点发送所述数据包时,若确定所述第一节点无法获得所述第二节点通过第二路径发送的所述数据包,则确定所述第一节点与所述第二节点之间的第一备路径存在故障。The first determining module is configured to: if the sending module sends the data packet to the second node by using the first primary path, if it is determined that the first node cannot obtain the location that the second node sends by using the second path Determining that the first primary path between the first node and the second node is faulty; if the sending module sends the data packet to the second node by using the first standby path, if the The first node cannot obtain the data packet sent by the second node by using the second path, and determines that the first standby path between the first node and the second node is faulty.
  10. 根据权利要求7-9任一项所述的装置,还包括:获取模块和第二确定模块;The apparatus according to any one of claims 7-9, further comprising: an obtaining module and a second determining module;
    所述获取模块,设置为获取第一路径建立请求,所述第一路径建立请求用于建立所述第一路径; The acquiring module is configured to acquire a first path establishment request, where the first path establishment request is used to establish the first path;
    所述第二确定模块,设置为根据所述第一路径建立请求,确定第一主路径和第一备路径。The second determining module is configured to determine the first primary path and the first standby path according to the first path establishment request.
  11. 根据权利要求10所述的装置,其中,The device according to claim 10, wherein
    所述第二确定模块,设置为根据所述第一路径建立请求,确定第一主路径和第一备路径时,预留双向带宽。The second determining module is configured to reserve a bidirectional bandwidth when determining the first primary path and the first standby path according to the first path establishment request.
  12. 根据权利要求10所述的装置,其中,The device according to claim 10, wherein
    所述获取模块,还设置为获取第二路径建立请求,所述第二路径建立请求用于建立所述第二路径;The acquiring module is further configured to acquire a second path establishment request, where the second path establishment request is used to establish the second path;
    所述第二确定模块,还设置为根据所述第二路径建立请求,确定第二主路径和第二备路径,其中,设置所述第二主路径为所述第一主路径的反向路径,设置所述第二备路径为所述第一备路径的反向路径。 The second determining module is further configured to determine a second primary path and a second standby path according to the second path establishment request, where the second primary path is set to be a reverse path of the first primary path And setting the second standby path to be a reverse path of the first standby path.
PCT/CN2017/077569 2016-05-23 2017-03-21 Fault determination method and device WO2017202121A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610344069.5A CN107426098A (en) 2016-05-23 2016-05-23 A kind of fault determination method and device
CN201610344069.5 2016-05-23

Publications (1)

Publication Number Publication Date
WO2017202121A1 true WO2017202121A1 (en) 2017-11-30

Family

ID=60412065

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077569 WO2017202121A1 (en) 2016-05-23 2017-03-21 Fault determination method and device

Country Status (2)

Country Link
CN (1) CN107426098A (en)
WO (1) WO2017202121A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026585A (en) * 2019-12-05 2020-04-17 四川湖山电器股份有限公司 Storage server hot standby switching method in recording and broadcasting system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111682982B (en) * 2020-06-03 2022-09-27 北京东土军悦科技有限公司 Path fault detection method, device, equipment, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030112749A1 (en) * 2001-12-18 2003-06-19 Brian Hassink Methods, systems, and computer program products for detecting and/or correcting faults in a multiprotocol label switching network by using redundant paths between nodes
CN102769543A (en) * 2012-07-20 2012-11-07 杭州华三通信技术有限公司 BFD (Bidirectional Forwarding Detection) method and equipment based on LSP (Label Switching Path)
CN103840980A (en) * 2012-11-23 2014-06-04 上海贝尔股份有限公司 Method and device for detecting connectivity of bidirectional LSP
CN105490932A (en) * 2014-09-19 2016-04-13 中兴通讯股份有限公司 Two-way forwarding detection method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030112749A1 (en) * 2001-12-18 2003-06-19 Brian Hassink Methods, systems, and computer program products for detecting and/or correcting faults in a multiprotocol label switching network by using redundant paths between nodes
CN102769543A (en) * 2012-07-20 2012-11-07 杭州华三通信技术有限公司 BFD (Bidirectional Forwarding Detection) method and equipment based on LSP (Label Switching Path)
CN103840980A (en) * 2012-11-23 2014-06-04 上海贝尔股份有限公司 Method and device for detecting connectivity of bidirectional LSP
CN105490932A (en) * 2014-09-19 2016-04-13 中兴通讯股份有限公司 Two-way forwarding detection method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026585A (en) * 2019-12-05 2020-04-17 四川湖山电器股份有限公司 Storage server hot standby switching method in recording and broadcasting system
CN111026585B (en) * 2019-12-05 2023-03-17 四川湖山电器股份有限公司 Storage server hot standby switching method in recording and broadcasting system

Also Published As

Publication number Publication date
CN107426098A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
EP2645640B1 (en) Oam label switched path for fast reroute of protected label switched paths
US10432514B2 (en) Multiprotocol label switching traffic engineering tunnel establishing method and device
US9705735B2 (en) System and method using RSVP hello suppression for graceful restart capable neighbors
US8305882B2 (en) Methods, systems, and computer program products for detecting and/or correcting faults in a multiprotocol label switching network by using redundant paths between nodes
US10250459B2 (en) Bandwidth on-demand services in multiple layer networks
KR101605052B1 (en) Method for creating ring network label switched path, related device and, communication system
US20150215156A1 (en) Method and apparatus for network failure restoration
US9191221B2 (en) Technique for protecting a point-to-multipoint primary tree in a connected mode communications network
EP2866394B1 (en) Method and device for sending inter-domain fault information
US8165032B1 (en) Dynamic configuration of liveliness detection
US10666562B2 (en) Network path computation method, apparatus, and system
US9614753B2 (en) Method and device for bidirectional forwarding detection under condition of parameter update
WO2011157130A2 (en) Path establishment method and apparatus
US8918671B2 (en) Technique for protecting leaf nodes of a point-to-multipoint tree in a communications network in connected mode
JP2018528708A (en) Route switching
WO2017128752A1 (en) Link fault detection method and apparatus
WO2017202121A1 (en) Fault determination method and device
WO2016169214A1 (en) Tunnel protection switching method and device
WO2021143524A1 (en) Fault detection method, and apparatus
US10601611B1 (en) Method and apparatus for providing resiliency for delay sensitive services
WO2017156710A1 (en) Service path establishment method, node device, and system
WO2017124685A1 (en) Service forwarding method and apparatus
WO2017152595A1 (en) Method and device for responding to network topology change
WO2017124722A1 (en) Method and apparatus for forwarding pseudo wire service
US9806939B2 (en) Method and apparatus for linear protection switching

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17801969

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17801969

Country of ref document: EP

Kind code of ref document: A1