WO2018145560A1 - Method and device for link failure diagnosis - Google Patents

Method and device for link failure diagnosis Download PDF

Info

Publication number
WO2018145560A1
WO2018145560A1 PCT/CN2018/072836 CN2018072836W WO2018145560A1 WO 2018145560 A1 WO2018145560 A1 WO 2018145560A1 CN 2018072836 W CN2018072836 W CN 2018072836W WO 2018145560 A1 WO2018145560 A1 WO 2018145560A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
network
port
unit
sent
Prior art date
Application number
PCT/CN2018/072836
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 WO2018145560A1 publication Critical patent/WO2018145560A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/20Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV

Definitions

  • the present disclosure relates to, but is not limited to, software defined network (SDN) technology, and more particularly to link fault diagnosis methods and apparatus.
  • SDN software defined network
  • the control plane and the forwarding plane are often implemented on a switching device (Switch). This implementation determines the complexity of the switching device.
  • the interface between the management plane and the switching device is privately defined by the manufacturer and has opacity. The interface left to the user is a black box, no scalability.
  • the traditional PTN uses, for example, Operation Administration and Maintenance (OAM) technology and Connectivity Fault Management (CFM) technology to detect link connectivity, but these two technologies Only the connectivity of the entire link (for example, Pseudo Wire (PW), Label Switch Path (LSP), and Virtual Private Wire Service (VPWS)) can be detected. Which link is broken is not conducive to engineering maintenance.
  • OAM Operation Administration and Maintenance
  • CFM Connectivity Fault Management
  • An embodiment of the present disclosure provides a link fault diagnosis method, including the steps of: decomposing a connection network involved in a LOC alarm into corresponding at least two network elements, in case receiving a reported communication line (LOC) alarm At least one unit link; performing path detection on each network element and each unit link obtained by the decomposition; generating a fault diagnosis result according to path detection results of all network elements and unit links, wherein the unit link is
  • the network node interface (NNI) of the outbound port of the westbound network element of the two adjacent network elements is formed by the line between the NNI of the ingress port of the eastbound network element.
  • an embodiment of the present disclosure further provides a link fault diagnosis apparatus, including a decomposition unit, a detection unit, and a generation unit, wherein the decomposition unit is configured to receive a reported communication line (LOC) alarm, Decomposing the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link; the detecting unit is configured to separately perform path detection on each network element and each unit link obtained by the decomposition; Generating a fault diagnosis result according to the path detection result of all the network elements and the unit link, where the unit link is from the network node interface (NNI) of the outbound port of the adjacent two network elements to the eastbound network The line between the NNIs of the ingress port of the element.
  • LOC reported communication line
  • an embodiment of the present disclosure further provides a link fault diagnosis apparatus including a memory and a processor, wherein the processor is configured to execute program instructions in the memory, the program instructions being When the processor reads and executes, the following operations are performed: when the reported communication line (LOC) alarm is received, the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link; Each network element obtained by the decomposition and each unit link respectively perform path detection; and generate fault diagnosis results according to path detection results of all network elements and unit links, wherein the unit link is composed of two adjacent network elements
  • the circuit consists of the network node interface (NNI) of the outbound port of the network element to the NNI of the ingress port of the eastbound network element.
  • NNI network node interface
  • An embodiment of the present disclosure further provides a computer readable storage medium storing computer executable instructions, and when the processor executes the computer executable instructions, performing an operation of: receiving a report
  • LOC communication line
  • the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link; and each network element and each unit link obtained by the decomposition are separately performed.
  • Path detection generating a fault diagnosis result according to path detection results of all network elements and unit links, wherein the unit link is from a network node interface (NNI) of an outbound port of the adjacent two network elements to the network element of the network element
  • NNI network node interface
  • 1 is a structural block diagram of an SDN network
  • FIG. 2 is a flowchart of a link fault diagnosis method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a unit link of an embodiment of the present disclosure.
  • FIG. 4 is a flow chart of a method for performing path detection on a unit link in an alternative embodiment of the present disclosure
  • FIG. 5 is a flow chart of a method for performing path detection on an intermediate node in an alternative embodiment of the present disclosure
  • FIG. 6 is a flowchart of a method for performing path detection on a head node in an alternative embodiment of the present disclosure
  • FIG. 7 is a flow chart of a method for performing path detection on a tail node in an alternative embodiment of the present disclosure
  • FIG. 8 is a structural block diagram of a link fault diagnosis apparatus according to an embodiment of the present disclosure.
  • FIG. 9 is a flow chart of a method of an application example of the present disclosure.
  • FIG. 10 is a schematic diagram of detection results reported to the client by the application example of FIG. 9;
  • FIG. 11 is a flow chart of a method of another application example of the present disclosure.
  • FIG. 1 is a block diagram of a SDN network.
  • the control plane (controller) is independent from the switching device.
  • the switching device (Switch) is only responsible for data forwarding, and the control plane is controlled.
  • the controller is responsible for maintaining the topology of the entire network, routing calculation, label distribution, etc.
  • the interface between the controller and the switching device is a southbound interface
  • the interface between the controller and the application (App) is a northbound interface.
  • the interface and the northbound interface are visible to the user and have good scalability.
  • TTL Time To Live
  • TTL Time To Live
  • LTR Link-Trace Reply
  • the first node can determine which link is broken.
  • the foregoing implementations have the following problems: 1.
  • the above implementation cannot accurately detect the fault point. Therefore, the link fault diagnosis using the above embodiment is complicated in diagnosis, and the problem that the fault point cannot be accurately detected when there is a multi-segment link failure at the same time.
  • FIG. 2 is a flowchart of a link fault diagnosis method according to an embodiment of the present disclosure. As shown in FIG. 2, the link fault diagnosis method includes the following steps 200 to 202.
  • Step 200 When receiving the reported Lines of Communication (LOC) alarm, the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link, where the unit link is The network between the two network elements, the network node interface (NNI) of the outbound port of the network element to the NNI of the inbound port of the east network element, and at least one unit link includes one or More than one unit link, at least two network elements include two or two network elements.
  • LOC Lines of Communication
  • FIG. 3 is a schematic diagram of a unit link according to an embodiment of the present disclosure. As shown in FIG. 3, the NNI of the egress port of the switching device 1 and the NNI of the ingress port of the switching device 2 constitute a unit link.
  • Step 201 Perform path detection on each network element and each unit link obtained by the decomposition.
  • the embodiment of the present disclosure performs path detection on each unit link obtained by the decomposition, including: performing positive alignment on all unit links obtained by the decomposition, and arranging each unit in the forward direction according to the forward direction.
  • the unit link performs forward path detection separately, and reverse path detection is performed for each unit link according to the reverse arrangement from east to west.
  • the method includes the following steps: 400. For each unit link, in an eastbound network element.
  • the ingress port sends an access control list (ACL) rule; 401, sends a diagnostic message to the egress port of the westbound NE of the unit link; 402, receives the eastbound network within the first preset duration
  • ACL access control list
  • the unit link is determined to be a forward path.
  • the quarantine message extracted by the eastbound NE according to the ACL rule is not received within the first preset duration, the unit link is determined to be positive.
  • the open circuit where the encapsulation of the diagnostic message is the same as the encapsulation of the service to be diagnosed.
  • an ACL is sent to the egress port of the westbound NE for each unit link, and a diagnostic packet is sent to the inbound port of the eastbound NE of the unit link.
  • the first predetermined duration is determined to be a reverse path, and the diagnostic message extracted by the westbound network element according to the ACL rule is not received within the first preset duration. In the text, it is determined that the unit link is a reverse open circuit.
  • the embodiment of the present disclosure performs path detection on each network element obtained by the decomposition, including: dividing the network element obtained by decomposing the connection network involved in the LOC alarm into a start node, an intermediate node, and a tail node according to a network structure; All obtained network elements perform path detection according to the order of the intermediate node, the start node, and the tail node, wherein the intermediate nodes are sorted in the direction from west to east.
  • ACL rule is an existing rule in the related art.
  • Table 1 is an example of an ACL rule in the embodiment of the present disclosure.
  • the content included in the table is a content well known to those skilled in the art, and is not described herein. .
  • FIG. 5 is a flow chart of a method for path detection of an intermediate node in an alternative embodiment of the present disclosure. As shown in FIG. 5, the method includes the following steps 500, 5010 to 5012, and 5020 to 5022.
  • Step 500 Perform a step 5010 on the network element that belongs to the intermediate node, and determine whether the network element that belongs to the intermediate node supports the function of extracting packets from the egress port, and determines that the network element that belongs to the intermediate node supports the function of extracting the egress port.
  • steps 5020 to 5022 are performed.
  • the egress flow table can be determined by the version number supported by the device, including whether the egress flow table is supported according to the version number, and whether the egress flow table is supported according to the determined version. To determine whether the function of extracting packets from the egress port is supported. The function of determining whether to support the egress packet of the egress port can be implemented by using a method already in the related art.
  • Step 5010 Deliver an ACL rule to the egress port of the network element belonging to the intermediate node
  • Step 5011 In the network belonging to the intermediate node
  • the inbound port of the element sends a diagnostic message.
  • Step 5012 After receiving the diagnostic message that the network element extracts and sends the packet according to the ACL, the network element that belongs to the intermediate node is determined to be the path.
  • the diagnostic packet that is extracted and sent by the NE according to the ACL is not received, the network element belonging to the intermediate node is determined to be open.
  • Step 5020 When it is determined that the link between the network element belonging to the intermediate node and the adjacent eastbound network element is a path
  • the ACL rule is sent to the inbound port of the network element to the east; in step 5021, the diagnostic message is sent to the ingress port of the network element belonging to the intermediate node; step 5022, the eastbound network element is received within the third preset time period.
  • the diagnostic packet is extracted and sent according to the ACL rule, it is determined that the network element belonging to the intermediate node is a path, and the diagnostic message received by the eastbound network element according to the ACL rule is not received within the third preset duration. And determining that the network element belonging to the intermediate node is an open circuit.
  • FIG. 6 is a flowchart of a method for performing path detection on a head node in an alternative embodiment of the present disclosure. As shown in FIG. 6, the method includes the following steps 600, 6010 to 6012, and 6020 to 6022.
  • Step 600 Perform a step 6010 on the network element that belongs to the first node, determine whether the network element that belongs to the first node supports the function of extracting packets from the egress port, and determine that the network element that belongs to the first node supports the function of extracting the egress port.
  • steps 6020 to 6022 are performed.
  • Step 6010 Deliver an ACL rule to the egress port of the network element belonging to the head node
  • Step 6011 In the network belonging to the head node A diagnostic message is sent to the ingress port of the element.
  • Step 6012 After receiving the diagnostic message that is sent by the network element of the first node and is sent by the ACL rule, the network element belonging to the first node is determined. For the path, the network element belonging to the first node is determined to be disconnected when the network element belonging to the first node is not received by the network element that is extracted and sent by the ACL rule in the fourth preset duration.
  • Step 6020 When it is determined that the link between the network element belonging to the first node and the adjacent eastbound network element is a path, Sending an ACL rule to the ingress port of the network element to the east; in step 6021, sending a diagnosis message to the ingress port of the network element belonging to the first node; step 6022, receiving the east direction network element according to the fifth preset time period according to When the ACL rule extracts and sends the diagnostic packet, it is determined that the network element belonging to the first node is a path, and the diagnostic message that the eastbound network element extracts and sends up according to the ACL rule is not received within the fifth preset duration. It is determined that the network element belonging to the first node is an open circuit.
  • FIG. 7 is a flowchart of a method for performing path detection on a tail node in an optional embodiment of the present disclosure.
  • the method includes: Step 700: determining, by a network element belonging to a tail node, a tail Whether the network element of the node supports the function of extracting packets of the egress port; in step 701, the network element that belongs to the tail node supports the function of extracting the egress port, and sends an ACL rule to the egress port of the network element; A diagnostic message is sent to the ingress port of the network element of the tail node.
  • Step 703 When the network element that belongs to the tail node receives and sends the diagnostic message according to the ACL rule, it is determined that the packet belongs to the tail.
  • the network element of the node is a path.
  • the network element that belongs to the tail node is not received by the network element that is extracted and sent by the ACL rule, it is determined that the network element belonging to the tail node is open.
  • connection network involved in the LOC alarm in the embodiment of the present disclosure may not include the first node and the tail node. If the label switched path (LSP) or the pseudowire (PW) is monitored, the node to be detected does not include the head node and Tail node.
  • the connection network involved in the LOC alarm may include the first node and the tail node. If the virtual private wire service (VPWS) using the Common Industrial Protocol (CIP) is monitored, the list of nodes to be detected includes the first Node and tail node.
  • VPWS virtual private wire service
  • CIP Common Industrial Protocol
  • Step 202 Generate a fault diagnosis result according to path detection results of all network elements and unit links.
  • the fault diagnosis result can be generated.
  • the link fault diagnosis method of the embodiment of the present disclosure further includes: deleting the issued ACL rule when performing path detection for each network element or unit link.
  • the first preset duration, the second preset duration, the third preset duration, the fourth preset duration, the fifth preset duration, the sixth preset duration, and the like may be set according to network parameters.
  • the default timeout in the Multi-Protocol Label Switching Transport Profile (MPLS-TP) OAM standard can be set by default. If an inband network is used, the diagnostic message delay is longer when a path spans multiple network elements. To prevent mis-diagnosis, you can add a timeout option between the client and the controller. This option is related to the networking environment. Generally, it can be 1.5-2 times the average time for the management NE and device to pass Ping. .
  • the controller can increase the number of diagnostic packets, increase the number of diagnostics, and improve the diagnostic report by preventing the number of diagnostic packets from being discarded due to packet loss caused by CPU blocking or high packet loss rate.
  • the priority of the document is used to improve the detection accuracy.
  • the embodiments of the present disclosure can be used together with the device CPU utilization detection, the transmission link packet loss rate detection, the management channel connectivity detection, and the management channel packet loss rate detection to obtain better Detect the effect.
  • the controller and the client report the detection result to the user, the user goes to the engineering site to repair the fault.
  • the controller can re-open the detection every 15 minutes (time can be set), and report the latest connection status to the user, for example, reporting the previous faulty link to the user.
  • a "re-detection interval" option can be added between the client and the controller, or an "Immediate re-detection” option can be added between the client and the controller to set by receiving external commands.
  • the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link, and each network element obtained by the decomposition is decomposed.
  • the path detection is performed separately from each unit link, and the fault diagnosis result is generated according to the path detection result of all the network elements and the unit link, wherein the unit link is a network of the outbound ports of the adjacent two network elements from the west to the network element.
  • FIG. 8 is a structural block diagram of a link fault diagnosis apparatus according to an embodiment of the present disclosure.
  • the link fault diagnosis apparatus includes a decomposition unit, a detection unit, and a generation unit, where the decomposition unit is configured to receive
  • the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link, and the unit link is composed of two adjacent network elements.
  • LOC reported communication line
  • NNI network node interface
  • the detecting unit is configured to perform path detection on each unit link obtained by the decomposition, including: performing positive alignment on all unit links obtained by decomposing in the order from west to east, according to the positive The forward path detection is performed for each unit link to the array, and the reverse path detection is performed for each unit link according to the reverse arrangement from east to west.
  • the detecting unit is configured to perform path detection on each unit link obtained by the decomposition, including: sending, for each unit link, an access control list (ACL) rule on an ingress port of the east network element; A diagnostic packet is sent to the egress port of the westbound NE of the path.
  • ACL access control list
  • the unit link is determined to be the forward path.
  • the diagnostic message extracted by the eastbound NE according to the ACL rule is not received, the unit link is determined to be a positive disconnect.
  • an access control list (ACL) rule is sent to the outbound port of the westbound network element for each unit link, and a diagnostic message is sent to the inbound port of the eastbound network element of the unit link.
  • ACL access control list
  • the first predetermined duration is determined to be a reverse path, and the diagnostic message extracted by the westbound network element according to the ACL rule is not received within the first preset duration. In this case, it is determined that the unit link is a reversed circuit, and the encapsulation of the diagnostic message is the same as the package of the service to be diagnosed.
  • the detecting unit is configured to perform path detection on each network element obtained by the decomposition, including: dividing the network element obtained by decomposing the connection network involved in the LOC alarm into a starting node, an intermediate node, and a tail node according to a network structure; All network elements perform path detection in the order of intermediate node, start node, and tail node, wherein the intermediate nodes are sorted in the direction from west to east.
  • the detecting, by the detecting unit, performing path detection on each of the network elements obtained by the decomposing comprises: determining, by the network element belonging to the intermediate node, whether the network element belonging to the intermediate node supports the extracted packet of the egress port If the network element that belongs to the intermediate node supports the function of extracting packets from the egress port, the ACL rule is sent to the egress port of the NE, and the diagnostic packet is sent to the ingress port of the NE; After receiving the diagnostic packet that is extracted and sent by the network element according to the ACL, the network element is determined to be a path.
  • the network element When the network element is not received by the network element and the diagnostic packet is sent and sent by the ACL, the network element is determined to be If the network element that belongs to the intermediate node does not support the function of extracting packets from the egress port, if it is determined that the link between the NE and the adjacent east-facing NE is the path, the NE goes to the inbound port of the NE.
  • the ACL is configured to send a diagnostic packet to the ingress port of the network element.
  • the diagnostic packet received by the eastbound NE and extracted by the ACL rule is received, the network element is determined to be the path. Not received within three preset durations According to the network when the cell extraction ACL rules on delivery and diagnostic messages to determine the network element is disconnected.
  • the detecting unit performs path detection on each network element obtained by the decomposing, and includes: determining, by the network element belonging to the first node, whether the network element belonging to the first node supports the function of extracting packets of the egress port; determining that the network element belongs to the first node
  • the ACL rule is sent to the egress port of the NE, and the diagnostic packet is sent to the ingress port of the NE.
  • the NE is received according to the ACL within the fourth preset duration.
  • the rule extracts and sends the diagnostic packet, the network element is determined to be a path.
  • the network element is not received by the network element and the diagnostic message is sent and sent according to the ACL rule, the network element is determined to be open.
  • the ACL is sent to the inbound port of the NE to the eastbound NE.
  • the rule is to send a diagnostic message to the ingress port of the network element.
  • the network element is determined to be the path.
  • the diagnostic packet received by the eastbound NE and extracted by the ACL rule is not received, the network element is determined to be open.
  • the detecting unit performs path detection on each network element obtained by the decomposing, including: determining, by the network element belonging to the tail node, whether the network element belonging to the tail node supports the function of extracting the message of the outbound port; determining that the network element belongs to the tail node
  • the ACL rule is sent to the egress port of the NE, and the diagnostic packet is sent to the ingress port of the NE.
  • the NE is received according to the ACL within the sixth preset duration.
  • the rule extracts and sends the diagnostic message, it determines that the network element is the path.
  • the network element does not receive the diagnostic message extracted and sent by the network element according to the ACL rule, the network element is determined to be open.
  • the fault diagnosis result can be generated.
  • the link fault diagnosis apparatus of the embodiment of the present disclosure further includes: a deleting unit, configured to delete the delivered ACL rule when the detecting unit completes the path detection of each network element or unit link.
  • the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least two unit links, and each network obtained by the decomposition is obtained.
  • the unit and each unit link respectively perform path detection, and generate a fault diagnosis result according to the path detection result of all the network elements and the unit link, where the unit link is from the outbound port of the adjacent two network elements to the west to the network element.
  • the network node interface (NNI) is formed by the line between the NNIs of the inbound ports of the eastbound network element.
  • an embodiment of the present disclosure also provides an apparatus for link fault diagnosis, including a memory and a processor, wherein the processor is configured to execute program instructions in the memory, the program instructions being read by the processor And performing the following operations: when receiving the reported communication line (LOC) alarm, decomposing the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link; The network element and each unit link respectively perform path detection; the fault diagnosis result is generated according to the path detection result of all network elements and the unit link, where the unit link is the outbound port of the adjacent two network elements to the west to the network element
  • the network node interface (NNI) is formed by the line between the NNIs of the inbound ports of the eastbound network element.
  • An embodiment of the present disclosure further provides a computer readable storage medium storing computer executable instructions, and when the processor executes the computer executable instructions, performing an operation of: receiving a report
  • LOC communication line
  • the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link; and each network element and each unit link obtained by the decomposition are separately performed.
  • Path detection generating a fault diagnosis result according to path detection results of all network elements and unit links, wherein the unit link is from a network node interface (NNI) of an outbound port of the adjacent two network elements to the network element of the network element
  • NNI network node interface
  • the network element in this application example determines that the extracted packets of the outbound port are not supported according to the version number supported by the device (for example, the version number is 6 or less), and the connection in this application example does not include the first node and the tail node. Used to detect the connectivity of an LSP.
  • FIG. 9 is a flowchart of a method of a first application example of the present disclosure. As shown in FIG. 9, the method includes the following steps 900 to 903.
  • Step 900 The controller decomposes the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link, where the controller decomposes the unit link that needs path detection, and the unit link may be a link list.
  • the mode is formed by the line between the network node interface (NNI) of the outbound port of the adjacent two network elements and the NNI of the ingress port of the eastbound network element, which can be adopted by ⁇ first
  • the mode of the network element, the first port, the second network element, and the second port is represented, wherein the first network element may be a westbound network element, the second network element may be an eastbound network element, and the first network port may be an outgoing port.
  • the second port can be an ingress port. As shown in FIG.
  • the unit links in this application example include ⁇ switching device 1, port 1, switching device 2, port 2 ⁇ , ⁇ switching device 2, port 1, switching device 3, port 2 ⁇ , ⁇ switching device 3, 1 port, switching device 4, 2 port ⁇ a total of 3, the network element to be detected includes the switching device 2 belonging to the intermediate node and the switching device 3 belonging to the intermediate node.
  • Step 901 The controller performs path detection on each unit link, as shown in FIG. 10, detecting ⁇ switching device 1, port 1, switching device 2, 2 port ⁇ , ⁇ switching device 2, port 1, switching device 3, 2 port ⁇ and ⁇ switching device 3, 1 port, switching device 4, 2 port ⁇
  • the path of the three unit links specifically, the ACL rule is issued on ⁇ switching device 2, 2 port ⁇ , in the ⁇ switching device 1,1 port ⁇ sends diagnostic packets. If the unit link ⁇ switching device 1, port 1, switching device 2, and port 2 ⁇ is disconnected, the timer expires for more than the first preset duration, and the controller marks the link.
  • the switching device 1, port 1, switching device 2, 2 port ⁇ is "off", the controller deletes the above ACL rule; the controller sends an ACL rule on ⁇ switch device 3, 2 port ⁇ , at ⁇ switch device 2, 1 port ⁇
  • the diagnosis message is sent. It is assumed that the controller receives the diagnostic message within the first preset time of the timer, and marks the link ⁇ switching device 2, port 1, switching device 3, 2 port ⁇ as "on”, and controls The above ACL rule is deleted; the controller sends an ACL rule on ⁇ switch device 4, 2 port ⁇ , at ⁇ switch device 3 , 1 port ⁇ sends diagnostic packets.
  • Step 902 The controller performs path detection on the intermediate node, as shown in FIG. 10, detecting connectivity of ⁇ switching device 2 belonging to the intermediate node and ⁇ switching device 3 belonging to the intermediate node ⁇ , since the switching device does not support the port extracting Packet, and the unit link ⁇ switching device 2, 1 port, switching device 3, 2 port ⁇ is "on", therefore, the controller sends ACL rules on ⁇ switching device 3, 2 ports ⁇ , in ⁇ switching device 2.
  • the port 2 sends a diagnostic message. If the controller receives the diagnostic message within the third preset duration, the switch device 2 that belongs to the intermediate node is "on", and the controller deletes the ACL rule.
  • the controller since the switching device does not support the outbound port extraction packet, and the link ⁇ switching device 3, 1 port, switching device 4, 2 port ⁇ is "broken", the controller cannot diagnose the switch belonging to the intermediate node. Connectivity of device 3.
  • This application example can detect the reverse connectivity of the connection by the same principle, as shown in FIG. 10, for example, the detection result is that the unit link ⁇ switching device 4, 2 port, switching device 3, 1 port ⁇ is "broken", Unit link ⁇ switching device 3, 2 port, switching device 2, 1 port ⁇ is "on", unit link ⁇ switching device 2, 2 port, switching device 1, 1 port ⁇ is "off", ⁇ belongs The switching device 3 ⁇ of the intermediate node is "on”.
  • Step 903 The controller reports the detection result to the client.
  • the client may be an application (APP), and the connection of the unit link and the network element may be separately identified in different line shapes.
  • 10 is a schematic diagram of the detection result reported to the client in the first application example. As shown in FIG. 10, the solid line indicates the path, the broken line indicates the open circuit, and the line with the dotted line indicates that the detection result is unknown, wherein the upper half of the schematic diagram indicates the forward direction. The fault detection result of the connection, the lower part of the diagram shows the fault detection result of the reverse connection.
  • the implementation of the present disclosure can detect that the LOC alarm of the LSP disappears.
  • the controller marks all the links and nodes as "on” and reports the updated result to the client.
  • the controller marks all the unit links and NEs of the reverse LSP as "on" and reports the updated result to the client.
  • this application example can set the time for re-permission of the path detection so that the controller can re-detect the connectivity of the forward LSP.
  • the unit link ⁇ switching device 1, port 1, switching device 2, 2 port ⁇ and ⁇ switching device 3, 1 port, switching device 4, 2 port ⁇ are "on", borrowing link ⁇ switching device 3 , 1 port, switching device 4, 2 port ⁇ , the controller sends an ACL rule to ⁇ switching device 4, 2 port ⁇ , and sends a diagnostic message to ⁇ switching device 3, 2 port ⁇ within the first preset time period.
  • the controller If the controller does not receive the expected diagnostic message, the controller marks ⁇ the switching device 3 belonging to the intermediate node ⁇ as "broken”, and the controller forwards the state of the LSP forward ⁇ the switching device 3 belonging to the intermediate node ⁇ "Break", the status of other nodes and links "pass” and the status of all links and nodes "pass” are reported to the client.
  • the network element in this application example determines the function of extracting packets supporting the outbound port according to the version number supported by the device (for example, the version number is 6 or higher), and the connection in the application example includes the first node and the tail node, and the application example is used for Detect the connectivity of VPWS using CIP.
  • FIG. 11 is a flowchart of a method of a second application example of the present disclosure. As shown in FIG. 11, in a case where the controller of the application example receives a LOC alarm of a VPWS using CIP, the method includes the following steps 1100 to 1103.
  • Step 1100 The controller decomposes the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link, where the controller decomposes a unit link that needs to perform path detection, and the unit link may be a link.
  • the list mode exists.
  • the unit link consists of the line between the network node interface (NNI) of the outbound port of the neighboring network element and the NNI of the inbound port of the eastbound network element.
  • the first network element may be a westbound network element
  • the second network element may be an eastbound network element, where the first network port may be a network port, the second network element, and the second network port.
  • Port, the second port can be an ingress port.
  • the unit links in this application example include ⁇ switching device 1, port 1, switching device 2, port 2 ⁇ , ⁇ switching device 2, port 1, switching There are three devices: 3, 2 ports ⁇ , ⁇ switching device 3, 1 port, switching device 4, 2 ports ⁇ .
  • the network elements to be detected include the switching device belonging to the intermediate node, the switching device 3 belonging to the intermediate node, and the first device. Switching device 1 of the node belongs to the tail node Switch 4 of 4 NE.
  • Step 1101 The controller performs path detection on each unit link, and the method for performing path detection on the unit connection is the same as that in the first application example, and details are not described herein.
  • Step 1102 The controller performs path detection on the intermediate node, the first node, and the tail node.
  • the method for performing path detection on the intermediate node is the same as that in the first application example, and details are not described herein.
  • the controller For the switching device 1 belonging to the first node, the device supports the outbound port to extract packets. Therefore, as shown in Figure 12, the controller sends ACL rules on ⁇ switching device 1, port 1 ⁇ , at ⁇ switching device 1, port 2 ⁇ The diagnostic message is sent. If the controller receives the diagnostic message within the fourth preset duration, the first node is marked as “on” and the controller deletes the ACL rule.
  • the device For the switching device 4 that belongs to the tail node, the device sends the ACL rule on the ⁇ switch device 4, 1 port ⁇ and sends the diagnostic packet on the ⁇ switch device 4, 2 port ⁇ . If the controller does not receive the diagnostic message within the fourth preset duration, the tail node is marked as "broken", and the controller deletes the ACL rule.
  • This application example can detect the reverse connectivity of a connection using the same principle.
  • the detection result is that the unit link ⁇ switching device 4, 2 port, switching device 3, 1 port ⁇ is “on”, unit link ⁇ switching device 3, 2 port, switching device 2 1 port ⁇ is "broken", unit link ⁇ switching device 2, 2 port, switching device 1, port 1 ⁇ is "broken", switching device 3 belonging to the intermediate node is "broken", belonging to the intermediate node
  • the switching device 2 is "on", the switching device 4 belonging to the head node is "on”, and the switching device 1 belonging to the tail node is "on".
  • Step 1103 The controller reports the detection result to the client.
  • the client may be an application (APP), and the connection of the unit link and the network element may be separately identified in different line shapes.
  • 12 is a schematic diagram of the detection result reported to the client in the second application example. As shown in FIG. 12, the solid line indicates the path, the broken line indicates the open circuit, and the line with the dotted line indicates the undetected, wherein the upper half shows the forward connection. The fault detection result, the lower part of the diagram shows the fault detection result of the reverse connection.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, may be implemented by an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, stored in a memory by a processor. Programs/instructions to implement their respective functions.
  • the present disclosure is not limited to any specific form of combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided in the present disclosure are a method and device for link failure diagnosis. The method comprises: insofar as a line of communication (LOC) warning submitted is received, decomposing a connection network to which the LOC warning relates into at least two corresponding network elements and at least one unit link; performing pathway detection respectively with respect to each network element and each unit link acquired by decomposition; and generating a failure diagnosis result on the basis of the pathway detection results of all of the network elements and of the unit link, where the unit link is constituted by a line between a network node interface (NNI) at an outbound port of a westbound network element and an inbound port of an eastbound network element of adjacent two network elements.

