Bier fast reroute framework

By constructing an enhanced bit index forwarding table (BIFTe) and combining it with IP loop-free backup and a link-state database, the problem of packet instability caused by network node or link failures in the BIER domain is solved, achieving stability and efficiency of fast rerouting.

CN117652130BActive Publication Date: 2026-11-27HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280047488.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-07-06
Filing Date
2022-07-06
Publication Date
2026-11-27
Estimated Expiration
2042-07-06

AI Technical Summary

Technical Problem

The existing BIER domain lacks a Fast Rerouting (FRR) protection mechanism, which cannot effectively cope with network node or link failures, resulting in unstable packet routing.

Method used

By constructing an enhanced bit index forwarding table (BIFTe), utilizing Internet Protocol (IP) loop-free backup (LFA) and link-state database (LSDB) to calculate backup paths, fast rerouting is achieved, enhancing the fault recovery capability of the BIER domain.

Benefits of technology

It improves the speed and stability of packet routing within the BIER domain, and can quickly redirect packets to avoid interruption when network nodes or links fail.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117652130B_ABST
    Figure CN117652130B_ABST
Patent Text Reader

Abstract

A method implemented by a network node in a BIER domain includes: a control plane of the network node obtaining an IP LFA from a FIB or a RIB through a first interface; when the IP LFA belongs to an expected type, the control plane of the network node constructing a BIFTe using the IP LFA; the control plane of the network node accessing a BIER network topology in a LSDB through a second interface, calculating an LFA of the expected type, and constructing the BIFTe using the LFA when the IP LFA does not belong to the expected type; the control plane of the network node updating the BIFTe in a data plane of the network node through a third interface; and the data plane of the network node forwarding a BIER packet using the BIFTe to avoid a failure.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-referencing related applications

[0002] This patent application claims the benefit of U.S. Provisional Patent Application No. 63 / 218,810, filed July 6, 2021, entitled "Framework for BIER Fast ReRoute", the contents of which are incorporated herein by reference. Technical Field

[0003] This invention generally relates to the field of fast re-route (FRR) protection, and more particularly to FRR protection to prevent node failures in the Bit Index Explicit Replication (BIER) domain. Background Technology

[0004] The BIER mechanism optimizes the forwarding of multicast datagrams through BIER domains. BIER domains may not require explicit construction of the multicast distribution tree using protocols. Furthermore, BIER domains may not require intermediate nodes to maintain any stream state. BIER is detailed in the following literature: Request for Comments (RFC) 8279 of the Internet Engineering Task Force (IETF), entitled “Multicast Using BitIndex Explicit Replication (BIER)”, published by IJ. Wijnands et al. in November 2017. Summary of the Invention

[0005] The various aspects / executives disclosed herein provide an architecture for supporting BIER-FRR. Each architecture is used to construct a bit index forwarding table (BIFT) that has been enhanced for BIER-FRR. A BIFT enhanced for BIER-FRR is referred to as an enhanced BIFT, extended BIFT, or BIFTe. An enhanced BIFT or BIFTe provides fast rerouting in the event of network failures (e.g., network node or link failures). Therefore, packet routing within the BIER domain is improved.

[0006] The first aspect relates to a method implemented by a network node in a Bit Index Explicit Replication (BIER) domain. The method includes: the control plane of the network node obtaining an Internet Protocol (IP) loop-free alternate (LFA) from a forwarding information base (FIB) or a routing information base (RIB) via a first interface; when the IP LFA is of a desired type, the control plane of the network node constructs an enhanced bit index forwarding table (BIFTe) using the IP LFA; the control plane of the network node accesses the BIER network topology in a link state database (LSDB) via a second interface, calculates the LFA of the desired type, and constructs the BIFTe using the LFA when the IP LFA is not of the desired type; the control plane of the network node updates the BIFTe in the data plane of the network node via a third interface; and the data plane of the network node uses the BIFTe to forward BIER packets to avoid failures.

[0007] Optionally, according to any of the above aspects, in one implementation of said aspect, the network node includes a bit forwarding router (BFR) or a bit forwarding egress router (BFER).

[0008] Alternatively, according to any of the above aspects, in another implementation of said aspect, the fault includes a neighboring network node fault in the BIER domain.

[0009] Alternatively, according to any of the above aspects, in another implementation of said aspect, the IP-LFA is based on an IP network, and the LFA is based on the BIER network topology.

[0010] Alternatively, according to any of the above aspects, in another implementation of said aspect, the BIER message is forwarded to the backup network node neighbor of the network node using the BIFTe.

[0011] Alternatively, according to any of the above aspects, in another implementation of said aspect, the desired type includes a basic LFA or a topology-independent (TI) LFA.

[0012] The second aspect relates to a network node in a bit index explicit replication (BIER) domain. The network node includes: a memory storing instructions; and a processor coupled to the memory, wherein the processor executes the instructions to cause the network node to perform the following operations: the control plane of the network node obtains an Internet Protocol (IP) loop-free alternate (LFA) from a forwarding information base (FIB) or a routing information base (RIB) via a first interface; when the IP LFA is of the desired type, the control plane of the network node uses the IP LFA to construct an enhanced bit index forwarding table (BIFTe); the control plane of the network node accesses the BIER network topology in the link state database (LSDB) via a second interface, calculates the LFA of the desired type, and constructs the BIFTe using the LFA when the IP LFA is not of the desired type; the control plane of the network node updates the BIFTe in the data plane of the network node; and the data plane of the network node uses the BIFTe to forward BIER packets to avoid failures.

[0013] Optionally, according to any of the above aspects, in one implementation of said aspect, the network node includes a bit forwarding router (BFR) or a bit forwarding egress router (BFER).

[0014] Alternatively, according to any of the above aspects, in another implementation of said aspect, the fault includes a neighboring network node fault in the BIER domain.

[0015] Alternatively, according to any of the above aspects, in another implementation of said aspect, the fault includes a link fault in the BIER domain.

[0016] Alternatively, according to any of the above aspects, in another implementation of said aspect, the IP-LFA is based on an IP network, and the LFA is based on the BIER network topology.

[0017] Alternatively, according to any of the above aspects, in another implementation of said aspect, the BIER message is forwarded to the backup network node neighbor of the network node using the BIFTe.

[0018] Alternatively, according to any of the above aspects, in another implementation of said aspect, the desired type includes a basic LFA or a topology-independent (TI) LFA.

[0019] The third aspect relates to a method implemented by a controller in a Bit Index Explicit Replication (BIER) domain. The method includes: obtaining an Internet Protocol (IP) loop-free alternate (LFA) for a network node from a forwarding information base (FIB) or routing information base (RIB) via a first interface; constructing an enhanced bit index forwarding table (BIFTe) for the network node using the IP LFA when the IPLFA is of the desired type; accessing the BIER network topology in a link state database (LSDB) via a second interface, calculating the LFA of the desired type, and constructing the BIFTe for the network node using the LFA when the IPLFA is not of the desired type; and sending the BIFTe of the network node to the network node via a third interface.

[0020] Optionally, according to any of the above aspects, in one implementation of said aspect, the network node includes a bit forwarding router (BFR) or a bit forwarding egress router (BFER).

[0021] Alternatively, according to any of the foregoing aspects, in one implementation of said aspect, the method is performed for each network node in the BIER domain.

[0022] Alternatively, according to any of the above aspects, in another implementation of said aspect, the IP-LFA is based on an IP network, and the LFA is based on the BIER network topology.

[0023] Alternatively, according to any of the above aspects, in another implementation of said aspect, the desired type includes a basic LFA or a topology-independent (TI) LFA.

[0024] Alternatively, according to any of the above aspects, in another implementation of said aspect, the BIFTe is sent to the control plane of the network node in a message including a Type-Length-Value (TLV).

[0025] Optionally, according to any of the above aspects, in another implementation of said aspect, the TLV includes a protection type, the bit forwarding router neighbor (BFR-NBR) of the network node, and forwarding table entries for each bit forwarding egress router (BFER) for forwarding packets to prevent the BFR-NBR from failing, wherein the forwarding table entries include the BFR identifier (BFR-id) of the BFER, the forwarding bit mask (F-BM), the backup BFR-NBR (BBFR-NBR), the BBFR-NBR type (BN type), and the backup path when the BN type is TI-LFA.

[0026] Alternatively, according to any of the above aspects, in another implementation of the aspect, the protection type is 1 (1) to indicate node protection, and the forwarding table entry is used to forward the message to avoid failure of the BFR-NBR.

[0027] Alternatively, according to any of the above aspects, in another implementation of said aspect, the protection type is valued at 2 (2) to indicate link protection, and the forwarding table entry is used to forward the message to avoid failure of the link to the BFR-NBR.

