A multicast data transmission method, device, system, apparatus and medium

By embedding node identification information from the SRv6 segment routing list into the multicast data, the problems of increased network device burden and security risks in traditional multicast methods are solved, achieving efficient and secure multicast data transmission.

CN119906660BActive Publication Date: 2026-04-17BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING TOPSEC NETWORK SECURITY TECH
Filing Date
2025-01-20
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Traditional multicast methods increase the burden on network devices, make multicast protocol configuration complex, and lack access control and security mechanisms, making it difficult to expand and prevent malicious device nodes from joining.

Method used

By embedding node identification information of the SRv6 segment routing list into multicast data, the forwarding nodes are controlled to forward data according to the routing path, reducing state information maintenance and optimizing path planning.

Benefits of technology

It improves the efficiency of multicast data transmission, reduces the difficulty of route lookup, and enhances the scalability and security of network devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906660B_ABST
    Figure CN119906660B_ABST
Patent Text Reader

Abstract

This application provides a multicast data transmission method, apparatus, system, device, and medium, relating to the field of network communication technology. The multicast data transmission method includes: acquiring target multicast data; wherein the SRv6 segment routing list carried by the target multicast data embeds identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path; traversing each node on the target multicast path, and when the current node is a forwarding node, controlling the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node; and when the current node is a receiving node, controlling the receiving node to receive the target multicast data. This application embodiment can effectively improve the technical effect of multicast data transmission efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network communication technology, and more specifically, to a multicast data transmission method, apparatus, system, device, and medium. Background Technology

[0002] Traditional multicast methods have several problems: 1. As network scale expands and the number of multicasts increases, network devices, such as routers, need to maintain more state information during multicast data transmission, significantly increasing the burden on network devices and making expansion difficult; 2. Network devices rely on specific multicast protocols, such as PIM (Protocol Independent Multicast), which are complex to configure; 3. Network devices lack access control and authentication mechanisms for device nodes during multicast data transmission, making it difficult to prevent malicious device nodes from joining or eavesdropping, posing potential security risks. Summary of the Invention

[0003] The purpose of this application is to provide a multicast data transmission method, apparatus, system, device, and medium to achieve the technical effect of effectively improving the efficiency of multicast data transmission.

[0004] In a first aspect, embodiments of this application provide a multicast data transmission method, including:

[0005] Obtain target multicast data; wherein, the SRv6 segment routing list carried by the target multicast data contains embedded identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path;

[0006] Traverse each node on the target multicast path. If the current node is a forwarding node, control the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node. If the current node is a receiving node, control the receiving node to receive the target multicast data.

[0007] In the above implementation process, by obtaining the target multicast data, since the SRv6 segment routing list carried by the target multicast data contains the identification information of each node on the target multicast path, and a segment of the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path, the forwarding nodes on the target multicast path can be directly controlled to forward the target multicast data according to the routing path corresponding to the forwarding node. There is no need to maintain a large amount of state information, and the difficulty of route lookup is reduced, thereby effectively improving the efficiency of multicast data transmission.

[0008] Furthermore, prior to acquiring the target multicast data, the process also includes:

[0009] Based on the network topology, the multicast path from the source node to each receiving node is planned to obtain the target multicast path.

[0010] In the above implementation process, by planning the multicast path from the source node to each receiving node according to the network topology, the target multicast path is obtained. This can take into account the network topology and plan the target multicast path reasonably and accurately, which is conducive to further improving the efficiency of multicast data transmission.

[0011] Furthermore, the method also includes:

[0012] Determine whether each node on the target multicast path is an abnormal node;

[0013] If at least one node on the target multicast path is an abnormal node, the at least one node is removed, and the target multicast path is replanned to update the target multicast path to the replanned target multicast path.

