Data message transmission method, node and network system
By adding a preset trigger identifier in the data packet header and encapsulating tunnel information, the end-to-end path planning of the SRv6 data plane in the cross-domain network is realized, which solves the problem of SID and IPv4 address mapping reducing forwarding efficiency and improves data transmission efficiency.
Patent Information
- Application Number
- CN202310197680.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-01
- Publication Date
- 2024-09-03
AI Technical Summary
When the existing SRv6 data plane is deployed in segments, the mapping between SIDs and IPv4 addresses increases the process of looking up the mapping table, reduces forwarding efficiency, and cannot form an end-to-end path plan, which cannot meet global needs.
Add a preset trigger identifier to the header of the data message, encapsulate the data message based on the tunnel information of the second network, and send the encapsulated forwarded message to the destination in the third network through the second border node. Nodes implement end-to-end path planning without address mapping at domain boundaries.
It improves data transmission efficiency, realizes end-to-end path planning, avoids the address mapping process at domain boundaries, and meets the data transmission needs of cross-domain networks.
Smart Images

Figure CN118590435A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a data message transmission method, node and network system. Background Art
[0002] SRv6 is the abbreviation of SR-IPv6, which refers to the application of Segment Routing to the IPv6 (the next generation IP protocol of IPv4) forwarding plane, that is, encapsulating the segment routing instruction list (SID list) in the IPv6 message header to guide the message forwarding according to the source route.
[0003] The most mainstream SRv6 data plane currently uses SRH (Segment Routing Header) encapsulation, which encapsulates the segment list information. Each segment is a 128-bit IPv6 address. The SRv6 tunnel is the management entity of the corresponding SID list and presents services like other tunnels. The SRv6 tunnel can carry all known types of loads, such as Layer 2, Layer 3, MPLS (Multi-Protocol Label Switching), TCP (Transmission Control Protocol), and UDP (User Datagram Protocol).
[0004] In the existing technology, SRv6 and IPv4 are deployed in segments, the end-to-end paths are calculated in each network, and address mapping is performed at the boundary points. This leads to the following problems:
[0005] 1. Adding a mapping table lookup process, the SID and IPv4 address mapping reduces forwarding efficiency;
[0006] 2. End-to-end path planning cannot be formed, and segmented path planning may not meet global requirements. Summary of the invention
[0007] The present invention provides a data message transmission method, a node and a network system to form end-to-end path planning and improve data transmission efficiency.
[0008] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0009] A data message transmission method, applied to a first border node in a first network, comprising:
[0010] Receive a data message sent by a first node in a first network, wherein a message header of the data message includes: a segment identifier list formed by segment identifiers corresponding to each node in a forwarding route of the data message, and segment identifiers of nodes in a second network all include tunnel information of the second network; and the transmission protocol of the second network is different from that of the first network;
[0011] Adding a preset trigger identifier to the segment identifier in the message header of the data message, and encapsulating the data message based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the first border node to encapsulate the data message based on the tunnel information of the second network;
[0012] The forwarding message is sent to a destination node in a third network through a second border node in the second network; the destination node is a destination node of the forwarding route, and the transmission protocol of the third network is the same as that of the first network.
[0013] Optionally, receiving a data message sent by a first node in a first network includes:
[0014] A data message is received which is forwarded by a first node of a first network through at least one intermediate node, wherein the intermediate node is a node of the forwarding route in the first network.
[0015] Optionally, adding a preset trigger identifier to a segment identifier in a message header of the data message, and encapsulating the data message based on tunnel information of the second network to obtain an encapsulated forwarding message includes:
[0016] A preset trigger identifier of a first preset number of bits is added to the segmentation identifier in the header of the data message, the tunnel information of the second network is added to the outer layer of the header of the data message, and the address of the fourth boundary node of the forwarding route in the third network is filled in the destination address field in the header of the data message to obtain an encapsulated forwarding message.
[0017] Optionally, the tunnel information of the second network includes: an address of a second border node and an address of a third border node of the forwarding route in the second network.
[0018] Optionally, the address of the second border node and the address of the third border node of the forwarding route in the second network are both a second preset number of bits, and the second preset number is a positive integer less than 128.
[0019] Optionally, sending the forwarding message to a destination node in a third network through a second border node in the second network includes:
[0020] The forwarding message is sent to the second border node in the second network, and the second border node sends the forwarding message to the third border node in the second network, and the third border node decapsulates the forwarding message and sends it to the fourth border node in the third network, and the fourth border node sends the decapsulated forwarding message to the destination node.
[0021] The present invention also provides a data message transmission device, which is applied to a first border node in a first network, and the device includes:
[0022] a transceiver module, configured to receive a data message sent by a first node in a first network, wherein a message header of the data message includes: a segment identifier list formed by segment identifiers corresponding to each node in a forwarding route of the data message, and segment identifiers of nodes in a second network all include tunnel information of the second network; and the transmission protocol of the second network is different from that of the first network;
[0023] A processing module, configured to add a preset trigger identifier to the segment identifier in the message header of the data message, and encapsulate the data message based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the border node to encapsulate the data message based on the tunnel information of the second network;
[0024] The transceiver module is also used to send the forwarding message to a destination node in a third network through a second border node in the second network; the destination node is a destination node of the forwarding route, and the transmission protocol of the third network is the same as that of the first network.
[0025] The present invention also provides a data message transmission network system, comprising: a first network, a second network communicating with the first network, and a third network communicating with the second network, wherein the transmission protocol of the second network is different from that of the first network, and the transmission protocol of the third network is the same as that of the first network;
[0026] The first border node in the first network is communicatively connected to the first node in the first network and is communicatively connected to the second border node in the second network, and the second border node is communicatively connected to the destination node via the node in the second network and the node in the third network;
[0027] Among them, the first border node is used to receive a data message sent by the first node in the first network, and the message header of the data message includes: a segment identifier list formed by the segment identifiers corresponding to each node in the forwarding route of the data message, and the segment identifiers of the nodes in the second network all include the tunnel information of the second network; the transmission protocol of the second network is different from that of the first network; and a preset trigger identifier is added to the segment identifier in the message header of the data message, and the data message is encapsulated based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the first border node to encapsulate the data message based on the tunnel information of the second network; and the forwarding message is sent to the destination node in the third network through the second border node in the second network; the destination node is the destination node of the forwarding route.
[0028] The present invention also provides a transmission node, comprising: a processor and a memory storing a computer program, wherein the computer program executes the method described above when executed by the processor.
[0029] The present invention also provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the method described above.
[0030] The above solution of the present invention includes at least the following beneficial effects:
[0031] The scheme of the present invention receives a data message sent by a first node in a first network, wherein the message header of the data message includes: a segment identifier list formed by segment identifiers corresponding to each node in the forwarding route of the data message, and the segment identifiers of the nodes in the second network all include tunnel information of the second network; the transmission protocol of the second network is different from that of the first network; a preset trigger identifier is added to the segment identifier in the message header of the data message, and the data message is encapsulated based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the first boundary node to encapsulate the data message based on the tunnel information of the second network; the forwarding message is sent to a destination node in a third network through a second boundary node in the second network; the destination node is the destination node of the forwarding route, and the transmission protocol of the third network is the same as that of the first network; there is no need to map at the domain boundary, and end-to-end path planning can be formed to improve data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is a flow chart of a data message transmission method provided by an embodiment of the present invention;
[0033] Figure 2It is a schematic diagram of network nodes of a data message transmission method provided by an embodiment of the present invention;
[0034] Figure 3 It is an SRv6 message plane diagram of the data message transmission method provided by an embodiment of the present invention;
[0035] Figure 4 It is a schematic diagram of the SRv6 SID format of the data message transmission method provided in an embodiment of the present invention;
[0036] Figure 5 It is an IPv4 message plane diagram of the data message transmission method provided by an embodiment of the present invention;
[0037] Figure 6 It is a structural schematic diagram of a data message transmission node provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0039] like Figure 1 As shown, an embodiment of the present invention provides a data message transmission method, which is applied to a first border node in a first network, including:
[0040] Step 11, receiving a data message sent by a first node in a first network, wherein a message header of the data message includes: a segment identifier list formed by segment identifiers corresponding to each node in a forwarding route of the data message, and segment identifiers of nodes in a second network all include tunnel information of the second network; and the transmission protocol of the second network is different from that of the first network;
[0041] Step 12, adding a preset trigger identifier to the segment identifier in the message header of the data message, and encapsulating the data message based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the first border node to encapsulate the data message based on the tunnel information of the second network;
[0042] Step 13: Send the forwarding message to a destination node in a third network through a second border node in the second network; the destination node is a destination node of the forwarding route, and the transmission protocol of the third network is the same as that of the first network.
[0043] like Figure 2As shown, in this embodiment, the first network and the third network are network domains using SRv6 technology, SRv6 is the abbreviation of SR-IPv6, which refers to applying Segment Routing (segment routing, abbreviated as SR) to the IPv6 (Internet Protocol Version 6) forwarding plane, and the second network is a network domain using the IPv4 (Internet Protocol Version 4) protocol;
[0044] A first border node N4 applied in a first network receives a message sent by the first node N0, where the message is an SRv6 message encapsulated by the N0 node.
[0045] The SRv6 message plane is as follows Figure 3 As shown, it is composed of an IPv6 message header, an SRH (segment routing extension header), and a payload; the message header in step 11 is composed of an IPv6 message header and an SRH (segment routing extension header), and the IPv6 message header includes information such as a message version type, a payload length, a source address, and a destination address; the SRH includes information such as the remaining segments, the segment identifier SID corresponding to each node and each segment in the forwarding route, and the like;
[0046] like Figure 4 As shown, the SID in the SRv6 is a 128-bit address format of IPv6; the 128 bits of the SID include three parts: Locator (location), Function (action) and Arguments (variables);
[0047] Locator is an identifier assigned to a network node in the network topology, which is used to forward data packets to the node. The route corresponding to the Locator will be published to the network by the node through IGP (Interior Gateway Protocol) to help other devices forward data packets to the node that published the Locator. In SRv6 SID, the length of Locator is variable to adapt to networks of different sizes;
[0048] Function (Funct) is used to express the forwarding action to be performed by the instruction, which is equivalent to the operation code of the computer instruction. In SRv6 network programming, different forwarding behaviors are described by the Function part, such as forwarding a data packet to a specified link, or forwarding by looking up a table in a specified table.
[0049] Arguments (Args) is an optional field; it is the parameters corresponding to the instruction when it is executed. These parameters may contain streams, services, or any other relevant information.
[0050] The Locator, Function and Arguments in the SID correspond to the Prefix (network prefix) and Index (interface identifier) in the 128-bit IPv6 address.
[0051] The SIDs of each segment and each node are arranged in order to obtain the Segment List (segment identification list), which is the end-to-end path table of nodes N0-N12 in this embodiment, forming a forwarding path; when forwarding a message, the SegmentsLeft (remaining segments) and Segment List fields are used to jointly determine the IPv6 message destination address (IPv6 DA) information, thereby guiding the forwarding path and behavior of the message.
[0052] In an optional embodiment of the present invention, step 11 may include:
[0053] Step 111: receiving a data message forwarded by a first node of a first network through at least one intermediate node, wherein the intermediate node is a node of the forwarding route in the first network.
[0054] In this embodiment, the first node N0 reads the SID table in the SRH through the forwarding form of SRv6, and forwards the message to the first border node N4 via the designated link N0-N1-N2-N3-N4.
[0055] In an optional embodiment of the present invention, step 12 may include:
[0056] Step 121, add a preset trigger identifier of a first preset number of bits to the segmentation identifier in the header of the data message, add the tunnel information of the second network to the outer layer of the header of the data message, fill the address of the fourth boundary node of the forwarding route in the third network into the destination address field in the header of the data message, and obtain an encapsulated forwarding message.
[0057] In this embodiment, the segment identifier SID belonging to the second network includes the tunnel information of the second network. In this method, this SID containing tunnel information is defined as IPv6INIPv4 SRv6 SID, and the segment identifier SID in the first network and the third network does not include the tunnel information of the second network, wherein the SID of the N4 node in the first network includes the preset trigger identifier newly defined in this method; the preset trigger identifier can be AAA Flavor or BBBAction, which is used to identify the next SID of the SID of the current N4 node, that is, the SID of the N5 node contains the tunnel information of the second network, and the IPv6INIPv4 tunnel encapsulation mode needs to be started.
[0058] When the message is forwarded to the first border node N4 based on the SRv6 protocol in the first network, the preset trigger identifier in the SID of the first border node N4 is triggered, and the IPv4 address information in the SID containing the IPv6INIPv4 tunnel information is read, and added to the outermost layer of the message as the IPv4 message header as the destination address; at the same time, the IPv6 address information in the first SID that does not contain the IPv6INIPv4 tunnel information after the second network, that is, the SID of the N8 node, is read, and the SID of the N8 node is filled with the IPv6 destination address of the inner layer SRv6 message, that is, the destination address in the IPv6 message header, as the address of the first hop node after traversing the IPv4 network, thereby encapsulating the entire message into an IPv4 message; the IPv4 message plane is as follows Figure 5 Here, the first preset number is a positive integer less than 128. That is, the AAA Flavor or BBB Action identifier is less than 128 bits.
[0059] In an optional embodiment of the present invention, the tunnel information of the second network includes: an address of a second border node and an address of a third border node of the forwarding route in the second network.
[0060] In this embodiment, the address of the first border node N4 is the SIP (source address) in the IPv4 message header, and the address of the third border node N7 is the DIP (destination address) in the IPv4 message header; the encapsulated message is sent from the N4 node to the N7 node and forwarded in the form of IPv4. The device selects the optimal path of N4-N5-N6-N7 by checking the routing table and passes the message to the N7 node.
[0061] In an optional embodiment of the present invention, the address of the second border node and the address of the third border node of the forwarding route in the second network are both a second preset number of bits, and the second preset number is a positive integer less than 128.
[0062] In this embodiment, the node addresses in the second network adopt the IPv4 protocol format, and the second preset number is 32.
[0063] In an optional embodiment of the present invention, step 13 may include:
[0064] Step 131, sending the forwarding message to the second border node in the second network, and the second border node sends the forwarding message to the third border node in the second network, and the third border node decapsulates the forwarding message and sends it to the fourth border node in the third network, and the fourth border node sends the decapsulated forwarding message to the destination node.
[0065] In this embodiment, when the message passes through the second network and reaches the third border node N7, since the N7 node is the destination address node of the IPv4 message, the device will identify the message as IPv6INIPv4 encapsulation, and decapsulate the outermost IPv4 message header of the message, read the IPv6 address information of the inner SRv6 message, identify the destination address as the fourth border node N8, and forward the decapsulated SRv6 message to the fourth border node N8;
[0066] The fourth border node N8 is an SRv6 device, which reads the SID List information in the message header, and forwards the message in the third network according to the SRv6 message forwarding process to reach the final destination node N12 of the third network.
[0067] In the above embodiment of the present invention, the IPv6INIPv4 SRv6 SID format (SID format including IPv6INIPv4 tunnel information), such IPv6INIPv4 SRv6 SID contains the source address, destination address and other parameters of the IPv4 network to be traversed;
[0068] The SID format of the SRv6 tunnel head node (specified by the policy sent by the controller or manually configured) mixes IPv6INIPv4 SRv6 SID and SRv6 SID;
[0069] It is used to identify the next SID as an AAA flavor type or BBB action type definition of an IPv6INIPv4 tunnel, and to identify the next SID of the current SID as a SID containing IPv6INIPv4 tunnel information, and it is necessary to enable IPv6INIPv4 tunnel encapsulation mode;
[0070] The encapsulation behavior of the border node is to use the IPv4 message as the outer layer encapsulation and the SRv6 message as the inner layer message, and use the first SRv6 SID after the IPv6INIPv4 SRv6 SID as the IPv6 destination address of the inner layer SRv6 message (for forwarding in the next IPv6 network after traversing the IPv4 network).
[0071] The above method of the present invention is based on a combination of multiple technologies. When the existing SRv6 protocol system is running, when a cross-domain scenario is encountered and the domains are IPv4 networks, an innovative method is proposed that does not require mapping at the domain boundary and supports end-to-end path planning. In addition, based on the tunnel protocol (IPv6INIPv4 tunnel encapsulation method), a message encapsulation format that is seamlessly connected with the mainstream SRH encapsulation format of the existing SRv6 is realized.
[0072] like Figure 6As shown, an embodiment of the present invention further provides a data message transmission device 60, which is applied to a first border node in a first network, and the device includes:
[0073] The transceiver module 61 is used to receive a data message sent by a first node in a first network, wherein the message header of the data message includes: a segment identifier list formed by segment identifiers corresponding to each node in a forwarding route of the data message, and the segment identifiers of nodes in a second network all include tunnel information of the second network; the transmission protocol of the second network is different from that of the first network;
[0074] The processing module 62 is used to add a preset trigger identifier to the segment identifier in the message header of the data message, and encapsulate the data message based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the border node to encapsulate the data message based on the tunnel information of the second network;
[0075] The transceiver module 61 is further used to send the forwarding message to a destination node in a third network through a second border node in the second network; the destination node is a destination node of the forwarding route, and the transmission protocol of the third network is the same as that of the first network.
[0076] Optionally, receiving a data message sent by a first node in a first network includes:
[0077] A data message is received which is forwarded by a first node of a first network through at least one intermediate node, wherein the intermediate node is a node of the forwarding route in the first network.
[0078] Optionally, adding a preset trigger identifier to a segment identifier in a message header of the data message, and encapsulating the data message based on tunnel information of the second network to obtain an encapsulated forwarding message includes:
[0079] A preset trigger identifier of a first preset number of bits is added to the segmentation identifier in the header of the data message, the tunnel information of the second network is added to the outer layer of the header of the data message, and the address of the fourth boundary node of the forwarding route in the third network is filled in the destination address field in the header of the data message to obtain an encapsulated forwarding message.
[0080] Optionally, the tunnel information of the second network includes: an address of a second border node and an address of a third border node of the forwarding route in the second network.
[0081] Optionally, the address of the second border node and the address of the third border node of the forwarding route in the second network are both a second preset number of bits, and the second preset number is a positive integer less than 128.
[0082] Optionally, sending the forwarding message to a destination node in a third network through a second border node in the second network includes:
[0083] The forwarding message is sent to the second border node in the second network, and the second border node sends the forwarding message to the third border node in the second network, and the third border node decapsulates the forwarding message and sends it to the fourth border node in the third network, and the fourth border node sends the decapsulated forwarding message to the destination node.
[0084] It should be noted that this node is a node corresponding to the above method, and all implementation methods in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.
[0085] An embodiment of the present invention further provides a data message transmission network system, comprising: a first network, a second network communicating with the first network, and a third network communicating with the second network, wherein the second network has a different transmission protocol from the first network, and the third network has the same transmission protocol as the first network;
[0086] The first border node in the first network is communicatively connected to the first node in the first network and is communicatively connected to the second border node in the second network, and the second border node is communicatively connected to the destination node via the node in the second network and the node in the third network;
[0087] Among them, the first border node is used to receive a data message sent by the first node in the first network, and the message header of the data message includes: a segment identifier list formed by the segment identifiers corresponding to each node in the forwarding route of the data message, and the segment identifiers of the nodes in the second network all include the tunnel information of the second network; the transmission protocol of the second network is different from that of the first network; and a preset trigger identifier is added to the segment identifier in the message header of the data message, and the data message is encapsulated based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the first border node to encapsulate the data message based on the tunnel information of the second network; and the forwarding message is sent to the destination node in the third network through the second border node in the second network; the destination node is the destination node of the forwarding route.
[0088] It should be noted that the method described in the node in the above network is also applicable to the embodiment of the network system and can achieve the same technical effect.
[0089] The embodiment of the present invention further provides a transmission node, comprising: a processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method described above is executed. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.
[0090] The embodiment of the present invention also provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the method described above. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.
[0091] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0093] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0095] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0096] If the functions are implemented in the form of software functional units 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 the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0097] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.
[0098] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.
[0099] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data message transmission method, characterized in that: A first border node applied to a first network includes: Receive a data message sent by a first node in a first network, wherein a message header of the data message includes: a segment identifier list formed by segment identifiers corresponding to each node in a forwarding route of the data message, and segment identifiers of nodes in a second network all include tunnel information of the second network; and the transmission protocol of the second network is different from that of the first network; Adding a preset trigger identifier to the segment identifier in the message header of the data message, and encapsulating the data message based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the first border node to encapsulate the data message based on the tunnel information of the second network; The forwarding message is sent to a destination node in a third network through a second border node in the second network; the destination node is a destination node of the forwarding route, and the transmission protocol of the third network is the same as that of the first network.
2. The data message transmission method according to claim 1, characterized in that: Receiving a data message sent by a first node in a first network includes: A data message is received which is forwarded by a first node of a first network through at least one intermediate node, wherein the intermediate node is a node of the forwarding route in the first network.
3. The data message transmission method according to claim 1, characterized in that: The method further comprises: adding a preset trigger identifier to a segment identifier in a header of the data message, and encapsulating the data message based on tunnel information of the second network to obtain an encapsulated forwarding message, including: A preset trigger identifier of a first preset number of bits is added to the segmentation identifier in the header of the data message, the tunnel information of the second network is added to the outer layer of the header of the data message, and the address of the fourth boundary node of the forwarding route in the third network is filled in the destination address field in the header of the data message to obtain an encapsulated forwarding message.
4. The data message transmission method according to claim 3, characterized in that: The tunnel information of the second network includes: an address of a second border node and an address of a third border node of the forwarding route in the second network.
5. The data message transmission method according to claim 3, characterized in that: The address of the second border node and the address of the third border node of the forwarding route in the second network are both a second preset number of bits, and the second preset number is a positive integer less than 128.
6. The data message transmission method according to claim 1, characterized in that: Sending the forwarding message to a destination node in a third network through a second border node in the second network includes: The forwarding message is sent to the second border node in the second network, and the second border node sends the forwarding message to the third border node in the second network, and the third border node decapsulates the forwarding message and sends it to the fourth border node in the third network, and the fourth border node sends the decapsulated forwarding message to the destination node.
7. A data message transmission device, characterized in that: Applied to a first border node in a first network, the device comprises: a transceiver module, configured to receive a data message sent by a first node in a first network, wherein a message header of the data message includes: a segment identifier list formed by segment identifiers corresponding to each node in a forwarding route of the data message, and segment identifiers of nodes in a second network all include tunnel information of the second network; and the transmission protocol of the second network is different from that of the first network; A processing module, configured to add a preset trigger identifier to the segment identifier in the message header of the data message, and encapsulate the data message based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the border node to encapsulate the data message based on the tunnel information of the second network; The transceiver module is also used to send the forwarding message to a destination node in a third network through a second border node in the second network; the destination node is a destination node of the forwarding route, and the transmission protocol of the third network is the same as that of the first network.
8. A data message transmission network system, characterized in that: include: A first network, a second network communicating with the first network, and a third network communicating with the second network, wherein the second network has a different transmission protocol from the first network, and the third network has the same transmission protocol as the first network; The first border node in the first network is communicatively connected to the first node in the first network and is communicatively connected to the second border node in the second network, and the second border node is communicatively connected to the destination node via the node in the second network and the node in the third network; Among them, the first border node is used to receive a data message sent by the first node in the first network, and the message header of the data message includes: a segment identifier list formed by the segment identifiers corresponding to each node in the forwarding route of the data message, and the segment identifiers of the nodes in the second network all include the tunnel information of the second network; the transmission protocol of the second network is different from that of the first network; and a preset trigger identifier is added to the segment identifier in the message header of the data message, and the data message is encapsulated based on the tunnel information of the second network to obtain an encapsulated forwarding message; the preset trigger identifier is used to enable the first border node to encapsulate the data message based on the tunnel information of the second network; and the forwarding message is sent to the destination node in the third network through the second border node in the second network; the destination node is the destination node of the forwarding route.
9. A transmission node, characterized in that: include: A processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method according to any one of claims 1 to 6 is performed.
10. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 6.