[0028] Optionally, according to any of the above aspects, in another implementation of said aspect, the TLV includes a protection type and a forwarding table entry for each bit forwarding egress router (BFER), wherein the forwarding table entry includes the BFR identifier (BFR-id), forwarding bit mask (F-BM), BFR-NBR, backup forwarding bit mask (BF-BM), backup BFR-NBR (BBFR-NBR), BBFR-NBR type (BN type), and a backup path when the BN type is TI-LFA.

[0029] Optionally, according to any of the above aspects, in another implementation of the aspect, the value of the protection type is 1 (1) to indicate node protection, wherein the BFR-id of the BFER, the bitforwarding router neighbor (BFR-NBR) of the network node, the BF-BM, the BFR-NBR, the BN type and the backup path in the forwarding table entry are used to forward the message to avoid failure of the BFR-NBR.

[0030] Optionally, according to any of the above aspects, in another implementation of the aspect, the value of the protection type is 2 (2) to indicate link protection, wherein the BFR-id of the BFER, the bit forwarding router neighbor (BFR-NBR) of the network node (BFR-NBR), the BF-BM, the BFR-NBR, the BN type and the backup path in the forwarding table entry are used to forward packets to avoid link failure to the BFR-NBR.

[0031] The fourth aspect relates to a controller in a Bit Index Explicit Replication (BIER) domain. The controller includes: a memory storing instructions; and a processor coupled to the memory, wherein the processor executes the instructions to cause the controller to perform the following operations: obtain an Internet Protocol (IP) loop-free alternate (LFA) for a network node from a forwarding information base (FIB) or a routing information base (RIB) via a first interface; construct an enhanced bit index forwarding table (BIFTe) for the network node using the IP LFA when the IP LFA is of a desired type; access the BIER network topology in a link state database (LSDB) via a second interface, calculate the LFA of the desired type, and construct the BIFTe for the network node using the LFA when the IP LFA is not of the desired type; and send the BIFTe of the network node to the network node via a third interface.

[0032] Optionally, according to any of the above aspects, in one implementation of said aspect, the network node includes a bit forwarding router (BFR) or a bit forwarding egress router (BFER).

[0033] Alternatively, according to any of the foregoing aspects, in one implementation of said aspect, the method is performed for each network node in the BIER domain.

[0034] Alternatively, according to any of the above aspects, in another implementation of said aspect, the IP-LFA is based on an IP network, and the LFA is based on the BIER network topology.

[0035] Alternatively, according to any of the above aspects, in another implementation of said aspect, the desired type includes a basic LFA or a topology-independent (TI) LFA.

[0036] Alternatively, according to any of the above aspects, in another implementation of said aspect, the BIFTe is sent to the control plane of the network node in a message including a Type-Length-Value (TLV).

[0037] Optionally, according to any of the above aspects, in another implementation of said aspect, the TLV includes a protection type, the bit forwarding router neighbor (BFR-NBR) of the network node, and forwarding table entries for each bit forwarding egress router (BFER) for forwarding packets to prevent the BFR-NBR from failing, wherein the forwarding table entries include the BFR identifier (BFR-id) of the BFER, the forwarding bit mask (F-BM), the backup BFR-NBR (BBFR-NBR), the BBFR-NBR type (BN type), and the backup path when the BN type is TI-LFA.

[0038] Alternatively, according to any of the above aspects, in another implementation of the aspect, the protection type is 1 (1) to indicate node protection, and the forwarding table entry is used to forward the message to avoid failure of the BFR-NBR.

[0039] Alternatively, according to any of the above aspects, in another implementation of said aspect, the protection type is valued at 2 (2) to indicate link protection, and the forwarding table entry is used to forward the message to avoid failure of the link to the BFR-NBR.

[0040] Optionally, according to any of the above aspects, in another implementation of said aspect, the TLV includes a protection type and a forwarding table entry for each bit forwarding egress router (BFER), wherein the forwarding table entry includes the BFR identifier (BFR-id), forwarding bit mask (F-BM), BFR-NBR, backup forwarding bit mask (BF-BM), backup BFR-NBR (BBFR-NBR), BBFR-NBR type (BN type), and a backup path when the BN type is TI-LFA.

[0041] Optionally, according to any of the above aspects, in another implementation of the aspect, the value of the protection type is 1 (1) to indicate node protection, wherein the BFR-id of the BFER, the bitforwarding router neighbor (BFR-NBR) of the network node, the BF-BM, the BFR-NBR, the BN type and the backup path in the forwarding table entry are used to forward the message to avoid failure of the BFR-NBR.

[0042] Optionally, according to any of the above aspects, in another implementation of the aspect, the value of the protection type is 2 (2) to indicate link protection, wherein the BFR-id of the BFER, the bit forwarding router neighbor (BFR-NBR) of the network node (BFR-NBR), the BF-BM, the BFR-NBR, the BN type and the backup path in the forwarding table entry are used to forward packets to avoid link failure to the BFR-NBR.

[0043] The fifth aspect relates to a network node in a bit index explicit replication (BIER) domain. The network node includes: a component for obtaining a loop-free alternate (LFA) for Internet Protocol (IP) from a forwarding information base (FIB) or a routing information base (RIB) via a first interface through the control plane of the network node; a component for constructing an enhanced bit index forwarding table (BIFTe) using the IP LFA through the control plane of the network node when the IP LFA belongs to the desired type; a component for accessing the BIER network topology in the link state database (LSDB) through a second interface through the control plane of the network node, calculating the LFA of the desired type, and constructing the BIFTe using the LFA when the IP LFA does not belong to the desired type; a component for updating the BIFTe in the data plane of the network node through a third interface through the control plane of the network node; and a component for forwarding BIER packets using the BIFTe through the data plane of the network node to avoid failure.

[0044] The sixth aspect relates to a controller in a Bit Index Explicit Replication (BIER) domain. The controller includes: a component for obtaining a loop-free alternate (LFA) for an Internet Protocol (IP) node from a forwarding information base (FIB) or a routing information base (RIB) via a first interface; a component for constructing an enhanced bit index forwarding table (BIFTe) for the network node using the IP LFA when the IP LFA belongs to a desired type; a component for accessing the BIER network topology in a link state database (LSDB) via a second interface, calculating the LFA of the desired type, and constructing the BIFTe for the network node using the LFA when the IP LFA does not belong to the desired type; and sending the BIFTe of the network node to the network node via a third interface.

[0045] The seventh aspect relates to a non-transitory computer-readable medium. The non-transitory computer-readable medium includes a computer program product for use by a network node in a Bit Index Explicit Replication (BIER) domain, the computer program product including computer-executable instructions stored in the non-transitory computer-readable medium, which, when executed by one or more processors, cause the network node to perform the method of any of the disclosed embodiments.

[0046] The eighth aspect relates to a non-transitory computer-readable medium. The non-transitory computer-readable medium includes a computer program product for use by a controller in a Bit Index Explicit Replication (BIER) domain, the computer program product including computer-executable instructions stored in the non-transitory computer-readable medium, which, when executed by one or more processors, cause the controller to perform the method of any of the disclosed embodiments.

[0047] For clarity, any of the above embodiments can be combined with any one or more of the other embodiments described above to create new embodiments within the scope of the present invention.

[0048] These and other features will become clearer from the following detailed description in conjunction with the accompanying drawings and claims. Attached Figure Description

[0049] To gain a more complete understanding of the present invention, reference is made to the following brief description in conjunction with the accompanying drawings and specific embodiments, wherein similar reference numerals denote similar parts.

[0050] Figure 1 This is a schematic diagram of the BIER topology, which includes the BIER domain.

[0051] Figure 2 This is a schematic diagram of the bit index routing table (BIFT) of a network node.

[0052] Figure 3 This is a schematic diagram of a reference architecture for a network node used for BIER fast reroute (BIER-FRR) according to an embodiment of the present invention.

[0053] Figure 4 This is a schematic diagram of a reference architecture for a controller for BIER-FRR provided in one embodiment of the present invention.

[0054] Figure 5 This is a schematic diagram of the FRRBIFT of a network node provided in an embodiment of the present invention.

[0055] Figure 6 This is a schematic diagram of an integrated BIFT network node provided in one embodiment of the present invention.

[0056] Figure 7 This is a schematic diagram of the type length value (TLV) of the forwarding table entry for FRR BIFT provided in an embodiment of the present invention.

[0057] Figure 8 This is a schematic diagram of a TLV (Transmission Table Value) for Internet Protocol version 6 (IPv6) used in FRR BIFT, provided by an embodiment of the present invention.

[0058] Figure 9 This is a schematic diagram of an IPv4 forwarding table entry TLV for integrating BIFT provided in an embodiment of the present invention.

