CN114172798A - BIER network fault detection method, device, equipment and readable storage medium - Google Patents

BIER network fault detection method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN114172798A
CN114172798A CN202111315329.3A CN202111315329A CN114172798A CN 114172798 A CN114172798 A CN 114172798A CN 202111315329 A CN202111315329 A CN 202111315329A CN 114172798 A CN114172798 A CN 114172798A
Authority
CN
China
Prior art keywords
bfir
bfer
bier
bfd
descriptor
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202111315329.3A
Other languages
Chinese (zh)
Other versions
CN114172798B (en
Inventor
张峰
李顺喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202111315329.3A priority Critical patent/CN114172798B/en
Publication of CN114172798A publication Critical patent/CN114172798A/en
Application granted granted Critical
Publication of CN114172798B publication Critical patent/CN114172798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0695Management of faults, events, alarms or notifications the faulty arrangement being the maintenance, administration or management system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Abstract

The invention provides a BIER network fault detection method, a BIER network fault detection device, BIER network fault detection equipment and a readable storage medium. The method comprises the following steps: establishing a Bidirectional Forwarding Detection (BFD) session between a Bit Forwarding Inlet Router (BFIR) and a bit forwarding outlet router (BFER) based on the channel associated signaling; and when the BFIR or the BFER receives the BFD control message for N times continuously and overtime, determining that a fault exists in a current service transmission path from the BFIR to the BFER, wherein N is a positive integer greater than 1. The invention establishes the BFD session between the BFIR and the BFER, thereby determining whether the current service transmission path from the BFIR to the BFER has a fault or not based on whether the BFD session is normal or not, realizing the rapid detection of the service transmission path of the BIER network and enhancing the network robustness.

Description

BIER network fault detection method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a BIER network fault detection method, apparatus, device, and readable storage medium.
Background
The BIER (Bit Index Explicit Replication) is a novel multicast technology, can greatly reduce the protocol complexity and the intermediate state of the intermediate network, can more easily realize the transmission of multicast traffic in the intermediate network, does not need the intermediate network to record any multicast traffic state, and greatly simplifies the operation and maintenance of the network.
When communication between BFR (Bit Forwarding Router) nodes in the BIER network fails, the BIER packet may not be forwarded normally, thereby causing service interruption. However, in the prior art, no clear detection scheme has been proposed for how to detect the communication failure between the BFR nodes, and therefore, a method for detecting the communication failure between the BFR nodes is urgently needed.
Disclosure of Invention
In order to achieve the above purpose, the present invention provides a BIER network fault detection method, apparatus, device and readable storage medium.
In a first aspect, the present invention provides a BIER network fault detection method, where the BIER network fault detection method includes:
establishing a Bidirectional Forwarding Detection (BFD) session between a Bit Forwarding Inlet Router (BFIR) and a bit forwarding outlet router (BFER) based on the channel associated signaling;
and when the BFIR or the BFER receives the BFD control message for N times continuously and overtime, determining that a fault exists in a current service transmission path from the BFIR to the BFER, wherein N is a positive integer greater than 1.
Optionally, the step of establishing a bidirectional forwarding detection BFD session between the bit forwarding ingress router BFIR and the bit forwarding egress router BFER based on the associated signaling includes:
the bit forwarding entry router BFIR sends a BIER PING message containing a BFIR end bidirectional forwarding detection BFD descriptor to a bit forwarding exit router BFER;
the BFER acquires a BFIR end BFD descriptor from the BIER PING message;
feeding back the ECHO message to BFIR by BFER, wherein the ECHO message contains BFER end BFD descriptor;
BFIR obtains BFER end BFD descriptor from ECHO message;
after the BFIR has the local terminal BFD descriptor and the BFER terminal BFD descriptor, establishing a BFD session to the BFER;
the BFER sends a BIER PING message containing a BFER end BFD descriptor to the BFIR;
BFIR obtains BFER end BFD descriptor from the BIER PING message;
feeding back the ECHO message to a BFER by the BFIR, wherein the ECHO message contains a BFIR end BFD descriptor;
BFER acquires BFIR end BFD descriptor from ECHO message;
and after the BFER has the local terminal BFD descriptor and the BFIR terminal BFD descriptor, establishing a BFD session to the BFIR.
Optionally, the BIER network fault detection method includes:
after each node in the BIER network receives the BIER PING message or the ECHO message, whether the destination node of the BIER PING message or the ECHO message is the local node or whether TTL is less than or equal to 1 is detected;
and if the destination node of the BIER PING message or the ECHO message is the local node or the TTL is less than or equal to 1, extracting the BFD descriptor from the BIER PING message or the ECHO message.
Optionally, the BIER PING message is in TLV format, where the V field is used to store a BFIR end BFD descriptor.
Optionally, the V field is further used for storing a BIER subfield ID and a bit string at the BFIR end.
Optionally, after the step of determining that there is a failure in the current traffic transmission path from the BFIR to the BFER, the method further includes:
and sending a fault alarm to a network manager or an SDN controller.
Optionally, after the step of determining that there is a failure in the current traffic transmission path from the BFIR to the BFER, the method further includes:
and switching the BFIR to BFER traffic transmission path to a standby path.
In a second aspect, the present invention further provides a BIER network failure detection apparatus, where the BIER network failure detection apparatus includes:
the establishment module is used for establishing a Bidirectional Forwarding Detection (BFD) session between the bit forwarding inlet router BFIR and the bit forwarding outlet router BFER based on the channel associated signaling;
and the fault determining module is used for determining that a fault exists in the current service transmission path from the BFIR to the BFER when the BFIR or the BFER receives the BFD control message for N times continuously and overtime, wherein N is a positive integer larger than 1.
In a third aspect, the present invention further provides a BIER network failure detection device, where the BIER network failure detection device includes a processor, a memory, and a BIER network failure detection program stored on the memory and executable by the processor, where the BIER network failure detection program, when executed by the processor, implements the steps of the BIER network failure detection method described above.
In a fourth aspect, the present invention further provides a readable storage medium, where a BIER network failure detection program is stored, where the BIER network failure detection program, when executed by a processor, implements the steps of the BIER network failure detection method as described above.
In the invention, a Bidirectional Forwarding Detection (BFD) session between a Bit Forwarding Inlet Router (BFIR) and a bit forwarding outlet router (BFER) is established based on channel associated signaling; and when the BFIR or the BFER receives the BFD control message for N times continuously and overtime, determining that a fault exists in a current service transmission path from the BFIR to the BFER, wherein N is a positive integer greater than 1. The invention establishes the BFD session between the BFIR and the BFER, thereby determining whether the current service transmission path from the BFIR to the BFER has a fault or not based on whether the BFD session is normal or not, realizing the rapid detection of the service transmission path of the BIER network and enhancing the network robustness.
Drawings
Fig. 1 is a schematic hardware structure diagram of BIER network fault detection equipment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a BIER network failure detection method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating networking of a BIER network in one embodiment;
fig. 4 is a schematic functional module diagram of a BIER network failure detection apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In a first aspect, an embodiment of the present invention provides a BIER network failure detection device.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a BIER network fault detection device according to an embodiment of the present invention. In this embodiment of the present invention, the BIER network failure detection device may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WI-FI interface, WI-FI interface); the memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, a memory 1005, which is one type of computer storage medium in fig. 1, may include therein an operating system, a network communication module, a user interface module, and a BIER network failure detection program. The processor 1001 may call a BIER network failure detection program stored in the memory 1005, and execute the BIER network failure detection method provided by the embodiment of the present invention.
In a second aspect, an embodiment of the present invention provides a BIER network fault detection method.
In an embodiment, referring to fig. 2, fig. 2 is a flowchart illustrating an embodiment of a BIER network failure detection method according to the present invention. As shown in fig. 2, the BIER network failure detection method includes:
step S10, establishing a Bidirectional Forwarding Detection (BFD) session between a Bit Forwarding Inlet Router (BFIR) and a bit forwarding outlet router (BFER) based on the channel associated signaling;
in this embodiment, A Bidirectional Forwarding Detection (BFD) session between BFR-A and BFR-F is established by using BFR-A as A Bit Forwarding Ingress Router (BFIR) and using BFR-F as A Bit Forwarding Egress Router (BFER). If A BFD session between the BFR-A and the BFR-F needs to be established, the BFR-A needs to obtain A BFD descriptor of A BFR-F end (the BFD descriptor of the BFR-A end, and the BFR-A end has storage); correspondingly, the BFR-F needs to obtain the BFD descriptor of the BFR-A end (the BFD descriptor of the BFR-F end, the BFR-F local end has storage). And after both the BFR-A and the BFR-F have the BFD descriptors of the local terminal and the opposite terminal, establishing the BFD session between the BFR-A and the BFR-F based on A BFD session establishment mechanism. And the BFIR and the BFER acquire the BFD descriptor of the other party based on the channel associated signaling.
Further, in one embodiment, step S10 includes:
step S101, the BFIR sends a BIER PING message containing a BFIR end bidirectional forwarding detection BFD descriptor to a BFER exit router;
in this step, when the bit forwarding entry router BFIR sends a BIER PING message to the bit forwarding exit router BFER, the bidirectional forwarding detection BFD descriptor at the BFIR end is carried in the BIER PING message.
Further, in an embodiment, the BIER PING message is in TLV format, where the V field is used to store the BFIR end BFD descriptor.
In this embodiment, a new BIER PING message format, specifically, a TLV format, is proposed, where the V field is used to store a BFIR-side BFD descriptor.
Further, in one embodiment, the V field is also used to store the BIER subfield ID and bit string at the BFIR end.
In this embodiment, the V field is used to store the BIER subfield ID and the bit string of the BFIR terminal, in addition to the BFIR terminal BFD descriptor.
Step S102, BFER acquires BFIR end BFD descriptor from the BIER PING message;
in this step, after receiving the BIER PING message sent by the BFIR, the BFER can obtain the BFIR end BFD descriptor from the BIER PING message.
Step S103, feeding back the ECHO message to BFIR by BFER, wherein the ECHO message contains BFER end BFD descriptor;
in this step, after receiving the BIER PING message sent by the BFIR, the BFER feeds back the ECHO message to the BFIR, and the feedback ECHO message contains a BFD descriptor at the BFER end.
Step S104, BFIR obtains BFER end BFD descriptor from ECHO message;
in this step, after receiving the ECHO message fed back by the BFER, the BFIR may obtain the BFER end BFD descriptor from the ECHO message.
Step S105, after the BFIR has the local terminal BFD descriptor and the BFER terminal BFD descriptor, establishing a BFD session to the BFER;
in the step, the BFIR sends the local BFD descriptor to the BFER through a signaling message (BIER PING message) sending mode; after receiving the BIER PING message, the BFER router BFER acquires a BFIR end BFD descriptor from the BIER PING message, feeds back an ECHO message to the BFIR, and carries the BFER end BFD descriptor in the ECHO message, so that the BFIR acquires the BFER end BFD descriptor from the ECHO message; so far, both the BFIR and the BFER have the BFD descriptors of the home terminal and the peer terminal, i.e., the BFD session between the BFIR and the BFER can be established based on the BFD session establishment mechanism.
Step S106, the BFER sends a BIER PING message containing a BFER end BFD descriptor to the BFIR;
step S107, BFIR obtains BFER end BFD descriptor from the BIERPING message;
step S108, feeding back the ECHO message to a BFER by the BFIR, wherein the ECHO message contains a BFIR end BFD descriptor;
step S109, BFER acquires BFIR end BFD descriptor from ECHO message;
step S110, after the BFER has the local BFD descriptor and the BFIR terminal BFD descriptor, a BFD session to the BFIR is established.
The specific embodiment of steps S106 to S110 is substantially the same as the embodiment of steps S101 to S105, and is not repeated herein.
In this embodiment, after both the BFIR and the BFER have the BFD descriptors of the home terminal and the peer terminal, a BFD session from the BFIR to the BFER may be established based on the BFD session establishment mechanism. Based on a conventional BFD session establishment mechanism, the BFIR and the BFER match BFD descriptors through parameters (a session identifier, an expected minimum time interval of message receiving and sending, a local-end BFD session state and the like) carried in a BFD control message, negotiate a timer packet sending frequency and the like, and when the BFD session state is from DOWN → INIT → UP through three-time handshake, the BFD session is successfully established; the BFIR then periodically sends BFD control messages to the BFER along the path between them.
And step S20, when BFIR or BFER receives BFD control message overtime for N times continuously, determining that the current service transmission path from BFIR to BFER has fault, wherein N is a positive integer greater than 1.
In this embodiment, after a bidirectional forwarding detection BFD session between the bit forwarding ingress router BFIR and the bit forwarding egress router BFER is established, the BFIR and the BFER may periodically send BFD control messages along a service transmission path therebetween, and when any one of the two parties does not receive a BFD control message within a predetermined time (that is, when any one of the two parties receives a BFD control message overtime), it is indicated that a problem occurs in transmission of the BFD control messages. It is easy to understand that if a certain time of receiving the BFD control message is overtime, such a situation is occasional, and in order to more accurately judge whether the service transmission path has a fault, it is only determined that the current service transmission path from the BFIR to the BFER has a fault when the BFIR or the BFER receives the BFD control message overtime N times consecutively. Wherein, N is a positive integer greater than 1, and the specific numerical value of N can be set according to the actual situation.
In the embodiment, a Bidirectional Forwarding Detection (BFD) session between a Bit Forwarding Inlet Router (BFIR) and a bit forwarding outlet router (BFER) is established based on channel associated signaling; and when the BFIR or the BFER receives the BFD control message for N times continuously and overtime, determining that a fault exists in a current service transmission path from the BFIR to the BFER, wherein N is a positive integer greater than 1. By the embodiment, the BFD session between the BFIR and the BFER is established, so that whether a fault exists in the current service transmission path from the BFIR to the BFER is determined based on whether the BFD session is normal or not, the rapid detection of the service transmission path of the BIER network is realized, and the network robustness is enhanced.
Further, in an embodiment, after step S20, the method further includes:
and switching the BFIR to BFER traffic transmission path to a standby path.
In this embodiment, A BFR- A is used as A bit forwarding ingress router BFIR, A BFR-F is used as A bit forwarding egress router BFER, and two service transmission paths exist from BFR- A to BFR-F, which are respectively:
service transmission path 1: BFR-A → BFR-B → BFR-E → BFR-F;
service transmission path 2: BFR-A → BFR-B → BFR-C → BFR-F;
if the current service transmission path is the service transmission path 1 and when the current service transmission path is determined to have a fault, the service transmission path from the BFIR to the BFER is switched to a standby path, namely the service transmission path 2. It is easy to understand that if the current traffic transmission path is the traffic transmission path 2, the backup path is the traffic transmission path 1.
In this embodiment, when detecting that there is a failure in the current service transmission path from the BFIR to the BFER based on the BFD session, protection switching is performed, that is, the service transmission path from the BFIR to the BFER is switched, so that the reliability of the service is improved.
Further, in an embodiment, after step S20, the method further includes:
and sending a fault alarm to a network manager or an SDN controller.
In this embodiment, when detecting that a fault exists in a current service transmission path from the BFIR to the BFER based on the BFD session, a fault alarm is sent to the network management or the SDN controller, so that the network management or the SDN controller processes the fault.
Further, in an embodiment, the BIER network failure detection method includes:
after each node in the BIER network receives the BIER PING message or the ECHO message, whether the destination node of the BIER PING message or the ECHO message is the local node or whether TTL is less than or equal to 1 is detected; and if the destination node of the BIER PING message or the ECHO message is the local node or the TTL is less than or equal to 1, extracting the BFD descriptor from the BIER PING message or the ECHO message.
In this embodiment, after each node (including BFIR, BFER and other nodes therebetween) in the BIER network receives a BIER PING message or an ECHO message, it detects whether a destination node of the BIER PING message or the ECHO message is a local node or whether TTL is less than or equal to 1; if the destination node of the BIER PING message or the ECHO message is the local node or the TTL is less than or equal to 1, extracting a BFD descriptor from the BIER PING message or the ECHO message; and if the destination node of the BIER PING message or the ECHO message is not the local node or the TTL is more than 1, continuing to forward the BIER PING message or the ECHO message according to the forwarding table.
Further, in an embodiment, referring to fig. 3, fig. 3 is a schematic networking diagram of a BIER network in an embodiment. As shown in fig. 3, BFR- A is A bit forwarding ingress router BFIR, and BFR-F is A bit forwarding egress router BFER, and the process of establishing A BFD session between BFR- A and BFR-F is as follows:
A BFD session management module of the BFR-A inquires A BIER service management module to obtain related information of the BFR-F, wherein the related information comprises A BFR-ID, A forwarding Bit mask F-BM (forwarding Bit mask), A Bit string BitString and the like, and informs an OAM module of the BFR-A to package A BIER PING message, the BIER PING message carries the related information of the BFR-F and A descriptor (such as 1000) of the BFR-A, and the BIER PING message is sent at regular time;
A service forwarding module of BFR-A receives A BIER PING message encapsulated by an OAM module, analyzes A BIER head to obtain A BFR-ID, checks the BFR-ID non-local node, queries A BIER forwarding table, queries the next BFR-B and outlet information, and continues to forward the message;
a service forwarding module of BFR-B receives the BIER PING message, analyzes the BIER head to obtain BFR-ID, checks the BFR-ID non-local node, queries a BIER forwarding table to obtain the next BFR-E and the outlet information, and continuously forwards the message;
a service forwarding module of BFR-E receives the BIER PING message, analyzes the BIER head to obtain BFR-ID, checks the BFR-ID non-local node, queries a BIER forwarding table, queries the next BFR-F and outlet information, and continues to forward the message;
a service forwarding module of the BFR-F receives the BIER PING message, analyzes the BIER head to obtain a BFR-ID, and sends the message to an OAM module of the BFR-F when the BFR-ID is checked as a local station node;
the OAM module of the BFR-F receives the BIER PING message, checks BFR-ID, labels and the like, if the checking is successful, the BFR-ID and F-BM of A BIER PING message source station are used as keys, and the descriptor 1000 of the BFR-A is notified to A BFD session management module of the BFR-F;
A BFD session management module of the BFR-F obtains A descriptor 1000 of the BFR-A and initiates the establishment of A unique BFD session to the BFR-A;
after A BFD session management module of the BFR-F obtains A descriptor 1000 of the BFR-A, the BFR-A related information is inquired and obtained from A BIER service management module, the related information comprises A BFR-ID, A forwarding Bit mask F-BM (forwarding Bit mask), A Bit string BitString and the like, and an OAM module of the BFR-F is informed to encapsulate an ECHO message, wherein the ECHO message carries the related information of the BFR-A and the descriptor of the BFR-F (for example, 2000);
a service forwarding module of BFR-E receives the ECHO message, analyzes the BIER head to obtain BFR-ID, checks the BFR-ID non-local node, queries the BIER forwarding table to obtain the next BFR-B and the outlet information, and continuously forwards the message;
A service forwarding module of BFR-B receives the ECHO message, analyzes the BIER head to obtain BFR-ID, checks the BFR-ID non-local node, queries the BIER forwarding table to obtain the next BFR-A and the outlet information, and continuously forwards the message;
the service forwarding module of BFR-A receives the ECHO message, analyzes the BIER head to obtain BFR-ID, and sends the message to the OAM module of BFR-A when checking the BFR-ID as the local node;
the OAM module of BFR-A receives the ECHO message, checks BFR-ID, label, etc., if the check is successful, the BFR-ID, F-BM of the source station of the ECHO message is used as key, and the descriptor 2000 of BFR-F is notified to the BFD session management module of BFR-A;
the BFD session management module of BFR-A obtains the descriptor 2000 of BFR-F and initiates the establishment of A unique BFD session to BFR-F;
by this point, A BFD session of BFR-A to BFR-F is established.
As shown in FIG. 3, the current traffic transmission path between BFR-A and BFR-F is BFR-A → BFR-B → BFR-E → BFR-F; if the fault of the service transmission path is detected according to the established BFD session, the service transmission path is switched to BFR-A → BFR-B → BFR-C → BFR-F, thereby ensuring the normal transmission of the service.
In a third aspect, an embodiment of the present invention further provides a BIER network fault detection apparatus.
In an embodiment, referring to fig. 4, fig. 4 is a functional module schematic diagram of an embodiment of a BIER network failure detection apparatus according to the present invention. As shown in fig. 4, the BIER network failure detection apparatus includes:
an establishing module 10, configured to establish a bidirectional forwarding detection BFD session between a bit forwarding ingress router BFIR and a bit forwarding egress router BFER based on a channel associated signaling;
and a failure determining module 20, configured to determine that a failure exists in a current service transmission path from the BFIR to the BFER when the BFIR or the BFER receives the BFD control packet for N consecutive times and times is overtime, where N is a positive integer greater than 1.
Further, in an embodiment, the establishing module 10 is configured to:
the bit forwarding entry router BFIR sends a BIER PING message containing a BFIR end bidirectional forwarding detection BFD descriptor to a bit forwarding exit router BFER;
the BFER acquires a BFIR end BFD descriptor from the BIER PING message;
feeding back the ECHO message to BFIR by BFER, wherein the ECHO message contains BFER end BFD descriptor;
BFIR obtains BFER end BFD descriptor from ECHO message;
after the BFIR has the local terminal BFD descriptor and the BFER terminal BFD descriptor, establishing a BFD session to the BFER;
the BFER sends a BIER PING message containing a BFER end BFD descriptor to the BFIR;
BFIR obtains BFER end BFD descriptor from the BIER PING message;
feeding back the ECHO message to a BFER by the BFIR, wherein the ECHO message contains a BFIR end BFD descriptor;
BFER acquires BFIR end BFD descriptor from ECHO message;
and after the BFER has the local terminal BFD descriptor and the BFIR terminal BFD descriptor, establishing a BFD session to the BFIR.
Further, in an embodiment, the BIER network failure detection apparatus includes a forwarding module, configured to:
after each node in the BIER network receives the BIER PING message or the ECHO message, whether the destination node of the BIER PING message or the ECHO message is the local node or whether TTL is less than or equal to 1 is detected;
and if the destination node of the BIER PING message or the ECHO message is the local node or the TTL is less than or equal to 1, extracting the BFD descriptor from the BIER PING message or the ECHO message.
Further, in an embodiment, the BIER PING message is in TLV format, where the V field is used to store the BFIR end BFD descriptor.
Further, in one embodiment, the V field is also used to store the BIER subfield ID and the bit string at the BFIR end.
Further, in an embodiment, the BIER network failure detection apparatus further includes an alarm module, configured to:
and sending a fault alarm to a network manager or an SDN controller.
Further, in an embodiment, the BIER network failure detection apparatus further includes:
and the path switching module is used for switching the service transmission path from the BFIR to the BFER to a standby path.
The function implementation of each module in the BIER network fault detection apparatus corresponds to each step in the BIER network fault detection method embodiment, and the function and implementation process thereof are not described in detail here.
In a fourth aspect, the embodiment of the present invention further provides a readable storage medium.
The readable storage medium of the present invention stores a BIER network failure detection program, wherein when the BIER network failure detection program is executed by a processor, the steps of the BIER network failure detection method are implemented.
The method implemented when the BIER network fault detection program is executed may refer to each embodiment of the BIER network fault detection method of the present invention, and details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a terminal device to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A BIER network fault detection method is characterized by comprising the following steps:
establishing a Bidirectional Forwarding Detection (BFD) session between a Bit Forwarding Inlet Router (BFIR) and a bit forwarding outlet router (BFER) based on the channel associated signaling;
and when the BFIR or the BFER receives the BFD control message for N times continuously and overtime, determining that a fault exists in a current service transmission path from the BFIR to the BFER, wherein N is a positive integer greater than 1.
2. The BIER network failure detection method according to claim 1, wherein the step of establishing a bidirectional forwarding detection, BFD, session between a bit forwarding ingress router, BFIR, and a bit forwarding egress router, BFER, based on-path signaling comprises:
the bit forwarding entry router BFIR sends a BIER PING message containing a BFIR end bidirectional forwarding detection BFD descriptor to a bit forwarding exit router BFER;
the BFER acquires a BFIR end BFD descriptor from the BIER PING message;
feeding back the ECHO message to BFIR by BFER, wherein the ECHO message contains BFER end BFD descriptor;
BFIR obtains BFER end BFD descriptor from ECHO message;
after the BFIR has the local terminal BFD descriptor and the BFER terminal BFD descriptor, establishing a BFD session to the BFER;
the BFER sends a BIER PING message containing a BFER end BFD descriptor to the BFIR;
BFIR obtains BFER end BFD descriptor from the BIER PING message;
feeding back the ECHO message to a BFER by the BFIR, wherein the ECHO message contains a BFIR end BFD descriptor;
BFER acquires BFIR end BFD descriptor from ECHO message;
and after the BFER has the local terminal BFD descriptor and the BFIR terminal BFD descriptor, establishing a BFD session to the BFIR.
3. The BIER network failure detection method according to claim 2, wherein the BIER network failure detection method comprises:
after each node in the BIER network receives the BIER PING message or the ECHO message, whether the destination node of the BIER PING message or the ECHO message is the local node or whether TTL is less than or equal to 1 is detected;
and if the destination node of the BIER PING message or the ECHO message is the local node or the TTL is less than or equal to 1, extracting the BFD descriptor from the BIER PING message or the ECHO message.
4. The BIER network failure detection method of claim 2, wherein the BIER PING message is in TLV format, wherein the V field is used for storing BFIR end BFD descriptor.
5. The BIER network failure detection method according to claim 4, wherein said V field is further used for storing BIER sub-field ID of BFIR terminal and bit string.
6. The BIER network failure detection method according to any of claims 1 to 5, wherein after the step of determining that there is a failure in the current traffic transmission path from BFIR to BFER, further comprising:
and sending a fault alarm to a network manager or an SDN controller.
7. The BIER network failure detection method according to any of claims 1 to 5, wherein after the step of determining that there is a failure in the current traffic transmission path from BFIR to BFER, further comprising:
and switching the BFIR to BFER traffic transmission path to a standby path.
8. A BIER network failure detection apparatus, comprising:
the establishment module is used for establishing a Bidirectional Forwarding Detection (BFD) session between the bit forwarding inlet router BFIR and the bit forwarding outlet router BFER based on the channel associated signaling;
and the fault determining module is used for determining that a fault exists in the current service transmission path from the BFIR to the BFER when the BFIR or the BFER receives the BFD control message for N times continuously and overtime, wherein N is a positive integer larger than 1.
9. A BIER network failure detection device, characterized in that the BIER network failure detection device comprises a processor, a memory, and a BIER network failure detection program stored on the memory and executable by the processor, wherein the BIER network failure detection program, when executed by the processor, implements the steps of the BIER network failure detection method according to any of claims 1 to 7.
10. A readable storage medium having a BIER network failure detection program stored thereon, wherein the BIER network failure detection program, when executed by a processor, implements the steps of the BIER network failure detection method according to any of claims 1-7.
CN202111315329.3A 2021-11-08 2021-11-08 BIER network fault detection method, device, equipment and readable storage medium Active CN114172798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111315329.3A CN114172798B (en) 2021-11-08 2021-11-08 BIER network fault detection method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111315329.3A CN114172798B (en) 2021-11-08 2021-11-08 BIER network fault detection method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114172798A true CN114172798A (en) 2022-03-11
CN114172798B CN114172798B (en) 2023-10-24