[0014] In the above implementation process, by removing at least one abnormal node when it is determined that there is at least one abnormal node on the target multicast path, and replanning the target multicast path and updating the target multicast path to the replanned target multicast path, the target multicast path can be replanned when at least one abnormal node on the target multicast path occurs, ensuring that the target multicast data is successfully transmitted according to the target multicast path, which is conducive to further improving the efficiency of multicast data transmission.

[0015] Further, determining whether each node on the target multicast path is an abnormal node includes:

[0016] For each node on the target multicast path, determine the network connection status of the node;

[0017] If the node is offline, it is determined to be an abnormal node.

[0018] In the above implementation process, by targeting each node on the target multicast path, if the network connection status of the node is determined to be offline, the node is identified as an abnormal node. This allows for accurate determination of whether a node is an abnormal node based on its network connection status.

[0019] Furthermore, the method also includes:

[0020] Based on the data transmission performance indicators fed back by each receiving node on the target multicast path, the target multicast path is adjusted and updated to the adjusted target multicast path.

[0021] In the above implementation process, by adjusting the target multicast path based on the data transmission performance indicators fed back by each receiving node on the target multicast path, and updating the target multicast path to the adjusted target multicast path, the data transmission performance indicators of this multicast can be evaluated to optimize and adjust the target multicast path. This ensures that when multicasting is performed for each receiving terminal next time, the next target multicast data can be transmitted according to the adjusted target multicast path, thereby improving the efficiency of multicast data transmission.

[0022] Secondly, embodiments of this application provide a multicast data transmission apparatus, including:

[0023] The data acquisition module is used to acquire target multicast data; wherein, the SRv6 segment routing list carried by the target multicast data contains embedded identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path.

[0024] The data transmission module is used to traverse each node on the target multicast path, and when the current node is a forwarding node, control the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node, and when the current node is a receiving node, control the receiving node to receive the target multicast data.

[0025] Thirdly, embodiments of this application provide a multicast data transmission system, including network devices;

[0026] The network device is used for:

[0027] Obtain target multicast data; wherein, the SRv6 segment routing list carried by the target multicast data contains embedded identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path;

[0028] Traverse each node on the target multicast path. If the current node is a forwarding node, control the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node. If the current node is a receiving node, control the receiving node to receive the target multicast data.

[0029] Furthermore, the network device includes a service server or a local area network forwarding device corresponding to the source node in the target multicast path.

[0030] Fourthly, embodiments of this application provide an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor; the processor executes the computer program to implement the method described above.

[0031] Fifthly, embodiments of this application provide a computer-readable storage medium, the computer-readable storage medium including a stored computer program; wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the method described above. Attached Figure Description

[0032] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 A flowchart illustrating a multicast data transmission method provided in the first embodiment of this application;

[0034] Figure 2 A schematic diagram of a multicast data transmission device provided in the second embodiment of this application;

[0035] Figure 3 A schematic diagram of a multicast data transmission system provided in the third embodiment of this application;

[0036] Figure 4 This is a schematic diagram illustrating the structure of a multicast data transmission system as exemplified in the third embodiment of this application;

[0037] Figure 5 This is a schematic diagram of the structure of an electronic device provided in the fourth embodiment of this application. Detailed Implementation

[0038] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0039] It should be noted that in the description of this application, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance. Furthermore, the step numbers in the text are only for the convenience of explaining the embodiments of this application and are not intended to limit the order in which the steps are performed.

[0040] Traditional multicast methods have several problems: 1. As network scale expands and the number of multicasts increases, network devices, such as routers, need to maintain more state information during multicast data transmission, significantly increasing the burden on network devices and making expansion difficult; 2. Network devices rely on specific multicast protocols, such as PIM (Protocol Independent Multicast), which are complex to configure; 3. Network devices lack access control and authentication mechanisms for device nodes during multicast data transmission, making it difficult to prevent malicious device nodes from joining or eavesdropping, posing potential security risks.