[0059] Figure 10 This is a schematic diagram of an IPv6 forwarding table entry TLV for integrating BIFT provided in an embodiment of the present invention.

[0060] Figure 11 This is a schematic diagram of a sub-TLV of a segment identifier (SID) list for segment routing multiprotocol label switching (SR-MPLS) provided in an embodiment of the present invention.

[0061] Figure 12 This is a schematic diagram of a sub-TLV of the SID list for segment routing over IPv6 (SRv6) provided in an embodiment of the present invention.

[0062] Figure 13 This is a method implemented by network nodes in a BIER domain, provided by one embodiment of the present invention.

[0063] Figure 14 This is a method implemented by a controller in a BIER domain, provided in one embodiment of the present invention.

[0064] Figure 15 This is a schematic diagram of a network device provided in one embodiment of the present invention. Detailed Implementation

[0065] First, it should be understood that although illustrative implementations of one or more embodiments are provided below, the disclosed systems and / or methods can be implemented using any number of techniques, whether currently known or existing. The invention is by no means limited to the illustrative implementations, drawings, and techniques described below, including the exemplary designs and implementations illustrated and described herein, but can be modified within the full scope of the appended claims and their equivalents.

[0066] While architectures that support BIER exist, those that support BIER fast re-route (BIER-FRR) do not currently exist. The term "fast re-route" as used in this article can be in the following English forms: fast re-route, fast reroute, fast ReRoute, etc.

[0067] This document discloses the architectures used to support BIER-FRR. Each architecture is used to build a bit index forwarding table (BIFT) that has been enhanced for BIER-FRR. A BIFT enhanced for BIER-FRR is called an enhanced BIFT, extended BIFT, or BIFTe. Enhanced BIFT or BIFTe provides fast rerouting in the event of network failures (e.g., network node or link failures). Therefore, packet routing within the BIER domain is improved.

[0068] Figure 1 This is a schematic diagram of a BIER topology 100 including BIER domain 102. BIER domain 102 may be part of a larger BIER domain (not shown). Therefore, BIER domain 102 may be referred to herein as a BIER subdomain. BIER domain 102 includes multiple network nodes 104, 106, 108, 110, 112, 114, 116, and 118. Although eight network nodes 104 to 118 are shown in BIER domain 102, more or fewer nodes may be included in practical applications.

[0069] For ease of discussion, network nodes 104 to 118 are all provided with letter identifiers. For example, network node 104 has the identifier A, network node 106 has the identifier B, network node 108 has the identifier C, network node 110 has the identifier D, network node 112 has the identifier E, network node 114 has the identifier F, network node 116 has the identifier G, and network node 118 has the identifier H.

[0070] Network nodes 104 through 118 are all bit-forwarding routers (BFRs). Some network nodes, namely network nodes 104, 110, 112, 114, and 118, are located at the edge of BIER domain 102. Network nodes 104, 110, 112, 114, and 118 that receive multicast messages from outside BIER domain 102 can be called ingress BFRs (BFIRs). Network nodes 104, 110, 112, 114, and 118 that send multicast messages from BIER domain 102 can be called egress BFRs (BFERs). Depending on the direction of the multicast message traffic, network nodes 104 through 118 can be used as either BFIRs or BFERs.

[0071] Network nodes 104, 110, 112, 114, and 118 can all be referred to as destination network nodes in this paper. Network nodes 104, 110, 112, 114, and 118 are all assigned a BFR identifier (BFR-id), a set index (SI), and a bit string. For example, network node 110 has a BFR-id of 1, an SI of 0, and a bit string of 00001 (in...). Figure 1 The BFR-id of network node 114 is 2, SI is 0, and the bit string is 00010 (uniformly represented as 2 (0:00010)). The BFR-id of network node 112 is 3, SI is 0, and the bit string is 00100 (uniformly represented as 3 (0:00100)). The BFR-id of network node 118 is 4, SI is 0, and the bit string is 01000 (uniformly represented as 4 (0:01000)). The BFR-id of network node 104 is 5, SI is 0, and the bit string is 10000 (uniformly represented as 5 (0:10000)).

[0072] Network nodes 104 through 118 each have one or more neighbor nodes. In this paper, a neighbor node refers to a network node that is only one hop away from a network node. For example, network node 106... Figure 1 The network has four neighboring nodes: network node 104, network node 108, network node 112, and network node 116. In fact, network nodes 104, 108, 112, and 116 are all only one hop away from network node 106.

[0073] Figure 1 Network nodes 104 to 118 are coupled and communicate with each other via link 120. Link 120 can be a wired link, a wireless link, or some combination thereof. Link 120 incurs costs. For example, the cost of the link between network node 106 and network node 112 is 2, such as... Figure 1 As shown. Similarly, the cost of the link between network node 106 and network node 116 is 3, the cost of the link between network node 104 and network node 112 is also 3, the cost of the link between network node 112 and network node 114 is 2, and the cost of the link between network node 116 and network node 110 is also 2. For Figure 1 For any link 120 that does not display a value next to the link, the default cost is 1. For example, the cost of the link between network node 106 and network node 104 is 1.

[0074] In one embodiment, BIER domain 102 can be controlled by a network controller 130 (also known as a BIER controller, controller) capable of implementing routing protocols such as Path Computation Element Protocol (PCEP), border gateway protocol (BGP), or Intermediate System-Intermediate System (IS-IS). PCEP is a special set of rules that allows Path Computation Clients (PCCs) to request path computation from Path Computation Elements (PCEs). This protocol also allows PCEs to return responses. BGP is a standardized exterior gateway protocol designed to exchange routing and reachability information between autonomous systems (AS) on the Internet. BGP is classified as a path vector routing protocol, and it makes routing decisions based on paths, network policies, or rule sets configured by the network administrator. IS-IS (also spelled ISIS) is a routing protocol designed to efficiently move information within a computer network, a group of physically connected computers, or similar devices. IS-IS achieves this by determining the optimal route for data through a packet-switched network.

[0075] In one embodiment, one or more network nodes 104 to 118 may request network controller 130 to calculate a BIER path through BIER domain 102. Once calculated, the BIER-TE path may be distributed by network controller 130 to one or more network nodes 104 to 118.

[0076] Figure 2 This is a schematic diagram of the bit index forwarding table (BIFT) 200 of a network node (e.g., network node 106). Figure 1 Network nodes 104 to 118 in the BIER topology 100 shown are respectively derived from BIFT200.

[0077] Figure 2 The BIFT 200 shown is in Figure 1The BIFT 200 is built on top of network node 106. As shown in the figure, the BIFT 200 includes three columns of information. The first column 202 includes the BFR-id of each destination network node in the BIFT topology 200. The second column 204 includes the forwarding bit mask (F-BM). The third column 206 of the BIFT 200 identifies the neighboring nodes (BFR-NBR) of network node 106 used to reach the destination network nodes identified in the first column 202. This is why the neighboring nodes in the third column 206 can also be called the next hop of network node 106.

[0078] Since the destination network nodes with BFR-ids of 1, 2, and 4 in the first row 208, the second row 210, and the fourth row 214 of BIFT 200 each have an SI of 0, and these destination network nodes have the same BFR-NBR as network node C, the F-BM of these rows is a combination of the bit strings of the destination nodes with BFR-ids of 1, 2, and 4. Specifically, a logical OR operation is applied to the bit strings of the destination nodes with BFR-ids of 1, 2, and 4. The logical OR of bit strings 00001, 00010, and 01000 makes the F-BM in the first row 208, the second row 210, and the fourth row 214 of BIFT 200 01011.

[0079] Since there are no other destination network nodes besides the destination network node E (also known as network node 112) of the BFR-NBR with network node E, the F-BM in the third row 212 of BIFT 200 is the same as the bit string of the destination network node E, i.e., 00100. Similarly, since there are no other destination network nodes besides the destination network node A (also known as network node 104) of the BFR-NBR with network node A, the F-BM in the fifth row 216 of BIFT 200 is the same as the bit string of the destination network node A, i.e., 10000.

[0080] Figure 3 This is a schematic diagram of a reference architecture for a network node used in a BIER fast reroute (BIER-FRR) 300 according to an embodiment of the present invention. For the purpose of discussion, Figure 3 The reference architecture shown may be referred to herein as a distributed architecture. In one embodiment, the network node is... Figure 1 One of the network nodes 104, 106, 108, 110, 112, 114, 116 and 118 in the BIER domain 102 shown.

[0081] like Figure 3As shown, the reference architecture for a network node in the BIER-FRR 300 includes an interior gateway protocol (IGP) 302, a BFR control plane 304, a routing table manager (RTM) 306, and a BFR data plane 308. In one embodiment, the reference architecture for a network node in the BIER-FRR 300 includes additional components as used in a practical application.

