CN115955431A - Data transmission method, device and storage medium - Google Patents

Data transmission method, device and storage medium Download PDF

Info

Publication number
CN115955431A
CN115955431A CN202211501882.0A CN202211501882A CN115955431A CN 115955431 A CN115955431 A CN 115955431A CN 202211501882 A CN202211501882 A CN 202211501882A CN 115955431 A CN115955431 A CN 115955431A
Authority
CN
China
Prior art keywords
multicast
data
routing information
data transmission
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211501882.0A
Other languages
Chinese (zh)
Other versions
CN115955431B (en
Inventor
朱琳
庞冉
张学茹
武成洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211501882.0A priority Critical patent/CN115955431B/en
Publication of CN115955431A publication Critical patent/CN115955431A/en
Application granted granted Critical
Publication of CN115955431B publication Critical patent/CN115955431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a data transmission method, a data transmission device and a storage medium, relates to the technical field of communication, and is used for realizing the transmission of multicast data between different multicast domains without changing the existing configuration of node equipment. The method comprises the following steps: after acquiring the multicast data sent by the source node device in the first domain, target multicast routing information corresponding to the multicast data may be determined from a set of multicast routing information stored in advance. The multicast routing information set comprises multicast routing information in a plurality of multicast domains. Then, the multicast data can be sent to the destination node device according to the target multicast routing information. The home domain of the destination node device may include: a second domain of the plurality of multicast domains different from the multicast technology supported by the first domain.

Description

Data transmission method, device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method, an apparatus, and a storage medium.
Background
The multicast technology can realize that when a plurality of receiving ends subscribe the same data, the sending end only needs to send the data stream once, thereby solving the problems of repeated copying of the data and repeated occupation of the bandwidth under the unicast condition and also solving the waste of the bandwidth resources under the broadcast mode.
The novel multicast technology based on Bit Index Explicit Replication (BIER) can encapsulate a set of destination node devices of a multicast message in a message header in a bit string manner for transmission, so that network intermediate node devices do not need to establish a multicast tree and store multicast stream states for each multicast stream (per-flow), and only need to replicate and forward according to the set of destination node devices of the message header. The steps of maintaining the multicast tree and the stream state for each data stream in the commonly used multicast technology are simplified.
However, the BIER technology has a high requirement on node device configuration, and most of the node devices in the domains corresponding to other multicast technologies cannot support the BIER technology at the same time. When cooperative operation between different multicast technologies needs to be realized, the general method needs to deploy a User Network Interface (UNI) on the node device, so that multicast routing information is acquired between the BIER domain and other domains through the UNI. While other methods require manual creation and maintenance of multicast routing information. Therefore, the general data transmission method requires higher node device configuration or labor cost, which is not favorable for the development of multicast technology.
Disclosure of Invention
As shown in the background art, the BIER technology has a high requirement on the configuration of the node device, and in domains corresponding to other multicast technologies, most of the node devices cannot simultaneously support the BIER technology, so that cooperative operations between different multicast technologies cannot be realized. Based on the above technical problems, the present application provides a data transmission method, apparatus and storage medium, which are used to implement transmission of multicast data between different multicast domains without changing the existing configuration of node devices.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a data transmission method is provided, including: after acquiring the multicast data sent by the source node device of the first domain, target multicast routing information corresponding to the multicast data may be determined from a set of multicast routing information stored in advance. The multicast routing information set comprises multicast routing information in a plurality of multicast domains. Then, the multicast data can be sent to the destination node device according to the target multicast routing information. The home domain of the destination node device may include: a second domain of the plurality of multicast domains that is different from the multicast technology supported by the first domain.
Optionally, the method for acquiring multicast data sent by a source node device in a first domain includes: receiving a first message sent by source node equipment; the first message is used for transmitting target data; determining a data transmission type of the target data according to the first message; and when the data transmission type of the target data is multicast, determining that the target data is multicast data.
Optionally, the first message is a data packet obtained by encapsulating the target data; the method for determining the data propagation type of the target data according to the first message comprises the following steps: according to the routing protocol of the first domain, decapsulating the first message; when the message header of the first message comprises a multicast identifier, determining that the data transmission type of the target data is multicast; the multicast identifier includes: a multicast group address.
Optionally, the method for determining target multicast routing information corresponding to multicast data from a pre-stored multicast routing information set includes: and determining the multicast routing information including the multicast identifier in the multicast routing information set as target multicast routing information.
Optionally, the method for sending multicast data to the destination node device according to the target multicast routing information includes: according to the routing protocol of the second domain, decapsulating the multicast data to obtain a second message; and sending the second message to the destination node equipment.
Optionally, the data transmission method further includes: when the target multicast routing information meets the failure condition, deleting the target multicast routing information from the multicast routing information set; the failure conditions include: the multicast routing information set comprises target multicast routing information, and a first message of which the message header comprises a multicast identifier is not received within a preset time period.
In a second aspect, a data transmission apparatus is provided, which includes: a communication unit and a processing unit; a communication unit, configured to acquire multicast data sent by a source node device in a first domain; a processing unit, configured to determine, from a pre-stored multicast routing information set, target multicast routing information corresponding to multicast data; the multicast routing information set comprises multicast routing information in a plurality of multicast domains; the communication unit is also used for sending multicast data to the destination node equipment according to the target multicast routing information; the belonging domain of the destination node device comprises: a second domain of the plurality of multicast domains that is different from the multicast technology supported by the first domain.
Optionally, the communication unit is specifically configured to: receiving a first message sent by source node equipment; the first message is used for transmitting target data; determining a data transmission type of the target data according to the first message; and when the data transmission type of the target data is multicast, determining that the target data is multicast data.
Optionally, the first message is a data packet obtained by encapsulating the target data; a communication unit, specifically configured to: according to the routing protocol of the first domain, decapsulating the first message; when the message header of the first message comprises a multicast identifier, determining that the data transmission type of the target data is multicast; the multicast identifier includes: a multicast group address.
Optionally, the processing unit is specifically configured to: and determining the multicast routing information including the multicast identifier in the multicast routing information set as target multicast routing information.
Optionally, the communication unit is specifically configured to: according to the routing protocol of the second domain, decapsulating the multicast data to obtain a second message; and sending the second message to the destination node equipment.
Optionally, the processing unit is further configured to: when the target multicast routing information meets the failure condition, deleting the target multicast routing information from the multicast routing information set; the failure conditions include: the multicast routing information set comprises target multicast routing information, and a first message of which the message header comprises a multicast identifier is not received within a preset time period.
In a third aspect, a data transmission apparatus is provided, which includes a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the data transmission device is operated, the processor executes computer-executable instructions stored in the memory to cause the data transmission device to execute the data transmission method according to the first aspect.
The data transmission device may be a network device, or may be a part of a device in the network device, for example, a system on chip in the network device. The system on chip is configured to support the network device to implement the functions related to the first aspect and any one of the possible implementations thereof, for example, to obtain, determine, and send data and/or information related to the data transmission method. The chip system includes a chip and may also include other discrete devices or circuit structures.
In a fourth aspect, a computer-readable storage medium is provided, which comprises computer-executable instructions, which, when executed on a computer, cause the computer to perform the data transmission method of the first aspect.
In a fifth aspect, there is also provided a computer program product comprising computer instructions which, when run on a data transmission apparatus, cause the data transmission apparatus to perform the data transmission method as described in the first aspect above.
It should be noted that all or part of the above computer instructions may be stored on the first computer readable storage medium. The first computer readable storage medium may be packaged with the processor of the data transmission apparatus, or may be packaged separately from the processor of the data transmission apparatus, which is not limited in this application.
For the descriptions of the second, third, fourth and fifth aspects in this application, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects of the second aspect, the third aspect, the fourth aspect and the fifth aspect, reference may be made to the beneficial effect analysis of the first aspect, and details are not repeated here.
In the present application, the names of the above-mentioned data transmission devices do not limit the devices or functional modules themselves, and in actual implementation, the devices or functional modules may appear by other names. Insofar as the functions of the respective devices or functional modules are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalents.
These and other aspects of the present application will be more readily apparent from the following description.
The technical scheme provided by the application at least brings the following beneficial effects:
based on any one of the above aspects, the present application provides a data transmission method, where after acquiring multicast data sent by a source node device in a first domain, a data transmission device may determine, from a set of multicast routing information stored in advance, target multicast routing information corresponding to the multicast data, and then the data transmission device may send the multicast data to a destination node device according to the target multicast routing information. The destination node device is a receiving end in a multicast group corresponding to the multicast data, and the domain to which the destination node device belongs includes: a second domain that is different from the multicast technology supported by the first domain. Because the multicast routing information set can include multicast routing information in a plurality of multicast domains, data transmission can be performed between a plurality of multicast domains supporting different multicast technologies through one data transmission device, and further cooperative operation between different multicast technologies can be realized. Meanwhile, the existing configuration of each node device is not required to be changed, the application range is wider, and the multicast technology development is facilitated.
Drawings
Fig. 1 is a schematic diagram of data transmission in a BIER domain according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of packet forwarding based on BIER technology according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a data transmission system according to an embodiment of the present application;
fig. 4 is a first hardware structure diagram of a data transmission device according to an embodiment of the present disclosure;
fig. 5 is a schematic hardware structure diagram of a data transmission device according to an embodiment of the present application;
fig. 6 is a first flowchart illustrating a data transmission method according to an embodiment of the present application;
fig. 7 is a schematic diagram of data transmission between a BIER domain and a PIM domain according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a second data transmission method according to an embodiment of the present application;
fig. 9 is a third schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 10 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 11 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 12 is a schematic flowchart illustrating a sixth method for data transmission according to an embodiment of the present application;
fig. 13 is a seventh flowchart illustrating a data transmission method according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first" and "second" are used to distinguish the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the terms "first" and "second" are not used to limit the quantity and execution order.
To facilitate an understanding of the present application, the relevant elements referred to in the present application will now be described.
1. Multicast technique
The multicast technology is originally intended to send information to a certain target group in a one-to-many form in a network, and the target group is called a multicast group, so that when a source node device sends data to a plurality of target node devices, the source node device only sends one piece of data, and the target address of the data is a multicast group address. Therefore, the multicast mode solves the problems of repeated copying of data and repeated occupation of bandwidth under the unicast condition and also solves the waste of bandwidth resources under the broadcast mode.
2. Novel multicast technology based on Bit Index Explicit Replication (BIER)
The core idea of the BIER technology is as follows: the node devices at the network edge are all represented by only one bit, the multicast flow is transmitted in the intermediate network, a specific BIER head is additionally encapsulated, the message head marks all destination node devices of the multicast flow in the form of Bit String (BS), and the node devices for intermediate forwarding carry out routing according to the bit, so that the flow can be ensured to be sent to all the destination node devices.
The node device for intermediate forwarding floods and sends node device information in advance through an internal protocol, such as an Open Shortest Path First (OSPF) protocol, an intermediate system to intermediate system (ISIS) protocol, a Border Gateway Protocol (BGP), and the like in a three-layer network, to form a Bit Index Forwarding Table (BIFT) for guiding BIER forwarding, and completes forwarding of a packet to a destination node device according to the BIFT when receiving traffic encapsulating a BIER header.
The destination node device is an edge node device in the network, taking a network with less than 256 edge node devices as an example, each edge node device needs to configure a unique value of 1-256, the destination node device set is represented by a 256-bit (or 32-byte) bit string, and the position or index of each bit in the bit string represents an edge node device.
Illustratively, based on the ISIS protocol, the BIER-related information may be encapsulated in a message and flooded through a Link State Protocol (LSP). The node device can learn the complete BIER routing table and BIFT forwarding table through flooding.
Illustratively, as shown in fig. 1, node device a is a bit-forwarding ingress routing device (BFIR), and node device D, node device E, and node device F are bit-forwarding egress routing devices (BFERs). Node device B and node device C are node devices for intermediate forwarding.
The node device D and the node device E are interested in a certain multicast data stream sent by the node device a.
As shown in table 1, the BIER routing table corresponding to the node device B includes: a node equipment identifier (BFR-ID), a destination node equipment (BFR-Prefix of Dest BFER) and a next hop node equipment (BFR-NBR).
Wherein the BFR-ID includes a Set Identifier (SI) and a BS.
Table 1 routing table for node device B
BFR-ID(SI:BS) BFR-Prefix of Dest BFER BFR-NBR
4(0:1000) A A
1(0:0001) D C
3(0:0100) E E
2(0:0010) F C
As shown in table 2, the BIFT forwarding tables corresponding to node device a and node device B and node device C include: node device Identification (ID), forwarding bit mask (F-BM), and next hop (NBR).
Table 2BIFT forwarding table
Figure BDA0003968077380000061
As shown in fig. 2, the packet forwarding process based on BIER technology is as follows:
s1, node equipment A performs BIER encapsulation on an original message outside a BIER domain.
Wherein, the encapsulated message header includes: SI =0, bs =0101, bit String Length (BSL) =4.
And S2, the node equipment A forwards the message.
Node device A determines that the 1 st bit on the right of BS is bit 1, and as can be seen from Table 2, the corresponding F-BM is 0111, and NBR is node device B.
Then, the node device a updates BS =0101 (0101 &0111) in the encapsulated packet header, and sends the copied updated packet to the node device B.
The node device a updates BS =0000 (-F-BM & BS) (0101 &1000) of the original message, the BS is 0, and the forwarding process of the node device a is ended.
And S3, the node equipment B forwards the message.
The node B determines that the 1 st bit of the right number of the BS is bit 1, and as can be seen from Table 1 or Table 2, the corresponding F-BM is 0011, and the NBR is node C.
Then, the node device B updates BS =0001 (0101 &0011) in the encapsulated packet header, and sends the copy-updated packet to the node device C.
Next, the node B updates BS =0100 (-F-BM & BS) (0101 &1100) of the original packet, determines that bit of the 1 st bit from the right number of the BS is bit 3, and as can be seen from table 1 or table 2, the corresponding F-BM is 0100 and the nbr is the node E.
Then, the node device B updates BS =0100 (0100 &0100) in the encapsulated header and transmits the copied updated packet to the node device E.
Next, the node device B continues to update BS =0000 (-F-BM & BS) (0100 &1011) of the original packet, the BS is 0, and the forwarding process of the node device B ends.
Subsequently, node device C, node device D, and node device E operate similarly, and are not described herein again.
As shown in the background art, the BIER technology has a high requirement on the configuration of the node device, and in domains corresponding to other multicast technologies, most of the node devices cannot simultaneously support the BIER technology, so that cooperative operations between different multicast technologies cannot be realized.
After acquiring multicast data sent by a source node device in a first domain, a data transmission device may determine target multicast routing information corresponding to the multicast data from a pre-stored multicast routing information set, and then the data transmission device may send the multicast data to a destination node device according to the target multicast routing information. The destination node device is a receiving end in a multicast group corresponding to the multicast data, and the domain to which the destination node device belongs includes: a second domain that is different from the multicast technology supported by the first domain. Because the multicast routing information set can include multicast routing information in a plurality of multicast domains, data transmission can be performed between a plurality of multicast domains supporting different multicast technologies through one data transmission device, and further cooperative operation between different multicast technologies can be realized. Meanwhile, the existing configuration of each node device is not required to be changed, the application range is wider, and the multicast technology development is facilitated.
The data transmission method is suitable for a data transmission system. Fig. 3 shows a schematic structural diagram of a data transmission system. As shown in fig. 3, the data transmission system includes: data transfer device 301, a plurality of node devices of a first domain (including node device 302, node device 303), and a plurality of node devices of a second domain (including node device 304). The data transmission device 301 and the node device 302, the node device 303 and the node device 304 may be connected in a wired or wireless manner. The first domain and the second domain are two domains that support different multicast technologies, for example, a BIER domain and Protocol Independent Multicast (PIM) domain.
Optionally, one or more node devices for intermediate forwarding may be further included between the data transmission device 301 and the node device 302, the node device 303, and the node device 304, for convenience of understanding, fig. 3 illustrates, by way of example, that "the data transmission device 301 is directly connected to the node device 302, the node device 303, and the node device 304," and this application does not limit this.
In an embodiment, the node device 302, the node device 303, and the node device 304 may be a switch, a router, a routing switch, an Integrated Access Device (IAD), or the like in the network, and are responsible for data transmission between the access device and the access device, and between the access device and the core/backbone network device.
In one embodiment, the data transmission device 301 is configured to implement transmission of multicast data between different multicast domains.
Optionally, the data transmission device 301 may be a functional entity, and the physical entity may be located on a node device, or may be an independent server, router, switch, or other physical device. The present application is not limited to the specific physical form of the data transmission device 301.
When the data transmission device 301 is an independent physical device, the physical device may be a server in a server cluster (composed of multiple servers), a chip in the physical device, a system on chip in the physical device, or be implemented by a virtual machine deployed on a physical machine, which is not limited in this embodiment of the present application.
In one embodiment, the data transmission device 301 is a device required for multicast data transmission between different multicast domains, and the configuration of the data transmission device 301 should satisfy all requirements of multicast data transmission, and the data transmission device 301 supports multicast technologies and routing protocols in multiple multicast domains.
Referring to fig. 3, a data transmission device 301, a node device 302, a node device 303, and a node device 304 in the data transmission system each include elements included in the communication apparatus shown in fig. 4 or fig. 5. The hardware structures of the data transmission device 301, the node device 302, the node device 303, and the node device 304 will be described below by taking the communication apparatus shown in fig. 4 and 5 as an example.
Fig. 4 is a schematic diagram of a hardware structure of a communication device according to an embodiment of the present disclosure. The communication device comprises a processor 21, a memory 22, a communication interface 23, a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected by a bus 24.
The processor 21 is a control center of the communication device, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 21 may be a Central Processing Unit (CPU), other general-purpose processors, or the like. Wherein a general purpose processor may be a microprocessor or any conventional processor or the like.
For one embodiment, processor 21 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 4.
The memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 via a bus 24 for storing instructions or program code. The processor 21, when calling and executing the instructions or program codes stored in the memory 22, can implement the data transmission method provided by the following embodiments of the present invention.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
The communication interface 23 is used for connecting the communication device with other devices through a communication network, which may be an ethernet, a radio access network, a Wireless Local Area Network (WLAN), or the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
The bus 24 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an extended ISA (enhanced industry standard architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Fig. 5 shows another hardware configuration of the communication apparatus in the embodiment of the present invention. As shown in fig. 5, the communication device may include a processor 31 and a communication interface 32. The processor 31 is coupled to a communication interface 32.
The function of the processor 31 may refer to the description of the processor 21 above. The processor 31 also has a memory function and can function as the memory 22.
The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the communication device, or may be an external interface (corresponding to the communication interface 23) of the communication device.
It is noted that the configuration shown in fig. 4 (or fig. 5) does not constitute a limitation of the communication apparatus, and the communication apparatus may include more or less components than those shown in fig. 4 (or fig. 5), or combine some components, or a different arrangement of components, in addition to the components shown in fig. 4 (or fig. 5).
The following describes a data transmission method provided in an embodiment of the present application in detail with reference to the accompanying drawings. As shown in fig. 6, the data transmission method includes:
s601, the data transmission device obtains multicast data sent by a source node device of a first domain.
S602, the data transmission device determines target multicast routing information corresponding to the multicast data from a set of multicast routing information stored in advance.
The multicast routing information set comprises multicast routing information in a plurality of multicast domains.
Wherein, the multicast routing information set may include: a multicast group address of a multicast group (group), a previous interface (UPIF) of the multicast group address, a next interface (DNIF) of the multicast group address, an ID of a BFR of the multicast group address, a BS, an F-BM, a BFR-NBR, an expiration time (expires), and the like.
BS denotes a bit (bit) that needs to be set when BIER packing is performed.
F-BM indicates the operation result of the BS under the same Set Identifier (SI) and BFR-NBR, and helps the judgment of the BS during BIER encapsulation.
The expiration time represents a countdown of the validity time of the corresponding multicast routing information. The valid time may be a preset time period.
In an implementation manner, when the failure time is zero in the target multicast routing information corresponding to the multicast group address, it indicates that the target multicast routing information is failed, and the data transmission device may delete the target multicast routing information, thereby reducing the occupation of storage resources. Before the expiration time is zero, the data transmission device may update the expiration time when receiving the multicast data corresponding to the multicast group address.
In an implementation manner, the data transmission device may create a multicast routing table according to the multicast routing information set, so as to facilitate searching and maintaining information.
Illustratively, as shown in fig. 7, the node device R12 (corresponding to the server 10.100.0.1) in the PIM domain serves as a source node device, and transmits multicast data to the multicast group a (multicast group address 225.0.0.1).
The node device R23 (corresponding to the server 10.101.0.1) in the BIER domain serves as a source node device and transmits multicast data to the multicast group B (multicast group address 224.10.1.1).
Wherein, the multicast group A includes: node device R21 and node device R23 within the BIER domain. The multicast group B includes: node device R11 and node device R12 in the PIM domain, and node device R21 in the BIER domain.
The data transmission device may create a multicast routing table according to the multicast routing information set as shown in table 3.
Table 3 multicast routing table
GROUP UPIF DNIF ID BS F-BM BFR-NBR EXPIERS
(10.100.0.1,225.0.0.1) IF 1 00:08:33
(*,225.0.0.1) IF 3 3 0100 0101 R21 00:06:23
(*,225.0.0.1) IF 3 1 0001 0101 R21 00:06:23
(10.101.0.1,224.10.1.1) IF 3 00:05:38
(*,224.10.1.1) IF 1 00:04:32
(*,224.10.1.1) IF 2 00:05:23
S603, the data transmission device sends the multicast data to the destination node device according to the target multicast routing information.
The domain to which the destination node device belongs includes: a second domain of the plurality of multicast domains different from the multicast technology supported by the first domain.
The data transmission device can obtain a routing path and a routing protocol for sending the multicast data to the destination node device of the second domain according to the target multicast routing information, and can send the multicast data to the destination node device based on the routing path and the routing protocol. In connection with the above example, the data transmission device may send multicast data of the multicast group a (multicast group address 225.0.0.1) to the node device R21 through the IF 3 interface.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S601-S603, after acquiring the multicast data sent by the source node device in the first domain, the data transmission device may determine target multicast routing information corresponding to the multicast data from a pre-stored multicast routing information set, and then, according to the target multicast routing information, the data transmission device may send the multicast data to the destination node device. The destination node device is a receiving end in a multicast group corresponding to the multicast data, and the domain to which the destination node device belongs includes: a second domain that is different from the multicast technology supported by the first domain. Because the multicast routing information set can include multicast routing information in a plurality of multicast domains, data transmission can be performed between a plurality of multicast domains supporting different multicast technologies through one data transmission device, and further cooperative operation between different multicast technologies can be realized. Meanwhile, the existing configuration of each node device is not required to be changed, the application range is wider, and the multicast technology development is facilitated.
In an alternative embodiment, referring to fig. 6 and as shown in fig. 8, in S601, a method for a data transmission device to acquire multicast data sent by a source node device in a first domain includes:
s801, the data transmission device receives a first message sent by the source node device.
The first message is used for transmitting target data.
Optionally, the first packet may be obtained by encapsulating, by the source node device, the target data according to the routing protocol of the first domain.
In connection with the above example, as shown in fig. 7, the data transmission device R102 may receive multicast data sent by the node device R12 in the PIM domain and multicast data sent by the node device R23 in the BIER domain.
S802, the data transmission equipment determines the data transmission type of the target data according to the first message.
Optionally, the data propagation type of the target data may be unicast, multicast or broadcast.
In an implementation manner, the method for determining, by a data transmission device, a data propagation type of target data according to a first packet may include: when the first packet is a data packet obtained by encapsulating the target data, the data transmission device may decapsulate the first packet according to a routing protocol of the first domain. When the header of the first packet includes the multicast group address, the data transmission device may determine that the data propagation type of the target data is multicast.
And S803, when the data propagation type of the target data is multicast, the data transmission equipment determines that the target data is multicast data.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S801 to S803, after the data transmission device receives the first packet sent from the source node device, the data transmission type of the target data may be determined according to the first packet. When the data transmission type of the target data is multicast, the data transmission equipment determines that the target data is multicast data, so that target multicast routing information corresponding to the multicast data is determined from a pre-stored multicast routing information set subsequently, and cooperative operation among different multicast technologies is realized.
In an alternative embodiment, referring to fig. 8, as shown in fig. 9, when the first packet is a data packet obtained by encapsulating the target data, in S802, the method for determining, by the data transmission device, the data propagation type of the target data according to the first packet includes:
s901, the data transmission device decapsulates the first message according to the routing protocol of the first domain.
In an implementation manner, since the packet in the BIER domain needs to be BIER encapsulated according to the protocol, after the data transmission device receives the first packet, the domain to which the first packet belongs may be determined according to whether the BIER encapsulation exists in the first packet. When the BIER encapsulation is performed on the first packet, the data transmission device may first perform decapsulation on the first packet, and then read a packet header of the first packet.
And S902, when the message header of the first message comprises the multicast identifier, the data transmission equipment determines that the data transmission type of the target data is multicast.
Optionally, the multicast identifier includes: multicast group address, identification of multiple destination node devices, etc.
When the data transmission type of the target data is multicast, the message header of the first message needs to include a multicast group address. Therefore, the data transmission device may read the header of the first packet, determine whether the multicast group address is included, and determine the data propagation type of the target data.
The technical scheme provided by the embodiment at least has the following beneficial effects: as known from S901 to S902, the data transmission device may decapsulate the first packet according to a routing protocol of the first domain. And when the message header of the first message comprises the multicast identifier, the data transmission equipment determines that the data transmission type of the target data is multicast. The embodiment of the application provides a method for determining a data propagation type of target data by data transmission equipment, so that the target data are propagated according to the data propagation type of the target data.
In an alternative embodiment, referring to fig. 9 and as shown in fig. 10, in S602, a method for determining, by a data transmission device, target multicast routing information corresponding to multicast data from a set of pre-stored multicast routing information includes:
s1001, the data transmission equipment determines the multicast routing information including the multicast identifier in the multicast routing information set as target multicast routing information.
In connection with the above example, after the data transmission device receives that the node device R12 transmits multicast data for the multicast group a (multicast group address 225.0.0.1), multicast information corresponding to the multicast group address 225.0.0.1 may be determined from table 3.
The technical scheme provided by the embodiment at least has the following beneficial effects: as known from S1001, the data transmission device may determine the multicast routing information including the multicast identifier in the multicast routing information set as the target multicast routing information. The embodiment of the application provides a method for determining target multicast routing information by data transmission equipment, so that multicast data can be transmitted to a second domain subsequently according to the target multicast routing information, and cooperative operation among different multicast technologies is realized.
In an optional embodiment, with reference to fig. 9 and as shown in fig. 11, in S603, a method for a data transmission device to send multicast data to a destination node device according to target multicast routing information includes:
s1101, the data transmission equipment decapsulates the multicast data according to the routing protocol of the second domain to obtain a second message.
S1102, the data transmission equipment sends a second message to the destination node equipment.
The technical scheme provided by the embodiment at least has the following beneficial effects: as known from S1101-S1102, in order to enable the multicast data to be transmitted in the second domain, the data transmission device needs to decapsulate the multicast data according to the routing protocol of the second domain to obtain the second packet.
In an alternative embodiment, referring to fig. 9 and as shown in fig. 12, the data transmission method further includes:
and S1201, when the target multicast routing information meets the failure condition, deleting the target multicast routing information from the multicast routing information set by the data transmission equipment.
Wherein the failure condition may include: the multicast routing information set comprises target multicast routing information, and a first message of which the message header comprises a multicast identifier is not received within a preset time period.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S1201, when the traffic corresponding to the target multicast routing information is received within the preset time period in the multicast routing information set, it may indicate that the target multicast routing information is invalid, and the data transmission device may delete the target multicast routing information, thereby reducing the occupation of storage resources.
The following describes a data transmission method provided in an embodiment of the present application with reference to fig. 13. As shown in fig. 13, when the first domain is a BIER domain, the data transmission method includes:
s1301, the data transmission equipment receives the first message.
The first message is used for transmitting target data.
S1302, the data transmission device determines whether the first message has BIER encapsulation.
When the first packet has BIER encapsulation, S1303 is executed.
When the first packet does not have BIER encapsulation, S1304 is performed.
S1303, the data transmission equipment decapsulates the first message.
After the data transmission device decapsulates the first packet, S1304 is executed.
S1304, the data transmission device determines whether the multicast routing information set includes the target multicast routing information.
Wherein the target multicast routing information corresponds to the target data.
And when the multicast routing information set does not comprise the target multicast routing information, ending the data transmission process.
When the multicast routing information set includes the target multicast routing information, S1305 is executed.
S1305, the data transmission device determines whether the domain of the destination node device is a BIER domain.
When the home domain of the destination node device is the BIER domain, S1306 is executed.
When the home domain of the destination node apparatus is not the BIER domain, S1307 is executed.
And S1306, the data transmission device performs BIER encapsulation on the target data, and sends the target data to the destination node device through a corresponding interface.
S1307, the data transmission device sends the target data to the destination node device through the corresponding interface.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the data transmission device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, the division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 14 is a schematic structural diagram of a data transmission device according to an embodiment of the present application. The data transmission apparatus may be used to perform the method of data transmission shown in fig. 6 to 13. The data transmission device shown in fig. 14 includes: a communication unit 1401 and a processing unit 1402.
A communication unit 1401, configured to acquire multicast data sent by a source node device in a first domain.
A processing unit 1402, configured to determine target multicast routing information corresponding to multicast data from a set of multicast routing information stored in advance; the set of multicast routing information includes multicast routing information within a plurality of multicast domains.
A communication unit 1401, further configured to send multicast data to the destination node device according to the target multicast routing information; the domain of the destination node device comprises: a second domain of the plurality of multicast domains that is different from the multicast technology supported by the first domain.
Optionally, the communication unit 1401 is specifically configured to: receiving a first message sent by source node equipment; the first message is used for transmitting target data; determining the data transmission type of the target data according to the first message; and when the data transmission type of the target data is multicast, determining that the target data is multicast data.
Optionally, the first message is a data packet obtained by encapsulating the target data; the communication unit 1401 is specifically configured to: according to the routing protocol of the first domain, decapsulating the first message; when the message header of the first message comprises a multicast identifier, determining that the data transmission type of the target data is multicast; the multicast identifier includes: a multicast group address.
Optionally, the processing unit 1402 is specifically configured to: and determining the multicast routing information including the multicast identifier in the multicast routing information set as target multicast routing information.
Optionally, the communication unit 1401 is specifically configured to: according to the routing protocol of the second domain, decapsulating the multicast data to obtain a second message; and sending the second message to the destination node equipment.
Optionally, the processing unit 1402 is further configured to: when the target multicast routing information meets the failure condition, deleting the target multicast routing information from the multicast routing information set; the failure conditions include: the multicast routing information set comprises target multicast routing information, and a first message of which the message header comprises a multicast identifier is not received within a preset time period.
Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are executed on a computer, the computer is caused to execute the data transmission method provided in the foregoing embodiments.
The embodiment of the present application further provides a computer program, where the computer program may be directly loaded into the memory and contains a software code, and the computer program is loaded and executed by the computer to implement the data transmission method provided in the foregoing embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit. The integrated unit, if implemented as a software functional unit and sold or used as a separate product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, in essence, or a part contributing to the general technology, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are also within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A method of data transmission, comprising:
acquiring multicast data sent by source node equipment of a first domain;
determining target multicast routing information corresponding to the multicast data from a pre-stored multicast routing information set; the multicast routing information set comprises multicast routing information in a plurality of multicast domains;
sending the multicast data to destination node equipment according to the target multicast routing information; the domain to which the destination node device belongs includes: a second domain of the plurality of multicast domains that is different from the multicast technology supported by the first domain.
2. The data transmission method according to claim 1, wherein the acquiring multicast data sent by the source node device in the first domain includes:
receiving a first message sent by the source node equipment; the first message is used for transmitting target data;
determining the data transmission type of the target data according to the first message;
and when the data transmission type of the target data is multicast, determining that the target data is the multicast data.
3. The data transmission method according to claim 2, wherein the first packet is a packet obtained by encapsulating the target data; the determining the data propagation type of the target data according to the first packet includes:
according to the routing protocol of the first domain, decapsulating the first message;
when the message header of the first message comprises a multicast identifier, determining that the data transmission type of the target data is multicast; the multicast identifier comprises: a multicast group address.
4. The data transmission method according to claim 3, wherein the determining, from a set of pre-stored multicast routing information, target multicast routing information corresponding to the multicast data includes:
and determining the multicast routing information including the multicast identifier in the multicast routing information set as the target multicast routing information.
5. The data transmission method according to claim 3, wherein the sending the multicast data to the destination node device according to the target multicast routing information includes:
according to the routing protocol of the second domain, decapsulating the multicast data to obtain a second message;
and sending the second message to the destination node equipment.
6. The data transmission method according to claim 3, further comprising:
when the target multicast routing information meets the failure condition, deleting the target multicast routing information from the multicast routing information set; the failure condition includes: the multicast routing information set comprises the target multicast routing information, and a first message of which the message header comprises the multicast identifier is not received within a preset time period.
7. A data transmission apparatus, comprising: a communication unit and a processing unit;
the communication unit is used for acquiring multicast data sent by source node equipment of a first domain;
the processing unit is used for determining target multicast routing information corresponding to the multicast data from a pre-stored multicast routing information set; the multicast routing information set comprises multicast routing information in a plurality of multicast domains;
the communication unit is further configured to send the multicast data to a destination node device according to the target multicast routing information; the domain to which the destination node device belongs includes: a second domain of the plurality of multicast domains that is different from the multicast technology supported by the first domain.
8. The data transmission apparatus according to claim 7, wherein the communication unit is specifically configured to:
receiving a first message sent by the source node equipment; the first message is used for transmitting target data;
determining the data transmission type of the target data according to the first message;
and when the data transmission type of the target data is multicast, determining that the target data is the multicast data.
9. The data transmission apparatus according to claim 8, wherein the first packet is a packet obtained by encapsulating the target data; the communication unit is specifically configured to:
according to the routing protocol of the first domain, decapsulating the first message;
when the message header of the first message comprises a multicast identifier, determining that the data transmission type of the target data is multicast; the multicast identifier comprises: a multicast group address.
10. The data transmission apparatus according to claim 9, wherein the processing unit is specifically configured to:
and determining the multicast routing information including the multicast identifier in the multicast routing information set as the target multicast routing information.
11. The data transmission apparatus according to claim 9, wherein the communication unit is specifically configured to:
according to the routing protocol of the second domain, decapsulating the multicast data to obtain a second message;
and sending the second message to the destination node equipment.
12. The data transmission apparatus of claim 9, wherein the processing unit is further configured to:
when the target multicast routing information meets the failure condition, deleting the target multicast routing information from the multicast routing information set; the failure condition includes: the multicast routing information set comprises the target multicast routing information, and a first message of which the message header comprises the multicast identifier is not received within a preset time period.
13. A data transmission apparatus comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; the processor executes the computer-executable instructions stored by the memory when the data transfer device is operating to cause the data transfer device to perform the data transfer method of any of claims 1-6.
14. A computer-readable storage medium, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the data transmission method of any one of claims 1-6.
CN202211501882.0A 2022-11-28 2022-11-28 Data transmission method, device and storage medium Active CN115955431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211501882.0A CN115955431B (en) 2022-11-28 2022-11-28 Data transmission method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211501882.0A CN115955431B (en) 2022-11-28 2022-11-28 Data transmission method, device and storage medium

Publications (2)

Publication Number Publication Date
CN115955431A true CN115955431A (en) 2023-04-11
CN115955431B CN115955431B (en) 2024-06-04

Family

ID=87281417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211501882.0A Active CN115955431B (en) 2022-11-28 2022-11-28 Data transmission method, device and storage medium

Country Status (1)

Country Link
CN (1) CN115955431B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996924A (en) * 2005-12-31 2007-07-11 华为技术有限公司 The method and system for realizing the cross-area multicast service between the self networking and fixed networks
CN107592262A (en) * 2016-07-07 2018-01-16 中兴通讯股份有限公司 File transmitting method and the network architecture of the cross-domain forwarding of device, message
CN109150730A (en) * 2017-06-15 2019-01-04 中兴通讯股份有限公司 The cross-domain method, apparatus of multicast, system and computer readable storage medium
US20190097943A1 (en) * 2017-09-28 2019-03-28 Nokia Technologies Oy Multicast based on bit indexed explicit replication
US20190097944A1 (en) * 2017-09-28 2019-03-28 Nokia Technologies Oy Multicast based on bit indexed explicit replication
CN110460522A (en) * 2018-05-08 2019-11-15 华为技术有限公司 Multicast data transmission method, relevant apparatus and system
CN111669330A (en) * 2019-03-08 2020-09-15 华为技术有限公司 BIER message sending method and device
CN112511444A (en) * 2020-04-03 2021-03-16 中兴通讯股份有限公司 Multicast traffic transmission method, device, communication node and storage medium
CN115277720A (en) * 2022-07-06 2022-11-01 中国联合网络通信集团有限公司 Multicast group management method, device, equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996924A (en) * 2005-12-31 2007-07-11 华为技术有限公司 The method and system for realizing the cross-area multicast service between the self networking and fixed networks
CN107592262A (en) * 2016-07-07 2018-01-16 中兴通讯股份有限公司 File transmitting method and the network architecture of the cross-domain forwarding of device, message
CN109150730A (en) * 2017-06-15 2019-01-04 中兴通讯股份有限公司 The cross-domain method, apparatus of multicast, system and computer readable storage medium
US20190097943A1 (en) * 2017-09-28 2019-03-28 Nokia Technologies Oy Multicast based on bit indexed explicit replication
US20190097944A1 (en) * 2017-09-28 2019-03-28 Nokia Technologies Oy Multicast based on bit indexed explicit replication
CN110460522A (en) * 2018-05-08 2019-11-15 华为技术有限公司 Multicast data transmission method, relevant apparatus and system
CN111669330A (en) * 2019-03-08 2020-09-15 华为技术有限公司 BIER message sending method and device
WO2020182086A1 (en) * 2019-03-08 2020-09-17 华为技术有限公司 Bier packet sending method and apparatus
CN114884867A (en) * 2019-03-08 2022-08-09 华为技术有限公司 BIER message sending method and device
CN112511444A (en) * 2020-04-03 2021-03-16 中兴通讯股份有限公司 Multicast traffic transmission method, device, communication node and storage medium
CN115277720A (en) * 2022-07-06 2022-11-01 中国联合网络通信集团有限公司 Multicast group management method, device, equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XIAOHUA TIAN; YU CHENG; BIN LIU: "A Fast-Join Mechanism for Inter-Domain Multicasting", 《2010 IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE GLOBECOM 2010》, 31 December 2010 (2010-12-31) *
王平: "域间组播技术和应用", 电脑与电讯, no. 06, 1 June 2003 (2003-06-01) *
瞿辉; 蒋元兵; 康宗绪; 王亚昕: "PIM穿越BIER隧道的研究", 《 科技创新与应用 》, 28 April 2022 (2022-04-28) *

Also Published As

Publication number Publication date
CN115955431B (en) 2024-06-04

Similar Documents

Publication Publication Date Title
CN110784411B (en) Method, device and system for establishing BIER forwarding table item
US7801125B2 (en) Forwarding table reduction and multipath network forwarding
WO2019205799A1 (en) Method and apparatus for processing multicast data packet
WO2021088433A1 (en) Message processing method, device and system
US20190208008A1 (en) Session persistence method, device, and storage medium
CN108964940A (en) Message method and device, storage medium
CN113114576B (en) Method, equipment and system for sending message
CN112887209A (en) Method for establishing table item related to data transmission and related equipment
US11343153B2 (en) BGP logical topology generation method, and device
WO2021052381A1 (en) Message sending method and apparatus
US20220337521A1 (en) Packet Sending Method, Device and System
CN115955431B (en) Data transmission method, device and storage medium
WO2022262579A1 (en) Packet transmission method and apparatus
WO2022134674A1 (en) Message transmission method and apparatus, and device, storage medium and system
WO2021077991A1 (en) Message detection method, connectivity negotiation relationship establishment method, and related device
CN114978986A (en) Data transmission method, device and storage medium
WO2021232920A1 (en) Data transmission method, electronic device, and storage medium
WO2021164245A1 (en) Load sharing method and first network device
US20170149663A1 (en) Control device, communication system, control method, and non-transitory recording medium
CN115801663B (en) Route generation method, device and storage medium
CN115801663A (en) Route generation method, device and storage medium
WO2021247230A1 (en) Edge computing data and service discovery using interior gateway protocol (igp)
US8953593B2 (en) Method for generating an address field, method and device for transmitting electronic message and data packet
WO2022017460A1 (en) Method, device, and system for connectivity verification of p2mp tree
CN112671630B (en) Multicast method, device, network equipment and storage medium

Legal Events

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