Description

链路故障诊断方法及装置Link fault diagnosis method and device 技术领域Technical field
本公开涉及但不限于软件定义网络(SDN)技术,特别涉及链路故障诊断方法及装置。The present disclosure relates to, but is not limited to, software defined network (SDN) technology, and more particularly to link fault diagnosis methods and apparatus.
背景技术Background technique
在分组传送网(PTN,Packet Transport Network)中,控制平面与转发平面往往集中在交换设备(Switch)上实现。这种实现方式决定了交换设备的复杂性,另一方面,管理平面与交换设备的接口是厂家私有定义的,具有不透明性。留给用户的接口是黑盒,没有扩展性。In the packet transport network (PTN), the control plane and the forwarding plane are often implemented on a switching device (Switch). This implementation determines the complexity of the switching device. On the other hand, the interface between the management plane and the switching device is privately defined by the manufacturer and has opacity. The interface left to the user is a black box, no scalability.
为提高网络的生存性,传统的PTN中采用例如操作管理维护(Operation Administration and Maintenance,OAM)技术和连通错误管理(Connectivity Fault Management,CFM)技术来检测链路的连通性,但这两种技术仅能检测整条链路(例如,伪线(Pseudo Wire,PW)、标签交换路径(Label Switch path,LSP)、虚拟专线服务(Virtual Private Wire Service,VPWS))的连通性,并不能检测是哪段链路断了,不利于工程维护。In order to improve the survivability of the network, the traditional PTN uses, for example, Operation Administration and Maintenance (OAM) technology and Connectivity Fault Management (CFM) technology to detect link connectivity, but these two technologies Only the connectivity of the entire link (for example, Pseudo Wire (PW), Label Switch Path (LSP), and Virtual Private Wire Service (VPWS)) can be detected. Which link is broken is not conducive to engineering maintenance.
发明内容Summary of the invention
本公开的实施例提供了一种链路故障诊断方法,包括步骤:在接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路;对分解获得的每一个网元和每一条单位链路分别进行通路检测;根据所有网元和单位链路的通路检测结果生成故障诊断结果,其中,所述单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。An embodiment of the present disclosure provides a link fault diagnosis method, including the steps of: decomposing a connection network involved in a LOC alarm into corresponding at least two network elements, in case receiving a reported communication line (LOC) alarm At least one unit link; performing path detection on each network element and each unit link obtained by the decomposition; generating a fault diagnosis result according to path detection results of all network elements and unit links, wherein the unit link is The network node interface (NNI) of the outbound port of the westbound network element of the two adjacent network elements is formed by the line between the NNI of the ingress port of the eastbound network element.
另一方面,本公开的实施例还提供一种链路故障诊断装置,包括分解单元、检测单元和生成单元,其中,分解单元用于在接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路;检测单元用于对分解获得的每一个网元和每一条单位链路分别进行通路检测;生成单元用于根据所有网元和单位链路的通路检测结果生成故障诊断结果,其中,所述单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。In another aspect, an embodiment of the present disclosure further provides a link fault diagnosis apparatus, including a decomposition unit, a detection unit, and a generation unit, wherein the decomposition unit is configured to receive a reported communication line (LOC) alarm, Decomposing the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link; the detecting unit is configured to separately perform path detection on each network element and each unit link obtained by the decomposition; Generating a fault diagnosis result according to the path detection result of all the network elements and the unit link, where the unit link is from the network node interface (NNI) of the outbound port of the adjacent two network elements to the eastbound network The line between the NNIs of the ingress port of the element.
再一方面,本公开的实施例还提供一种链路故障诊断装置,包括存储器和处理器,其中,所述处理器被配置为执行所述存储器中的程序指令,所述程序指令在被所述处理器读取并执行时执行以下操作:接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路;对分解获得的每一个网元和每一条单位链路分别进行通路检测;根据所有网元和单位链路的通路检测结果生成故障诊断结果,其中,所述单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。In still another aspect, an embodiment of the present disclosure further provides a link fault diagnosis apparatus including a memory and a processor, wherein the processor is configured to execute program instructions in the memory, the program instructions being When the processor reads and executes, the following operations are performed: when the reported communication line (LOC) alarm is received, the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link; Each network element obtained by the decomposition and each unit link respectively perform path detection; and generate fault diagnosis results according to path detection results of all network elements and unit links, wherein the unit link is composed of two adjacent network elements The circuit consists of the network node interface (NNI) of the outbound port of the network element to the NNI of the ingress port of the eastbound network element.
本公开的实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述处理器执行所述计算机可执行指令时,进行如下操作:在接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路;对分解获得的每一个网元和每一条单位链路分别进行通路检测;根据所有网元和单位链路的通路检测结果生成故障诊断结果,其中,所述单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。An embodiment of the present disclosure further provides a computer readable storage medium storing computer executable instructions, and when the processor executes the computer executable instructions, performing an operation of: receiving a report In the case of a communication line (LOC) alarm, the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link; and each network element and each unit link obtained by the decomposition are separately performed. Path detection; generating a fault diagnosis result according to path detection results of all network elements and unit links, wherein the unit link is from a network node interface (NNI) of an outbound port of the adjacent two network elements to the network element of the network element The line is formed between the NNIs of the inbound ports of the eastbound network element.
本公开的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本公开而了解。本公开的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present disclosure will be set forth in the description which follows. The objectives and other advantages of the present disclosure can be realized and obtained by the structure particularly pointed out in the appended claims.
附图说明DRAWINGS
附图用来提供对本公开的技术方案的进一步理解,并且构成说明书的一部分,与本公开的实施例一起用于解释本公开的技术方案,并不构成对本公开的技术方案的限制,附图中:The drawings are used to provide a further understanding of the technical solutions of the present disclosure, and constitute a part of the specification, which is used to explain the technical solutions of the present disclosure together with the embodiments of the present disclosure, and does not constitute a limitation of the technical solutions of the present disclosure. :
图1为一种SDN网络的结构框图;1 is a structural block diagram of an SDN network;
图2为本公开的实施例的链路故障诊断方法的流程图;2 is a flowchart of a link fault diagnosis method according to an embodiment of the present disclosure;
图3为本公开的实施例的单位链路的示意图;3 is a schematic diagram of a unit link of an embodiment of the present disclosure;
图4为本公开的可选实施例中对单位链路进行通路检测的方法的流程图;4 is a flow chart of a method for performing path detection on a unit link in an alternative embodiment of the present disclosure;
图5为本公开的可选实施例中对中间节点进行通路检测的方法的流程图;5 is a flow chart of a method for performing path detection on an intermediate node in an alternative embodiment of the present disclosure;
图6为本公开的可选实施例中对首节点进行通路检测的方法的流程图;6 is a flowchart of a method for performing path detection on a head node in an alternative embodiment of the present disclosure;
图7为本公开的可选实施例中对尾节点进行通路检测的方法的流程图;7 is a flow chart of a method for performing path detection on a tail node in an alternative embodiment of the present disclosure;
图8为本公开的实施例的链路故障诊断装置的结构框图;FIG. 8 is a structural block diagram of a link fault diagnosis apparatus according to an embodiment of the present disclosure; FIG.
图9为本公开的一个应用示例的方法的流程图;9 is a flow chart of a method of an application example of the present disclosure;
图10为图9的应用示例上报至客户端的检测结果的示意图;10 is a schematic diagram of detection results reported to the client by the application example of FIG. 9;
图11为本公开的另一个应用示例的方法的流程图。11 is a flow chart of a method of another application example of the present disclosure.
具体实施方式detailed description
为使本公开的技术方案和优点更加清楚明白,下文中将结合附图对本公开的实施例进行详细说明。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互任意组合。In order to make the technical solutions and advantages of the present disclosure more apparent, the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments of the present disclosure and the features in the embodiments may be arbitrarily combined with each other without conflict.
在附图的流程图中示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于所示顺序的顺序执行所示出或描述的步骤。The steps shown in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although the logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different than the order shown.
图1为一种SDN网络的结构框图,如图1所示,在SDN网络中, 将控制平面(控制器)从交换设备中独立出来,交换设备(Switch)仅负责数据转发,控制平面由控制器(Controller)组成,控制器负责维护全网拓扑、路由计算、标签分配等,控制器与交换设备的接口是南向接口,控制器与应用(App)之间的接口为北向接口,南向接口、北向接口对用户是可见的,具有良好的扩展性。Figure 1 is a block diagram of a SDN network. As shown in Figure 1, in the SDN network, the control plane (controller) is independent from the switching device. The switching device (Switch) is only responsible for data forwarding, and the control plane is controlled. The controller is responsible for maintaining the topology of the entire network, routing calculation, label distribution, etc. The interface between the controller and the switching device is a southbound interface, and the interface between the controller and the application (App) is a northbound interface. The interface and the northbound interface are visible to the user and have good scalability.
一些实施方式中,通过连接的首节点在此连接上发送链路跟踪(Link-Trace Message,LTM)报文,具体地,首节点先发送生存时间(Time To Live,TTL)=1的LTM报文,每个收到LTM报文的节点都将TTL减1之后继续转发,当有交换设备将TTL减1之后为0,则回应链路跟踪回复(Link-Trace Reply,LTR)报文,中间每个交换设备对LTR报文做转发处理,首节点在规定的时间内收到LTR报文,则认为此断链路是通的,否则认为链路是断的,依此类推,首节点依次发送TTL=2、TTL=3、…TTL=N的LTM报文,直到收不到TTL=X的LTR报文,则首节点可以判断哪段链路是断的。上述实施方式存在以下问题:1、首节点需要知道全网的拓扑,用来决定TTL=X的最大值,增加了Switch的复杂性;2、上述实施方式通常在用户看到链路连通性告警后,由用户按需触发检测,若由用户同时指定TTL=X的最大值,则增加了用户维护时间与成本,尤其在一个由上万节点、上万条连接组成的网络中,做按需维护则维护成本大大增加;3、当链路中有多段链路同时故障时,上述实施方式无法实现故障点的准确检测。因此,采用上述实施方式进行链路故障诊断则诊断复杂、且存在多段链路同时故障时无法准确检测故障点的问题。In some embodiments, the connected first node sends a Link-Trace Message (LTM) message on the connection. Specifically, the first node sends an LTM report with a Time To Live (TTL)=1. For each node that receives the LTM packet, the TTL is decremented by one and then forwarded. When there is a switching device that decrements the TTL by one, it is 0, and then responds to the Link-Trace Reply (LTR) message. Each switching device forwards the LTR packet. When the first node receives the LTR packet within the specified time, the first link considers that the broken link is open. Otherwise, the link is considered broken, and so on. The LTM packet with TTL=2, TTL=3, ... TTL=N is sent. Until the LTR packet with TTL=X is received, the first node can determine which link is broken. The foregoing implementations have the following problems: 1. The first node needs to know the topology of the entire network, and is used to determine the maximum value of the TTL=X, which increases the complexity of the switch. 2. The foregoing embodiment generally displays the link connectivity alarm when the user sees the link. After that, the user triggers the detection on demand. If the user specifies the maximum value of TTL=X at the same time, the user maintenance time and cost are increased, especially in a network composed of tens of thousands of nodes and tens of thousands of connections. Maintenance costs are greatly increased. 3. When multiple links in the link fail at the same time, the above implementation cannot accurately detect the fault point. Therefore, the link fault diagnosis using the above embodiment is complicated in diagnosis, and the problem that the fault point cannot be accurately detected when there is a multi-segment link failure at the same time.
图2为本公开的实施例的链路故障诊断方法的流程图,如图2所示,所述链路故障诊断方法包括以下步骤200至202。FIG. 2 is a flowchart of a link fault diagnosis method according to an embodiment of the present disclosure. As shown in FIG. 2, the link fault diagnosis method includes the following steps 200 to 202.
步骤200、接收到上报的通信线路(Lines of Communication,LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路,其中,单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(Network to Network Interface,NNI)到东向网元的入端口的NNI之间的线路构成,至少一条单位链路包括一条或一条以上单位链路,至少两个网元包括两个或两个以上 网元。Step 200: When receiving the reported Lines of Communication (LOC) alarm, the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link, where the unit link is The network between the two network elements, the network node interface (NNI) of the outbound port of the network element to the NNI of the inbound port of the east network element, and at least one unit link includes one or More than one unit link, at least two network elements include two or two network elements.
图3为本公开的实施例的单位链路的示意图,如图3所示,交换设备1的出端口的NNI和交换设备2的入端口的NNI构成单位链路。3 is a schematic diagram of a unit link according to an embodiment of the present disclosure. As shown in FIG. 3, the NNI of the egress port of the switching device 1 and the NNI of the ingress port of the switching device 2 constitute a unit link.
步骤201、对分解获得的每一个网元和每一条单位链路分别进行通路检测。Step 201: Perform path detection on each network element and each unit link obtained by the decomposition.
可选地,本公开的实施例对分解获得的每一条单位链路进行通路检测包括:将分解获得的所有单位链路按照由西向东的顺序进行正向排列后,按照正向排列对每一条单位链路分别进行正向通路检测,按照由东向西的反向排列对每一条单位链路分别进行反向通路检测。Optionally, the embodiment of the present disclosure performs path detection on each unit link obtained by the decomposition, including: performing positive alignment on all unit links obtained by the decomposition, and arranging each unit in the forward direction according to the forward direction. The unit link performs forward path detection separately, and reverse path detection is performed for each unit link according to the reverse arrangement from east to west.
图4为本公开的可选实施例中对单位链路进行通路检测的方法的流程图,如图4所示,所述方法包括步骤:400、对每一条单位链路,在东向网元的入端口下发访问控制列表(Access Control List,ACL)规则;401、在单位链路的西向网元的出端口下发诊断报文;402、在第一预设时长内接收到东向网元根据ACL规则提取的诊断报文时,确定单位链路为正向通路,在第一预设时长内未接收到东向网元根据ACL规则提取的诊断报文时,确定单位链路为正向断路,其中,诊断报文的封装与需要诊断的业务的封装相同。4 is a flowchart of a method for performing path detection on a unit link in an optional embodiment of the present disclosure. As shown in FIG. 4, the method includes the following steps: 400. For each unit link, in an eastbound network element. The ingress port sends an access control list (ACL) rule; 401, sends a diagnostic message to the egress port of the westbound NE of the unit link; 402, receives the eastbound network within the first preset duration When the quarantine packet is extracted according to the ACL rule, the unit link is determined to be a forward path. When the quarantine message extracted by the eastbound NE according to the ACL rule is not received within the first preset duration, the unit link is determined to be positive. To the open circuit, where the encapsulation of the diagnostic message is the same as the encapsulation of the service to be diagnosed.
在反向通路检测中,对每一条单位链路,在西向网元的出端口下发访问控制列表(ACL)规则,在单位链路的东向网元的入端口下发诊断报文,在第一预设时长内接收到西向网元根据ACL规则提取的诊断报文时,确定单位链路为反向通路,在第一预设时长内未接收到西向网元根据ACL规则提取的诊断报文时,确定单位链路为反向断路。In the reverse path detection, an ACL is sent to the egress port of the westbound NE for each unit link, and a diagnostic packet is sent to the inbound port of the eastbound NE of the unit link. When receiving the diagnostic packet extracted by the westbound network element according to the ACL rule, the first predetermined duration is determined to be a reverse path, and the diagnostic message extracted by the westbound network element according to the ACL rule is not received within the first preset duration. In the text, it is determined that the unit link is a reverse open circuit.
可选地,本公开的实施例对分解获得的每一个网元进行通路检测包括:将LOC告警涉及的连接网络分解获得的网元按照网络结构划分为始节点、中间节点、尾节点;对分解获得的所有网元按照中间节点、始节点、尾节点的顺序进行通路检测,其中,中间节点按照从西向到东向的方向进行排序。Optionally, the embodiment of the present disclosure performs path detection on each network element obtained by the decomposition, including: dividing the network element obtained by decomposing the connection network involved in the LOC alarm into a start node, an intermediate node, and a tail node according to a network structure; All obtained network elements perform path detection according to the order of the intermediate node, the start node, and the tail node, wherein the intermediate nodes are sorted in the direction from west to east.
需要说明的是,ACL规则为相关技术中已有的规则,表1为本公开的实施例中的ACL规则的示例,表中包含的内容为本领域技术人员公知的内容,在此不做赘述。It should be noted that the ACL rule is an existing rule in the related art. Table 1 is an example of an ACL rule in the embodiment of the present disclosure. The content included in the table is a content well known to those skilled in the art, and is not described herein. .
表1Table 1
Figure PCTCN2018072836-appb-000001
Figure PCTCN2018072836-appb-000001
图5为本公开的可选实施例中对中间节点进行通路检测的方法的流程图,如图5所示,所述方法包括以下步骤500、5010至5012、以及5020至5022。5 is a flow chart of a method for path detection of an intermediate node in an alternative embodiment of the present disclosure. As shown in FIG. 5, the method includes the following steps 500, 5010 to 5012, and 5020 to 5022.
步骤500、对划分的属于中间节点的网元,确定属于中间节点的网元是否支持出端口的提取报文功能,确定属于中间节点的网元支持出端口的提取报文功能时,执行步骤5010至5012,确定属于中间节点的网元不支持出端口的提取报文功能时,执行步骤5020至5022。Step 500: Perform a step 5010 on the network element that belongs to the intermediate node, and determine whether the network element that belongs to the intermediate node supports the function of extracting packets from the egress port, and determines that the network element that belongs to the intermediate node supports the function of extracting the egress port. To 5012, when it is determined that the network element belonging to the intermediate node does not support the function of extracting packets of the egress port, steps 5020 to 5022 are performed.
需要说明的时,网元是否支持出端口的提取报文功能可以通过设备支持的版本号进行确定,包括根据版本号确定是否支持出口流量表(egress flow table),根据确定的是否支持出口流量表来确定是否支持出端口的提取报文功能。确定是否支持出端口的提取报文功能可以采用相关技术中已有的方法实现。The egress flow table can be determined by the version number supported by the device, including whether the egress flow table is supported according to the version number, and whether the egress flow table is supported according to the determined version. To determine whether the function of extracting packets from the egress port is supported. The function of determining whether to support the egress packet of the egress port can be implemented by using a method already in the related art.
在确定属于中间节点的网元支持出口端的提取报文功能的情况下,执行以下步骤:步骤5010、向属于中间节点的网元的出端口下发ACL规则;步骤5011、在属于中间节点的网元的入端口下发诊断报文;步骤5012、在第二预设时长内接收到网元根据ACL提取并上送的诊断报文时,确定该属于中间节点的网元为通路,在第二预设时长内未接收到网元根据ACL提取并上送的诊断报文时,确定该属于中间节点的网元为断路。In the case that the network element that belongs to the intermediate node supports the function of extracting packets at the egress, the following steps are performed: Step 5010: Deliver an ACL rule to the egress port of the network element belonging to the intermediate node; Step 5011: In the network belonging to the intermediate node The inbound port of the element sends a diagnostic message. Step 5012: After receiving the diagnostic message that the network element extracts and sends the packet according to the ACL, the network element that belongs to the intermediate node is determined to be the path. When the diagnostic packet that is extracted and sent by the NE according to the ACL is not received, the network element belonging to the intermediate node is determined to be open.
在确定属于中间节点的网元不支持出口端的提取报文功能的情况下,执行以下步骤:步骤5020、在确定属于中间节点的网元与相 邻的东向网元的链路为通路的情况下,向东向网元的入端口下发ACL规则;步骤5021、在属于中间节点的网元的入端口下发诊断报文;步骤5022、在第三预设时长内接收到东向网元根据ACL规则提取并上送的诊断报文时,确定该属于中间节点的网元为通路,在第三预设时长内未接收到东向网元根据ACL规则提取并上送的诊断报文时,确定该属于中间节点的网元为断路。In the case that the network element belonging to the intermediate node does not support the function of extracting packets at the egress, the following steps are performed: Step 5020: When it is determined that the link between the network element belonging to the intermediate node and the adjacent eastbound network element is a path The ACL rule is sent to the inbound port of the network element to the east; in step 5021, the diagnostic message is sent to the ingress port of the network element belonging to the intermediate node; step 5022, the eastbound network element is received within the third preset time period. When the diagnostic packet is extracted and sent according to the ACL rule, it is determined that the network element belonging to the intermediate node is a path, and the diagnostic message received by the eastbound network element according to the ACL rule is not received within the third preset duration. And determining that the network element belonging to the intermediate node is an open circuit.
图6为本公开的可选实施例中对首节点进行通路检测的方法的流程图,如图6所示,所述方法包括以下步骤600、6010至6012、以及6020至6022。FIG. 6 is a flowchart of a method for performing path detection on a head node in an alternative embodiment of the present disclosure. As shown in FIG. 6, the method includes the following steps 600, 6010 to 6012, and 6020 to 6022.
步骤600、对划分的属于首节点的网元,确定属于首节点的网元是否支持出端口的提取报文功能,确定属于首节点的网元支持出端口的提取报文功能时,执行步骤6010至6012,确定属于首节点的网元不支持出端口的提取报文功能时,执行步骤6020至6022。Step 600: Perform a step 6010 on the network element that belongs to the first node, determine whether the network element that belongs to the first node supports the function of extracting packets from the egress port, and determine that the network element that belongs to the first node supports the function of extracting the egress port. To 6012, when it is determined that the network element belonging to the first node does not support the function of extracting packets of the egress port, steps 6020 to 6022 are performed.
在确定属于首节点的网元支持出口端的提取报文功能的情况下,执行以下步骤:步骤6010、向属于首节点的网元的出端口下发ACL规则;步骤6011、在属于首节点的网元的入端口下发诊断报文;步骤6012、在第四预设时长内接收到该属于首节点的网元根据ACL规则提取并上送的诊断报文时,确定该属于首节点的网元为通路,在第四预设时长内未接收到该属于首节点的网元根据ACL规则提取并上送的诊断报文时,确定该属于首节点的网元为断路。In the case of determining that the network element belonging to the first node supports the function of extracting packets at the egress, the following steps are performed: Step 6010: Deliver an ACL rule to the egress port of the network element belonging to the head node; Step 6011: In the network belonging to the head node A diagnostic message is sent to the ingress port of the element. Step 6012: After receiving the diagnostic message that is sent by the network element of the first node and is sent by the ACL rule, the network element belonging to the first node is determined. For the path, the network element belonging to the first node is determined to be disconnected when the network element belonging to the first node is not received by the network element that is extracted and sent by the ACL rule in the fourth preset duration.
在确定属于首节点的网元不支持出口端的提取报文功能的情况下,执行以下步骤:步骤6020、在确定属于首节点的网元与相邻的东向网元的链路为通路时,向东向网元的入端口下发ACL规则;步骤6021、在该属于首节点的网元的入端口下发诊断报文;步骤6022、在第五预设时长内接收到东向网元根据ACL规则提取并上送的诊断报文时,确定该属于首节点的网元为通路,在第五预设时长内未接收到东向网元根据ACL规则提取并上送的诊断报文时,确定该属于首节点的网元为断路。In the case that it is determined that the network element belonging to the first node does not support the function of extracting packets at the egress, the following steps are performed: Step 6020: When it is determined that the link between the network element belonging to the first node and the adjacent eastbound network element is a path, Sending an ACL rule to the ingress port of the network element to the east; in step 6021, sending a diagnosis message to the ingress port of the network element belonging to the first node; step 6022, receiving the east direction network element according to the fifth preset time period according to When the ACL rule extracts and sends the diagnostic packet, it is determined that the network element belonging to the first node is a path, and the diagnostic message that the eastbound network element extracts and sends up according to the ACL rule is not received within the fifth preset duration. It is determined that the network element belonging to the first node is an open circuit.
图7为本公开的可选实施例中对尾节点进行通路检测的方法的流程图,如图7所示,所述方法包括:步骤700、对划分的属于尾节 点的网元,确定属于尾节点的网元是否支持出端口的提取报文功能;步骤701、确定属于尾节点的网元支持出端口的提取报文功能时,向网元的出端口下发ACL规则;步骤702、在属于尾节点的网元的入端口下发诊断报文;步骤703、在第六预设时长内接收到该属于尾节点的网元根据ACL规则提取并上送的诊断报文时,确定该属于尾节点的网元为通路,在第六预设时长内未接收到该属于尾节点的网元根据ACL规则提取并上送的诊断报文时,确定该属于尾节点的网元为断路。FIG. 7 is a flowchart of a method for performing path detection on a tail node in an optional embodiment of the present disclosure. As shown in FIG. 7 , the method includes: Step 700: determining, by a network element belonging to a tail node, a tail Whether the network element of the node supports the function of extracting packets of the egress port; in step 701, the network element that belongs to the tail node supports the function of extracting the egress port, and sends an ACL rule to the egress port of the network element; A diagnostic message is sent to the ingress port of the network element of the tail node. Step 703: When the network element that belongs to the tail node receives and sends the diagnostic message according to the ACL rule, it is determined that the packet belongs to the tail. The network element of the node is a path. When the network element that belongs to the tail node is not received by the network element that is extracted and sent by the ACL rule, it is determined that the network element belonging to the tail node is open.
本公开的实施例中的LOC告警涉及的连接网络可能不包含首节点和尾节点,如监测的是标签交换路径(LSP)或者伪线(PW),则待检测节点列表中不包含首节点和尾节点。LOC告警涉及的连接网络可能包含首节点和尾节点,如监测的是使用通用工业协议(Common Industrial Protocol,CIP)的虚拟专线服务(virtual private wire service,VPWS),则待检测节点列表中包含首节点和尾节点。The connection network involved in the LOC alarm in the embodiment of the present disclosure may not include the first node and the tail node. If the label switched path (LSP) or the pseudowire (PW) is monitored, the node to be detected does not include the head node and Tail node. The connection network involved in the LOC alarm may include the first node and the tail node. If the virtual private wire service (VPWS) using the Common Industrial Protocol (CIP) is monitored, the list of nodes to be detected includes the first Node and tail node.
步骤202、根据所有网元和单位链路的通路检测结果生成故障诊断结果。Step 202: Generate a fault diagnosis result according to path detection results of all network elements and unit links.
这里,将各网元和单位链路的通断结果进行汇总整理后,即可以生成故障诊断结果。Here, after the summary of the on/off results of the network elements and the unit links is summarized, the fault diagnosis result can be generated.
可选地,本公开的实施例的链路故障诊断方法还包括:完成对每一个网元或单位链路的通路检测时,删除下发的ACL规则。Optionally, the link fault diagnosis method of the embodiment of the present disclosure further includes: deleting the issued ACL rule when performing path detection for each network element or unit link.
需要说明的是,本公开的实施例中的上述步骤可以以控制器作为执行主体进行应用实施。It should be noted that the foregoing steps in the embodiments of the present disclosure may be implemented by using a controller as an execution subject.
另外,本公开的实施例中第一预设时长、第二预设时长、第三预设时长、第四预设时长、第五预设时长、第六预设时长等可以根据网络参数设置为相同或不同,可以默认设置采用多协议标签交换传送应用(Multi-Protocol Label Switching Transport Profile,MPLS-TP)OAM标准中的超时时间。若采用带内网,在一条路径跨越多个网元时则诊断报文延时较长。为防止误诊断的情况发生,可在客户端与控制器之间增加一个超时时间的选项,此选项与组网环境相关,一般可以为管理网元和设备通过Ping的平均时间的1.5-2倍。本公开的实施例为了防止由于CPU阻塞而导致的丢包、或传送链路丢包率较高而导 致诊断报文丢弃,控制器可以通过增加诊断报文个数、增加诊断次数、提高诊断报文优先级来提高检测准确性,本公开的实施例可以与设备CPU利用率检测、传送链路丢包率检测、管理通道连通性检测、管理通道丢包率检测配合使用,以获得更好的检测效果。当控制器、客户端将检测结果上报用户后,用户去工程现场修复故障。控制器可每隔15分钟(时间可设置)重新开启检测,将最新的连接状态上报给用户,例如将先前故障链路已经修复上报给用户。可在客户端与控制器之间增加一个“重新检测的时间间隔”选项,或可在客户端与控制器之间增加一个“立即执行重新检测”的选项,通过接收外部指令的方式进行设置。In addition, in the embodiment of the present disclosure, the first preset duration, the second preset duration, the third preset duration, the fourth preset duration, the fifth preset duration, the sixth preset duration, and the like may be set according to network parameters. The same or different, the default timeout in the Multi-Protocol Label Switching Transport Profile (MPLS-TP) OAM standard can be set by default. If an inband network is used, the diagnostic message delay is longer when a path spans multiple network elements. To prevent mis-diagnosis, you can add a timeout option between the client and the controller. This option is related to the networking environment. Generally, it can be 1.5-2 times the average time for the management NE and device to pass Ping. . The controller can increase the number of diagnostic packets, increase the number of diagnostics, and improve the diagnostic report by preventing the number of diagnostic packets from being discarded due to packet loss caused by CPU blocking or high packet loss rate. The priority of the document is used to improve the detection accuracy. The embodiments of the present disclosure can be used together with the device CPU utilization detection, the transmission link packet loss rate detection, the management channel connectivity detection, and the management channel packet loss rate detection to obtain better Detect the effect. After the controller and the client report the detection result to the user, the user goes to the engineering site to repair the fault. The controller can re-open the detection every 15 minutes (time can be set), and report the latest connection status to the user, for example, reporting the previous faulty link to the user. A "re-detection interval" option can be added between the client and the controller, or an "Immediate re-detection" option can be added between the client and the controller to set by receiving external commands.
本公开的技术方案中,接收到上报的通信线路(LOC)告警时,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一个单位链路,对分解获得的每一个网元和每一条单位链路分别进行通路检测,根据所有网元和单位链路的通路检测结果生成故障诊断结果,其中,单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。本公开的实施例简化了链路故障诊断的处理过程,提升了故障诊断效率。In the technical solution of the present disclosure, when receiving the reported communication line (LOC) alarm, the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link, and each network element obtained by the decomposition is decomposed. The path detection is performed separately from each unit link, and the fault diagnosis result is generated according to the path detection result of all the network elements and the unit link, wherein the unit link is a network of the outbound ports of the adjacent two network elements from the west to the network element. The line between the node interface (NNI) and the NNI of the ingress port of the eastbound network element. The embodiments of the present disclosure simplify the processing of link fault diagnosis and improve the efficiency of fault diagnosis.
图8为本公开的实施例的链路故障诊断装置的结构框图,如图8所示,所述链路故障诊断装置包括分解单元、检测单元和生成单元,其中,分解单元用于在接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路,单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成;检测单元用于对分解获得的每一个网元和每一条单位链路分别进行通路检测;生成单元用于根据所有网元和单位链路的通路检测结果生成故障诊断结果。FIG. 8 is a structural block diagram of a link fault diagnosis apparatus according to an embodiment of the present disclosure. As shown in FIG. 8, the link fault diagnosis apparatus includes a decomposition unit, a detection unit, and a generation unit, where the decomposition unit is configured to receive In the case of the reported communication line (LOC) alarm, the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link, and the unit link is composed of two adjacent network elements. The line node between the network node interface (NNI) of the outbound port and the NNI of the ingress port of the eastbound network element; the detecting unit is configured to perform path detection for each network element and each unit link obtained by the decomposition respectively; The unit is configured to generate a fault diagnosis result according to the path detection result of all network elements and unit links.
可选地,本公开的实施例中检测单元用于对分解获得的每一条单位链路进行通路检测包括:将分解获得的所有单位链路按照由西向东的顺序进行正向排列后,按照正向排列对每一条单位链路分别进行正向通路检测,按照由东向西的反向排列对每一条单位链路分别进行 反向通路检测。Optionally, in the embodiment of the present disclosure, the detecting unit is configured to perform path detection on each unit link obtained by the decomposition, including: performing positive alignment on all unit links obtained by decomposing in the order from west to east, according to the positive The forward path detection is performed for each unit link to the array, and the reverse path detection is performed for each unit link according to the reverse arrangement from east to west.
可选地,检测单元用于对分解获得的每一条单位链路进行通路检测包括:对每一条单位链路,在东向网元的入端口下发访问控制列表(ACL)规则;在单位链路的西向网元的出端口下发诊断报文;在第一预设时长内接收到东向网元根据ACL规则提取的诊断报文时,确定单位链路为正向通路,在第一预设时长内未接收到东向网元根据ACL规则提取的诊断报文时,确定单位链路为正向断路。Optionally, the detecting unit is configured to perform path detection on each unit link obtained by the decomposition, including: sending, for each unit link, an access control list (ACL) rule on an ingress port of the east network element; A diagnostic packet is sent to the egress port of the westbound NE of the path. When the diagnostic packet extracted by the eastbound NE according to the ACL rule is received within the first preset duration, the unit link is determined to be the forward path. When the diagnostic message extracted by the eastbound NE according to the ACL rule is not received, the unit link is determined to be a positive disconnect.
在反向通路检测中,对每一条单位链路,在西向网元的出端口下发访问控制列表(ACL)规则;在单位链路的东向网元的入端口下发诊断报文,在第一预设时长内接收到西向网元根据ACL规则提取的诊断报文时,确定单位链路为反向通路,在第一预设时长内未接收到西向网元根据ACL规则提取的诊断报文时,确定单位链路为反向断路,其中,诊断报文的封装与需要诊断的业务的封装相同。In the reverse path detection, an access control list (ACL) rule is sent to the outbound port of the westbound network element for each unit link, and a diagnostic message is sent to the inbound port of the eastbound network element of the unit link. When receiving the diagnostic packet extracted by the westbound network element according to the ACL rule, the first predetermined duration is determined to be a reverse path, and the diagnostic message extracted by the westbound network element according to the ACL rule is not received within the first preset duration. In this case, it is determined that the unit link is a reversed circuit, and the encapsulation of the diagnostic message is the same as the package of the service to be diagnosed.
可选地,检测单元用于对分解获得的每一个网元进行通路检测包括:将LOC告警涉及的连接网络分解获得的网元按照网络结构划分为始节点、中间节点、尾节点;对分解获得的所有网元按照中间节点、始节点、尾节点的顺序进行通路检测,其中,中间节点按照从西向到东向的方向进行排序。Optionally, the detecting unit is configured to perform path detection on each network element obtained by the decomposition, including: dividing the network element obtained by decomposing the connection network involved in the LOC alarm into a starting node, an intermediate node, and a tail node according to a network structure; All network elements perform path detection in the order of intermediate node, start node, and tail node, wherein the intermediate nodes are sorted in the direction from west to east.
可选地,本公开的实施例中检测单元对分解获得的每一个网元进行通路检测包括:对划分的属于中间节点的网元,确定属于中间节点的网元是否支持出端口的提取报文功能;确定属于中间节点的网元支持出端口的提取报文功能时,则向网元的出端口下发ACL规则,在网元的入端口下发诊断报文;在第二预设时长内接收到网元根据ACL提取并上送的诊断报文时,确定网元为通路,在第二预设时长内未接收到网元根据ACL提取并上送的诊断报文时,确定网元为断路;确定属于中间节点的网元不支持出端口的提取报文功能时,在确定网元与相邻的东向网元的链路为通路的情况下,向东向网元的入端口下发ACL规则,在网元的入端口下发诊断报文;在第三预设时长内接收到东向网元根据ACL规则提取并上送的诊断报文时,确定网元为通路,在第三预设时长内未接收到东向网元根据ACL规则提取并上送的诊 断报文时,确定网元为断路。Optionally, in the embodiment of the present disclosure, the detecting, by the detecting unit, performing path detection on each of the network elements obtained by the decomposing comprises: determining, by the network element belonging to the intermediate node, whether the network element belonging to the intermediate node supports the extracted packet of the egress port If the network element that belongs to the intermediate node supports the function of extracting packets from the egress port, the ACL rule is sent to the egress port of the NE, and the diagnostic packet is sent to the ingress port of the NE; After receiving the diagnostic packet that is extracted and sent by the network element according to the ACL, the network element is determined to be a path. When the network element is not received by the network element and the diagnostic packet is sent and sent by the ACL, the network element is determined to be If the network element that belongs to the intermediate node does not support the function of extracting packets from the egress port, if it is determined that the link between the NE and the adjacent east-facing NE is the path, the NE goes to the inbound port of the NE. The ACL is configured to send a diagnostic packet to the ingress port of the network element. When the diagnostic packet received by the eastbound NE and extracted by the ACL rule is received, the network element is determined to be the path. Not received within three preset durations According to the network when the cell extraction ACL rules on delivery and diagnostic messages to determine the network element is disconnected.
可选地,检测单元对分解获得的每一个网元进行通路检测包括;对划分的属于首节点的网元,确定属于首节点的网元是否支持出端口的提取报文功能;确定属于首节点的网元支持出端口的提取报文功能时,则向网元的出端口下发ACL规则,在网元的入端口下发诊断报文;在第四预设时长内接收到网元根据ACL规则提取并上送的诊断报文时,确定网元为通路,在第四预设时长内未接收到网元根据ACL规则提取并上送的诊断报文时,确定网元为断路。Optionally, the detecting unit performs path detection on each network element obtained by the decomposing, and includes: determining, by the network element belonging to the first node, whether the network element belonging to the first node supports the function of extracting packets of the egress port; determining that the network element belongs to the first node When the network element supports the function of extracting packets from the egress port, the ACL rule is sent to the egress port of the NE, and the diagnostic packet is sent to the ingress port of the NE. The NE is received according to the ACL within the fourth preset duration. When the rule extracts and sends the diagnostic packet, the network element is determined to be a path. When the network element is not received by the network element and the diagnostic message is sent and sent according to the ACL rule, the network element is determined to be open.
确定属于首节点的网元不支持出端口的提取报文功能时,在确定网元与相邻的东向网元的链路为通路的情况下,向东向网元的入端口下发ACL规则,在网元的入端口下发诊断报文;在第五预设时长内接收到东向网元根据ACL规则提取并上送的诊断报文时,确定网元为通路,在第五预设时长内未接收到东向网元根据ACL规则提取并上送的诊断报文时,确定网元为断路。If the network element that belongs to the first node does not support the function of extracting packets from the egress port, the ACL is sent to the inbound port of the NE to the eastbound NE. The rule is to send a diagnostic message to the ingress port of the network element. When receiving the diagnostic message that the eastbound network element extracts and sends the packet according to the ACL rule, the network element is determined to be the path. When the diagnostic packet received by the eastbound NE and extracted by the ACL rule is not received, the network element is determined to be open.
可选地,检测单元对分解获得的每一个网元进行通路检测包括:对划分的属于尾节点的网元,确定属于尾节点的网元是否支持出端口的提取报文功能;确定属于尾节点的网元支持出端口的提取报文功能时,则向网元的出端口下发ACL规则,在网元的入端口下发诊断报文;在第六预设时长内接收到网元根据ACL规则提取并上送的诊断报文时,确定网元为通路,在第六预设时长内未接收到网元根据ACL规则提取并上送的诊断报文时,确定网元为断路。Optionally, the detecting unit performs path detection on each network element obtained by the decomposing, including: determining, by the network element belonging to the tail node, whether the network element belonging to the tail node supports the function of extracting the message of the outbound port; determining that the network element belongs to the tail node When the network element supports the function of extracting packets from the egress port, the ACL rule is sent to the egress port of the NE, and the diagnostic packet is sent to the ingress port of the NE. The NE is received according to the ACL within the sixth preset duration. When the rule extracts and sends the diagnostic message, it determines that the network element is the path. When the network element does not receive the diagnostic message extracted and sent by the network element according to the ACL rule, the network element is determined to be open.
这里,将各网元和单位链路的通断结果进行汇总整理后,即可以生成故障诊断结果。Here, after the summary of the on/off results of the network elements and the unit links is summarized, the fault diagnosis result can be generated.
可选地,本公开的实施例的链路故障诊断装置还包括:删除单元,用于在检测单元完成每一个网元或单位链路的通路检测时,删除下发的ACL规则。Optionally, the link fault diagnosis apparatus of the embodiment of the present disclosure further includes: a deleting unit, configured to delete the delivered ACL rule when the detecting unit completes the path detection of each network element or unit link.
本公开的技术方案中,接收到上报的通信线路(LOC)告警时,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少两个单位链路,对分解获得的每一个网元和每一条单位链路分别进行通路检测,根据所有网元和单位链路的通路检测结果生成故障诊断结果, 其中,单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。本公开的实施例简化了链路故障诊断的处理过程,提升了故障诊断效率。In the technical solution of the present disclosure, when receiving the reported communication line (LOC) alarm, the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least two unit links, and each network obtained by the decomposition is obtained. The unit and each unit link respectively perform path detection, and generate a fault diagnosis result according to the path detection result of all the network elements and the unit link, where the unit link is from the outbound port of the adjacent two network elements to the west to the network element. The network node interface (NNI) is formed by the line between the NNIs of the inbound ports of the eastbound network element. The embodiments of the present disclosure simplify the processing of link fault diagnosis and improve the efficiency of fault diagnosis.
再一方面,本公开的实施例还提供一种链路故障诊断的装置,包括存储器和处理器,其中,处理器被配置为执行存储器中的程序指令,所述程序指令在被处理器读取并执行时执行以下操作:接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路;对分解获得的每一个网元和每一条单位链路分别进行通路检测;根据所有网元和单位链路的通路检测结果生成故障诊断结果,其中,单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。In still another aspect, an embodiment of the present disclosure also provides an apparatus for link fault diagnosis, including a memory and a processor, wherein the processor is configured to execute program instructions in the memory, the program instructions being read by the processor And performing the following operations: when receiving the reported communication line (LOC) alarm, decomposing the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link; The network element and each unit link respectively perform path detection; the fault diagnosis result is generated according to the path detection result of all network elements and the unit link, where the unit link is the outbound port of the adjacent two network elements to the west to the network element The network node interface (NNI) is formed by the line between the NNIs of the inbound ports of the eastbound network element.
本公开的实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述处理器执行所述计算机可执行指令时,进行如下操作:在接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路;对分解获得的每一个网元和每一条单位链路分别进行通路检测;根据所有网元和单位链路的通路检测结果生成故障诊断结果,其中,所述单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。An embodiment of the present disclosure further provides a computer readable storage medium storing computer executable instructions, and when the processor executes the computer executable instructions, performing an operation of: receiving a report In the case of a communication line (LOC) alarm, the connection network involved in the LOC alarm is decomposed into corresponding at least two network elements and at least one unit link; and each network element and each unit link obtained by the decomposition are separately performed. Path detection; generating a fault diagnosis result according to path detection results of all network elements and unit links, wherein the unit link is from a network node interface (NNI) of an outbound port of the adjacent two network elements to the network element of the network element The line is formed between the NNIs of the inbound ports of the eastbound network element.
以下通过应用示例对本公开进行清楚详细的说明,应用示例仅用于陈述本公开,并不用于限定本公开的保护范围。The disclosure will be clearly described in detail below by means of application examples, which are only used to illustrate the disclosure and are not intended to limit the scope of the disclosure.
第一应用示例First application example
本应用示例中的网元根据设备支持的版本号(例如,版本号为6以下)确定不支持出端口的提取报文功能,且本应用示例中的连接不包含首节点和尾节点,应用示例用于检测LSP的连通性。The network element in this application example determines that the extracted packets of the outbound port are not supported according to the version number supported by the device (for example, the version number is 6 or less), and the connection in this application example does not include the first node and the tail node. Used to detect the connectivity of an LSP.
图9为本公开的第一应用示例的方法的流程图,如图9所示,所述方法包括以下步骤900至903。FIG. 9 is a flowchart of a method of a first application example of the present disclosure. As shown in FIG. 9, the method includes the following steps 900 to 903.
步骤900、控制器将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路,其中,控制器分解出需要通路检测的单位链路,单位链路可以以链路列表的方式存在,单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成,可以通过{第一网元、第一端口,第二网元、第二端口}的方式表示,其中,第一网元可以是西向网元,第二网元可以是东向网元,第一端口可以是出端口,第二端口可以是入端口。如图10所示,本应用示例中的单位链路包括{交换设备1、1端口,交换设备2、2端口}、{交换设备2、1端口,交换设备3、2端口}、{交换设备3、1端口,交换设备4、2端口}共3个,需要检测的网元包括属于中间节点的交换设备2和属于中间节点的交换设备3。Step 900: The controller decomposes the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link, where the controller decomposes the unit link that needs path detection, and the unit link may be a link list. The mode is formed by the line between the network node interface (NNI) of the outbound port of the adjacent two network elements and the NNI of the ingress port of the eastbound network element, which can be adopted by {first The mode of the network element, the first port, the second network element, and the second port is represented, wherein the first network element may be a westbound network element, the second network element may be an eastbound network element, and the first network port may be an outgoing port. The second port can be an ingress port. As shown in FIG. 10, the unit links in this application example include {switching device 1, port 1, switching device 2, port 2}, {switching device 2, port 1, switching device 3, port 2}, {switching device 3, 1 port, switching device 4, 2 port} a total of 3, the network element to be detected includes the switching device 2 belonging to the intermediate node and the switching device 3 belonging to the intermediate node.
步骤901、控制器对每一条单位链路进行通路检测,如图10所示,检测{交换设备1、1端口,交换设备2、2端口}、{交换设备2、1端口,交换设备3、2端口}和{交换设备3、1端口,交换设备4、2端口}这3个单位链路的通路情况,具体地,在{交换设备2、2端口}下发ACL规则,在{交换设备1,1端口}下发诊断报文,如果单位链路{交换设备1、1端口,交换设备2、2端口}断开,导致定时器计时超过第一预设时长,控制器标记链路{交换设备1、1端口,交换设备2、2端口}为“断”,控制器删除上述ACL规则;控制器在{交换设备3、2端口}下发ACL规则,在{交换设备2、1端口}下发诊断报文,假设控制器在定时器的第一预设时长内收到了诊断报文,标记链路{交换设备2、1端口,交换设备3、2端口}为“通”,控制器删除上述ACL规则;控制器在{交换设备4、2端口}下发ACL规则,在{交换设备3、1端口}下发诊断报文,如果单位链路{交换设备3、1端口,交换设备4、2端口}断开,导致定时器计时超过第一预设时长,控制器标记链路{交换设备3、1端口,交换设备4、2端口}为“断”,控制器删除上述ACL规则。Step 901: The controller performs path detection on each unit link, as shown in FIG. 10, detecting {switching device 1, port 1, switching device 2, 2 port}, {switching device 2, port 1, switching device 3, 2 port} and {switching device 3, 1 port, switching device 4, 2 port} The path of the three unit links, specifically, the ACL rule is issued on {switching device 2, 2 port}, in the { switching device 1,1 port} sends diagnostic packets. If the unit link {switching device 1, port 1, switching device 2, and port 2} is disconnected, the timer expires for more than the first preset duration, and the controller marks the link. The switching device 1, port 1, switching device 2, 2 port} is "off", the controller deletes the above ACL rule; the controller sends an ACL rule on {switch device 3, 2 port}, at {switch device 2, 1 port } The diagnosis message is sent. It is assumed that the controller receives the diagnostic message within the first preset time of the timer, and marks the link {switching device 2, port 1, switching device 3, 2 port} as "on", and controls The above ACL rule is deleted; the controller sends an ACL rule on {switch device 4, 2 port}, at {switch device 3 , 1 port} sends diagnostic packets. If the unit link {switch device 3, 1 port, switching device 4, 2 port} is disconnected, the timer expires for more than the first preset duration, and the controller marks the link {switch Device 3, 1 port, switching device 4, 2 port} is "broken", the controller deletes the above ACL rule.
步骤902、控制器对中间节点进行通路检测,如图10所示,检测{属于中间节点的交换设备2}和{属于中间节点的交换设备3}的连 通性,由于交换设备不支持出端口提取报文,且单位链路{交换设备2、1端口,交换设备3、2端口}是“通”的,因此,控制器在{交换设备3、2端口}下发ACL规则,在{交换设备2、2端口}下发诊断报文,如果控制器在第三预设时长内收到了诊断报文,则标记属于中间节点的交换设备2为“通”的,控制器删除上述ACL规则。本应用示例中,由于交换设备不支持出端口提取报文,且链路{交换设备3、1端口,交换设备4、2端口}是“断”的,因此控制器无法诊断属于中间节点的交换设备3的连通性。Step 902: The controller performs path detection on the intermediate node, as shown in FIG. 10, detecting connectivity of {switching device 2 belonging to the intermediate node and {switching device 3 belonging to the intermediate node}, since the switching device does not support the port extracting Packet, and the unit link {switching device 2, 1 port, switching device 3, 2 port} is "on", therefore, the controller sends ACL rules on {switching device 3, 2 ports}, in {switching device 2. The port 2 sends a diagnostic message. If the controller receives the diagnostic message within the third preset duration, the switch device 2 that belongs to the intermediate node is "on", and the controller deletes the ACL rule. In this application example, since the switching device does not support the outbound port extraction packet, and the link {switching device 3, 1 port, switching device 4, 2 port} is "broken", the controller cannot diagnose the switch belonging to the intermediate node. Connectivity of device 3.
本应用示例可以以相同原理检测连接的反向连通性,如图10所示,例如,检测结果为单位链路{交换设备4、2端口,交换设备3、1端口}是“断”的,单位链路{交换设备3、2端口,交换设备2、1端口}是“通”的,单位链路{交换设备2、2端口,交换设备1、1端口}是“断”的,{属于中间节点的交换设备3}是“通”的。This application example can detect the reverse connectivity of the connection by the same principle, as shown in FIG. 10, for example, the detection result is that the unit link {switching device 4, 2 port, switching device 3, 1 port} is "broken", Unit link {switching device 3, 2 port, switching device 2, 1 port} is "on", unit link {switching device 2, 2 port, switching device 1, 1 port} is "off", { belongs The switching device 3} of the intermediate node is "on".
步骤903、控制器将检测结果上报客户端,本应用示例中客户端可以是应用(APP),可以以不同的线条形状分别标识单位链路和网元的通断。图10为第一应用示例中上报至客户端的检测结果的示意图,如图10所示,实线表示通路,虚线表示断路,线段加点的线表示检测结果未知,其中,上半部分示意图表示正向连接的故障检测结果,下半部分示意图表示反向连接的故障检测结果。Step 903: The controller reports the detection result to the client. In this application example, the client may be an application (APP), and the connection of the unit link and the network element may be separately identified in different line shapes. 10 is a schematic diagram of the detection result reported to the client in the first application example. As shown in FIG. 10, the solid line indicates the path, the broken line indicates the open circuit, and the line with the dotted line indicates that the detection result is unknown, wherein the upper half of the schematic diagram indicates the forward direction. The fault detection result of the connection, the lower part of the diagram shows the fault detection result of the reverse connection.
可选地,当修复了单位链路{交换设备1、1端口,交换设备2、2端口}和{交换设备3、1端口,交换设备4、2端口}的双向连接时,本公开的实施例可以检测到LSP的LOC告警消失,控制器将上述所有链路、节点标记为“通”的,并将更新的结果上报客户端。Alternatively, when the two-way connection of the unit link {switching device 1, port 1, switching device 2, 2 port} and {switching device 3, 1 port, switching device 4, 2 port} is fixed, the implementation of the present disclosure The example can detect that the LOC alarm of the LSP disappears. The controller marks all the links and nodes as "on" and reports the updated result to the client.
可选地,当修复了链路{交换设备1、1端口,交换设备2、2端口}和{交换设备3、1端口,交换设备4、2端口}的双向连接时,仍然检测到正向LSP存在LOC告警,反向LSP不存在LOC告警,则控制器将反向LSP的所有单位链路、网元标记为“通”的,并将更新的结果上报至客户端。Optionally, when the two-way connection of the link {switching device 1, port 1, switching device 2, 2 port} and {switching device 3, 1 port, switching device 4, 2 port} is repaired, the positive direction is still detected If the LOC alarm is generated on the LSP and the LOC alarm is not generated on the reverse LSP, the controller marks all the unit links and NEs of the reverse LSP as "on" and reports the updated result to the client.
同时,本应用示例可以设定重新进行通路检测的时间,以使控制器重新检测正向LSP的连通性。此时,单位链路{交换设备1、1 端口,交换设备2、2端口}和{交换设备3、1端口,交换设备4、2端口}是“通”的,借用链路{交换设备3、1端口,交换设备4、2端口},控制器向{交换设备4、2端口}下发ACL规则,向{交换设备3、2端口}下发诊断报文,在第一预设时长内控制器未收到预期的诊断报文,则控制器将{属于中间节点的交换设备3}标记为“断”的,并且控制器将LSP正向的{属于中间节点的交换设备3}的状态“断”、其它节点及链路的状态“通”以及反向所有链路和节点的状态“通”上报给客户端。At the same time, this application example can set the time for re-permission of the path detection so that the controller can re-detect the connectivity of the forward LSP. At this time, the unit link {switching device 1, port 1, switching device 2, 2 port} and {switching device 3, 1 port, switching device 4, 2 port} are "on", borrowing link {switching device 3 , 1 port, switching device 4, 2 port}, the controller sends an ACL rule to {switching device 4, 2 port}, and sends a diagnostic message to {switching device 3, 2 port} within the first preset time period. If the controller does not receive the expected diagnostic message, the controller marks {the switching device 3 belonging to the intermediate node} as "broken", and the controller forwards the state of the LSP forward {the switching device 3 belonging to the intermediate node} "Break", the status of other nodes and links "pass" and the status of all links and nodes "pass" are reported to the client.
第二应用示例Second application example
本应用示例中的网元根据设备支持的版本号(例如,版本号为6以上)确定支持出端口的提取报文功能,且本应用示例中的连接包含首节点和尾节点,应用示例用于检测采用CIP的VPWS的连通性。The network element in this application example determines the function of extracting packets supporting the outbound port according to the version number supported by the device (for example, the version number is 6 or higher), and the connection in the application example includes the first node and the tail node, and the application example is used for Detect the connectivity of VPWS using CIP.
图11为本公开的第二应用示例的方法的流程图,如图11所示,在本应用示例的控制器接收到采用CIP的VPWS的LOC告警的情况下,所述方法包括以下步骤1100至1103。11 is a flowchart of a method of a second application example of the present disclosure. As shown in FIG. 11, in a case where the controller of the application example receives a LOC alarm of a VPWS using CIP, the method includes the following steps 1100 to 1103.
步骤1100、控制器将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路,其中,控制器分解出需要进行通路检测的单位链路,单位链路可以以链路列表的方式存在,单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成,可以通过{第一网元、第一端口,第二网元、第二端口}的方式表示,其中,第一网元可以是西向网元,第二网元可以是东向网元,第一端口可以是出端口,第二端口可以是入端口,如图12所示,本应用示例中的单位链路包括{交换设备1、1端口,交换设备2、2端口}、{交换设备2、1端口,交换设备3、2端口}、{交换设备3、1端口,交换设备4、2端口}共3个,需要检测的网元包括属于中间节点的交换设备2、属于中间节点的交换设备3、属于首节点的交换设备1、属于尾节点的交换设备4共4个网元。Step 1100: The controller decomposes the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link, where the controller decomposes a unit link that needs to perform path detection, and the unit link may be a link. The list mode exists. The unit link consists of the line between the network node interface (NNI) of the outbound port of the neighboring network element and the NNI of the inbound port of the eastbound network element. The first network element may be a westbound network element, and the second network element may be an eastbound network element, where the first network port may be a network port, the second network element, and the second network port. Port, the second port can be an ingress port. As shown in Figure 12, the unit links in this application example include {switching device 1, port 1, switching device 2, port 2}, {switching device 2, port 1, switching There are three devices: 3, 2 ports}, {switching device 3, 1 port, switching device 4, 2 ports}. The network elements to be detected include the switching device belonging to the intermediate node, the switching device 3 belonging to the intermediate node, and the first device. Switching device 1 of the node belongs to the tail node Switch 4 of 4 NE.
步骤1101:控制器对每一条单位链路进行通路检测,对单位连 接进行通路检测的方法和第一应用示例中的相同,在此不做赘述。Step 1101: The controller performs path detection on each unit link, and the method for performing path detection on the unit connection is the same as that in the first application example, and details are not described herein.
步骤1102:控制器对中间节点、首节点和尾节点进行通路检测,其中,对中间节点进行通路检测的方法与第一应用示例中的相同,在此不做赘述。对于属于首节点的交换设备1,由于设备支持出端口提取报文,因此,如图12所示,控制器在{交换设备1、1端口}下发ACL规则,在{交换设备1、2端口}下发诊断报文,如果控制器在第四预设时长内接收到诊断报文,则标记此首节点为“通”,控制器删除上述ACL规则。对于属于尾节点的交换设备4,由于设备支持出端口提取报文,因此,控制器在{交换设备4、1端口}下发ACL规则,在{交换设备4、2端口}下发诊断报文,如果控制器在第四预设时长内未收到诊断报文,则标记此尾节点为“断”,控制器删除上述ACL规则。Step 1102: The controller performs path detection on the intermediate node, the first node, and the tail node. The method for performing path detection on the intermediate node is the same as that in the first application example, and details are not described herein. For the switching device 1 belonging to the first node, the device supports the outbound port to extract packets. Therefore, as shown in Figure 12, the controller sends ACL rules on {switching device 1, port 1}, at {switching device 1, port 2 } The diagnostic message is sent. If the controller receives the diagnostic message within the fourth preset duration, the first node is marked as “on” and the controller deletes the ACL rule. For the switching device 4 that belongs to the tail node, the device sends the ACL rule on the {switch device 4, 1 port} and sends the diagnostic packet on the {switch device 4, 2 port}. If the controller does not receive the diagnostic message within the fourth preset duration, the tail node is marked as "broken", and the controller deletes the ACL rule.
本应用示例可以以相同原理检测连接的反向连通性。如图12所示,例如,检测结果为单位链路{交换设备4、2端口,交换设备3、1端口}是“通”的,单位链路{交换设备3、2端口,交换设备2、1端口}是“断”的,单位链路{交换设备2、2端口,交换设备1、1端口}是“断”的,属于中间节点的交换设备3是“断”的,属于中间节点的交换设备2是“通”的,属于首节点的交换设备4是“通”的,属于尾节点的交换设备1是“通”的。This application example can detect the reverse connectivity of a connection using the same principle. As shown in FIG. 12, for example, the detection result is that the unit link {switching device 4, 2 port, switching device 3, 1 port} is "on", unit link {switching device 3, 2 port, switching device 2 1 port} is "broken", unit link {switching device 2, 2 port, switching device 1, port 1} is "broken", switching device 3 belonging to the intermediate node is "broken", belonging to the intermediate node The switching device 2 is "on", the switching device 4 belonging to the head node is "on", and the switching device 1 belonging to the tail node is "on".
步骤1103、控制器将检测结果上报客户端,本应用示例中客户端可以是应用(APP),可以以不同的线条形状分别标识单位链路和网元的通断。图12为第二应用示例中上报至客户端的检测结果的示意图,如图12所示,实线表示通路,虚线表示断路,线段加点的线表示未检测,其中,上半部分示意图表示正向连接的故障检测结果,下半部分示意图表示反向连接的故障检测结果。Step 1103: The controller reports the detection result to the client. In this application example, the client may be an application (APP), and the connection of the unit link and the network element may be separately identified in different line shapes. 12 is a schematic diagram of the detection result reported to the client in the second application example. As shown in FIG. 12, the solid line indicates the path, the broken line indicates the open circuit, and the line with the dotted line indicates the undetected, wherein the upper half shows the forward connection. The fault detection result, the lower part of the diagram shows the fault detection result of the reverse connection.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现, 例如可以通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本公开不限制于任何特定形式的硬件和软件的结合。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. Alternatively, 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 foregoing embodiment may be implemented in the form of hardware, for example, may be implemented by an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, stored in a memory by a processor. Programs/instructions to implement their respective functions. The present disclosure is not limited to any specific form of combination of hardware and software.
虽然本公开所揭露的实施方式如上,但所述的实施方式仅为便于理解本公开而采用的示例实施方式,并非用以限定本公开。任何本公开所属领域内的技术人员在不脱离本公开所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,本公开的专利保护范围以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present disclosure are as described above, but the embodiments are merely exemplary embodiments that are used to facilitate the understanding of the present disclosure, and are not intended to limit the present disclosure. Any modification and variation 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 in the request shall prevail.

Claims (16)

  1. 一种链路故障诊断方法,包括步骤:A link fault diagnosis method includes the following steps:
    在接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路;Receiving the reported communication line (LOC) alarm, decomposing the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link;
    对分解获得的每一个网元和每一条单位链路分别进行通路检测;Perform path detection for each network element and each unit link obtained by the decomposition;
    根据所有网元和单位链路的通路检测结果生成故障诊断结果,其中,所述单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。Generating a fault diagnosis result according to the path detection result of all the network elements and the unit link, where the unit link is from the network node interface (NNI) of the outbound port of the adjacent two network elements to the eastbound network The line between the NNIs of the ingress port of the element.
  2. 根据权利要求1所述的方法,其中,对分解获得的每一条单位链路进行通路检测的步骤包括:The method of claim 1 wherein the step of performing path detection for each unit link obtained by the decomposition comprises:
    将分解获得的所有单位链路按照由西向东的顺序进行正向排列后,按照正向排列对每一条单位链路分别进行正向通路检测,按照由东向西的反向排列对每一条单位链路分别进行反向通路检测。After all the unit links obtained by the decomposition are forwardly arranged in the order from west to east, the forward path detection is performed for each unit link according to the forward arrangement, and each unit is arranged in the reverse direction from east to west. The link performs reverse path detection separately.
  3. 根据权利要求1所述的方法,其中,对分解获得的每一条单位链路进行通路检测的步骤包括:The method of claim 1 wherein the step of performing path detection for each unit link obtained by the decomposition comprises:
    对每一个所述单位链路,在东向网元的入端口下发访问控制列表(ACL)规则,在所述单位链路的西向网元的出端口下发诊断报文,在第一预设时长内接收到东向网元根据ACL规则提取的诊断报文时,确定所述单位链路为正向通路,在第一预设时长内未接收到东向网元根据ACL规则提取的诊断报文时,确定所述单位链路为正向断路;For each of the unit links, an access control list (ACL) rule is sent to the ingress port of the eastbound network element, and a diagnostic message is sent to the egress port of the westbound NE of the unit link, in the first pre- After receiving the diagnostic message extracted by the eastbound network element according to the ACL rule, the unit link is determined to be a forward path, and the eastbound network element is not received according to the ACL rule for diagnosis within the first preset duration. When the message is received, it is determined that the unit link is a positive open circuit;
    对每一个所述单位链路,在西向网元的出端口下发访问控制列表(ACL)规则,在所述单位链路的东向网元的入端口下发诊断报文,在第一预设时长内接收到西向网元根据ACL规则提取的诊断报文时,确定所述单位链路为反向通路,在第一预设时长内未接收到西向网元根据ACL规则提取的诊断报文时,确定所述单位链路为反向断路,For each of the unit links, an access control list (ACL) rule is sent to the egress port of the westbound network element, and a diagnostic packet is sent to the ingress port of the eastbound network element of the unit link, in the first pre- After receiving the diagnostic message extracted by the westbound network element according to the ACL rule, the unit link is determined to be a reverse path, and the diagnostic message extracted by the westbound network element according to the ACL rule is not received within the first preset duration. Determining that the unit link is a reversed circuit,
    其中,所述诊断报文的封装与需要诊断的业务的封装相同。The encapsulation of the diagnostic message is the same as the encapsulation of the service that needs to be diagnosed.
  4. 根据权利要求1所述的方法,其中,对分解获得的每一个网元进行通路检测的步骤包括:The method of claim 1, wherein the step of performing path detection for each of the network elements obtained by the decomposition comprises:
    将LOC告警涉及的所述连接网络分解获得的网元按照网络结构划分为首节点、中间节点、尾节点;The network element obtained by decomposing the connection network involved in the LOC alarm is divided into a first node, an intermediate node, and a tail node according to a network structure;
    对分解获得的所有网元按照中间节点、首节点、尾节点的顺序进行通路检测,All the network elements obtained by the decomposition are detected in the order of the intermediate node, the first node, and the tail node.
    其中,所述中间节点按照从西向到东向的方向进行排序。Wherein, the intermediate nodes are sorted in a direction from west to east.
  5. 根据权利要求4所述的方法,其中,对分解获得的每一个网元进行通路检测的步骤包括:The method according to claim 4, wherein the step of performing path detection for each of the network elements obtained by the decomposition comprises:
    对划分的属于中间节点的网元,确定属于中间节点的所述网元是否支持出端口的提取报文功能,Determining, by the network element belonging to the intermediate node, whether the network element belonging to the intermediate node supports the function of extracting packets of the egress port,
    确定属于中间节点的所述网元支持出端口的提取报文功能时,则向网元的出端口下发ACL规则,在网元的入端口下发诊断报文,在第二预设时长内接收到网元根据ACL提取并上送的诊断报文时,确定所述网元为通路,在第二预设时长内未接收到网元根据ACL提取并上送的诊断报文时,确定所述网元为断路;When the network element that belongs to the intermediate node supports the function of extracting packets from the egress port, the ACL rule is sent to the egress port of the network element, and the diagnostic packet is sent to the ingress port of the network element for a second preset duration. After receiving the diagnostic packet that is extracted and sent by the network element according to the ACL, the network element is determined to be a path, and the network element is not received by the network element after the network element extracts and sends the diagnostic message according to the ACL. The network element is an open circuit;
    确定属于中间节点的所述网元不支持出端口的提取报文功能时,在确定所述网元与相邻的东向网元的链路为通路的情况下,向所述东向网元的入端口下发ACL规则,在所述网元的入端口下发诊断报文,在第三预设时长内接收到所述东向网元根据ACL规则提取并上送的诊断报文时,确定所述网元为通路,在第三预设时长内未接收到所述东向网元根据ACL规则提取并上送的诊断报文时,确定所述网元为断路。When the network element that belongs to the intermediate node does not support the function of extracting packets of the egress port, if it is determined that the link between the network element and the adjacent eastbound network element is a path, the eastbound network element is The inbound port sends an ACL rule, and sends a diagnostic packet to the ingress port of the network element, and receives the diagnostic packet that is sent and sent by the eastbound NE according to the ACL rule within the third preset duration. Determining that the network element is a path, and determining that the network element is an open circuit when the diagnostic message that is extracted and sent by the eastbound network element according to the ACL rule is not received within the third preset duration.
  6. 根据权利要求4所述的方法,其中,对分解获得的每一个网元进行通路检测的步骤包括:The method according to claim 4, wherein the step of performing path detection for each of the network elements obtained by the decomposition comprises:
    对划分的属于首节点的网元,确定属于首节点的网元是否支持出端口的提取报文功能,Determining, by the network element belonging to the first node, whether the network element belonging to the first node supports the function of extracting packets from the egress port,
    确定属于首节点的所述网元支持出端口的提包功能时,则向网 元的出端口下发ACL规则,在网元的入端口下发诊断报文,在第四预设时长内接收到网元根据ACL规则提取并上送的诊断报文时,确定所述网元为通路,在第四预设时长内未接收到网元根据ACL规则提取并上送的诊断报文时,确定所述网元为断路;If the network element that belongs to the first node supports the packet-out function of the egress port, the ACL rule is sent to the egress port of the network element, and the diagnostic packet is sent to the ingress port of the network element, and is received within the fourth preset duration. When the network element extracts and sends the diagnostic packet according to the ACL rule, it determines that the network element is a path, and does not receive the diagnostic message that the network element extracts and sends the packet according to the ACL rule within the fourth preset duration. The network element is an open circuit;
    确定属于首节点的所述网元不支持出端口的提取报文功能时,在确定所述网元与相邻的东向网元的链路为通路的情况下,向所述东向网元的入端口下发ACL规则,在所述网元的入端口下发诊断报文,在第五预设时长内接收到所述东向网元根据ACL规则提取并上送的诊断报文时,确定所述网元为通路,在第五预设时长内未接收到所述东向网元根据ACL规则提取并上送的诊断报文时,确定所述网元为断路。When the network element belonging to the first node does not support the function of extracting packets of the egress port, if it is determined that the link between the network element and the adjacent eastbound network element is a path, the eastbound network element is The inbound port sends an ACL rule, and sends a diagnostic packet to the ingress port of the network element, and receives the diagnostic packet that is sent and sent by the eastbound network element according to the ACL rule in the fifth preset duration. Determining that the network element is a path, and determining that the network element is an open circuit when the diagnostic message that is extracted and sent by the eastbound network element according to the ACL rule is not received within the fifth preset duration.
  7. 根据权利要求4所述的方法,其中,对分解获得的每一个网元进行通路检测的步骤包括:The method according to claim 4, wherein the step of performing path detection for each of the network elements obtained by the decomposition comprises:
    对划分的属于尾节点的网元,确定属于尾节点的所述网元是否支持出端口的提取报文功能,Determining, by the network element that belongs to the tail node, whether the network element belonging to the tail node supports the function of extracting packets of the outbound port,
    确定属于尾节点的所述网元支持出端口的提取报文功能时,则向网元的出端口下发ACL规则,在网元的入端口下发诊断报文,在第六预设时长内接收到网元根据ACL规则提取并上送的诊断报文时,确定所述网元为通路,在第六预设时长内未接收到网元根据ACL规则提取并上送的诊断报文时,确定所述网元为断路。When the network element that belongs to the tail node supports the function of extracting packets from the egress port, the ACL rule is sent to the egress port of the network element, and the diagnostic packet is sent to the ingress port of the network element, within the sixth preset duration. When receiving the diagnostic message that is extracted and sent by the network element according to the ACL rule, the network element is determined to be a path, and the network element is not received by the network element according to the ACL rule. Determining that the network element is an open circuit.
  8. 根据权利要求3、5、6或7所述的方法,还包括:The method of claim 3, 5, 6 or 7 further comprising:
    完成每一个网元或单位链路的通路检测时,删除下发的所述ACL规则。The ACL rule delivered is deleted when the path detection of each network element or unit link is completed.
  9. 一种链路故障诊断装置,包括分解单元、检测单元和生成单元,其中,A link fault diagnosis device includes a decomposition unit, a detection unit, and a generation unit, where
    分解单元用于在接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条 单位链路;The decomposing unit is configured to decompose the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link, in case receiving the reported communication line (LOC) alarm;
    检测单元用于对分解获得的每一个网元和每一条单位链路分别进行通路检测;The detecting unit is configured to separately perform path detection on each network element and each unit link obtained by the decomposition;
    生成单元用于根据所有网元和单位链路的通路检测结果生成故障诊断结果,The generating unit is configured to generate a fault diagnosis result according to the path detection result of all the network elements and the unit link.
    其中,所述单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。The unit link is formed by a line between a network node interface (NNI) of an outbound port of a network element in an adjacent two network elements and an NNI of an ingress port of an east direction network element.
  10. 根据权利要求9所述的装置,其中,所述检测单元对分解获得的每一条单位链路进行通路检测包括:The apparatus according to claim 9, wherein the detecting unit performs path detection on each unit link obtained by the decomposition, comprising:
    对每一个所述单位链路,在东向网元的入端口下发访问控制列表(ACL)规则,在所述单位链路的西向网元的出端口下发诊断报文,在第一预设时长内接收到东向网元根据ACL规则提取的诊断报文时,确定所述单位链路为正向通路,在第一预设时长内未接收到东向网元根据ACL规则提取的诊断报文时,确定所述单位链路为正向断路;For each of the unit links, an access control list (ACL) rule is sent to the ingress port of the eastbound network element, and a diagnostic message is sent to the egress port of the westbound NE of the unit link, in the first pre- After receiving the diagnostic message extracted by the eastbound network element according to the ACL rule, the unit link is determined to be a forward path, and the eastbound network element is not received according to the ACL rule for diagnosis within the first preset duration. When the message is received, it is determined that the unit link is a positive open circuit;
    对每一个所述单位链路,在西向网元的出端口下发访问控制列表ACL规则,在所述单位链路的东向网元的入端口下发诊断报文,在第一预设时长内接收到西向网元根据ACL规则提取的诊断报文时,确定所述单位链路为反向通路,在第一预设时长内未接收到西向网元根据ACL规则提取的诊断报文时,确定所述单位链路为反向断路,For each of the unit links, the ACL rule is sent to the egress port of the westbound NE, and the diagnostic packet is sent to the inbound port of the eastbound NE of the unit link. When receiving the diagnostic packet extracted by the westbound network element according to the ACL rule, the unit link is determined to be a reverse path, and the diagnostic message extracted by the westbound network element according to the ACL rule is not received within the first preset duration. Determining that the unit link is a reversed circuit,
    其中,所述诊断报文的封装与需要诊断的业务的封装相同。The encapsulation of the diagnostic message is the same as the encapsulation of the service that needs to be diagnosed.
  11. 根据权利要求9所述的装置,其中,所述检测单元对分解获得的每一个网元进行通路检测包括:The apparatus according to claim 9, wherein the detecting unit performs path detection on each of the network elements obtained by the decomposition comprises:
    将LOC告警涉及的所述连接网络分解获得的网元按照网络结构划分为首节点、中间节点、尾节点;The network element obtained by decomposing the connection network involved in the LOC alarm is divided into a first node, an intermediate node, and a tail node according to a network structure;
    对分解获得的所有网元按照中间节点、首节点、尾节点的顺序进行通路检测,All the network elements obtained by the decomposition are detected in the order of the intermediate node, the first node, and the tail node.
    其中,所述中间节点按照从西向到东向的方向进行排序。Wherein, the intermediate nodes are sorted in a direction from west to east.
  12. 根据权利要求11所述的装置,其中,所述检测单元配置为:The apparatus of claim 11 wherein said detecting unit is configured to:
    对划分的属于中间节点的网元,确定属于中间节点的所述网元是否支持出端口的提取报文功能,确定属于中间节点的所述网元支持出端口的提取报文功能时,则向网元的出端口下发ACL规则,在网元的入端口下发诊断报文,在第二预设时长内接收到网元根据ACL提取并上送的诊断报文时,确定所述网元为通路,在第二预设时长内未接收到网元根据ACL提取并上送的诊断报文时,确定所述网元为断路,确定属于中间节点的所述网元不支持出端口的提取报文功能时,在确定所述网元与相邻的东向网元的链路为通路的情况下,向所述东向网元的入端口下发ACL规则,在所述网元的入端口下发诊断报文,在第三预设时长内接收到所述东向网元根据ACL规则提取并上送的诊断报文时,确定所述网元为通路,在第三预设时长内未接收到所述东向网元根据ACL规则提取并上送的诊断报文时,确定所述网元为断路。Determining, by the network element belonging to the intermediate node, whether the network element belonging to the intermediate node supports the function of extracting packets of the egress port, and determining that the network element belonging to the intermediate node supports the function of extracting packets of the egress port, An ACL is sent to the egress port of the NE to send a diagnostic packet to the ingress port of the NE. After receiving the diagnostic packet that the NE collects and sends the packet based on the ACL, the NE determines the NE. If the path is not received, the network element is determined to be disconnected, and the network element that belongs to the intermediate node does not support the extraction of the egress port. In the case of the packet function, when the link between the network element and the adjacent eastbound network element is determined to be a path, the ACL rule is sent to the ingress port of the eastbound network element, and the The port sends a diagnostic packet, and after receiving the diagnostic packet that is sent by the eastbound network element according to the ACL rule, the network element is determined to be a path within the third preset duration. The eastbound network element is not received and sent according to the ACL rule. When the diagnosis packet, determine the network element is disconnected.
  13. 根据权利要求11所述的装置,其中,所述检测单元配置为:The apparatus of claim 11 wherein said detecting unit is configured to:
    对划分的属于首节点的网元,确定属于首节点的网元是否支持出端口的提取报文功能,确定属于首节点的所述网元支持出端口的提取报文功能时,则向网元的出端口下发ACL规则,在网元的入端口下发诊断报文,在第四预设时长内接收到网元根据ACL规则提取并上送的诊断报文时,确定所述网元为通路,在第四预设时长内未接收到网元根据ACL规则提取并上送的诊断报文时,确定所述网元为断路,确定属于首节点的所述网元不支持出端口的提取报文功能时,在确定所述网元与相邻的东向网元的链路为通路的情况下,向所述东向网元的入端口下发ACL规则,在所述网元的入端口下发诊断报文,在第五预设时长内接收到所述东向网元根据ACL规则提取并上送的诊断报文时,确定所述网元为通路,在第五预设时长内未接收到所述东向网元根据ACL规则提取并上送的诊断报文时,确定所述网元为断路。Determining whether the network element belonging to the first node supports the function of extracting packets of the egress port, and determining that the network element belonging to the first node supports the function of extracting packets of the egress port, then the network element is The egress port sends an ACL rule to send a diagnostic packet to the ingress port of the NE. After receiving the diagnostic packet that the NE collects and sends the packet based on the ACL rule, the egress determines that the NE is The path is determined to be disconnected when the network element is not received by the network element according to the ACL rule, and the network element that belongs to the first node does not support the extraction of the egress port. In the case of the packet function, when the link between the network element and the adjacent eastbound network element is determined to be a path, the ACL rule is sent to the ingress port of the eastbound network element, and the The port sends a diagnostic packet, and after receiving the diagnostic packet that is sent and sent by the eastbound network element according to the ACL rule, the network element is determined to be a path within a fifth preset duration. The diagnosis that the eastbound network element is extracted and sent according to the ACL rule is not received. Packet, an open circuit is determined that the network element.
  14. 根据权利要求11所述的装置,其中,所述检测单元配置为:The apparatus of claim 11 wherein said detecting unit is configured to:
    对划分的属于尾节点的网元,确定属于尾节点的所述网元是否 支持出端口的提取报文功能,确定属于尾节点的所述网元支持出端口的提取报文功能时,则向网元的出端口下发ACL规则,在网元的入端口下发诊断报文,在第六预设时长内接收到网元根据ACL规则提取并上送的诊断报文时,确定所述网元为通路,在第六预设时长内未接收到网元根据ACL规则提取并上送的诊断报文时,确定所述网元为断路。Determining, by the network element that belongs to the tail node, whether the network element that belongs to the tail node supports the function of extracting packets of the egress port, and determining that the network element that belongs to the tail node supports the function of extracting packets of the egress port, An ACL is sent to the outbound port of the NE to send a diagnostic packet to the ingress port of the NE. After receiving the diagnostic packet that the NE collects and sends the packet based on the ACL rule, the network determines the network. The element is a path, and when the diagnostic message received by the network element according to the ACL rule is not received within the sixth preset time period, the network element is determined to be an open circuit.
  15. 一种链路故障诊断装置,包括存储器和处理器,其中,A link fault diagnosis device includes a memory and a processor, wherein
    所述处理器被配置为执行所述存储器中的程序指令,所述程序指令在被所述处理器读取并执行时执行以下操作:The processor is configured to execute program instructions in the memory, the program instructions, when being read and executed by the processor, to:
    在接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路;Receiving the reported communication line (LOC) alarm, decomposing the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link;
    对分解获得的每一个网元和每一条单位链路分别进行通路检测;Perform path detection for each network element and each unit link obtained by the decomposition;
    根据所有网元和单位链路的通路检测结果生成故障诊断结果,Generate fault diagnosis results based on the path detection results of all network elements and unit links.
    其中,所述单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。The unit link is formed by a line between a network node interface (NNI) of an outbound port of a network element in an adjacent two network elements and an NNI of an ingress port of an east direction network element.
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述处理器执行所述计算机可执行指令时,进行如下操作:A computer readable storage medium storing computer executable instructions, and when the processor executes the computer executable instructions, performing the following operations:
    在接收到上报的通信线路(LOC)告警的情况下,将LOC告警涉及的连接网络分解为对应的至少两个网元和至少一条单位链路;Receiving the reported communication line (LOC) alarm, decomposing the connection network involved in the LOC alarm into corresponding at least two network elements and at least one unit link;
    对分解获得的每一个网元和每一条单位链路分别进行通路检测;Perform path detection for each network element and each unit link obtained by the decomposition;
    根据所有网元和单位链路的通路检测结果生成故障诊断结果,Generate fault diagnosis results based on the path detection results of all network elements and unit links.
    其中,所述单位链路由相邻的两个网元中西向网元的出端口的网络节点接口(NNI)到东向网元的入端口的NNI之间的线路构成。The unit link is formed by a line between a network node interface (NNI) of an outbound port of a network element in an adjacent two network elements and an NNI of an ingress port of an east direction network element.
PCT/CN2018/072836 2017-02-13 2018-01-16 Method and device for link failure diagnosis WO2018145560A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710075976.9A CN108429625B (en) 2017-02-13 2017-02-13 Method and device for realizing fault diagnosis
CN201710075976.9 2017-02-13

Publications (1)

Publication Number Publication Date
WO2018145560A1 true WO2018145560A1 (en) 2018-08-16

Family

ID=63107941

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/072836 WO2018145560A1 (en) 2017-02-13 2018-01-16 Method and device for link failure diagnosis

Country Status (2)

Country Link
CN (1) CN108429625B (en)
WO (1) WO2018145560A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110943864A (en) * 2019-11-29 2020-03-31 北京金山云网络技术有限公司 Network anomaly positioning method and device of distributed storage system
CN112804122A (en) * 2021-01-12 2021-05-14 昆高新芯微电子(江苏)有限公司 Message link fault diagnosis method and device and computer readable storage medium
CN114567542A (en) * 2022-02-16 2022-05-31 烽火通信科技股份有限公司 Hard pipeline special line hop-by-hop service detection method, device, equipment and storage medium
CN114866398A (en) * 2022-03-24 2022-08-05 阿里巴巴(中国)有限公司 Network fault diagnosis method and device
CN115361312A (en) * 2022-10-21 2022-11-18 之江实验室 Link flow based method and device for monitoring link state between ring network nodes

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452564B (en) * 2021-06-29 2023-03-24 杭州迪普科技股份有限公司 Fault diagnosis method and device based on ACL
CN115834436B (en) * 2022-11-24 2024-05-03 中国联合网络通信集团有限公司 Network connectivity detection method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885789A (en) * 2005-06-23 2006-12-27 华为技术有限公司 Channel failure handling method in ASON
CN101986604A (en) * 2010-10-29 2011-03-16 中兴通讯股份有限公司 Link fault positioning method and system of packet transport network (PTN)
US20110305136A1 (en) * 2010-06-10 2011-12-15 Ping Pan Activation signaling in transport networks
CN105490932A (en) * 2014-09-19 2016-04-13 中兴通讯股份有限公司 Two-way forwarding detection method, device and system
CN105634857A (en) * 2014-11-26 2016-06-01 中兴通讯股份有限公司 Link connectivity detecting method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100440817C (en) * 2006-03-20 2008-12-03 中兴通讯股份有限公司 Method for detecting single-channel fault of ring-type network
CN101989934B (en) * 2009-08-06 2017-04-05 中兴通讯股份有限公司 A kind of data ring network fault detect and the method and system of positioning
US11132277B2 (en) * 2012-12-28 2021-09-28 Iii Holdings 2, Llc System and method for continuous low-overhead monitoring of distributed applications running on a cluster of data processing nodes
CN103220201B (en) * 2013-04-24 2016-08-17 杭州华三通信技术有限公司 A kind of method and device of detection and protection of ring network faults
CN104796298B (en) * 2014-01-22 2019-06-07 新华三技术有限公司 A kind of method and device of SDN network accident analysis

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885789A (en) * 2005-06-23 2006-12-27 华为技术有限公司 Channel failure handling method in ASON
US20110305136A1 (en) * 2010-06-10 2011-12-15 Ping Pan Activation signaling in transport networks
CN101986604A (en) * 2010-10-29 2011-03-16 中兴通讯股份有限公司 Link fault positioning method and system of packet transport network (PTN)
CN105490932A (en) * 2014-09-19 2016-04-13 中兴通讯股份有限公司 Two-way forwarding detection method, device and system
CN105634857A (en) * 2014-11-26 2016-06-01 中兴通讯股份有限公司 Link connectivity detecting method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110943864A (en) * 2019-11-29 2020-03-31 北京金山云网络技术有限公司 Network anomaly positioning method and device of distributed storage system
CN110943864B (en) * 2019-11-29 2023-04-07 北京金山云网络技术有限公司 Network anomaly positioning method and device of distributed storage system
CN112804122A (en) * 2021-01-12 2021-05-14 昆高新芯微电子(江苏)有限公司 Message link fault diagnosis method and device and computer readable storage medium
CN112804122B (en) * 2021-01-12 2022-07-22 昆高新芯微电子(江苏)有限公司 Message link fault diagnosis method and device and computer readable storage medium
CN114567542A (en) * 2022-02-16 2022-05-31 烽火通信科技股份有限公司 Hard pipeline special line hop-by-hop service detection method, device, equipment and storage medium
CN114567542B (en) * 2022-02-16 2023-09-15 烽火通信科技股份有限公司 Hard pipeline private line hop-by-hop service detection method, device, equipment and storage medium
CN114866398A (en) * 2022-03-24 2022-08-05 阿里巴巴(中国)有限公司 Network fault diagnosis method and device
CN114866398B (en) * 2022-03-24 2024-01-09 阿里巴巴(中国)有限公司 Network fault diagnosis method and device
CN115361312A (en) * 2022-10-21 2022-11-18 之江实验室 Link flow based method and device for monitoring link state between ring network nodes
CN115361312B (en) * 2022-10-21 2023-01-24 之江实验室 Link flow based method and device for monitoring link state between ring network nodes
WO2024082471A1 (en) * 2022-10-21 2024-04-25 之江实验室 Inter-node link status monitoring method and apparatus

Also Published As

Publication number Publication date
CN108429625A (en) 2018-08-21
CN108429625B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
WO2018145560A1 (en) Method and device for link failure diagnosis
US7869376B2 (en) Communicating an operational state of a transport service
US10257019B2 (en) Link aggregation split-brain detection and recovery
EP3188409B1 (en) Oam mechanisms for evpn active-active services
US7995483B1 (en) Simultaneously testing connectivity to multiple remote maintenance endpoints of the same maintenance association
US8982710B2 (en) Ethernet operation and maintenance (OAM) with flexible forwarding
US8213296B2 (en) Link aggregation protection
US9088496B2 (en) Packet tracing through control and data plane operations
EP3301861A1 (en) Evpn designated forwarder state propagation to customer edge devices using connectivity fault management
US8289839B2 (en) Scaling BFD sessions for neighbors using physical / sub-interface relationships
JP5913635B2 (en) Redundant network connection
US8774010B2 (en) System and method for providing proactive fault monitoring in a network environment
US20150326469A1 (en) Oam aided explicit path report via igp
US8036106B1 (en) Distributed control packet transmission
WO2021018309A1 (en) Method, device and system for determination of message transmission path, and computer storage medium
US10778505B2 (en) System and method of evaluating network asserts
WO2017036180A1 (en) Packet processing method and device
US8670299B1 (en) Enhanced service status detection and fault isolation within layer two networks
US20140092725A1 (en) Method and first network node for managing an ethernet network
US8570877B1 (en) Preparing for planned events in computer networks
US8144574B1 (en) Distributed control packet processing
US10587488B2 (en) Performance monitoring support for CFM over EVPN
US8614958B2 (en) Systems and methods of snooping connectivity fault messages to configure maintenance end point for alarm suppression messages
RU2016118682A (en) METHOD AND SYSTEM OF CROSS-DOMAIN RESERVATION OF VIRTUAL PRIVATE LOCAL NETWORK (VChLS)
Senevirathne et al. Requirements for Operations, Administration, and Maintenance (OAM) in Transparent Interconnection of Lots of Links (TRILL)

Legal Events

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

Ref document number: 18751303

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18751303

Country of ref document: EP

Kind code of ref document: A1