[0041] To address this, this application proposes a multicast data transmission method. By acquiring target multicast data, and since the SRv6 segment routing list carried by the target multicast data contains the identification information of each node on the target multicast path, and a segment of the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path, the forwarding nodes on the target multicast path can be directly controlled to forward the target multicast data according to the routing path corresponding to the forwarding node. This eliminates the need to maintain a large amount of state information and reduces the difficulty of route lookup, thereby effectively improving the efficiency of multicast data transmission.

[0042] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0043] The methods provided in this application can be executed by relevant terminal devices, and the following description uses network devices as the execution subject.

[0044] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a multicast data transmission method according to the first embodiment of this application. The first embodiment of this application provides a multicast data transmission method, including steps S101 to S102:

[0045] S101. Obtain target multicast data; wherein, the SRv6 segment routing list carried by the target multicast data contains the identification information of each node on the target multicast path, and a segment of the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path.

[0046] As an example, in a scenario where a network device needs to transmit the same data to multiple different receiving terminals, it obtains target multicast data. The target multicast data carries an SRv6 segment routing list that embeds the identification information of each node on the target multicast path, and a segment of the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path.

[0047] It's important to note that IPv6 (Internet Protocol Version 6) is a generation of network protocols designed by the Internet Engineering Task Force (IETF). SRv6 (Segment Routing IPv6) is simply a combination of SR (Segment Routing) and IPv6. It's a protocol designed based on source routing principles for forwarding IPv6 data over a network. SRv6 obtains SRv6 data by inserting an SRH (Segment Routing Header) into the IPv6 data. The SRH contains an SL (Segment List), which is an ordered list of one or more SIDs (Segment Identifiers) with IPv6 address characteristics. The destination address of the SRv6 data is updated segment by segment according to the SL, thus completing hop-by-hop forwarding and achieving segmented routing.

[0048] SRv6 leverages the richness of the IPv6 address space to embed path information into the header of IPv6 data, eliminating the need for network devices to maintain extensive state information and greatly simplifying network configuration and management. This mechanism not only reduces protocol overhead but also supports advanced features such as traffic engineering and path programming, enabling flexible responses to complex business needs. Furthermore, SRv6 is easy to integrate and extend, making it suitable for emerging network architectures such as SDN (Software Defined Network) and CDN (Content Delivery Network), driving the development of network automation and intelligence.

[0049] In an optional implementation of this embodiment, obtaining the target multicast data includes: obtaining original multicast data and a target multicast path; wherein the original multicast data is IPv6 data; embedding the identification information of each node on the target multicast path into the SRv6 segment routing list carried by the original multicast data, so that a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path, thereby obtaining the target multicast data.

[0050] As an example, in a scenario where a network device needs to transmit the same data to multiple different receiving terminals, it obtains raw multicast data from a multicast data source. This raw multicast data consists of IPv6 data encapsulated by the multicast data source and a target multicast path determined from the network device to each receiving terminal. Using the SRv6 protocol, a segmented routing extension header containing an SRv6 segment routing list is inserted into the raw multicast data. This allows the raw multicast data to carry the SRv6 segment routing list, and embeds the identification information of each node on the target multicast path within the SRv6 segment routing list. This ensures that a segment of the routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path, thus obtaining the target multicast data.

[0051] It should be noted that each node on the target multicast path represents a terminal along the path, such as a forwarding terminal and a receiving terminal.

[0052] In practical applications, the identification information of each node on the target multicast path can be the IP address (Internet Protocol Address) of each terminal that passes through the target multicast path.

[0053] S102. Traverse each node on the target multicast path. If the current node is a forwarding node, control the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node. If the current node is a receiving node, control the receiving node to receive the target multicast data.

[0054] As an example, after obtaining the target multicast data, the network device parses the identification information of each node on the target multicast path from the target multicast data, as well as the correspondence between each segment routing path in the segment routing list and the identification information of each node on the target multicast path.