[0082] IGP 302 includes a link state database (LSDB) 310, which includes the topology of BIER domain 102. LSDB 310 is constructed by network nodes using information included in link state announcements (LSAs) received from other network nodes in BIER domain 102. LSDB is synchronized among network nodes within the same area (e.g., BIER domain 102). In one embodiment, network nodes use the BIER topology in LSDB 310 to compute a loop-free alternative (LFA) for each BFER to construct BIFTe. In one embodiment, BIFTe includes fast reroute BIFT (FRR-BIFT) or integrated BIFT.

[0083] The BFR control plane 304 includes a bit index routing table (BIRT) / enhanced BIFT (BIFTe) 312. The BIRT / BIFTe 312 stores routing table entries and / or forwarding table entries generated by network nodes. As shown, the BFR control plane 304 is coupled to the IGP 302 via an Ia interface. In one embodiment, the Ia interface is bidirectional. The control plane includes software for managing or instructing the data plane. In contrast, the data plane is part of the software that processes data requests. The data plane is sometimes also referred to as the forwarding plane.

[0084] RTM 306 includes a routing information base (RIB) / forwarding information base (FIB) 314. The RIB / FIB 314 includes an Internet Protocol (IP) loop-free alternate (IP-LFA). Network nodes use the IP-LFA to construct a BIFTe. In one embodiment, the network node constructs a BIFTe when an IP-LFA of the desired type exists in the RIB / FIB 314. The desired type can be a basic LFA or a topology-independent (TI) LFA. As shown, RTM 306 is coupled to the BFR control plane 304 via an Ib interface. In one embodiment, the Ib interface is bidirectional.

[0085] BFR data plane 308 includes BIFTe 316. BIFTe includes forwarding table entries constructed by network nodes. As shown, BFR data plane 308 is coupled to BFR control plane 304 via an Ic interface. In one embodiment, the Ic interface is bidirectional. In one embodiment, BFR control plane 304 sends BIFTe to BFR data plane 308. That is, BFR data plane 308 receives BIFTe from BFR control plane 304.

[0086] In one embodiment, Figure 1 Each network node in the BIER domain 102 shown uses Figure 3 The reference network architecture shown is used for network nodes of the BIER-FRR 300 to build their own BIFTe. For example, to build a BIFTe (also known as LFA-based BIER-FRR), the BFR control plane 304 uses... Figure 3 The system uses three interfaces: Ia, Ib, and Ic. Through interface Ib, the BFR control plane 304 obtains the IP LFA from the RIB / FIB 314 built via the routing layer. When the IP LFA is of the desired type, the BFR control plane 304 uses the IP LFA to construct a BIFTe for the network node. Otherwise (that is, when the IP LFA is not of the desired type), the BFR control plane 304 accesses the BIER network topology in LSDB 310 through interface Ia to calculate the LFA of the desired type and uses the LFA to construct a BIFTe for the network node. The BIFTe provides a backup next hop to each BFER in network domain 102. Therefore, the BIFTe can be used to support BIER-FRR or BIER Fast Protection.

[0087] Through interface Ic, control plane 304 updates BIFTe 316 in BFR data plane 308. BFR data plane 308 then uses BIFTe to forward packets (e.g., BIER packets, data packets) to avoid failures in the BIER domain. In one embodiment, a failure is a failure of a network node (e.g., network node 106), a failure of a link coupling the network node (e.g., link 120), or a combination thereof.

[0088] Figure 4 This is a schematic diagram of a reference architecture for a controller for the BIER-FRR 400 provided in one embodiment of the present invention. For the purpose of discussion, Figure 4 The reference architecture described herein may be referred to as a centralized architecture. In one embodiment, the controller includes... Figure 1 The controller 130 is located in the middle. In one embodiment, the controller is... Figure 1 One of network nodes 104 to 118 in the BIER domain 102 shown. In another embodiment, the controller is, except... Figure 1 Network nodes other than network nodes 104 to 118 in BIER domain 102.

[0089] like Figure 4 As shown, the reference architecture for the controller used in the BIER-FRR 400 includes an interior gateway protocol (IGP) 402, a BIFT manager 404, an RTM 406, and a storage unit 408. In one embodiment, the reference architecture for the controller used in the BIER-FRR 400 includes additional components as used in a practical application.

[0090] The BIFT manager 404 is used to access the BIER topology in the LSDB 410 of IGP 402 via interface Ia′. The BIFT manager 404 uses the BIER topology to calculate the LFA of the desired type for each BFER for each network node (e.g., for each BFR-i to BFR-n, where i is a positive integer representing any network node in BIER domain 102 and n represents the total number of network nodes in BIER domain 102).

[0091] For each network node (e.g., BFR-i), the BIFT manager 404 is also used to access the IP LFA (where i is an integer from 1 to n) of each BFER in the RIB-i / FIB-i 412 of the RTM 406 via interface Ib'. When any IP-LFA of the desired type exists in the RIB-i / FIB-i 412, the BIFT manager 404 uses the IP-LFA to construct BIFTe-i for the BFR-i. In one embodiment, the Ib' interface is bidirectional.

[0092] The BIFT manager 404 is also used to store routing tables and / or forwarding tables in any BIRT-i / BIFTe-i 414 of the storage unit 408 via interface Ic′ (where i is an integer from 1 to n). After storing the routing tables and / or forwarding tables, the BIFT manager 404 can access, update, delete, etc., the routing tables and / or forwarding tables in the storage unit 408. In one embodiment, the Ic′ interface is bidirectional.

[0093] The BIFT manager 404 is also used to send the BIFTe-i of each BFR-i to the BFR-i via the interface ID. In one embodiment, the ID interface is bidirectional. Therefore, the BIFT manager 404 can receive information from one or more network nodes in the BIER domain 102 via the interface ID.

[0094] In one embodiment, Figure 1 The controller in the BIER domain 102 shown uses Figure 4 The reference architecture shown for the controller used in the BIER-FRR400 is used to construct BIFTe-i (e.g., constructing BIFTe for each network node). For example, to construct BIFTe-i (also known as LFA-based BIER-FRR), the controller uses four interfaces: Ia′, Ib′, Ic′, and Id, while each BFR-i control plane (e.g., control plane 304) uses two interfaces: Id and Ic. Through interface Ib′, the controller obtains the IP LFA from the RIB-i or FIB-i 412 of the BFR-i. When the IP LFA is of the desired type, the controller uses the IP LFA to construct BIFTe-i 414 for the BFR-i. Otherwise (that is, when the IP LFA is not of the desired type), the controller accesses the BIER network topology in LSDB 410 through interface Ia′ to compute the LFA of the desired type and uses the LFA to construct BIFTe-i 414 for the BFR-i. The controller stores and / or updates the BIFTe-i 414 of BFR-i in 408 via interface Ic′, while simultaneously constructing the BIFTe-i 414 for BFR-i. The controller sends the BIFTe-i 414 to the BFR-i control plane 304 of BFR-i (e.g., one of network nodes 104 to 118 in BIER domain 102) via interface Id.

[0095] In one embodiment, the BFR's BIFTe includes multiple FRR-BIFTs. The BFR has one FRR-BIFT for each BFR-NBR failure. For example, network node 106 (also known as network node B) has an FRR-BIFT used when network node 116 (also known as network node G) fails, which can be simply referred to as G's FRR-BIFT. Network node 106 also has an FRR-BIFT used when network node 108 (also known as network node C) fails, which can be simply referred to as C's FRR-BIFT. Network node 106 also has an FRR-BIFT used when network node 112 (also known as network node E) fails and an FRR-BIFT used when network node 104 (also known as network node A) fails. When X fails, the BFR uses X's FRR-BIFT to forward packets (e.g., when network node C fails, network node B uses the FRR-BIFT to forward packets).

[0096] Figure 5 This is a schematic diagram of a network node FRRBIFT 500 provided in one embodiment of the present invention. Figure 1 Each of network nodes 104 to 118 in the BIER topology 100 shown has an FRR-BIFT 500 for each BFR-NBR of that network node.

[0097] Figure 5 The FRR-BIFT 500 shown is Figure 1 The FRR-BIFT 500 for network node 106 (also known as network node B) and network node 108 (also known as network node C or BFR-NBR 108) is shown in the figure. As illustrated, the FRR-BIFT 500 includes four columns of information 502, 504, 506, and 508, and five rows of information 510, 512, 514, 516, and 518. The first column 502 and... Figure 2 The first column 202 of the BIFT 200 shown is the same. The second column 504 and the third column 506 include F-BM / Backup F-BM (backup F-BM, BF-BM) and BFR-NBR / Backup BFR-NBR (backup BFR-NBR, BBFR-NBR) respectively, updated as follows. The fourth column 508 includes the BBFR-NBR type (BN type).