Family

ID=80478517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111315329.3A Active CN114172798B (en) 2021-11-08 2021-11-08 BIER network fault detection method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114172798B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023206165A1 (en) * 2022-04-27 2023-11-02 华为技术有限公司 Multicast data message sending method and apparatus, and device and storage medium
WO2024022115A1 (en) * 2022-07-29 2024-02-01 中兴通讯股份有限公司 Method and apparatus for implementing bfd in bier network, and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080247324A1 (en) * 2007-04-06 2008-10-09 Nadeau Thomas D Detection of specific bfd path failures
CN101447900A (en) * 2008-12-15 2009-06-03 华为技术有限公司 Method, system and device for building bidirectional forwarding detection
CN101697626A (en) * 2009-10-30 2010-04-21 中兴通讯股份有限公司 Communication fault detection method and system based on two-way forwarding detection protocol
CN102918807A (en) * 2012-07-12 2013-02-06 华为技术有限公司 Method and routing equipment for bfd session establishment
CN104270309A (en) * 2014-09-09 2015-01-07 烽火通信科技股份有限公司 Method for achieving multi-hop BFD under IP RAN equipment
US20160050102A1 (en) * 2014-08-12 2016-02-18 Dell Products L.P. Mechanism for rapid network failure detection for faster switch-over in server-to-server applications
WO2017000438A1 (en) * 2015-06-29 2017-01-05 中兴通讯股份有限公司 Method and apparatus for improving service detection reliability in a switched network link
CN107135151A (en) * 2016-02-26 2017-09-05 中兴通讯股份有限公司 File transmitting method and device
CN107147508A (en) * 2016-03-01 2017-09-08 中兴通讯股份有限公司 Fault detection method and device
US10243781B1 (en) * 2017-07-05 2019-03-26 Juniper Networks, Inc. Detecting link faults in network paths that include link aggregation groups (LAGs)
WO2019114437A1 (en) * 2017-12-13 2019-06-20 南京中兴新软件有限责任公司 Bier-te network detection method, device, and system
CN111277495A (en) * 2020-01-22 2020-06-12 南京邮电大学 Method for presetting fault protection path of bit index display copy multicast
CN111614556A (en) * 2019-02-26 2020-09-01 中兴通讯股份有限公司 BIER-based bidirectional forwarding detection session creation method and related equipment
CN111934944A (en) * 2014-12-30 2020-11-13 华为技术有限公司 Bit forwarding entry router, bit forwarding router and operation management maintenance detection method

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080247324A1 (en) * 2007-04-06 2008-10-09 Nadeau Thomas D Detection of specific bfd path failures
CN101447900A (en) * 2008-12-15 2009-06-03 华为技术有限公司 Method, system and device for building bidirectional forwarding detection
WO2010069175A1 (en) * 2008-12-15 2010-06-24 华为技术有限公司 Method, system and equipment for establishing bidirectional forwarding detection
CN101697626A (en) * 2009-10-30 2010-04-21 中兴通讯股份有限公司 Communication fault detection method and system based on two-way forwarding detection protocol
CN102918807A (en) * 2012-07-12 2013-02-06 华为技术有限公司 Method and routing equipment for bfd session establishment
US20160050102A1 (en) * 2014-08-12 2016-02-18 Dell Products L.P. Mechanism for rapid network failure detection for faster switch-over in server-to-server applications
CN104270309A (en) * 2014-09-09 2015-01-07 烽火通信科技股份有限公司 Method for achieving multi-hop BFD under IP RAN equipment
CN111934944A (en) * 2014-12-30 2020-11-13 华为技术有限公司 Bit forwarding entry router, bit forwarding router and operation management maintenance detection method
WO2017000438A1 (en) * 2015-06-29 2017-01-05 中兴通讯股份有限公司 Method and apparatus for improving service detection reliability in a switched network link
CN107135151A (en) * 2016-02-26 2017-09-05 中兴通讯股份有限公司 File transmitting method and device
WO2017148139A1 (en) * 2016-03-01 2017-09-08 中兴通讯股份有限公司 Fault detection method and device
CN107147508A (en) * 2016-03-01 2017-09-08 中兴通讯股份有限公司 Fault detection method and device
US10243781B1 (en) * 2017-07-05 2019-03-26 Juniper Networks, Inc. Detecting link faults in network paths that include link aggregation groups (LAGs)
WO2019114437A1 (en) * 2017-12-13 2019-06-20 南京中兴新软件有限责任公司 Bier-te network detection method, device, and system
CN111614556A (en) * 2019-02-26 2020-09-01 中兴通讯股份有限公司 BIER-based bidirectional forwarding detection session creation method and related equipment
WO2020173340A1 (en) * 2019-02-26 2020-09-03 中兴通讯股份有限公司 Bier-based bidirectional forwarding detection session creation method, bfir, bfer, system, and storage medium
CN111277495A (en) * 2020-01-22 2020-06-12 南京邮电大学 Method for presetting fault protection path of bit index display copy multicast

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李铭超;何岩;: "基于BFD的IPRAN路由器快速切换功能", 计算机与现代化, no. 02 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023206165A1 (en) * 2022-04-27 2023-11-02 华为技术有限公司 Multicast data message sending method and apparatus, and device and storage medium
WO2024022115A1 (en) * 2022-07-29 2024-02-01 中兴通讯股份有限公司 Method and apparatus for implementing bfd in bier network, and storage medium