[0055] Iterate through each node on the target multicast path. If the current node is a forwarding node, determine the routing path corresponding to the identification information of the forwarding node and control the forwarding node to forward the target multicast data according to the determined routing path. If the current node is a receiving node, control the receiving node to receive the target multicast data so that the receiving node can continue to process the target multicast data according to the actual application requirements.

[0056] This application embodiment obtains target multicast data. Since the SRv6 segment routing list carried by the target multicast data contains the identification information of each node on the target multicast path, and a segment of the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path, the forwarding nodes on the target multicast path can be directly controlled to forward the target multicast data according to the routing path corresponding to the forwarding node. There is no need to maintain a large amount of state information, and the difficulty of route lookup is reduced, thereby effectively improving the efficiency of multicast data transmission.

[0057] In an optional embodiment, before obtaining the target multicast data, the method further includes: planning multicast paths from the source node to each receiving node according to the network topology to obtain the target multicast path.

[0058] As an example, in a scenario where a network device needs to transmit the same data to multiple different receiving terminals, it plans a multicast path from the source node to each receiving node based on the network topology of the network device and the multiple receiving terminals, thus obtaining the target multicast path.

[0059] It should be noted that the source node refers to the network device.

[0060] In practical applications, network devices can use the shortest path tree algorithm or the minimum spanning tree algorithm to plan the multicast path from the source node to each receiving node based on the network topology where the network device and multiple receiving terminals are located, and obtain the target multicast path.

[0061] The embodiments of this application plan the multicast path from the source node to each receiving node according to the network topology to obtain the target multicast path. This can reasonably and accurately plan the target multicast path considering the network topology, which is conducive to further improving the efficiency of multicast data transmission.

[0062] In an optional embodiment, the method further includes steps S103 to S104:

[0063] S103. Determine whether each node on the target multicast path is an abnormal node;

[0064] S104. If at least one node on the target multicast path is an abnormal node, remove at least one node, replan the target multicast path, and update the target multicast path to the replanned target multicast path.

[0065] As an example, after parsing the target multicast path from the target multicast data, the network device determines whether each node on the target multicast path is an abnormal node. If at least one node on the target multicast path is an abnormal node, it is considered that these nodes cannot forward or receive the target multicast data normally and cannot transmit the target multicast data according to the target multicast path. At this time, these nodes are removed, and the target multicast path is replanned based on the network topology of the network device and each receiving terminal, as well as the nodes on the target multicast path other than these nodes, and the target multicast path is updated to the replanned target multicast path. If no node on the target multicast path is an abnormal node, it is considered that each node on the target multicast path can forward or receive the target multicast data normally and supports the transmission of the target multicast data according to the target multicast path. At this time, there is no need to replan the target multicast path.

[0066] This application embodiment removes at least one abnormal node from the target multicast path and replans the target multicast path, updating the target multicast path to the replanned target multicast path. This allows for the replanning of the target multicast path when at least one abnormal node occurs, ensuring successful transmission of target multicast data according to the target multicast path, which is beneficial for further improving the efficiency of multicast data transmission.

[0067] In an optional embodiment, determining whether each node on the target multicast path is an abnormal node includes: determining the network connection status of each node on the target multicast path; and determining the node as an abnormal node if the node is offline.

[0068] As an example, after parsing the target multicast path from the target multicast data, the network device determines the network connection status of each node on the target multicast path, such as offline or online status. If a node is offline, it is determined to be an abnormal node, and it is believed that the node cannot forward or receive the target multicast data normally due to the disconnection of the network connection. If a node is online, it is determined to be a normal node, and it is believed that the node still maintains the network connection and can forward or receive the target multicast data normally.

[0069] In practical applications, a detection cycle can be preset according to actual application requirements. After the detection cycle arrives, the network device detects the network connection status of each node on the target multicast path, thereby determining the network connection status of each node on the target multicast path.