[0098] refer to Figure 2 The first row 208, the second row 210, and the fourth row 214 identify network node 108 (referred to as BFR-NBR C in this document) in the third column 206 of BIFT 200. Each instance of BFR-NBR C is transformed into Figure 5The BBFR-NBR in column 506 of the FRR-BIFT 500 is shown. For example, the BFR-NBR C of the BFER with BFR-id 1 in the first row of the BIFT 200 is transformed into network node 116 (also known as BBFR-NBR G) in the first row of the FRR-BIFT 500. Network node 116 is a topology-independent (TI) LFA of the BFER. The BN type in column 510 of the first row of the FRR-BIFT 500 is set to TI and a pointer to the segmented path from network node 106 (also known as network node B) to network node 116 (also known as network node G). The segmented path goes from network node B to network node A, and then to network node G.

[0099] In BIFT 200, the BFR-NBRC of RFFR with BFR-id 2 in line 210 is transformed into BBFR-NBR E in line 512 of FRR-BIFT 500. Network node E is a normal LFA of BFER. Therefore, the BN type in line 512 of FRR-BIFT 500 is set to normal.

[0100] In BIFT 200, the BFR-NBR C of BFER with BFR-id 4 in line 4 (214) is transformed into BBFR-NBR G in line 4 (516) of FRR-BIFT 500. Node G is the TI LFA of BFER. Therefore, the BN type in line 4 (516) of FRR-BIFT 500 is set to TI and a pointer to the segmented path from network node 106 (also known as network node B) to network node G. The segmented path goes from network node B to network node A, and then to network node G. Lines 3 (514) and 5 (518) of column 4 (508) in FRR-BIFT 500 are empty.

[0101] Since the destination network nodes with BFR-ids of 1 and 4 in the first row 508 and the fourth row 514 of FRR-BIFT 500 each have an SI of 0, and these destination network nodes have the same BFR-NBR / BBFR-NBR as network node G, the F-BM / BF-BM of these rows is a combination of the bit strings of the destination nodes with BFR-ids of 1 and 4. Specifically, a logical OR operation is applied to the bit strings of the destination nodes with BFR-ids of 1 and 4. The logical OR of bit strings 00001 and 01000 makes the F-BM / BF-BM in the first row 508 and the fourth row 514 of FRR-BIFT 500 01001.

[0102] Since the SI of the destination network nodes with BFR-ids of 2 and 3 in rows 510 and 512 of FRR-BIFT 500 is 0, and these destination network nodes have the same BFR-NBR / BBFR-NBR as network node E, the F-BM / BF-BM of these rows is a combination of the bit strings of the destination nodes with BFR-ids of 2 and 3. Specifically, a logical OR operation is applied to the bit strings of the destination nodes with BFR-ids of 2 and 3. The logical OR of bit strings 00010 and 00100 makes the F-BM / BF-BM in rows 510 and 512 of FRR-BIFT 500 00110.

[0103] Since there are no other destination network nodes besides the destination network node A (also known as network node 104) of the BFR-NBR / BBFR-NBR with network node A, the F-BM / BF-BM in line 518 of FRR-BIFT 500 is the same bit string as that of destination network node A, i.e., 10000. Once FRR-BIFT 500 is derived as described above, when neighbor node C fails, routing messages (e.g., multicast messages, BIER messages) can be made according to FRR-BIFT 500.

[0104] Figure 6 This is a schematic diagram of an integrated BIFT 600 for a network node provided in one embodiment of the present invention. In one embodiment, the BFR BIFTe discussed herein is an integrated BIFT 600 for the BFR. The integrated BIFT 600 combines a BFR BIFT (e.g., BIFT 200) and an FRR-BIFT (e.g., FRR-BIFR 500). In one embodiment, Figure 1 Network nodes 104 to 118 in the BIER topology 100 shown all have integrated BIFT 600.

[0105] Figure 6 The integrated BIFT 600 shown is Figure 1 The integrated BIFT 600 is for network node 106 (also known as network node B). As shown in the figure, the integrated BIFT 600 includes seven columns of information 602, 604, 606, 608, 610, 612, and 614, and five rows of information 616, 618, 620, 622, and 624. The first three columns, 602, 604, and 606, are... Figure 2 The first three columns of BIFT 200 shown are the same: 202, 204, and 206. The last three columns, 610, 612, and 614, are obtained by merging the last three columns of multiple FRR-BIFTs of network node B, and have values ​​of type BF-BM, BBFR-NBR, and BN.

[0106] For example, in the FRR-BIFT 500 for network node B used by C, the first row 510, the second row 512, and the fourth row 516 have values ​​of type BF-BM, BBFR-NBR, and BN. The last three columns 610, 612, and 614 of the first row 616, the second row 618, and the fourth row 622 in BIFT 600 are the same as the last three columns 504, 506, and 508 of the first row 510, the second row 512, and the fourth row 516 in FRR-BIFT 500.

[0107] Column 4, 608, includes the Backup Active (BA) flag. When the BFR-NBR fails, the BA flag in the row containing the BFR-NBR is set to 1, indicating that the last three columns of that row, 610, 612, and 614, are used to forward messages through the BFER in that row.

[0108] In one embodiment, several protocol extensions used with a centralized architecture are discussed. Protocol extensions are implemented using type length values ​​(TLVs) and sub-TLVs.

[0109] Figure 7 This is a schematic diagram of a forwarding table entry TLV 700 for Internet Protocol version 4 (IPv4) for FRR BIFT provided in one embodiment of the present invention. In one embodiment, TLV 700 is used for node protection. That is, TLV 700 is used to protect network nodes when they fail. The IPv4 forwarding TLV 700 includes a type field 702, a length field 704, a protection type (Pr type) field 706, a bitstring length (BSL) field 708, a set identifier (SI) field 710 (also known as a set index field), a number of entries field 712, a BFR-NBR field 714, a BFR-id field 716, an F-BM field 718, a BBFR-NBR field 720, a BN type field 722, and a SID list sub-TLV field 724. The BFR-id field 716, F-BM field 718, BBFR-NBR field 720, BN type field 722, and SID list sub-TLV field 724 can be collectively referred to as forwarding table entry 726 (e.g., forwarding table entry for BFR-id-1... forwarding table entry for BFR-id-n).

[0110] The Type field 702 includes a value indicating the type of TLV 700. This value is to be determined (TBD). The Length field 704 includes a value indicating the length of TLV 700. The Protection Type field 706 includes a value indicating the protection type (e.g., value 1 indicates node protection, value 2 indicates link protection). The BSL field 708 includes a value indicating the length of F-BM and BF-BM. The SI field 710 includes a value indicating the SI of BFR (e.g., 0). The Entry Count field 712 includes a value indicating the number of forwarding entries included in TLV 700. The BFR-NBR field 714 is 4 bytes and includes a value indicating that: when the protection type is node protection, the BFR-NBR has failed; when the protection type is link protection, the link to the BFR-NBR has failed.

[0111] The BFR-id field 716 includes a value indicating the BFR-id (e.g., BFR-id-1...BFR-id-n). The F-BM field 718 includes a value indicating the F-BM. The BBFR-NBR field 720 is 4 bytes and includes a value indicating the BBFR-NBR. The BN type field 722 includes a value indicating the BN type. When the BN type is TI-LFA, the SID list sub-TLV field 724 includes multiple SIDs leading to the backup path of the BBFR-NBR.

[0112] Figure 8 This is a schematic diagram of an IPv6 forwarding table entry TLV 800 for FRR BIFT provided in one embodiment of the present invention. In one embodiment, TLV 800 is used for node protection. That is, TLV 800 is used to protect network nodes in the event of a failure. The IPv6 forwarding TLV 800 includes a type field 802, a length field 804, a Pr type field 806, a BSL field 808, an SI field 810, an entry count field 812, a BFR-NBR field 814, a BFR-id field 816, an F-BM field 818, a BBFR-NBR field 820, a BN type field 822, and a SID list sub-TLV field 824. The BFR-id field 816, F-BM field 818, BBFR-NBR field 820, BN type field 822, and SID list sub-TLV field 824 can be collectively referred to as forwarding table entry 826 (e.g., forwarding table entry for BFR-id-1... forwarding table entry for BFR-id-n).

[0113] The Type field 802 includes a value indicating the type of TLV 800. This value is to be determined (TBD). The Length field 804 includes a value indicating the length of TLV 800. The Protection Type field 806 includes a value indicating the protection type (e.g., value 1 indicates node protection, value 2 indicates link protection). The BSL field 808 includes a value indicating the length of F-BM and BF-BM. The SI field 810 includes a value indicating the SI of BFR (e.g., 0). The Entry Count field 812 includes a value indicating the number of forwarding entries included in TLV 800. The BFR-NBR field 814 is 16 bytes long and includes a value indicating that: when the protection type is node protection, the BFR-NBR has failed; when the protection type is link protection, the link to the BFR-NBR has failed.

