CN116366395A - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
CN116366395A
CN116366395A CN202111622895.9A CN202111622895A CN116366395A CN 116366395 A CN116366395 A CN 116366395A CN 202111622895 A CN202111622895 A CN 202111622895A CN 116366395 A CN116366395 A CN 116366395A
Authority
CN
China
Prior art keywords
network domain
message
node
network
domain
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.)
Pending
Application number
CN202111622895.9A
Other languages
Chinese (zh)
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 Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202111622895.9A priority Critical patent/CN116366395A/en
Publication of CN116366395A publication Critical patent/CN116366395A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a device for transmitting messages, wherein the method comprises the following steps: receiving a first message; the first message carries segment list information of the first node, the first message is a message sent from a source node in the first network domain to a target node in a third network domain, and the first network domain is connected with the third network domain through a second network domain; if the segment list information contains a virtual extensible local area network interface identifier, determining that the next forwarding node of the first node is the first node of the second network domain; encapsulating the header of the second network domain on the first message to obtain a second message; and sending the second message to the next forwarding node. According to the invention, when a cross-domain scene is encountered, mapping and supporting end-to-end path planning on a domain boundary are not needed.

Description

Message transmission method and device
Technical Field
The present invention relates to the field of message transmission, and in particular, to a method and apparatus for message transmission.
Background
Currently, when the network upgrading of the same operation main body is carried out in a sub-area, the network domain is generally deployed in a segmented mode, and the end-to-end paths in the network domain are calculated respectively; when traversing a third party network which is not deployed, the method is generally realized by performing address mapping on boundary points; however, address mapping reduces forwarding efficiency and increases the process of searching a mapping table; and end-to-end path planning cannot be formed, and segmented path planning cannot meet global requirements.
Disclosure of Invention
The embodiment of the invention provides a message transmission method and a message transmission realization device, which are used for solving the problems that address mapping reduces forwarding efficiency and end-to-end path planning cannot be formed in the prior art.
In order to solve the above problems, the present invention is achieved as follows:
in a first aspect, the present invention provides a method for transmitting a message, applied to a first node in a first network domain, the method comprising:
receiving a first message; the first message carries segment list information of the first node, the first message is a message sent from a source node in the first network domain to a target node in a third network domain, and the first network domain is connected with the third network domain through a second network domain;
if the segment list information contains a virtual extensible local area network interface identifier, determining that the next forwarding node of the first node is the first node of the second network domain;
encapsulating the header of the second network domain on the first message to obtain a second message;
and sending the second message to the next forwarding node.
Optionally, the segment list information of the first node includes: the address of the first node of the second network domain, the address of the last node of the second network domain, and a virtual extensible local area network interface identification.
Optionally, the first message further includes: the segment list information of each forwarding node in the first network domain, the segment list information of each forwarding node in the second network domain, and the segment list information of each forwarding node in the third network domain, each of the segment list information of the forwarding nodes including: and the address of the next node of the forwarding node.
In a second aspect, the present invention provides a method for transmitting a message, applied to a second node in a second network domain, where the method includes:
receiving a second message sent by a last forwarding node in a first network domain, wherein the second message is obtained by encapsulating a header of the second network domain on a first message, the first message is sent by a source node in the first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
and sending the second message to the last forwarding node in the second network domain.
In a third aspect, the present invention provides a method for transmitting a message, applied to a third node in a second network domain, the method comprising:
receiving a second message sent by a last forwarding node in a second network domain; the second message is obtained by encapsulating a header of the second network domain on a first message, wherein the first message is a message sent from a source node in a first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
removing the header of the second network domain encapsulated on the second message to restore the second message to the first message;
and sending the recovered first message to the next forwarding node in the third network domain.
In a fourth aspect, the present invention provides an apparatus for transmitting a message, applied to a first node in a first network domain, the apparatus comprising:
the first receiving module is used for receiving a first message; the first message carries segment list information of the first node, the first message is a message sent from a source node in the first network domain to a target node in a third network domain, and the first network domain is connected with the third network domain through a second network domain;
the identification module is used for determining that the next forwarding node of the first node is the first node of the second network domain if the segment list information contains a virtual extensible local area network interface identification;
the encapsulation module is used for encapsulating the header of the second network domain on the first message to obtain a second message;
and the first sending module is used for sending the second message to the next forwarding node.
Optionally, the segment list information of the first node includes: the address of the first node of the second network domain, the address of the last node of the second network domain, and a virtual extensible local area network interface identification.
Optionally, the first message further includes: the segment list information of each forwarding node in the first network domain, the segment list information of each forwarding node in the second network domain, and the segment list information of each forwarding node in the third network domain, each of the segment list information of the forwarding nodes including: and the address of the next node of the forwarding node.
In a fifth aspect, the present invention provides a device for transmitting a message, applied to a second node of a second network domain, the device comprising:
the second receiving module is used for receiving a second message sent by a last forwarding node in a first network domain, wherein the second message is obtained by packaging a header of the second network domain on a first message, the first message is sent by a source node in the first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
and the second sending module is used for sending the second message to the last forwarding node in the second network domain.
In a sixth aspect, the present invention provides an apparatus for transmitting a message, applied to a third node in a second network domain, the apparatus comprising:
the third receiving module is used for receiving a second message sent by a last forwarding node in the second network domain; the second message is obtained by encapsulating a header of the second network domain on a first message, wherein the first message is a message sent from a source node in a first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
the decapsulation module is used for decapsulating the header of the second network domain encapsulated on the second message so as to restore the second message to the first message;
and the third sending module is used for sending the recovered first message to the next forwarding node in the third network domain.
In a seventh aspect, the present invention provides a server comprising: a processor, a memory and a program stored on the memory and executable on the processor, which when executed by the processor performs the steps of the method of message transmission according to any of the first aspects.
In an eighth aspect, the present invention provides a server comprising: a processor, a memory and a program stored on the memory and executable on the processor, which when executed by the processor performs the steps of the method of message transmission according to any of the second aspects.
In a ninth aspect, the present invention provides a server comprising: a processor, a memory and a program stored on the memory and executable on the processor, which when executed by the processor performs the steps of the method of message transmission according to any of the third aspects.
In a tenth aspect, the present invention provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, the computer program, when executed by a processor, implementing the method for transmitting a message according to any one of the first aspect, the method for transmitting a message according to any one of the second aspect, or the steps of the method for transmitting a message according to any one of the third aspect.
In the invention, a new message format is defined, and the encapsulation is performed based on the virtual extensible local area network, so that mapping is not required at a domain boundary when a cross-domain scene is encountered, and the planning of an end-to-end path is supported.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 is a flow chart of a method for transmitting a message according to an embodiment of the present invention;
fig. 2 is a schematic format diagram of an instruction list of a method for transmitting a message according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a first message structure of a method for transmitting a message according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a second message structure of a method for transmitting a message according to an embodiment of the present invention;
fig. 5 is a flowchart of another method for transmitting a message according to an embodiment of the present invention;
fig. 6 is a flowchart of another method for transmitting a message according to an embodiment of the present invention;
fig. 7 is a general flow chart of a method for transmitting a message according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a device for transmitting a message according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another apparatus for transmitting a message according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another apparatus for transmitting a message according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another server according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of another server according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, an embodiment of the present invention provides a method for transmitting a message, which is applied to a first node in a first network domain, and the method includes:
step 11: receiving a first message; the first message carries segment list information of the first node, the first message is a message sent from a source node in the first network domain to a target node in a third network domain, and the first network domain is connected with the third network domain through a second network domain;
step 12: if the segment list information contains a virtual extensible local area network interface identifier, determining that the next forwarding node of the first node is the first node of the second network domain;
step 13: encapsulating the header of the second network domain on the first message to obtain a second message;
step 14: and sending the second message to the next forwarding node.
In the embodiment of the invention, the virtual extensible local area network is used for packaging by defining a new message format, so that mapping is not required at a domain boundary when a cross-domain scene is encountered, and planning of an end-to-end path is supported.
In the embodiment of the present invention, the first network domain and the third network domain are IPv6 networks; the second network domain is an IPv4 network; the first message is a SRv message; the SRv, SR-IPv6, encapsulates an instruction list SID list of Segment Routing in an IPv6 header to instruct forwarding of a packet according to a source route, where the 128-bit programmable SID format is shown in fig. 2, and a Locator is an identifier allocated to a network node in a network topology and is used to forward a data packet to the node, and a route corresponding to the Locator is issued by the node to the network through IGP (interior gateway protocol) and is used to help other devices forward the data packet to the node that issues the Locator, where the length of the Locator is variable and is used to adapt to networks of different scales; fuNCT, i.e. Function used to express the forwarding action to be executed by the instruction, is equivalent to the operation code of the computer instruction, and different forwarding actions are described by the Function part, such as forwarding a data packet to a designated link, or table lookup forwarding in a designated table, etc.; ARGS, i.e., images, are optional fields for parameters corresponding to instructions when executed, which may include flows, services, or any other relevant information.
In the embodiment of the invention, SRH encapsulation is adopted, and Segment list information, namely Segment list information, is encapsulated in the SRH, wherein each Segment list information is a 128-bit IPv6 address; as shown in fig. 3, the first two behavior IPv6 headers from top to bottom are shown in the figure, and the second two behavior IPv6 headers are SRH, where Segment list information of each forwarding node includes: the address of the next node of the forwarding node, that is, the 128bit IPv6 address, and the portion less than 128bit is filled with 0, where the segment list information of the first node in the first network domain further includes the address of the first node in the second network domain, the address of the target node in the second network domain, and a virtual extensible local area network interface identifier VNI (Virtual Network Interface), where the virtual extensible local area network interface identifier is used to identify that the next forwarding node is a virtual extensible local area network node, that is, the first node in the second network domain; the first node is the last forwarding node in the first network domain, and encapsulates the header of the second network domain, that is, the header of the virtual extensible local area network VXLAN (Virtual Extensible Local Area Network), on the first message as a second message, where the second message is in a virtual extensible local area network message format, as shown in fig. 4, the first behavior from top to bottom is that of the header of the second network domain; wherein the second message may traverse the second network domain.
In the embodiment of the invention, the information in the segment list is redefined, the segment list information of the first node in the first network domain also comprises the address of the first node in the second network domain, the address of the last node in the second network domain and a virtual extensible local area network interface identifier, the next forwarding node is identified as a third node through the virtual extensible local area network interface identifier, and encapsulation is started to achieve the purpose of traversing the second network domain.
In an embodiment of the present invention, optionally, the first packet further includes: the segment list information of each forwarding node in the first network domain, the segment list information of each forwarding node in the second network domain, and the segment list information of each forwarding node in the third network domain, each of the segment list information of the forwarding nodes including: and the address of the next node of the forwarding node.
In this embodiment of the present invention, optionally, before the source node in the first network domain sends the first packet to the target node in the third network domain, the method further includes:
the source node calculates a forwarding path between the source node and the target node, and obtains each forwarding node on the forwarding path;
generating the first message according to each forwarding node on the forwarding path, wherein the segment list of each forwarding node in the first message is arranged according to the forwarding path.
In the embodiment of the present invention, the segment list of each forwarding node in the first packet is arranged according to the forwarding paths, and the segment list is orderly arranged according to a rule.
Referring to fig. 5, the present invention provides a method for transmitting a message, which is applied to a third node in a second network domain, and the method includes:
step 51: receiving a second message sent by a last forwarding node in a second network domain; the second message is obtained by encapsulating a header of the second network domain on a first message, wherein the first message is a message sent from a source node in a first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
step 52: removing the header of the second network domain encapsulated on the second message to restore the second message to the first message;
step 53: and sending the recovered first message to the next forwarding node in the third network domain.
In this embodiment of the present invention, optionally, the first network domain and the third network domain are IPv6 networks.
In the embodiment of the present invention, optionally, the second network domain is an IPv4 network.
Referring to fig. 4, in the embodiment of the present invention, the second node encapsulates a header of the virtual extensible local area network VXLAN (Virtual Extensible Local Area Network) on the first message as a second message, where the second message is in a virtual extensible local area network message format, as shown in fig. 4, the header of the virtual extensible local area network is in a first behavior from top to bottom; wherein the second message may traverse the second network domain.
Referring to fig. 6, the present invention provides a method for transmitting a message, including:
step 61: the virtual extensible local area network node in the second network domain receives a second message sent by the second node, wherein the second message is in a virtual extensible local area network message format, a first message is packaged in the second message, the first message is a message sent by a source node in the first network domain to a target node in the third network domain, the first network domain and the third network domain are connected through the second network domain, and the first message comprises: the segment list information of each forwarding node in the first network domain, the segment list information of each forwarding node in the second network domain, and the segment list information of each forwarding node in the third network domain, each of the segment list information of the forwarding nodes including: the address of the next node of the forwarding node, the segment list information of the second node further includes an address of a first node of the second network domain, an address of a last node of the second network domain, and a virtual extensible local area network interface identifier, where the virtual extensible local area network interface identifier is used to identify that the next forwarding node is a virtual extensible local area network node;
step 62: and the virtual extensible local area network node sends the second message to a third node, wherein the third node is the last forwarding node in the second network domain.
Referring to fig. 7, in the embodiment of the present invention, a source node in a first network domain, namely N0, sends a first packet to a target node in a third network domain, namely N12, and the first network domain and the third network domain are connected through a second network domain, and the source node calculates a forwarding path between the source node and the target node, so as to obtain each forwarding node on the forwarding path; not limited to the number of nodes shown in fig. 5; generating the first message according to each forwarding node on the forwarding path, wherein the segment list of each forwarding node in the first message is arranged according to the forwarding path; the first message includes: the segment list information of each forwarding node in the first network domain, the segment list information of each forwarding node in the second network domain, and the segment list information of each forwarding node in the third network domain, each of the segment list information of the forwarding nodes including: the address of the next node of the forwarding node, the segment list information of the first node in the first network domain further includes an address of the first node in the second network domain, namely an address of N5, an address of a target node in the second network domain, namely an address of N7, and a virtual extensible local area network interface identifier, where the virtual extensible local area network interface identifier is used to identify that the next forwarding node is a virtual extensible local area network node, and the first node is the last forwarding node in the first network domain, namely N4; the first node receives a first message; the first node encapsulates the header of the second network domain on the first message, namely the header of the virtual extensible local area network is used as a second message, and the second message is in a virtual extensible local area network message format; the second message may traverse the second network domain; the first node sends the second message to a second node in the second network domain, namely N5, wherein the nodes through which N5 to N7 pass include, but are not limited to, N6; a third node in a second network domain, namely N7, receives a second message sent by the second node and removes a header of the second network domain encapsulated on the second message so as to restore the second message to the first message; and the third node sends the recovered first message to the next forwarding node of the third node, namely N8.
Referring to fig. 8, the present invention provides a device for transmitting a message, which is applied to a first node in a first network domain, and the device includes:
a first receiving module 81, configured to receive a first packet; the first message carries segment list information of the first node, the first message is a message sent from a source node in the first network domain to a target node in a third network domain, and the first network domain is connected with the third network domain through a second network domain;
an identification module 82, configured to determine that a next forwarding node of the first node is a first node of the second network domain if the segment list information includes a virtual extensible local area network interface identifier;
an encapsulation module 83, configured to encapsulate a header of the second network domain on the first packet to obtain a second packet;
a first sending module 84, configured to send the second packet to the next forwarding node.
The network side device provided by the embodiment of the present invention can implement each process implemented by the method for transmitting a message in the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
Referring to fig. 9, the present invention provides a device for transmitting a message, which is applied to a second node of a second network domain, and the device includes:
a second receiving module 91, configured to receive a second packet sent by a last forwarding node in a first network domain, where the second packet is obtained by encapsulating a header of the second network domain on a first packet, where the first packet is a packet sent by a source node in the first network domain to a destination node in a third network domain, and the first network domain and the third network domain are connected by the second network domain;
a second sending module 92, configured to send the second packet to a last forwarding node in the second network domain.
The network side device provided by the embodiment of the present invention can implement each process implemented by the method for transmitting a message in the method embodiment of fig. 5, and in order to avoid repetition, a description is omitted here.
Referring to fig. 10, the present invention provides a device for transmitting a message, which is applied to a third node in a second network domain, and the device includes:
a third receiving module 101, configured to receive a second packet sent by a last forwarding node in the second network domain; the second message is obtained by encapsulating a header of the second network domain on a first message, wherein the first message is a message sent from a source node in a first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
a decapsulation module 102, configured to decapsulate a header of the second network domain encapsulated on the second packet, so as to restore the second packet to the first packet;
and the third sending module 103 is configured to send the recovered first packet to a next forwarding node in the third network domain.
The network side device provided by the embodiment of the present invention can implement each process implemented by the method for transmitting a message in the method embodiment of fig. 6, and in order to avoid repetition, a description is omitted here.
Referring to fig. 11, the embodiment of the present invention further provides a server 110, including a processor 111, a memory 112, and a computer program stored in the memory 112 and capable of running on the processor 111, where the computer program, when executed by the processor 111, implements the respective processes of the method embodiment of message transmission described above, and can achieve the same technical effects, so that repetition is avoided and no further description is given here.
Referring to fig. 12, the embodiment of the present invention further provides another server 120, which includes a processor 121, a memory 122, and a computer program stored in the memory 122 and capable of running on the processor 121, where the computer program, when executed by the processor 121, implements the respective processes of the method embodiment of message transmission described above, and can achieve the same technical effects, and for avoiding repetition, will not be repeated here.
Referring to fig. 13, the embodiment of the present invention further provides a server 130, which includes a processor 131, a memory 132, and a computer program stored in the memory 132 and capable of running on the processor 131, where the computer program, when executed by the processor 131, implements the respective processes of the method embodiment of message transmission described above, and can achieve the same technical effects, and for avoiding repetition, will not be described herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements each process of the above-mentioned method embodiment of message transmission, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a terminal, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. A method of message transmission, for use with a first node in a first network domain, the method comprising:
receiving a first message; the first message carries segment list information of the first node, the first message is a message sent from a source node in the first network domain to a target node in a third network domain, and the first network domain is connected with the third network domain through a second network domain;
if the segment list information contains a virtual extensible local area network interface identifier, determining that the next forwarding node of the first node is the first node of the second network domain;
encapsulating the header of the second network domain on the first message to obtain a second message;
and sending the second message to the next forwarding node.
2. The method of claim 1, wherein,
the segment list information of the first node includes: the address of the first node of the second network domain, the address of the last node of the second network domain, and a virtual extensible local area network interface identification.
3. The method of claim 1, wherein,
the first message further includes: the segment list information of each forwarding node in the first network domain, the segment list information of each forwarding node in the second network domain, and the segment list information of each forwarding node in the third network domain, each of the segment list information of the forwarding nodes including: and the address of the next node of the forwarding node.
4. A method of message transmission, applied to a second node of a second network domain, the method comprising:
receiving a second message sent by a last forwarding node in a first network domain, wherein the second message is obtained by encapsulating a header of the second network domain on a first message, the first message is sent by a source node in the first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
and sending the second message to the last forwarding node in the second network domain.
5. A method of message transmission, for use with a third node in a second network domain, the method comprising:
receiving a second message sent by a last forwarding node in a second network domain; the second message is obtained by encapsulating a header of the second network domain on a first message, wherein the first message is a message sent from a source node in a first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
removing the header of the second network domain encapsulated on the second message to restore the second message to the first message;
and sending the recovered first message to the next forwarding node in the third network domain.
6. An apparatus for transmitting a message, the apparatus being adapted for use with a first node in a first network domain, the apparatus comprising:
the first receiving module is used for receiving a first message; the first message carries segment list information of the first node, the first message is a message sent from a source node in the first network domain to a target node in a third network domain, and the first network domain is connected with the third network domain through a second network domain;
the identification module is used for determining that the next forwarding node of the first node is the first node of the second network domain if the segment list information contains a virtual extensible local area network interface identification;
the encapsulation module is used for encapsulating the header of the second network domain on the first message to obtain a second message;
and the first sending module is used for sending the second message to the next forwarding node.
7. An apparatus for transmitting a message, the apparatus being adapted for use in a second node of a second network domain, the apparatus comprising:
the second receiving module is used for receiving a second message sent by a last forwarding node in a first network domain, wherein the second message is obtained by packaging a header of the second network domain on a first message, the first message is sent by a source node in the first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
and the second sending module is used for sending the second message to the last forwarding node in the second network domain.
8. An apparatus for transmitting a message, the apparatus being adapted for use with a third node in a second network domain, the apparatus comprising:
the third receiving module is used for receiving a second message sent by a last forwarding node in the second network domain; the second message is obtained by encapsulating a header of the second network domain on a first message, wherein the first message is a message sent from a source node in a first network domain to a target node in a third network domain, and the first network domain and the third network domain are connected through the second network domain;
the decapsulation module is used for decapsulating the header of the second network domain encapsulated on the second message so as to restore the second message to the first message;
and the third sending module is used for sending the recovered first message to the next forwarding node in the third network domain.
9. A server, comprising: a processor, a memory and a program stored on the memory and executable on the processor, the program when executed by the processor implementing the steps of the method of message transmission according to any one of claims 1-3, or the program when executed by the processor implementing the steps of the method of message transmission according to claim 4, or the program when executed by the processor implementing the steps of the method of message transmission according to claim 5.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method of message transmission according to any of claims 1-3, or which, when executed by the processor, implements the steps of the method of message transmission according to claim 4, or which, when executed by the processor, implements the steps of the method of message transmission according to claim 5.
CN202111622895.9A 2021-12-28 2021-12-28 Message transmission method and device Pending CN116366395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111622895.9A CN116366395A (en) 2021-12-28 2021-12-28 Message transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111622895.9A CN116366395A (en) 2021-12-28 2021-12-28 Message transmission method and device