[0070] This application embodiment determines whether a node is an abnormal node by identifying each node on the target multicast path as an abnormal node when the node's network connection status is offline. It can accurately determine whether a node is an abnormal node based on the node's network connection status.

[0071] In an optional embodiment, the method further includes step S105:

[0072] S105. Based on the data transmission performance indicators fed back by each receiving node on the target multicast path, adjust the target multicast path and update the target multicast path to the adjusted target multicast path.

[0073] As an example, after completing the transmission of target multicast data, the network device waits to obtain the data transmission performance indicators fed back by each receiving node on the target multicast path.

[0074] In one optional implementation of this embodiment, the data transmission performance indicators include one or more of data transmission latency and data packet loss rate.

[0075] As an example, after receiving the target multicast data, each receiving node on the target multicast path evaluates the data transmission performance metrics of this multicast, such as data transmission latency and data packet loss rate, and sends the data transmission performance metrics of this multicast to the network device.

[0076] After receiving the data transmission metrics from each receiving node on the target multicast path, the network device adjusts the target multicast path based on the data transmission performance metrics from each receiving node on the target multicast path, and updates the target multicast path to the adjusted target multicast path.

[0077] In another optional implementation of this embodiment, if the data transmission performance index fed back by any receiving node on the target multicast path is within a preset value range, the target multicast path is adjusted and updated to the adjusted target multicast path.

[0078] As an example, based on actual application requirements, a preset range of data transmission performance indicators is established. The network device compares the data transmission performance indicators reported by each receiving node on the target multicast path with the preset range. If the data transmission performance indicator reported by any receiving node on the target multicast path falls within the preset range, the target multicast path is adjusted and updated to the adjusted target multicast path.

[0079] For example, if the data transmission delay reported by any receiving node on the target multicast path is greater than a preset delay threshold, then the node with the largest data transmission delay is selected as the target node from all nodes on the target multicast path that are located before that receiving node. The target node is then removed. Based on the network topology of the network devices and each receiving terminal, as well as the nodes on the target multicast path other than the target node, the target multicast path is adjusted and updated to the adjusted target multicast path.

[0080] It is understandable that the data transmission latency reported by each receiving node on the target multicast path is determined based on the data transmission latency of each node between the network device and that receiving node, and is the overall data transmission latency.

[0081] This application embodiment adjusts the target multicast path based on the data transmission performance indicators fed back by each receiving node on the target multicast path, and updates the target multicast path to the adjusted target multicast path. This allows for the evaluation of the data transmission performance indicators of the current multicast to optimize and adjust the target multicast path, ensuring that the next target multicast data can be transmitted according to the adjusted target multicast path when multicasting to each receiving terminal in the future, thereby improving the efficiency of multicast data transmission.

[0082] Please refer to Figure 2 , Figure 2 This is a schematic diagram of a multicast data transmission device provided in the second embodiment of this application. The second embodiment of this application provides a multicast data transmission device, including: a data acquisition module 201, used to acquire target multicast data; wherein the SRv6 segment routing list carried by the target multicast data embeds the identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path; and a data transmission module 202, used to traverse each node on the target multicast path, and when the current node is a forwarding node, control the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node, and when the current node is a receiving node, control the receiving node to receive the target multicast data.

[0083] In an optional embodiment, the data acquisition module 201 is further configured to plan the multicast path from the source node to each receiving node according to the network topology before acquiring the target multicast data, thereby obtaining the target multicast path.

[0084] In an optional embodiment, the apparatus further includes a path optimization module, configured to: determine whether each node on the target multicast path is an abnormal node; if at least one node on the target multicast path is an abnormal node, remove at least one node, replan the target multicast path, and update the target multicast path to the replanned target multicast path.

[0085] In an optional embodiment, determining whether each node on the target multicast path is an abnormal node includes: determining the network connection status of each node on the target multicast path; and determining the node as an abnormal node if the node is offline.

[0086] In an optional embodiment, the apparatus further includes a path optimization module, configured to adjust the target multicast path based on the data transmission performance indicators fed back by each receiving node on the target multicast path, and update the target multicast path to the adjusted target multicast path.

[0087] The specific implementation process of the functions and roles of each module in the above-mentioned device can be found in the implementation process of the corresponding steps in the method described in the first embodiment of this application, and will not be repeated here.

[0088] Please refer to Figure 3 , Figure 3 This is a schematic diagram of a multicast data transmission system provided in the third embodiment of this application. The third embodiment of this application provides a multicast data transmission system, including a network device 301; the network device 301 is configured to: acquire target multicast data; wherein the SRv6 segment routing list carried by the target multicast data embeds the identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path; traverse each node on the target multicast path, and when the current node is a forwarding node, control the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node, and when the current node is a receiving node, control the receiving node to receive the target multicast data.

[0089] In an optional embodiment, network device 301 includes a service server or local area network forwarding device corresponding to the source node in the target multicast path.

[0090] As an example, when multiple receiving terminals are located in multiple different networks, the service server corresponding to the source node in the target multicast path can be selected as the network device.

[0091] When multiple receiving terminals are within the same network, a local area network (LAN) forwarding device can be selected as the network device. This LAN forwarding device includes routers or firewalls.

[0092] For example, such as Figure 4 As shown, assuming multiple receiving terminals are A1, A2, A3, B1, B2, and B3, and these terminals are located in multiple different networks, the service server corresponding to the source node in the target multicast path is selected as the network device. If the multiple receiving terminals are A1, A2, and A3, and they are located in the same network, the LAN forwarding device, i.e., firewall FW1, is selected as the network device. If the multiple receiving terminals are B1, B2, and B3, and they are located in the same network, the LAN forwarding device, i.e., firewall FW2, is selected as the network device.

[0093] The specific implementation process of the functions and roles of each device in the above system can be found in the implementation process of the corresponding steps in the method described in the first embodiment of this application, and will not be repeated here.

[0094] Please refer to Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in the fourth embodiment of this application. The third embodiment of this application provides an electronic device 40, including a processor 401, a memory 402, and a computer program stored in the memory 402 and configured to be executed by the processor 401; when the processor 401 executes the computer program, it implements the method described in the first embodiment of this application and achieves the same beneficial effects.

[0095] When the processor 401 reads a computer program from the memory 402 via the bus 404 and executes the computer program, it can implement any of the methods described in the first embodiment of this application.

[0096] Processor 401 can process digital signals and can include various computing architectures. For example, it can be a complex instruction set computer architecture, a reduced instruction set computer architecture, or an architecture that implements multiple instruction set combinations. In some examples, processor 401 can be a microprocessor.

[0097] Memory 402 can be used to store instructions executed by processor 401 or data related to the execution of instructions. These instructions and / or data may include code for implementing some or all of the functions of one or more modules described in the embodiments of this application. The processor 401 of this disclosure embodiment can be used to execute instructions in memory 402 to implement the method described in the first embodiment of this application. Memory 402 includes dynamic random access memory, static random access memory, flash memory, optical memory, or other memories well known to those skilled in the art.

[0098] The fifth embodiment of this application provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to perform the method described in the first embodiment of this application, and can achieve the same beneficial effects.

[0099] The method described in the first embodiment of this application can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the various embodiments of this application are executed, in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, a core network device, an OAM (Open Application Model), or other programmable devices.

[0100] The computer program or instructions may be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions may be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; or an optical medium, such as a digital video optical disc; or a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.

[0101] In summary, this application provides a multicast data transmission method, apparatus, system, device, and medium. The multicast data transmission method includes: acquiring target multicast data; wherein the SRv6 segment routing list carried by the target multicast data embeds the identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path; traversing each node on the target multicast path, and when the current node is a forwarding node, controlling the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node; and when the current node is a receiving node, controlling the receiving node to receive the target multicast data. This application, by acquiring the target multicast data, and since the SRv6 segment routing list carried by the target multicast data embeds the identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path, can subsequently directly control the forwarding nodes on the target multicast path to forward the target multicast data according to the routing path corresponding to the forwarding node, without needing to maintain a large amount of state information, and reducing the difficulty of route lookup, thereby effectively improving the efficiency of multicast data transmission.