[0114] The BFR-id field 816 includes a value indicating the BFR-id (e.g., BFR-id-1...BFR-id-n). The F-BM field 818 includes a value indicating the F-BM. The BBFR-NBR field 820 is 16 bytes long and includes a value indicating the BBFR-NBR. The BN type field 822 includes a value indicating the BN type. When the BN type is TI-LFA, the SID list subfield TLV field 824 includes multiple SIDs leading to the backup path of the BBFR-NBR.

[0115] Figure 9 This is a schematic diagram of an IPv4 forwarding table entry TLV 900 for integrating BIFT, provided in one embodiment of the present invention. In one embodiment, TLV 900 is used for link protection. That is, TLV 900 is used to protect against link failures. The IPv4 forwarding TLV 900 includes a type field 902, a length field 904, a Pr type field 906, a BSL field 908, an SI field 910, an entry quantity field 912, a BFR-id field 914, an F-BM field 916, a BFR-NBR field 918, a BF-BM field 920, a BBFR-NBR field 922, a BN type field 924, and a SID list sub-TLV field 926. The BFR-id field 914, F-BM field 916, BFR-NBR field 918, BF-BM field 920, BBFR-NBR field 922, BN type field 924, and SID list sub-TLV field 926 can be collectively referred to as forwarding table entry 928 (e.g., forwarding table entry for BFR-id-1... forwarding table entry for BFR-id-n).

[0116] The Type field 902 includes a value indicating the type of TLV 900. This value is to be determined (TBD). The Length field 904 includes a value indicating the length of the TLV 900. The Protection Type field 906 includes a value indicating the protection type (e.g., value 1 indicates node protection, value 2 indicates link protection). The BSL field 908 includes a value indicating the length of the F-BM and BF-BM. The SI field 910 includes a value indicating the SI of the BFR (e.g., 0). The Entry Count field 912 includes a value indicating the number of forwarding entries included in the TLV 900.

[0117] The BFR-id field 914 includes a value indicating the BFR-id (e.g., BFR-id-1...BFR-id-n). The F-BM field 916 includes a value indicating the F-BM. The BFR-NBR field 918 is 4 bytes long and includes a value indicating the BFR-NBR. The BF-BM field 920 includes a value indicating the BF-BM.

[0118] The BBFR-NBR field 922 is 4 bytes and includes a value indicating the BBFR-NBR. The BN type field 924 includes a value indicating the BN type. When the BN type is TI-LFA, the SID list subfield TLV field 926 includes multiple SIDs for the backup path to the BBFR-NBR.

[0119] Figure 10 This is a schematic diagram of an IPv6 forwarding table entry TLV 1000 for integrating BIFT, provided in one embodiment of the present invention. In one embodiment, TLV 1000 is used for link protection. That is, TLV 1000 is used to protect against link failures. The IPv4 forwarding TLV 1000 includes a type field 1002, a length field 1004, a Pr type field 1006, a BSL field 1008, an SI field 1010, an entry quantity field 1012, a BFR-id field 1014, an F-BM field 1016, a BFR-NBR field 1018, a BF-BM field 1020, a BBFR-NBR field 1022, a BN type field 1024, and a SID list sub-TLV field 1026. The BFR-id field 1014, F-BM field 1016, BFR-NBR field 1018, BF-BM field 1020, BBFR-NBR field 1022, BN type field 1024, and SID list sub-TLV field 1026 can be collectively referred to as forwarding table entry 1028 (e.g., forwarding table entry for BFR-id-1... forwarding table entry for BFR-id-n).

[0120] The Type field 1002 includes a value indicating the type of TLV 1000. This value is to be determined (TBD). The Length field 1004 includes a value indicating the length of TLV 1000. The Protection Type field 1006 includes a value indicating the protection type (e.g., value 1 indicates node protection, value 2 indicates link protection). The BSL field 1008 includes values ​​indicating the lengths of F-BM and BF-BM. The SI field 1010 includes a value indicating the SI of BFR (e.g., 0). The Number of Entries field 1012 includes a value indicating the number of forwarding entries included in TLV 1000.

[0121] The BFR-id field 1014 includes a value indicating the BFR-id (e.g., BFR-id-1...BFR-id-n). The F-BM field 1016 includes a value indicating the F-BM. The BFR-NBR field 1018 is 16 bytes long and includes a value indicating the BFR-NBR. The BF-BM field 1020 includes a value indicating the BF-BM.

[0122] The BBFR-NBR field 1022 is 16 bytes long and includes a value indicating the BBFR-NBR. The BN type field 1024 includes a value indicating the BN type. When the BN type is TI-LFA, the SID list sub-TLV field 1026 includes multiple SIDs for the backup path to the BBFR-NBR.

[0123] Figure 11 This is a schematic diagram of a segment identifier (SID) list sub-TLV 1100 for segment routing multiprotocol label switching (SR-MPLS) provided in an embodiment of the present invention. The SID sub-TLV 1100 may include any of the SID list fields 724, 824, 926, and 1026 mentioned above. The SID sub-TLV 1100 includes a type field 1102, a length field 1104, a reserved field (Resv) 1106, a SID type field 1108, and one or more SID fields 1110.

[0124] Type field 1102 includes a value indicating the type of sub-TLV 1100. This value is to be determined (TBD). Length field 1104 includes a value indicating the length of sub-TLV 1100. Reserved field 1106 is reserved for later use. SID type field 1108 includes a value indicating the SID type (ST) in TLV 1100. When the value is 1, each SID in SID field 1110 is a tag, represented by the rightmost twenty (20) octets. When the value is 2, each SID in SID field 1110 is a 32-bit SID. Therefore, SID field 1100 can be 3 bytes or 4 bytes.

[0125] Figure 12 This is a schematic diagram of a SID list sub-TLV 1200 for segment routing over IPv6 (SRv6) according to an embodiment of the present invention. The SID sub-TLV 1200 may include any of the SID list fields 724, 824, 926, and 1026 mentioned above. The SID sub-TLV 1200 includes a type field 1202, a length field 1204, and one or more SID fields 1206.

[0126] The type field 1202 includes a value indicating the type of the sub-TLV 1200. This value is to be determined (TBD). The length field 1204 includes a value indicating the length of the sub-TLV 1200. Each SID in the SID field 1206 is a 128-bit value (i.e., 16 bytes) SID (e.g., an SRv6 SID).

[0127] Figure 13 This is a method 1300 implemented by network nodes in a BIER domain, provided in one embodiment of the present invention. The network nodes can be any network nodes 104 to 118, and the BIER domain can be BIER domain 102. In one embodiment, the network nodes include BFR or BFER.

[0128] In step 1302, the control plane of the network node obtains the IP LFA from the FIB or RIB via a first interface (e.g., Ib). The first interface is a wired or wireless communication channel coupling the control plane 304 and the RTM 306. In one embodiment, the IP-LFA is based on an IP network.

[0129] In step 1304, when the IP LFA belongs to the desired type, the control plane of the network node uses the IP LFA to construct the BIFTe. In one embodiment, the desired type includes a basic LFA or a TI LFA. In step 1306, the control plane of the network node accesses the BIER network topology in the LSDB through a second interface (e.g., Ia), calculates the LFA of the desired type, and constructs the BIFTe using the LFA when the IP LFA does not belong to the desired type. The second interface is a wired or wireless communication channel coupling the control plane 304 and the IGP 302. In one embodiment, the LFA is based on the BIER network topology.

[0130] In step 1308, the control plane of the network node updates the BIFTe in the data plane of the network node through a third interface (e.g., IC). The third interface is a wired or wireless communication channel coupling the control plane 304 and the BFR data plane 308.

[0131] In step 1310, the network node's data plane uses the BIFTe to forward BIER messages to avoid failures. In one embodiment, the failure includes a neighboring network node failure in the BIER domain. In one embodiment, the failure includes a link failure in the BIER domain. In one embodiment, the BIER message is forwarded to the network node's backup network node neighbor using the BIFTe.

[0132] Figure 14 This is a method 1400 implemented by a controller in a BIER domain, provided in one embodiment of the present invention. The controller may be a controller 130 in BIER domain 102. In one embodiment, the controller includes a BIER controller.

[0133] In step 1402, the controller obtains an IP LFA for the network node from the FIB or RIB via a first interface (e.g., Ib′). The first interface is a wired or wireless communication channel coupling the BIFT manager 404 and the RTM 406. In one embodiment, the network node includes a BFR or BFER.

[0134] In step 1404, when the IP LFA is of the desired type, the controller uses the IP LFA to construct a BIFTe for the network node. In one embodiment, the IP-LFA is based on an IP network. In one embodiment, the desired type includes a basic LFA or a TI LFA.