Also Published As

Publication number Publication date
CN114172798B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
US7742400B2 (en) Method and system for detecting link failure between nodes in a hybrid network
CN114172798A (en) BIER network fault detection method, device, equipment and readable storage medium
EP2725742B1 (en) Method and device for processing location information about fault point
US9948434B2 (en) Method for bit error rate detection, and network device
WO2008148334A1 (en) Method, system and apparatus thereof for detecting abnormal receipt of message
CN104869057A (en) OpeFlow switch graceful restart processing method, device and OpeFlow controller
EP2472802B1 (en) Method for establishing label switching path in fast rerouting switching
KR20100093389A (en) Apparatus and method for managementing path between nodes in mobile communication system
WO2009055995A1 (en) Maintaining method for automatic switched optical network system when operation engenders alarm
CN101909006A (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN111327527B (en) Flow forwarding method and system, SDN controller and computer readable storage medium
US7860090B2 (en) Method for processing LMP packets, LMP packet processing unit and LMP packet processing node
CN108259442B (en) Slow protocol message processing method and related device
CN112468357A (en) IPsec tunnel connectivity rapid detection method, detection system and storage medium
WO2009018787A1 (en) A method and apparatus for verifying network configuration information
CN113132223A (en) Fault detection method and equipment
CN108123875B (en) Bidirectional forwarding detection method and device
CN103248508A (en) Port protecting method, device and system
CN111294358B (en) Message processing method and device
CN101645840B (en) Method, system and routing equipment for retransmitting message
US20200145326A1 (en) Path data deletion method, message forwarding method, and apparatus
US7330437B1 (en) Checking connectivity for point-to-multipoint connections
KR100585724B1 (en) Method for notifying network state of general packet radio service system
CN112737949A (en) Fault detection method and device, electronic equipment and computer readable medium
CN105553864B (en) Method and device for reducing message quantity in LMP

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant