A multicast data transmission method, device and computer readable storage medium
Patent Information
- Application Number
- CN202111563643.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2041-12-20
AI Technical Summary
[0003]互联网协议第6版通用比特位索引显式复制(IPv6 G-BIER)是面向IPv6的BIER协议,运行IPv6 G-BIER网络中,组播接收者节点由于芯片能力不足,例如微码空间不足,不能支持识别和解封装IPv6 G-BIER头部,进而导致IPv6 G-BIER网络的组播可靠性较低
[0038]The multicast data transmission method, apparatus, and computer-readable storage medium provided in this invention allow a message sending node to perform a penultimate hop popping PHP on the message to be sent, obtaining message A, when it determines that the message receiving node is a target node with the missing bit index explicit copying BIER forwarding capability. The sending node then sends message A to the receiving node. In this invention, the multicast receiver node announces the lack of IPv6 G-BIER forwarding capability through control plane protocol extensions, enabling adjacent intermediate nodes to pop IPv6 DOH-encapsulated G-BIER message headers and continue copying and forwarding. This allows the receiver node to parse the message, achieving IPv6 G-BIER multicast compatibility. This invention is compatible with existing equipment, has low network construction costs, simple network deployment, and is easy to maintain.
Smart Images

Figure CN116321012B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mobile communication technology, and in particular to a multicast data transmission method, apparatus, and computer-readable storage medium. Background Technology
[0002] Multicast, a communication method alongside unicast and broadcast, transmits data packets to all devices within a multicast group using a specific multicast address. When a device sends data to a group of devices, it doesn't need to send the data to every single device; instead, it sends the data to a specific multicast address, ensuring that all devices in the multicast group receive the data. For the sending device, data only needs to be sent once to reach all receivers. Multicast technology facilitates various network services, including live television, distance education, telemedicine, internet radio, multimedia conferencing, video surveillance, and other internet information services.
[0003] Internet Protocol version 6 Universal Bit Indexed Explicit Replication (IPv6 G-BIER) is a BIER protocol for IPv6. In IPv6 G-BIER networks, multicast receiver nodes cannot support the identification and decapsulation of IPv6 G-BIER headers due to insufficient chip capabilities, such as insufficient microcode space, which leads to low multicast reliability in IPv6 G-BIER networks. Summary of the Invention
[0004] In view of this, embodiments of the present invention aim to provide a multicast data transmission method, apparatus, and computer-readable storage medium.
[0005] To achieve the above objectives, the technical solution of this invention is implemented as follows:
[0006] This invention provides a multicast data transmission method, which is applied to a message sending node and includes:
[0007] If the message receiving node is determined to be the target node with the missing bit index explicit copy BIER forwarding capability, the penultimate hop pop PHP is executed on the message to be sent to obtain message A;
[0008] Send message A to the message receiving node.
[0009] Optionally, before determining that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability, the method further includes:
[0010] Receive the indication information announced by the message receiving node; wherein the indication information is used to indicate that the message receiving node lacks BIER forwarding capability;
[0011] The determination that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability includes:
[0012] Determine whether the message receiving node has received the notification information. If it has, determine that the message receiving node has indicated that it lacks BIER forwarding capability; otherwise, determine that the message receiving node has BIER forwarding capability.
[0013] The indication information received by the message receiving node includes:
[0014] The receiving node receives the instruction information announced through the control plane protocol extension.
[0015] In the indication information, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV is used to indicate the missing BIER forwarding capability, and the extended flag bit in the indication information is used to identify the missing BIER forwarding capability.
[0016] The step of executing the penultimate hop PHP for the message to be sent includes:
[0017] Remove the G-BIER packet header encapsulated in the IPv6 Destination Options Header (DOH) while preserving the IPv6 source and destination addresses of the packet.
[0018] This invention also provides a multicast data transmission method, which is applied to a message receiving node, including:
[0019] When the message receiving node is a target node with the capability to explicitly copy BIER forwarding with missing bit index, it receives message A forwarded by the message sending node. Message A is the message after the message sending node performs the penultimate hop pop-up PHP.
[0020] Optionally, after the receiving message sending node forwards message A, the method further includes:
[0021] Decapsulate message A according to the PHP code to obtain message B;
[0022] The message B is sent to the subsequent target node.
[0023] Optionally, before the receiving message sending node forwards message A, the method further includes:
[0024] The sending node of the message sends notification information; wherein the notification information is used to indicate that the receiving node of the message lacks BIER forwarding capability.
[0025] The notification indication information sent to the message sending node includes:
[0026] The node announces instruction information to the message through the control plane protocol extension.
[0027] In the indication information, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV is used to indicate the missing BIER forwarding capability, and the extended flag bit in the indication information is used to identify the missing BIER forwarding capability.
[0028] The message that is popped up after the penultimate hop of the PHP function by the message sending node is:
[0029] A packet with the G-BIER header encapsulated in the IPv6 Destination Options Header (DOH) removed, in which the IPv6 source and destination addresses remain unchanged.
[0030] This invention also provides a multicast data transmission apparatus, which is applied to a message sending node and includes:
[0031] The judgment and processing module is used to determine that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability, and execute the penultimate hop pop PHP for the message to be sent to obtain message A.
[0032] The sending module is used to send message A to the message receiving node.
[0033] This invention also provides a multicast data transmission apparatus, which is applied to a message receiving node and includes:
[0034] The receiving module is configured to receive message A forwarded by the message sending node when the message receiving node is a target node with the capability to explicitly copy BIER forwarding with missing bit indexes. Message A is the message after the message sending node performs the penultimate hop pop-up PHP.
[0035] This invention also provides a multicast data transmission apparatus, which includes: a processor and a memory for storing computer programs capable of running on the processor.
[0036] When the processor runs the computer program, it executes the steps of the above method.
[0037] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described method.
[0038] The multicast data transmission method, apparatus, and computer-readable storage medium provided in this invention allow a message sending node to perform a penultimate hop popping PHP on the message to be sent, obtaining message A, when it determines that the message receiving node is a target node with the missing bit index explicit copying BIER forwarding capability. The sending node then sends message A to the receiving node. In this invention, the multicast receiver node announces the lack of IPv6 G-BIER forwarding capability through control plane protocol extensions, enabling adjacent intermediate nodes to pop IPv6 DOH-encapsulated G-BIER message headers and continue copying and forwarding. This allows the receiver node to parse the message, achieving IPv6 G-BIER multicast compatibility. This invention is compatible with existing equipment, has low network construction costs, simple network deployment, and is easy to maintain. Attached Figure Description
[0039] Figure 1 This is a schematic diagram of the multicast data transmission method described in an embodiment of the present invention. Figure 1 ;
[0040] Figure 2 This is a schematic diagram of the multicast data transmission method described in an embodiment of the present invention. Figure 2 ;
[0041] Figure 3 This is a schematic diagram of the multicast data transmission device described in an embodiment of the present invention. Figure 1 ;
[0042] Figure 4 This is a schematic diagram of the multicast data transmission device described in an embodiment of the present invention. Figure 2 ;
[0043] Figure 5 This is a schematic diagram of the extended flags for requesting PHP capabilities as described in an embodiment of the present invention;
[0044] Figure 6 This is a schematic diagram of a multicast data transmission compatibility scheme for a scenario embodiment of the present invention. Detailed Implementation
[0045] The present invention will now be described in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The present application will now be described in detail with reference to the accompanying drawings and embodiments.
[0046] Traditional PIM protocols require hop-by-hop joining to establish a multicast tree, but the new BIER protocol eliminates the need for protocols to explicitly build multicast distribution trees and requires no intermediate nodes to maintain any flow state. When a multicast packet enters a BIER area, the ingress router determines the set of egress routers to which the packet should be sent; the ingress router then encapsulates the packet in a BIER header. To forward the packet to a given set of egress routers, bits corresponding to the egress routers are set in the BIER header.
[0047] The BIER protocol simplifies multicast routing and forwarding, eliminating the need for multicast control protocols, multicast trees, and multicast tunnels. Intermediate nodes see no multicast stream state information and do not need to store any multicast state; they only need to exchange source and receiver information between network ingress and egress devices. BIER nodes forward data solely based on the network topology, inheriting the FRR and LFA of unicast. BIER network convergence is as fast as unicast, eliminating the need for multicast state signaling interaction and convergence processes.
[0048] IPv6 G-BIER is a BIER protocol for IPv6. It extends the IPv6 DOH encapsulation of the G-BIER header. Both the source and destination addresses of the IPv6 G-BIER are extended to network programming addresses. The source address is the multicast service address, containing two parts: BFIR and MVPN ID, which remain unchanged throughout the forwarding process. The BFIR is used by multicast receiver nodes for RPF checks, and the MVPN ID is used to look up the corresponding VRF multicast entry. The destination address is the Multicast Policy Reserved Address (MRPA), used to identify and parse the IPv6 G-BIER header hop-by-hop. The destination address and the BitString field of the IPv6 G-BIER header need to be edited hop-by-hop.
[0049] When operating an IPv6 G-BIER network, multicast receiver nodes (such as the packet receiving nodes mentioned above) cannot support the recognition and decapsulation of IPv6 G-BIER headers due to insufficient chip capabilities (e.g., insufficient microcode space). Therefore,
[0050] This invention provides a multicast data transmission method, such as... Figure 1 As shown, this method is applied to a message sending node and includes:
[0051] Step 101: If it is determined that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability, execute the penultimate hop pop PHP for the message to be sent to obtain message A;
[0052] Step 102: Send message A to the message receiving node.
[0053] Here, the message receiving node is: Next Hop Bit Forwarding Router (BFR).
[0054] In one embodiment of the present invention, before determining that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability, the method further includes:
[0055] Receive the indication information announced by the message receiving node; wherein the indication information is used to indicate that the message receiving node lacks BIER forwarding capability;
[0056] The determination that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability includes:
[0057] Determine whether the message receiving node has received the notification information. If it has, determine that the message receiving node has indicated that it lacks BIER forwarding capability; otherwise, determine that the message receiving node has BIER forwarding capability.
[0058] In this embodiment of the invention, the indication information received by the message receiving node includes:
[0059] The receiving node receives the instruction information announced through the control plane protocol extension.
[0060] In this embodiment of the invention, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV in the indication information is used to indicate the lack of BIER forwarding capability, and the extended flag bit in the indication information is used to identify the lack of BIER forwarding capability.
[0061] RFC 8401 defines the publication of sub-domain information for Bit Index Explicit Replication (BIER), using an IS-IS Reachability Prefix TLV carrying a BIER Info sub-TLV. Each BIER Info sub-TLV contains a sub-domain-id. IPv6 G-BIER capabilities are published through sub-sub-TLVs of the BIER Info sub-TLV. In this embodiment, the receiver node can identify this by setting the extended flag P when requesting PHP, such as... Figure 5 As shown.
[0062] Here, when a neighboring node (such as the message sending node mentioned above) receives the sub-sub-TLV of IPv6 G-BIER capability advertised by the message receiving node through the BIER Info Sub-TLV, it needs to determine whether the flag bit P is set. If it is set, it indicates that the IPv6 G-BIER forwarding capability of the receiving node is missing. Based on the BIER forwarding table, it determines that the next hop BFR is the receiving node (BFER). Then, when forwarding the IPv6 G-BIER message, it automatically performs the penultimate hop pop (PHP), removes the G-BIER Option from the IPv6 Destination Options Header (DOH), and continues to copy and forward the message while maintaining the IPv6 source and destination addresses.
[0063] In this embodiment of the invention, the step of executing the penultimate hop PHP for the message to be sent includes:
[0064] Remove the G-BIER packet header encapsulated in the IPv6 Destination Options Header (DOH) while preserving the IPv6 source and destination addresses of the packet.
[0065] In addition, apart from the receiver node and its neighboring nodes, other nodes operate according to the defined IPv6G-BIER protocol flow.
[0066] This invention also provides a multicast data transmission method, such as... Figure 2 As shown, this method is applied to a message receiving node and includes:
[0067] Step 201: If the message receiving node is a target node with the capability to explicitly copy BIER forwarding with missing bit index, receive message A forwarded by the message sending node. Message A is the message after the message sending node performs the penultimate hop pop-up PHP.
[0068] In one embodiment of the present invention, such as Figure 2 As shown, after the receiving message sending node forwards message A, the method further includes:
[0069] Step 202: Decapsulate message A according to the method corresponding to the PHP code to obtain message B;
[0070] Step 203: Send message B to the subsequent target node.
[0071] In one embodiment of the present invention, before the receiving message sending node forwards message A, the method further includes:
[0072] The sending node of the message sends notification information; wherein the notification information is used to indicate that the receiving node of the message lacks BIER forwarding capability.
[0073] In this embodiment of the invention, the step of announcing the message sending node notification information includes:
[0074] The node announces instruction information to the message through the control plane protocol extension.
[0075] In this embodiment of the invention, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV in the indication information is used to indicate the lack of BIER forwarding capability, and the extended flag bit in the indication information is used to identify the lack of BIER forwarding capability.
[0076] The extended flag bit can be set to P to indicate the lack of BIER forwarding capability.
[0077] Here, as the receiver node (Bit Forwarding Egress Router BFER, i.e., the packet receiving node mentioned above), the receiver node announces its lack of IPv6 G-BIER forwarding capability through the control plane protocol extension, and requests the penultimate hop popping (PHP) from the neighboring node (a new Sub-sub-TLV definition is added in BIER Info Sub-TLV). The forwarding plane needs to extend to identify the source and destination addresses of the IPv6 packet, perform RPF checks through the source address, and find the corresponding multicast instance (VPN), which is the same as the defined IPv6 G-BIER source address extension.
[0078] In this embodiment of the invention, the message after the penultimate hop of the PHP output by the message sending node is:
[0079] A packet with the G-BIER header encapsulated in the IPv6 Destination Options Header (DOH) removed, in which the IPv6 source and destination addresses remain unchanged.
[0080] Based on the above scheme description, the basic forwarding process compatible with IPv6 G-BIER multicast receivers is as follows:
[0081] 1. The BFIR, acting as the entry PE, performs multicast packet replication based on the IP multicast table entries provided by the Overlay layer and the corresponding SD, SI, BSL, and BitString information. It then looks up the BIFT table (BIER forwarding table), encapsulates IPv6 G-BIER packets, and forwards them. The IPv6 source address (SA) is set to the BFIR's network prefix + service ID, and the IPv6 destination address (DA) is set to the MPRA of the next-hop BFR.
[0082] 2. The intermediate node looks up the unicast routing table based on the DA of the IPv6 G-BIER packet, matching it with the reserved address of the local multicast policy. If a match is successful, the G-BIER packet needs to be parsed. Based on the SD, SI, and BSL in the BIER header, the specific BIERforwarding table (BIFT) is looked up, comparing the BitString information with the local BFR-ID. Replication and forwarding are performed based on the BitString information, with DA set to the reserved address of the next hop's multicast policy, and SA remaining unchanged. If the next hop is a BFER (i.e., this node is a BFER neighbor), it checks whether it has received a BFER-announced message indicating a missing IPv6 G-BIER forwarding capability (i.e., the P flag is set). If it has, the IPv6 DOH-encapsulated G-BIER packet header is popped, and replication and forwarding continue.
[0083] 3. If the BFER node acting as the receiver does not support IPv6 G-BIER forwarding capability and has advertised the P flag setting, the received packet will not contain the DOH-encapsulated G-BIER header. In this case, the inner multicast packet of the payload will be decapsulated, and the corresponding multicast routing table will be looked up according to the MS ID information in the SA, and the relevant replication and forwarding will be performed.
[0084] The following is a scenario-based implementation of an IPv6 G-BIER multicast receiver compatibility solution. The specific process is as follows:
[0085] First, the IPv6 G-BIER configurations for each device are as follows:
[0086] 1 PSR, 2 PEs, 2 MBs, 3 SRs, such as Figure 6 As shown;
[0087] The identifiers for the PSR-PE-MB-SR nodes are A:1, B:1 / B:2, C:1 / C:2, D:1 / D:2 / D:3 respectively;
[0088] The MPRA of the PSR-PE-MB-SR nodes are A:1::FFFE,B:1::FFFE / B:2::FFFE,C:1::FFFE / C:2::FFFE,D:1::FFFE / D:2::FFFE / D:3::FFFE;
[0089] The address identifier A:1:: / 112 on the PSR identifies the BFIR prefix, and the lower 16 bits of 100 identify the MVPN ID;
[0090] Step 1: The PSR1 MVPN instance on the private network side receives IP multicast packets from the CE (not shown). It finds the MVPN forwarding instance associated with the interface that received the multicast packets, searches the IP multicast forwarding table in the MVPN forwarding instance, determines that the multicast packets are forwarded on the IPv6 BIER type PMSI tunnel, and determines the IPv6 SA, BSL / SD / SI, BitString, and other parameters corresponding to the IPv6 BIER PMSI tunnel. It then searches the local IPv6 BIER forwarding table according to BSL / SD / SI and BitString to determine that the packets are forwarded to the IPv6 BIER neighbor PE1. The forwarding encapsulation is SA=A:1::100, DA=B:1::FFFE (MPRA of neighbor PE1), BSL / SD / SI=3 / 0 / 0 (where BSL=3 represents 256 bits), BitString=0111, and performs IPv6 unicast forwarding based on DA.
[0091] Step 2: When PE1 receives the packet, the IPv6 DA of the packet matches MPRAB:1::FFFE. Based on the BSL / SD / SI and BitString of the packet, the local IPv6 BIER forwarding table is searched to determine whether to forward it to the neighbor MB1. The forwarding encapsulation SA remains unchanged, DA = C:1::FFFE (MPRA of neighbor MB1), BSL / SD / SI = 3 / 0 / 0, BitString = 0111.
[0092] Step 3: When MB1 receives the packet, the IPv6 DA of the packet matches MPRAC:1::FFFE. It then searches the local IPv6 BIER forwarding table based on the packet's BSL / SD / SI and BitString, determining to copy and forward it to neighbors SR1 / SR2 / SR3. It encapsulates the destination address as the multicast policy reserved address DA = D:1::FFFE / D:2::FFFE / D:3::FFFE for SR1 / SR2 / SR3, while keeping the source address SA unchanged. SR1 has announced the lack of IPv6 G-BIER forwarding capability (P flag set). Multicast packets copied to SR1 are forwarded after removing the IPv6 DOH encapsulated G-BIER header. Packets forwarded to SR2 / SR3 retain the IPv6 DOH encapsulated G-BIER header, with BSL / SD / SI = 3 / 0 / 0 and BitString = 0010 / 0100. The packet format for forwarding to SR2 / SR3 is shown in the diagram.
[0093] Step 4: SR1 node receives the packet. The IPv6 DA of the packet matches MRPAD:1::FFFE, so it directly decapsulates it. At the same time, it verifies whether the BFIR of the IPv6 SA prefix has passed the RPF check, finds the local MVPN instance corresponding to the MVPN ID, and the packet payload enters the corresponding MVPN forwarding instance for private network IP multicast forwarding. SR2 / SR3 nodes determine whether it is a BFIR based on whether the BFR-id corresponding to the bit set to 1 in the BitString of the G-BIER header of the IPv6 DOH encapsulation is its own BFR-id. The subsequent decapsulation process is similar to that of SR1 and will not be described in detail.
[0094] To implement the above method embodiments, this invention also provides a multicast data transmission device, such as... Figure 3 As shown, this device is applied to a message sending node and includes:
[0095] The judgment and processing module 301 is used to execute the penultimate hop pop-PHP for the message to be sent and obtain message A when it is determined that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability.
[0096] The sending module 302 is used to send the message A to the message receiving node.
[0097] In one embodiment of the present invention, before determining that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability, the judgment processing module 301 is further configured to receive indication information announced by the message receiving node; wherein, the indication information is used to indicate that the message receiving node lacks BIER forwarding capability.
[0098] The determination and processing module 301 determines that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability, including:
[0099] Determine whether the message receiving node has received the notification information. If it has, determine that the message receiving node has indicated that it lacks BIER forwarding capability; otherwise, determine that the message receiving node has BIER forwarding capability.
[0100] In this embodiment of the invention, the judgment processing module 301 receives the indication information announced by the message receiving node, including:
[0101] The receiving node receives the instruction information announced through the control plane protocol extension.
[0102] In this embodiment of the invention, nodes communicate instruction information through control plane protocol extensions.
[0103] In this embodiment of the invention, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV in the indication information is used to indicate the lack of BIER forwarding capability, and the extended flag bit in the indication information is used to identify the lack of BIER forwarding capability.
[0104] In this embodiment of the invention, the judgment and processing module 301 performs a penultimate hop pop-up PHP for the message to be sent, including:
[0105] Remove the G-BIER packet header encapsulated in the IPv6 Destination Options Header (DOH) while preserving the IPv6 source and destination addresses of the packet.
[0106] This invention also provides a multicast data transmission device, such as... Figure 4 As shown, this device is applied to a message receiving node and includes:
[0107] The receiving module 401 is used to receive message A forwarded by the message sending node when the message receiving node is a target node with the capability of explicitly copying BIER forwarding with missing bit index. Message A is the message after the message sending node performs the penultimate hop pop-up PHP.
[0108] In one embodiment of the present invention, such as Figure 4 As shown, the device also includes: a deblocking processing module 402, which receives message A forwarded by the message sending node after the receiving module 401...
[0109] The decapsulation processing module 402 is used to decapsulate the message A according to the method corresponding to the PHP, so as to obtain message B;
[0110] The message B is sent to the subsequent target node.
[0111] In one embodiment of the present invention, before the receiving message sending node forwards message A, the unblocking processing module 402 is further configured to notify the message sending node of indication information; wherein, the indication information is configured to indicate that the message receiving node lacks BIER forwarding capability.
[0112] In this embodiment of the invention, the unblocking processing module 402 sends node notification indication information to the message, including:
[0113] The node announces instruction information to the message through the control plane protocol extension.
[0114] In this embodiment of the invention, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV in the indication information is used to indicate the lack of BIER forwarding capability, and the extended flag bit in the indication information is used to identify the lack of BIER forwarding capability.
[0115] The extended flag bit can be set to P to indicate the lack of BIER forwarding capability.
[0116] In this embodiment of the invention, the message after the penultimate hop of the PHP output by the message sending node is:
[0117] A packet with the G-BIER header encapsulated in the IPv6 Destination Options Header (DOH) removed, in which the IPv6 source and destination addresses remain unchanged.
[0118] This invention also provides a multicast data transmission apparatus, which includes: a processor and a memory for storing computer programs capable of running on the processor.
[0119] When the processor runs the computer program, it performs the following:
[0120] If the message receiving node is determined to be the target node with the missing bit index explicit copy BIER forwarding capability, the penultimate hop pop PHP is executed on the message to be sent to obtain message A;
[0121] Send message A to the message receiving node.
[0122] Before determining that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability, the processor is also configured to execute the following when running the computer program:
[0123] Receive the indication information announced by the message receiving node; wherein the indication information is used to indicate that the message receiving node lacks BIER forwarding capability;
[0124] The determination that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability includes:
[0125] Determine whether the message receiving node has received the notification information. If it has, determine that the message receiving node has indicated that it lacks BIER forwarding capability; otherwise, determine that the message receiving node has BIER forwarding capability.
[0126] When receiving the indication information announced by the message receiving node, the processor is also configured to execute the following when running the computer program:
[0127] The receiving node receives the instruction information announced through the control plane protocol extension.
[0128] In the indication information, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV is used to indicate the missing BIER forwarding capability, and the extended flag bit in the indication information is used to identify the missing BIER forwarding capability.
[0129] When the processor is executing the penultimate hop of the PHP code to be sent, and when it is also used to run the computer program, it executes:
[0130] Remove the G-BIER packet header encapsulated in the IPv6 Destination Options Header (DOH) while preserving the IPv6 source and destination addresses of the packet.
[0131] This invention also provides a multicast data transmission apparatus, which includes: a processor and a memory for storing computer programs capable of running on the processor.
[0132] When the processor runs the computer program, it performs the following:
[0133] When the message receiving node is a target node with the capability to explicitly copy BIER forwarding with missing bit index, it receives message A forwarded by the message sending node. Message A is the message after the message sending node performs the penultimate hop pop-up PHP.
[0134] After the receiving message sending node forwards message A, the processor is also used to execute the following when running the computer program:
[0135] Decapsulate message A according to the PHP code to obtain message B;
[0136] The message B is sent to the subsequent target node.
[0137] Before the receiving message sending node forwards message A, the processor is also configured to execute the following when running the computer program:
[0138] The sending node of the message sends notification information; wherein the notification information is used to indicate that the receiving node of the message lacks BIER forwarding capability.
[0139] When the processor sends node notification indication information to the message, it is also used to execute the following when running the computer program:
[0140] The node announces instruction information to the message through the control plane protocol extension.
[0141] In the indication information, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV is used to indicate the missing BIER forwarding capability, and the extended flag bit in the indication information is used to identify the missing BIER forwarding capability.
[0142] The message that is popped up after the penultimate hop of the PHP function by the message sending node is:
[0143] A packet with the G-BIER header encapsulated in the IPv6 Destination Options Header (DOH) removed, in which the IPv6 source and destination addresses remain unchanged.
[0144] It should be noted that the above embodiments of the apparatus for multicast data transmission are only illustrated by the division of the above-described program modules. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the apparatus and corresponding method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0145] In an exemplary embodiment, the present invention also provides a computer-readable storage medium, which may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM; or it may be a device including one or any combination of the above-mentioned memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
[0146] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, performs the following:
[0147] If the message receiving node is determined to be the target node with the missing bit index explicit copy BIER forwarding capability, the penultimate hop pop PHP is executed on the message to be sent to obtain message A;
[0148] Send message A to the message receiving node.
[0149] Before determining that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability, the computer program, when run by the processor, also executes:
[0150] Receive the indication information announced by the message receiving node; wherein the indication information is used to indicate that the message receiving node lacks BIER forwarding capability;
[0151] The determination that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability includes:
[0152] Determine whether the message receiving node has received the notification information. If it has, determine that the message receiving node has indicated that it lacks BIER forwarding capability; otherwise, determine that the message receiving node has BIER forwarding capability.
[0153] When the instruction information announced by the message receiving node is received, the computer program, when run by the processor, also executes:
[0154] The receiving node receives the instruction information announced through the control plane protocol extension.
[0155] In the indication information, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV is used to indicate the missing BIER forwarding capability, and the extended flag bit in the indication information is used to identify the missing BIER forwarding capability.
[0156] When the penultimate hop of the PHP code is executed on the message to be sent, the computer program, when run by the processor, also executes:
[0157] Remove the G-BIER packet header encapsulated in the IPv6 Destination Options Header (DOH) while preserving the IPv6 source and destination addresses of the packet.
[0158] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, performs the following:
[0159] When the message receiving node is a target node with the capability to explicitly copy BIER forwarding with missing bit index, it receives message A forwarded by the message sending node. Message A is the message after the message sending node performs the penultimate hop pop-up PHP.
[0160] After the receiving message sending node forwards message A, when the computer program is run by the processor, it also executes:
[0161] Decapsulate message A according to the PHP code to obtain message B;
[0162] The message B is sent to the subsequent target node.
[0163] Before the receiving message sending node forwards message A, when the computer program is run by the processor, it also executes:
[0164] The sending node of the message sends notification information; wherein the notification information is used to indicate that the receiving node of the message lacks BIER forwarding capability.
[0165] When the node notification indication information is sent to the message, the computer program, when executed by the processor, also performs the following:
[0166] The node announces instruction information to the message through the control plane protocol extension.
[0167] In the indication information, the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV is used to indicate the missing BIER forwarding capability, and the extended flag bit in the indication information is used to identify the missing BIER forwarding capability.
[0168] The message that is popped up after the penultimate hop of the PHP function by the message sending node is:
[0169] A packet with the G-BIER header encapsulated in the IPv6 Destination Options Header (DOH) removed, in which the IPv6 source and destination addresses remain unchanged.
[0170] In this embodiment of the invention, the multicast receiver node announces the lack of IPv6 G-BIER forwarding capability through control plane protocol extensions. This allows adjacent intermediate nodes to pop the IPv6 DOH-encapsulated G-BIER packet header and continue copying and forwarding, thereby enabling the receiver node to parse the packet and achieving IPv6 G-BIER multicast compatibility. This embodiment of the invention is compatible with existing equipment, has low network construction costs, simple network deployment, and is easy to maintain.
[0171] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention.
Claims
1. A multicast data transmission method, characterized in that, This method is applied to message sending nodes, including: Before determining that the message receiving node is the target node for explicitly copying the BIER forwarding capability with missing bit index, the indication information announced by the message receiving node is received; wherein, the indication information is used to indicate that the message receiving node lacks BIER forwarding capability; the second-level sub-TLVsub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV in the indication information is used to indicate the lack of BIER forwarding capability, and the extended flag bit in the indication information is used to identify the lack of BIER forwarding capability; If the message receiving node is determined to be the target node with the missing bit index explicit copy BIER forwarding capability, the penultimate hop pop PHP is executed on the message to be sent to obtain message A; Send message A to the message receiving node; The process of executing the penultimate hop PHP for the message to be sent includes: Remove the G-BIER header encapsulated in the IPv6 Destination Options Header (DOH) and retain the IPv6 source and destination addresses of the packet; the IPv6 source address contains BFIR and MVPN ID, and the BFIR in the prefix portion of the IPv6 source address is used for RPF checking.
2. The method according to claim 1, characterized in that, The determination that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability includes: Determine whether the message receiving node has received the notification information. If it has, determine that the message receiving node has indicated that it lacks BIER forwarding capability; otherwise, determine that the message receiving node has BIER forwarding capability.
3. The method according to claim 2, characterized in that, The indication information received by the message receiving node includes: The receiving node receives the instruction information announced through the control plane protocol extension.
4. A multicast data transmission method, characterized in that, This method is applied to message receiving nodes, including: Before receiving message A forwarded by the message sending node, the receiving node notifies the message sending node of indication information; wherein, the indication information is used to indicate that the message receiving node lacks BIER forwarding capability; the second-level sub-TLV sub-sub-TLV of the BIER information sub-TLV length value BIER Info sub-TLV in the indication information is used to indicate the lack of BIER forwarding capability, and the extended flag bit in the indication information is used to identify the lack of BIER forwarding capability; In the case that the message receiving node is a target node with the capability to explicitly copy BIER forwarding with missing bit index, the message receiving node forwards message A, which is the message after the message sending node performs the penultimate hop pop-up PHP; The message after the penultimate hop of the PHP output is executed by the message sending node is: The packet with the G-BIER header encapsulated in the IPv6 Destination Options Header (DOH) removed remains unchanged, with the IPv6 source address and destination address remaining the same. The IPv6 source address contains BFIR and MVPN ID, and the BFIR in the prefix portion of the IPv6 source address is used for RPF checking.
5. The method according to claim 4, characterized in that, After the receiving message sending node forwards message A, the method further includes: Decapsulate message A according to the PHP code to obtain message B; The message B is sent to the subsequent target node.
6. The method according to claim 4, characterized in that, The notification instruction information sent to the message sending node includes: The node announces instruction information to the message through the control plane protocol extension.
7. A multicast data transmission device, characterized in that, The device is applied to the message sending node and includes: a judgment and processing module, which is used to perform the penultimate hop pop PHP on the message to be sent and obtain message A when it is determined that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability; The sending module is used to send message A to the message receiving node; The judgment and processing module is specifically used to remove the G-BIER packet header encapsulated in the IPv6 Destination Option Header (DOH) while maintaining the IPv6 source address and destination address of the packet; wherein, the IPv6 source address contains BFIR and MVPN ID, and the BFIR in the prefix part of the IPv6 source address is used for RPF check. The judgment and processing module is further configured to receive indication information announced by the message receiving node before determining that the message receiving node is the target node with the missing bit index explicit copy BIER forwarding capability; wherein, the indication information is used to indicate that the message receiving node lacks BIER forwarding capability; the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIERInfo sub-TLV in the indication information is used to indicate the lack of BIER forwarding capability, and the extended flag bit in the indication information is used to identify the lack of BIER forwarding capability.
8. A multicast data transmission device, characterized in that, This device is used in message receiving nodes and includes: The receiving module is configured to receive message A forwarded by the message sending node when the message receiving node is a target node with the capability to explicitly copy BIER forwarding with missing bit indexes. Message A is the message after the message sending node performs the penultimate hop pop-up PHP. The message after the penultimate hop of the PHP output is executed by the message sending node is: The packet with the G-BIER header encapsulated in the IPv6 Destination Options Header (DOH) removed remains unchanged in terms of IPv6 source and destination addresses; wherein, the IPv6 source address contains BFIR and MVPN ID, and the BFIR in the prefix portion of the IPv6 source address is used for RPF checking. Before the receiving message sending node forwards message A, the deblocking processing module is used to notify the message sending node of indication information; wherein, the indication information is used to indicate that the message receiving node lacks BIER forwarding capability; the second-level sub-TLV sub-sub-TLV of the BIER information sub-type length value BIER Info sub-TLV in the indication information is used to indicate the lack of BIER forwarding capability, and the extended flag bit in the indication information is used to identify the lack of BIER forwarding capability.
9. A multicast data transmission device, characterized in that, The device includes: a processor and a memory for storing computer programs that can run on the processor. When the processor is used to run the computer program, it performs the steps of the method according to any one of claims 1-3, or the steps of the method according to any one of claims 4-6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1-3, or the steps of the method according to any one of claims 4-6.
Citation Information
Patent Citations
Message processing method, device, system and equipment and storage medium
CN112737954A