[0135] In step 1406, the controller accesses the BIER network topology in the LSDB through a second interface (e.g., Ia′), calculates the LFA of the desired type, and uses the LFA to construct the BIFTe for the network node when the IP LFA does not belong to the desired type. The second interface is a wired or wireless communication channel coupling the BIFT manager 404 and the IGP 402. In one embodiment, the LFA is based on the BIER network topology.

[0136] In step 1408, the controller sends the BIFTe of the network node to the network node via a third interface (e.g., Id). The third interface is a wired or wireless communication channel that couples the BIFT manager 404 to one or more of the network nodes 104 to 118. In one embodiment, method 1400 is performed for each network node in the BIER domain.

[0137] In one embodiment, the BIFTe is sent to the control plane of the network node in a message including a TLV. In one embodiment, the TLV includes a protection type, the network node's BFR-NBR, and a forwarding table entry for each BFER to forward packets to prevent the BFR-NBR from failing, wherein the forwarding table entry includes the BFER's BFR-id, F-BM, BBFR-NBR, BN type, and a backup path when the BN type is the TI-LFA.

[0138] In one embodiment, the protection type value is 1 (1) to indicate node protection, and the forwarding table entry is used to forward the message to prevent the BFR-NBR from failing. In another embodiment, the protection type value is 2 (2) to indicate link protection, and the forwarding table entry is used to forward the message to prevent the link to the BFR-NBR from failing.

[0139] In one embodiment, the TLV includes a protection type and a BFER, and the forwarding table entry includes the BFR-id, F-BM, BBFR-NBR, BF-BM, BBFR-NBR, BN type of the BFER, and the backup path when the BN type is the TI-LFA.

[0140] In one embodiment, the protection type value is 1 (1) to indicate node protection, whereby the BFR-id of the BFER, the bit forwarding router neighbor (BFR-NBR) of the network node, BF-BM, BBFR-NBR, BN type, and the backup path in the forwarding table entry are used to forward the packet to prevent the BFR-NBR from failing. In another embodiment, the protection type value is 2 (2) to indicate link protection, whereby the BFR-id of the BFER, the bit forwarding router neighbor (BFR-NBR) of the network node (BFR-NBR), BF-BM, BBFR-NBR, BN type, and the backup path in the forwarding table entry are used to forward the packet to prevent the link to the BFR-NBR from failing.

[0141] Figure 15 This is a schematic diagram of a network device 1500 (e.g., a network node, controller, neighbor node, etc.). The network device 1500 is suitable for implementing the disclosed embodiments described herein. The network device 1500 includes: an ingress port / ingress component 1510 and a receiver unit (Rx) / receiver component 1520 for receiving data; a processor, logic unit, or central processing unit (CPU) / processing component 1530 for processing data; a transmit unit (Tx) / transmitter component 1540 and an egress port / egress component 1550 for transmitting data; and a memory / storage component 1560 for storing data. The network device 1500 may also include optical-to-electrical (OE) components and electrical-to-optical (EO) components coupled to the ingress port / ingress component 1510, receiver unit / receiver component 1520, transmit unit / transmitter component 1540, and egress port / egress component 1550 for the entry or exit of optical or electrical signals.

[0142] Processor / processing component 1530 is implemented in hardware and software. Processor / processing component 1530 can be implemented as one or more CPU chips, one or more cores (e.g., as a multi-core processor), one or more field-programmable gate arrays (FPGAs), one or more application-specific integrated circuits (ASICs), and one or more digital signal processors (DSPs). Processor / processing component 1530 communicates with ingress port / ingress component 1510, receiver unit / receiver unit 1520, transmitter unit / transmitter unit 1540, egress port / egress component 1550, and memory / storage component 1560. Processor / processing component 1530 includes a BIER fast rerouting module 1570. BIER fast rerouting module 1570 is capable of implementing the methods disclosed herein. Therefore, including BIER fast rerouting module 1570 provides a substantial improvement to the functionality of network device 1500 and enables the transition of network device 1500 to different states. Optionally, the BIER fast rerouting module 1570 may be implemented with instructions stored in memory / storage component 1560 and executed by processor / processing component 1530.

[0143] The network device 1500 may also include input and / or output (I / O) devices or I / O components 1580 for data communication with a user. The I / O devices or I / O components 1580 may include output devices, such as a display for showing video data, a speaker for outputting audio data, etc. The I / O devices or I / O components 1580 may also include input devices, such as a keyboard, mouse, trackball, etc., and / or corresponding interfaces for interacting with these output devices.

[0144] Memory / storage component 1560 includes one or more disks, one or more tape drives, and one or more solid-state drives, and can be used as an overflow data storage device to store such programs when a program is selected for execution, as well as instructions and data read during program execution. Memory / storage component 1560 can be volatile and / or non-volatile, and can be read-only memory (ROM), random access memory (RAM), ternary content-addressable memory (TCAM), and / or static random-access memory (SRAM).

[0145] While this invention provides several embodiments, it should be understood that the disclosed systems and methods can also be embodied in many other specific forms without departing from the spirit or scope of the invention. These examples are intended to be illustrative rather than restrictive and are not intended to be limited to the details given herein. For example, various elements or components may be combined or integrated into another system, or some features may be omitted or not implemented.

[0146] Furthermore, the techniques, systems, subsystems, and methods described and illustrated as discrete or separate in the various embodiments may be combined or integrated with other systems, components, techniques, or methods without departing from the scope of the invention. Those skilled in the art can identify other examples of changes, substitutions, and modifications, and make such changes, substitutions, and modifications without departing from the spirit and scope of the invention.

Claims

1. A method implemented by network nodes in a Bit Index Explicit Replication (BIER) field, characterized in that, The method includes: The control plane of the network node obtains the loop-free alternate (LFA) of Internet Protocol (IP) from the forwarding information base (FIB) or routing information base (RIB) through the first interface. When the IP LFA is of the desired type, the control plane of the network node uses the IP LFA to construct an enhanced bit index forwarding table (BIFTe); the desired type includes a basic LFA or a topology-independent (TI) LFA. The control plane of the network node accesses the BIER network topology in the link state database (LSDB) through the second interface, calculates the LFA of the desired type, and constructs the BIFTe using the LFA when the IP LFA does not belong to the desired type. The control plane of the network node updates the BIFTe in the data plane of the network node through a third interface; The data plane of the network node uses BIFTe to forward BIER messages to avoid failures.

2. The method according to claim 1, characterized in that, The network nodes include bit-forwarding routers (BFRs).

3. The method according to claim 1, characterized in that, The network nodes include bitforwarding egress routers (BFER).

4. The method according to any one of claims 1 to 3, characterized in that, The faults include faults in neighboring network nodes within the BIER domain.

5. The method according to claim 1, characterized in that, The faults include link faults in the BIER domain.

6. The method according to claim 1, characterized in that, The IP LFA is based on the IP network, and the LFA is based on the BIER network topology.

7. The method according to claim 1, characterized in that, The BIER message is forwarded to the backup network node neighbor of the network node using the BIFTe.

8. A network node in a bit index explicit replication (BIER) domain, characterized in that, The network nodes include: Memory that stores instructions; A processor coupled to the memory, wherein the processor is configured to execute the instructions to cause the network node to perform the following operations: The control plane of the network node obtains the loop-free alternate (LFA) of Internet Protocol (IP) from the forwarding information base (FIB) or routing information base (RIB) through the first interface. When the IP LFA is of the desired type, the control plane of the network node uses the IP LFA to construct an enhanced bit index forwarding table (BIFTe); the desired type includes a basic LFA or a topology-independent (TI) LFA. The control plane of the network node accesses the BIER network topology in the link state database (LSDB) through the second interface, calculates the LFA of the desired type, and constructs the BIFTe using the LFA when the IP LFA does not belong to the desired type. The control plane of the network node updates the BIFTe in the data plane of the network node; The data plane of the network node uses BIFTe to forward BIER messages to avoid failures.

9. The network node according to claim 8, characterized in that, The network nodes include bit-forwarding routers (BFRs).

10. The network node according to claim 8, characterized in that, The network nodes include bit forwarding egress routers (BFER).

11. The network node according to any one of claims 8 to 10, characterized in that, The faults include faults in neighboring network nodes within the BIER domain.

12. The network node according to claim 8, characterized in that, The faults include link faults in the BIER domain.

13. The network node according to claim 8, characterized in that, The IP LFA is based on the IP network, and the LFA is based on the BIER network topology.

14. The network node according to claim 8, characterized in that, The BIER message is forwarded to the backup network node neighbor of the network node using the BIFTe.