[0102] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0103] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0104] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0105] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method of multicasting data transmission, characterized by, include: Obtain target multicast data; wherein, the SRv6 segment routing list carried by the target multicast data contains embedded identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path; Traverse each node on the target multicast path. If the current node is a forwarding node, control the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node. If the current node is a receiving node, control the receiving node to receive the target multicast data. The acquisition of target multicast data includes: Obtain the raw multicast data and the target multicast path; the raw multicast data is IPv6 data. The identification information of each node on the target multicast path is embedded in the SRv6 segment routing list carried by the original multicast data, so that a segment of the routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path, thereby obtaining the target multicast data. The method further includes: Based on the data transmission performance indicators fed back by each receiving node on the target multicast path, the target multicast path is adjusted and updated to the adjusted target multicast path.

2. The method according to claim 1, characterized in that, Before acquiring the target multicast data, the method further includes: Based on the network topology, the multicast path from the source node to each receiving node is planned to obtain the target multicast path.

3. The method according to claim 1, characterized in that, The method further includes: Determine whether each node on the target multicast path is an abnormal node; If at least one node on the target multicast path is an abnormal node, the at least one node is removed, and the target multicast path is replanned to update the target multicast path to the replanned target multicast path.

4. The method according to claim 3, characterized in that, Determining whether each node on the target multicast path is an abnormal node includes: For each node on the target multicast path, determine the network connection status of the node; If the node is offline, it is determined to be an abnormal node.

5. A multicast data transmission device, characterized in that, include: The data acquisition module is used to acquire target multicast data; wherein, the SRv6 segment routing list carried by the target multicast data contains embedded identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path. The data transmission module is used to traverse each node on the target multicast path, and when the current node is a forwarding node, control the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node, and when the current node is a receiving node, control the receiving node to receive the target multicast data. The data acquisition module is specifically used for: Obtain the raw multicast data and the target multicast path; the raw multicast data is IPv6 data. The identification information of each node on the target multicast path is embedded in the SRv6 segment routing list carried by the original multicast data, so that a segment of the routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path, thereby obtaining the target multicast data. The multicast data transmission device is also used for: Based on the data transmission performance indicators fed back by each receiving node on the target multicast path, the target multicast path is adjusted and updated to the adjusted target multicast path.

6. A multicast data transmission system, characterized in that, Including network equipment; The network device is used for: Obtain target multicast data; wherein, the SRv6 segment routing list carried by the target multicast data contains embedded identification information of each node on the target multicast path, and a segment of routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path; Traverse each node on the target multicast path. If the current node is a forwarding node, control the forwarding node to forward the target multicast data according to the routing path corresponding to the identification information of the forwarding node. If the current node is a receiving node, control the receiving node to receive the target multicast data. The network device is also used for: Obtain the raw multicast data and the target multicast path; the raw multicast data is IPv6 data. The identification information of each node on the target multicast path is embedded in the SRv6 segment routing list carried by the original multicast data, so that a segment of the routing path in the SRv6 segment routing list corresponds to the identification information of a node on the target multicast path, thereby obtaining the target multicast data. Based on the data transmission performance indicators fed back by each receiving node on the target multicast path, the target multicast path is adjusted and updated to the adjusted target multicast path.

7. The system according to claim 6, characterized in that, The network devices include the service server or LAN forwarding device corresponding to the source node in the target multicast path.

8. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor; when the processor executes the computer program, it implements the method according to any one of claims 1 to 4.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program; wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method for creating multicast path, communication device and system

    CN118337695A