Publications (1)

Publication Number Publication Date
CN116366395A true CN116366395A (en) 2023-06-30

Family

ID=86925512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111622895.9A Pending CN116366395A (en) 2021-12-28 2021-12-28 Message transmission method and device

Country Status (1)

Country Link
CN (1) CN116366395A (en)

Similar Documents

Publication Publication Date Title
CN108737128B (en) Method and device for realizing in-band operation management maintenance IOAM
US10757018B2 (en) Method and apparatus for forwarding MPLS data packet
US10412008B2 (en) Packet processing method, apparatus, and system
CN113207192B (en) Message forwarding method and device
CN112087386B (en) Message processing method, device and system
CN111510386B (en) Method and device for processing message
CN108270673B (en) File transmitting method, device and system
US20170149685A1 (en) Address information publishing method and apparatus
CN112019433B (en) Message forwarding method and device
CN111988223B (en) Virtual machine migration method and network system
EP4207685A1 (en) Message header processing method and apparatus, storage medium and electronic device
CN108737127B (en) Information notification method and device
CN112087381B (en) Method and device for realizing service function processing
WO2022184169A1 (en) Packet forwarding method and system, storage medium, and electronic device
CN112511427B (en) Segment routing service processing method and device, routing equipment and storage medium
CN114650256A (en) Message processing method, node and computer readable storage medium
CN105530185A (en) Overlay routing network, routing method based on overlay routing network, and router
CN113726653A (en) Message processing method and device
CN111277426B (en) IOAM information processing method and device
CN116366395A (en) Message transmission method and device
CN113542126B (en) Generalized SRv6 full-path compression method and device
CN115277530B (en) Data processing method, device, equipment and medium based on SRv protocol
CN118590435A (en) Data message transmission method, node and network system
WO2022237563A1 (en) Data forwarding method and apparatus, storage medium, and electronic apparatus
CN117376248A (en) Message forwarding method, device, electronic equipment and computer program product

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