15. A method implemented by a controller in a Bit Index Explicit Replication (BIER) domain, characterized in that, The method includes: The first interface is used to obtain loop-free alternate (LFA) Internet Protocol (IP) backups for network nodes from the forwarding information base (FIB) or routing information base (RIB). When the IP LFA belongs to the desired type, the IP LFA is used to construct an enhanced bit index forwarding table (BIFTe) for the network node; the desired type includes basic LFA or topology independent (TI) LFA; The network topology of the BIER is accessed through the second interface in the link state database (LSDB), the LFA of the desired type is calculated, and when the IP LFA does not belong to the desired type, the LFA is used to construct the BIFTe for the network node. The network node's BIFTe is sent to the network node through the third interface.

16. The method according to claim 15, characterized in that, The network nodes include bit-forwarding routers (BFRs).

17. The method according to claim 15, characterized in that, The network nodes include bit forwarding egress routers (BFER).

18. The method according to any one of claims 15 to 17, characterized in that, The method is performed on each network node in the BIER domain.

19. The method according to claim 15, characterized in that, The IP LFA is based on the IP network, and the LFA is based on the BIER network topology.

20. The method according to claim 15, characterized in that, The BIFTe is sent to the control plane of the network node in a message that includes a Type-Length-Value (TLV).

21. The method according to claim 20, characterized in that, The TLV includes protection type, bit forwarding router neighbor (BFR-NBR) of the network node, and forwarding table entries for each bit forwarding egress router (BFER) to forward packets to prevent the BFR-NBR from failing. The forwarding table entries include the BFR identifier (BFR-id) of the BFER, forwarding bit mask (F-BM), backup BFR-NBR (BBFR-NBR), BBFR-NBR type (BN type), and backup path when the BN type is TI-LFA.

22. The method according to claim 21, characterized in that, The protection type value is 1 (1) to indicate node protection, and the forwarding table entry is used to forward the message to avoid the BFR-NBR from failing.

23. The method according to claim 21, characterized in that, The protection type value is 2 (2) to indicate link protection, and the forwarding table entry is used to forward the message to avoid failure of the link to the BFR-NBR.

24. The method according to claim 20, characterized in that, The TLV includes protection type and forwarding table entries for each bit forwarding egress router (BFER). The forwarding table entries include the BFR identifier (BFR-id), forwarding bit mask (F-BM), BFR-NBR, backup forwarding bit mask (BF-BM), backup BFR-NBR (BBFR-NBR), BBFR-NBR type (BN type), and backup path when the BN type is TI-LFA.

25. The method according to claim 24, characterized in that, The protection type value is 1 (1) to indicate node protection, wherein the BFR-id of the BFER, the bit forwarding router neighbor (BFR-NBR) of the network node, the BF-BM, the BFR-NBR, the BN type and the backup path in the forwarding table entry are used to forward packets to avoid the failure of the BFR-NBR.

26. The method according to claim 24, characterized in that, The protection type value is 2 (2) to indicate link protection, wherein the BFR-id of the BFER, the bit forwarding router neighbor (BFR-NBR) of the network node (BFR-NBR), the BF-BM, the BFR-NBR, the BN type and the backup path in the forwarding table entry are used to forward packets to avoid link failure to the BFR-NBR.

27. A controller in a Bit Index Explicit Replication (BIER) domain, characterized in that, The controller includes: Memory that stores instructions; A processor coupled to the memory, wherein the processor is configured to execute the instructions to cause the controller to perform the following operations: The first interface is used to obtain loop-free alternate (LFA) Internet Protocol (IP) backups for network nodes from the forwarding information base (FIB) or routing information base (RIB). When the IP LFA belongs to the desired type, the IP LFA is used to construct an enhanced bit index forwarding table (BIFTe) for the network node; the desired type includes basic LFA or topology independent (TI) LFA; The network topology of the BIER is accessed through the second interface in the link state database (LSDB), the LFA of the desired type is calculated, and when the IP LFA does not belong to the desired type, the LFA is used to construct the BIFTe for the network node. The network node's BIFTe is sent to the network node through the third interface.

28. The controller according to claim 27, characterized in that, The network nodes include bit-forwarding routers (BFRs).

29. The controller according to claim 27, characterized in that, The network nodes include bit forwarding egress routers (BFER).

30. The controller according to any one of claims 27 to 29, characterized in that, The network node is each network node in the BIER domain.

31. The controller according to claim 27, characterized in that, The IP LFA is based on the IP network, and the LFA is based on the BIER network topology.

32. The controller according to claim 27, characterized in that, The BIFTe is sent to the control plane of the network node in a message that includes a Type-Length-Value (TLV).

33. The controller according to claim 32, characterized in that, The TLV includes protection type, bit forwarding router neighbor (BFR-NBR) of the network node, and forwarding table entries for each bit forwarding egress router (BFER) to forward packets to prevent the BFR-NBR from failing. The forwarding table entries include the BFR identifier (BFR-id) of the BFER, forwarding bit mask (F-BM), backup BFR-NBR (BBFR-NBR), BBFR-NBR type (BN type), and backup path when the BN type is TI-LFA.

34. The controller according to claim 33, characterized in that, The protection type value is 1 (1) to indicate node protection, and the forwarding table entry is used to forward the message to avoid failure of the BFR-NBR.

35. The controller according to claim 33, characterized in that, The protection type value is 2 (2) to indicate link protection, and the forwarding table entry is used to forward the message to avoid failure of the link to the BFR-NBR.

36. The controller according to claim 32, characterized in that, The TLV includes protection type and forwarding table entries for each bit forwarding egress router (BFER). The forwarding table entries include the BFR identifier (BFR-id), forwarding bit mask (F-BM), BFR-NBR, backup forwarding bit mask (BF-BM), backup BFR-NBR (BBFR-NBR), BBFR-NBR type (BN type), and backup path when the BN type is TI-LFA.

37. The controller according to claim 36, characterized in that, The protection type value is 1 (1) to indicate node protection, wherein the BFR-id of the BFER, the bit forwarding router neighbor (BFR-NBR) of the network node, the BF-BM, the BFR-NBR, the BN type and the backup path in the forwarding table entry are used to forward packets to avoid failure of the BFR-NBR.

38. The controller according to claim 36, characterized in that, The protection type value is 2 (2) to indicate link protection, wherein the BFR-id of the BFER, the bit forwarding router neighbor (BFR-NBR) of the network node (BFR-NBR), the BF-BM, the BFR-NBR, the BN type and the backup path in the forwarding table entry are used to forward packets to avoid link failure to the BFR-NBR.

39. A network node in a bit index explicit replication (BIER) domain, characterized in that, The network nodes include: The first component is used to obtain loop-free alternate (LFA) Internet Protocol (IP) data from the forwarding information base (FIB) or routing information base (RIB) through the control plane of the network node via the first interface. The second component is used to construct an enhanced bit index forwarding table (BIFTe) through the control plane of the network node when the IP LFA belongs to the desired type; the desired type includes a basic LFA or a topology-independent (TI) LFA. The third component is used to access the BIER network topology in the link state database (LSDB) through the control plane of the network node via the second interface, calculate the LFA of the desired type, and construct the BIFTe using the LFA when the IPLFA does not belong to the desired type. The fourth component is used to update the BIFTe in the data plane of the network node through the control plane of the network node via the third interface; The fifth component is used to forward BIER messages via the BIFTe through the data plane of the network node to avoid failure.

40. A controller in a Bit Index Explicit Replication (BIER) domain, characterized in that, The controller includes: The first component is used to obtain a loop-free alternate (LFA) for the network node from the forwarding information base (FIB) or routing information base (RIB) through the first interface. The second component is used to construct an enhanced bit index forwarding table (BIFTe) for the network node using the IP LFA when the IP LFA belongs to the desired type; the desired type includes a basic LFA or a topology-independent (TI) LFA; The third component is used to access the BIER network topology in the link state database (LSDB) through the second interface, calculate the LFA of the desired type, and use the LFA to construct the BIFTe for the network node when the IP LFA does not belong to the desired type. The fourth component is used to send the BIFTe of the network node to the network node through the third interface.

41. A non-transitory computer-readable medium, characterized in that, The non-transitory computer-readable medium includes a computer program product for use by network nodes in a Bit Index Explicit Replication (BIER) domain, the computer program product including computer-executable instructions stored in the non-transitory computer-readable medium, which, when executed by one or more processors, cause the network node to perform the method according to any one of claims 1 to 7.

42. A non-transitory computer-readable medium, characterized in that, The non-transitory computer-readable medium includes a computer program product for use by a controller in a Bit Index Explicit Replication (BIER) domain, the computer program product including computer-executable instructions stored in the non-transitory computer-readable medium, which, when executed by one or more processors, cause the controller to perform the method according to any one of claims 15 to 26.