CN115695084A - Message processing method, device and communication system - Google Patents

Message processing method, device and communication system Download PDF

Info

Publication number
CN115695084A
CN115695084A CN202110855993.0A CN202110855993A CN115695084A CN 115695084 A CN115695084 A CN 115695084A CN 202110855993 A CN202110855993 A CN 202110855993A CN 115695084 A CN115695084 A CN 115695084A
Authority
CN
China
Prior art keywords
message
vxlan
gateway
identifier
srv6
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
CN202110855993.0A
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 Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202110855993.0A priority Critical patent/CN115695084A/en
Priority to PCT/CN2022/103771 priority patent/WO2023005620A1/en
Publication of CN115695084A publication Critical patent/CN115695084A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • 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

Landscapes

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

Abstract

The present disclosure provides a message processing method, a device and a communication system, which relate to the field of communication, wherein the method comprises the following steps: the method comprises the steps that a first gateway receives a first VxLAN message from a first virtual extensible local area network VxLAN in a first domain, wherein the first VxLAN message comprises a first identifier and a first load of a second VxLAN in a second domain; the first gateway performs processing on the first VxLAN message to obtain a segmented routing (SRv 6) message, wherein the SRv6 message comprises a second identifier of a second VxLAN, the first load and a path from the first gateway to the second gateway; and the first gateway sends the SRv6 message to an IPv6 network, so that the second gateway sends a second VxLAN message comprising the first identifier and the first load to a second VxLAN according to the second identifier, wherein the SRv6 message is forwarded in the IPv6 network according to the path.

Description

Message processing method, device and communication system
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method, an apparatus, and a communication system for processing a packet.
Background
In the related art, messages communicated between different virtual extensible local area networks (vxlans) are transmitted in an IP network based on a User Datagram Protocol (UDP).
Disclosure of Invention
The inventor has noticed that, in a mode that a message is transmitted in an IP network based on UDP, each routing node in the IP network that forwards the message searches for a next-hop node according to a destination IP address of the message, that is, a path for forwarding the message is determined by each routing node in the IP network, which cannot meet specific service requirements for communication between different vxlans.
In view of this, the embodiments of the present disclosure propose the following solutions.
According to an aspect of the embodiments of the present disclosure, a method for processing a packet is provided, including: the method comprises the steps that a first gateway receives a first VxLAN message from a first virtual extensible local area network VxLAN in a first domain, wherein the first VxLAN message comprises a first identifier and a first load of a second VxLAN in a second domain; the first gateway performs processing on the first VxLAN message to obtain a SRv6 message of a segmented route, wherein the SRv6 message comprises a second identifier of a second VxLAN, the first load and a path from the first gateway to the second gateway; and the first gateway sends the SRv6 message to an IPv6 network so that the second gateway sends a second VxLAN message comprising the first identifier and the first load to a second VxLAN according to the second identifier, wherein the SRv6 message is forwarded in the IPv6 network according to the path.
In some embodiments, the path includes a first set of segment routing identifications; the first gateway executing the first VxLAN message processing comprises the following steps: under the condition that the number of the segmented routing identifiers in the first group of segmented routing identifiers is larger than a preset threshold value, the first gateway executes processing on the first VxLAN message according to a first mode; and under the condition that the number is not larger than the preset threshold value, the first gateway executes processing on the first VxLAN message according to a second mode, wherein the size of the SRv6 message obtained by executing the processing according to the second mode is larger than that of the SRv6 message obtained by executing the processing according to the first mode, and the time for executing the processing according to the second mode is shorter than that for executing the processing according to the first mode.
In some embodiments, the header of the first VxLAN packet includes the first identifier and other information except the first identifier, and the SRv6 packet obtained by performing the processing according to the first manner does not include the other information.
In some embodiments, the first set of segment routing identifiers has a predetermined format; the first gateway executing the first VxLAN message processing according to the first mode comprises the following steps: the first gateway executes decapsulation processing on the first VxLAN message to obtain the first identifier and the first load; the first gateway determines a second identifier conforming to the predetermined format based on the first identifier; the first gateway performs encapsulation processing on the first load to obtain the SRv6 packet, where the SRv6 packet includes a packet header and a second load, the packet header includes a second group of segment routing identifiers, the second group of segment routing identifiers includes the first group of segment routing identifiers and the second identifier, and the second load is the first load.
In some embodiments, the method further comprises: before receiving the first VxLAN message, the first gateway receives and stores identification information from the second gateway, wherein the identification information comprises a first identification of each VxLAN in a plurality of VxLANs in the second domain and a second identification associated with the first identification, the first identification and the second identification of different VxLANs are different, and the VxLANs comprise the second VxLAN; the first gateway determining, based on the first identity, a second identity conforming to the predetermined format comprises: the first gateway determines the second identity associated with the first identity from the stored identity information based on the first identity.
In some embodiments, sending, by the second gateway, the second VxLAN message to the second VxLAN according to the second identifier comprises: the second gateway determines the first identity based on the second identity; the second gateway de-encapsulates the SRv6 message to obtain the first load; the second gateway obtains the second VxLAN message based on the first identifier and the first load; and the second gateway sends the second VxLAN message to a second VxLAN.
In some embodiments, the second identifier of each VxLAN comprises a location portion and a functional portion, the location portion is a routing address of the second gateway, and the functional portion is the first identifier of the VxLAN; the second gateway determining the first identity based on the second identity comprises: and the second gateway obtains the first identifier from the second identifier.
In some embodiments, the second VxLAN message is the same as the first VxLAN message.
In some embodiments, the second way for the first gateway to process the first VxLAN message includes: and the first gateway executes encapsulation processing on the first VxLAN message to obtain the SRv6 message, wherein the SRv6 message comprises a message header and a second load, the message header comprises the path, the second load is the first VxLAN message, and the second identifier is the first identifier.
In some embodiments, the segment routing identifier of the second gateway in the path carries an instruction to instruct the last hop node of the second gateway to delete the packet header before sending the SRv6 packet to the second gateway.
According to another aspect of the embodiments of the present disclosure, there is provided a message processing apparatus, located in a first gateway, including: the VxLAN message receiving module is configured to receive a first VxLAN message from a first VxLAN in a first domain, and the first VxLAN message comprises a first identifier and a first load of a second VxLAN in a second domain; the processing module is configured to perform processing on the first VxLAN message to obtain a segment routing SRv6 message, wherein the SRv6 message comprises a second identifier of a second VxLAN, the first load and a path from a first gateway to a second gateway; and the sending module is configured to send the SRv6 message to an IPv6 network so that the second gateway sends a second VxLAN message comprising the first identifier and the first load to a second VxLAN according to the second identifier, wherein the SRv6 message is forwarded in the IPv6 network according to the path.
According to still another aspect of the embodiments of the present disclosure, there is provided a packet processing apparatus, located in a first gateway, including: a memory; and a processor coupled to the memory, the processor configured to perform the method of any of the above embodiments based on instructions stored in the memory.
According to still another aspect of the embodiments of the present disclosure, there is provided a communication system including: a first gateway, including the message processing apparatus according to any one of the embodiments; and the second gateway is configured to send the second VxLAN message to a second VxLAN according to the second identifier.
According to a further aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium comprising computer program instructions, wherein the computer program instructions, when executed by a processor, implement the method of any one of the above embodiments.
In the embodiment of the disclosure, the first gateway processes the first VxLAN message to obtain an SRv6 message which can be transmitted in the IPv6 network according to a specific path, and the second gateway sends a second VxLAN message including the first identifier and the first load to the second VxLAN according to a second identifier of the second VxLAN carried in the SRv6 message. In this manner, messages communicated between the first VxLAN and the second VxLAN can be transmitted in the IP network according to a specific path to meet various specific service requirements.
The technical solution of the present disclosure is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow diagram of a message processing method according to some embodiments of the present disclosure;
fig. 2A is a schematic diagram of a first VxLAN message, according to some embodiments of the present disclosure;
fig. 2B is a schematic diagram of an SRv6 message, according to some embodiments of the present disclosure;
FIG. 3 is a flow diagram of a message processing method according to further embodiments of the present disclosure;
FIG. 4 is a schematic block diagram of a message processing apparatus according to some embodiments of the present disclosure;
FIG. 5 is a schematic block diagram of a message processing apparatus according to further embodiments of the present disclosure;
fig. 6 is a schematic structural diagram of a communication system according to some embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a flow diagram of a message processing method according to some embodiments of the present disclosure.
As shown in fig. 1, the message processing method includes steps 102 to 106.
At step 102, a first gateway receives a first VxLAN message from a first VxLAN within a first domain. The first VxLAN message includes a first identifier and a first load of a second VxLAN within the second domain.
For example, a terminal within a first VxLAN sends a message (i.e., a first payload) to a VxLAN Tunnel Endpoint (VTEP) of the first VxLAN. And the VTEP of the first VxLAN encapsulates the message to obtain a first VxLAN message. The first gateway then receives the first VxLAN message sent by the VTEP for the first VxLAN.
The first VxLAN message includes a header and a first payload. The first identification of the second VxLAN is included in the header of the first VxLAN message. The first identity is, for example, a Virtual Network Infrastructure (VNI) identity.
Fig. 2A is a schematic diagram of a first VxLAN message, according to some embodiments of the present disclosure.
As shown in fig. 2A, the packet Header of the first VxLAN packet includes an Outer Ethernet Header, an Outer IP Header, an Outer UDP Header, and a VxLAN Header. The VxLAN header includes a VxLAN Flag (Flag), a Reserved bit (Reserved), and a first identification. As can be seen, the header of the first VxLAN message includes other information in addition to the first identifier. The load (i.e., the first load) of the first VxLAN packet includes an internal Ethernet Header (Inner Ethernet Header), a load (Payload) as original communication data, and a Frame Checking Sequence (FCS).
At step 104, the first gateway performs processing on the first VxLAN message to obtain a segment routing (SRv 6) message. Here, the SRv6 message includes the second identification of the second VxLAN, the first payload, and the path from the first gateway to the second gateway.
There are multiple paths from the first gateway to the second gateway. The first gateway may, for example, obtain from the controller a path determined from a plurality of paths according to traffic demands. For example, the path with the highest network bandwidth may be determined to meet the low latency requirement.
The path from the first gateway to the second gateway is included in the header of the SRv6 message. In some embodiments, a path from a first gateway to a second gateway includes a first set of Segment routing identifications (SIDs) in the form of a Segment List (Segment List).
The second identifier may be the same as or different from the first identifier, and two different ways of executing the processing by the first gateway will be described later with reference to different embodiments.
Fig. 2B is a schematic diagram of an SRv6 message, according to some embodiments of the present disclosure.
As shown in fig. 2B, the packet Header of the SRv6 packet includes an IPv6 Header and a Segment Routing Header (SRH). The destination address in the IPv6 header is the IPv6 address of the second gateway, and the SRH comprises a path from the first gateway to the second gateway. The SRv6 messages obtained in different ways have different loads (i.e., second loads), which will be described in detail later.
In step 106, the first gateway sends an SRv6 message to the IPv6 network, so that the second gateway sends a second VxLAN message including the first identifier and the first load to the second VxLAN according to the second identifier.
It should be understood that the SRv6 message is forwarded in the IPv6 network according to the path in step 104.
For example, the second gateway may send a second VxLAN message to the VTEP for the second VxLAN to cause the VTEP to send the first payload to the communication terminal within the second VxLAN according to a destination Media Access Control (MAC) address carried by the internal ethernet header in the first payload.
In the embodiment, the first gateway processes the first VxLAN message to obtain an SRv6 message which can be transmitted in the IPv6 network according to a specific path, and the second gateway sends a second VxLAN message including the first identifier and the first load to the second VxLAN according to a second identifier of the second VxLAN carried by the SRv6 message. In this manner, messages communicated between the first VxLAN and the second VxLAN can be transmitted in the IP network according to a specific path to meet various specific service requirements.
The message processing method shown in fig. 1 is further described below with reference to some embodiments.
In some embodiments, the path from the first gateway to the second gateway includes the first set of SIDs. The first gateway executing the first VxLAN message processing comprises the following steps: under the condition that the number of SIDs in the first group of SIDs is larger than a preset threshold value, the first gateway performs processing on the first VxLAN message according to a first mode; and under the condition that the number of the SIDs in the first group of SIDs is not larger than the preset threshold value, the first gateway executes processing on the first VxLAN message according to a second mode.
Here, the size of the SRv6 packet resulting from the processing performed in the second manner is larger than the size of the SRv6 packet resulting from the processing performed in the first manner, and the time for performing the processing in the second manner is shorter than the time for performing the processing in the first manner.
It should be understood that the transmission speed of the SRv6 message in the IP network decreases as the SRv6 message increases, i.e. the transmission speed of the SRv6 message obtained in the first way is greater than the transmission speed of the SRv6 message obtained in the second way.
The processing is performed in a first manner if the number of SIDs in the first set of SIDs is greater than a preset threshold, and in a second manner if the number of SIDs in the first set of SIDs is not greater than the preset threshold. In this way, the first way may be selected to ensure the transmission speed of the SRv6 message when the path is long, and the second way may be selected to ensure the processing speed of the first gateway when the path is short, so as to balance the processing speed and the transmission speed of the SRv6 message, and ensure that the second gateway can receive the SRv6 message faster.
A first way of performing the processing by the first gateway is described below with reference to fig. 3. The header of the first VxLAN message includes the first identifier and other information except the first identifier. The SRv6 message obtained by the first gateway performing processing in the first manner does not include the other information, and the second load of the obtained SRv6 message is the first load of the first VxLAN message, and the second identifier is different from the first identifier in the first VxLAN message.
Fig. 3 is a flow diagram of a method of message processing according to further embodiments of the present disclosure.
As shown in fig. 3, the message processing method includes steps 102 to 106. Here, step 104 includes steps 114 to 134. The same steps as those in fig. 1 are not described herein again.
At step 114, the first gateway performs decapsulation processing on the first VxLAN packet to obtain a first identifier and a first load.
At step 124, the first gateway determines a second identification for the second VxLAN based on the first identification for the second VxLAN. Here, the path from the first gateway to the second gateway includes a first set of SIDs having a predetermined format, and the second identifier of the second VxLAN is in the predetermined format. I.e. the second identity is also a SID.
At step 134, the first gateway performs encapsulation on the first payload to obtain an SRv6 packet. The obtained SRv6 message comprises a header and a second payload. The header of the SRv6 message includes a second group SID, which includes the first group SID and a second identifier of a second VxLAN.
For example, the path from the first gateway to the second gateway is a first segment list of the first set of SIDs. A second identification may be added at the end of the first Segment list to obtain a second Segment list (i.e., a second group SID) such that the number of segments of the second Segment list is equal to the number of segments of the first Segment list plus one.
In a first mode, the processed SRv6 message does not include other information except the first identifier in the message header of the first VxLAN message. Therefore, the size of the SRv6 message can be reduced, and the transmission speed of the SRv6 message in the IPv6 network is improved.
In a first manner, the second gateway may send a second VxLAN message to the second VxLAN based on the second identifier as follows.
First, the second gateway determines a first identity based on the second identity. Then, the second gateway performs decapsulation processing on the SRv6 packet to obtain a first load. And then, the second gateway obtains a second VxLAN message based on the first identifier and the first load. And finally, the second gateway sends a second VxLAN message to the second VxLAN.
It should be understood that the second VxLAN message is identical to the first VxLAN message, with the exact same encapsulation format. However, since the second VxLAN message sent to the second VxLAN includes the first load, which in turn includes the load and the destination MAC address, communication can be completed smoothly even if the second VxLAN message is different from the first VxLAN message.
In the first mode, the packet header of the SRv6 packet includes the second group SID obtained by additionally adding the second identifier on the basis of the first group SID, so that the second gateway is not the destination node of the SRv6 packet, and thus the second gateway can be ensured to receive the packet header of the SRv6 packet. In this way, the second gateway can send the second VxLAN message to the second VxLAN according to the second identifier of the second VxLAN, so that the success rate of message forwarding can be improved.
The first way in which the first gateway performs the processing is further described below in connection with some embodiments.
In some embodiments, the first gateway receives and stores identification information from the second gateway prior to receiving the first VxLAN message. Here, the identification information from the second gateway includes a first identification of each of the plurality of vxlans within the second domain and a second identification associated with the first identification. For example, the second gateway sets a corresponding second identifier for each VxLAN within the second domain, and associates each second identifier with the first identifier to obtain the identification information sent to the first gateway. It should be understood that the first identification of a different VxLAN is different, and the second identification of a different VxLAN is also different. The plurality of vxlans in the second domain includes a second VxLAN. In this case, the first gateway may determine, from the stored identification information, a second identification associated with the first identification based on the first identification of the second VxLAN.
In the above embodiment, the first gateway receives and stores the identification information from the second gateway in advance, instead of sending the request for obtaining the second identification to the second gateway after receiving the first VxLAN message. In this way, the first gateway can more quickly complete processing of the first VxLAN message, thereby more quickly obtaining an SRv6 message.
In some embodiments, the second identification of each VxLAN includes a Locator portion (Locator) and a Function portion (Function). The location portion is a routing address of the second gateway and the functional portion is a first identification of the VxLAN. After receiving the SRv6 message, the second gateway may directly obtain the first identifier from the second identifier without having to look up the first identifier associated with the second identifier from the identification information. In this way, the second gateway can obtain the first identifier of the second VxLAN more quickly, and thus can obtain the second VxLAN message sent to the second VxLAN more quickly.
The second way in which the first gateway performs the processing is explained below. That is, the first gateway performs encapsulation processing on the first VxLAN message to obtain an SRv6 message. The SRv6 packet processed by the first gateway according to the second method also includes a header and a second payload. But here the header includes the path from the first gateway to the second gateway, the second payload is the entire first VxLAN message, and the second identifier is the first identifier.
In the second mode, the first gateway only needs to encapsulate the first VxLAN message, and other additional operations are not needed. Thus, the processing load of the first gateway can be reduced, and the processing speed of the first gateway on the first VxLAN message can be improved.
In some embodiments, the SID of the second gateway in the path from the first gateway to the second gateway carries an instruction to instruct the last hop node of the second gateway to delete the header of the SRv6 message before sending the SRv6 message to the second gateway. Therefore, on one hand, the size of the SRv6 message sent by the previous-hop node of the second gateway to the second gateway can be reduced, so that the transmission speed of the SRv6 message in the process is improved. On the other hand, the second gateway directly receives the second payload of the SRv6 message (i.e., the first VxLAN message), so that the first VxLAN message (i.e., the second VxLAN message) can be accurately sent to the second VxLAN without performing other additional operations. Therefore, under the condition of ensuring the success rate of message forwarding, the processing load of the second gateway is reduced, and the speed of sending the second VxLAN message to the second VxLAN by the second gateway is increased.
It should be understood that because the SRv6 message resulting from the processing performed by the first gateway in the second manner includes information other than the first identifier in the header of the first VxLAN message, and the SRv6 message resulting from the processing performed in the first manner does not include the above-mentioned information, the size of the SRv6 message resulting from the processing performed in the first manner is smaller than the size of the SRv6 message resulting from the processing performed in the second manner. Since the first gateway needs to perform more operations in the first manner than in the second manner, the time required to perform the processing in the first manner is greater than the time required to perform the processing in the second manner.
Fig. 4 is a schematic block diagram of a message processing apparatus according to some embodiments of the present disclosure.
As shown in fig. 4, the message processing apparatus 400 located in the first gateway includes a receiving module 401, a processing module 402, and a sending module 403.
Receiving module 401 is configured to receive a first VxLAN message from a first VxLAN within a first domain. The first VxLAN message includes a first identifier and a first load of a second VxLAN within the second domain.
Processing module 402 is configured to perform processing on the first VxLAN message to obtain an SRv6 message. The SRv6 message includes a second identification of the second VxLAN, the first load, and the path from the first gateway to the second gateway.
Sending module 403 is configured to send the SRv6 message to the IPv6 network, so that the second gateway sends a second VxLAN message that includes the first identifier and the first load to the second VxLAN according to the second identifier. The SRv6 message is forwarded in the IPv6 network according to a path from the first gateway to the second gateway.
Fig. 5 is a schematic structural diagram of a message processing apparatus according to further embodiments of the present disclosure.
As shown in fig. 5, the message processing apparatus 500 at the first gateway includes a memory 501 and a processor 502 coupled to the memory 501, and the processor 502 is configured to execute the method of any of the foregoing embodiments based on instructions stored in the memory 501.
The memory 501 may include, for example, a system memory, a fixed non-volatile storage medium, and the like. The system memory may store, for example, an operating system, application programs, a Boot Loader (Boot Loader), and other programs.
The message processing apparatus 500 may further include an input-output interface 503, a network interface 504, a storage interface 505, and the like. The interfaces 503, 504, 505 and the memory 501 and the processor 502 may be connected by a bus 506, for example. The input/output interface 503 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 504 provides a connection interface for various networking devices. The storage interface 505 provides a connection interface for external storage devices such as an SD card and a usb disk.
Fig. 6 is a schematic structural diagram of a communication system according to some embodiments of the present disclosure.
As shown in fig. 6, the communication system includes a first gateway 601 and a second gateway 602.
The first gateway 601 comprises the message processing apparatus 400/500. Second gateway 602 is configured to send a second VxLAN message to the second VxLAN based on the second identification of the second VxLAN.
In some embodiments, second gateway 602 is further configured to receive a first VxLAN message from a second VxLAN in the second domain, the first VxLAN message including a first identification and a first load of the first VxLAN in the first domain; processing is performed on the first VxLAN message to obtain an SRv6 message, wherein the SRv6 message comprises a second identifier of the first VxLAN, a first load and a path from the second gateway 602 to the first gateway 601; and sending an SRv6 message to the IPv6 network so that the first gateway 601 sends a second VxLAN message to the first VxLAN according to the second identifier of the first VxLAN, wherein the SRv6 message is forwarded from the second gateway 602 to the first gateway 601 in the IPv6 network. First gateway 601 is also configured to send a second VxLAN message to the first VxLAN based on the second identification of the first VxLAN.
It should be understood that a communication system based on the present disclosure is capable of achieving convergence of an SRv6 network with a VxLAN network. The communication system disclosed by the invention is particularly suitable for being deployed and applied in a large-scale cloud network data center. By deploying the communication system disclosed by the invention, communication messages between different VxLANs can be transmitted according to a specific path, so that specific service requirements are met.
Embodiments of the present disclosure also provide a computer-readable storage medium including computer program instructions, which when executed by a processor, implement the method of any one of the above embodiments.
Thus, various embodiments of the present disclosure have been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
In the present specification, the embodiments are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts in each embodiment are referred to each other. For the message processing apparatus and the communication system embodiment, since they basically correspond to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that the functions specified in one or more of the flows in the flowcharts and/or one or more of the blocks in the block diagrams can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be understood by those skilled in the art that various changes may be made in the above embodiments or equivalents may be substituted for elements thereof without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (14)

1. A message processing method comprises the following steps:
the method comprises the steps that a first gateway receives a first VxLAN message from a first virtual extensible local area network VxLAN in a first domain, wherein the first VxLAN message comprises a first identifier and a first load of a second VxLAN in a second domain;
the first gateway performs processing on the first VxLAN message to obtain a SRv6 message of a segmented route, wherein the SRv6 message comprises a second identifier of a second VxLAN, the first load and a path from the first gateway to the second gateway;
and the first gateway sends the SRv6 message to an IPv6 network, so that the second gateway sends a second VxLAN message comprising the first identifier and the first load to a second VxLAN according to the second identifier, wherein the SRv6 message is forwarded in the IPv6 network according to the path.
2. The method of claim 1, wherein the path comprises a first set of segment routing identifications;
the first gateway executing the first VxLAN message processing comprises the following steps:
under the condition that the number of the segmented routing identifiers in the first group of segmented routing identifiers is larger than a preset threshold value, the first gateway executes processing on the first VxLAN message according to a first mode;
and under the condition that the number is not larger than the preset threshold value, the first gateway executes processing on the first VxLAN message according to a second mode, wherein the size of the SRv6 message obtained by executing the processing according to the second mode is larger than that of the SRv6 message obtained by executing the processing according to the first mode, and the time for executing the processing according to the second mode is shorter than that for executing the processing according to the first mode.
3. The method according to claim 2, wherein the header of the first VxLAN message includes the first identifier and other information except the first identifier, and the SRv6 message processed in the first manner does not include the other information.
4. The method of claim 3, wherein the first set of segment routing identifiers has a predetermined format;
the first gateway executing the first VxLAN message processing according to the first mode comprises the following steps:
the first gateway executes decapsulation processing on the first VxLAN message to obtain the first identifier and the first load;
the first gateway determines a second identifier conforming to the predetermined format based on the first identifier;
the first gateway performs encapsulation processing on the first load to obtain the SRv6 packet, where the SRv6 packet includes a packet header and a second load, the packet header includes a second group of segment routing identifiers, the second group of segment routing identifiers includes the first group of segment routing identifiers and the second identifier, and the second load is the first load.
5. The method of claim 4, further comprising:
before receiving the first VxLAN message, the first gateway receives and stores identification information from a second gateway, wherein the identification information comprises a first identification of each VxLAN in a plurality of VxLANs in a second domain and a second identification associated with the first identification, the first identification and the second identification of different VxLANs are different, and the VxLANs comprise the second VxLAN;
the first gateway determining, based on the first identity, a second identity conforming to the predetermined format comprises:
the first gateway determines the second identity associated with the first identity from the stored identity information based on the first identity.
6. The method of claim 5, wherein sending, by a second gateway, the second VxLAN message to a second VxLAN according to the second identifier comprises:
the second gateway determines the first identifier based on the second identifier;
the second gateway de-encapsulates the SRv6 message to obtain the first load;
the second gateway obtains the second VxLAN message based on the first identifier and the first load;
and the second gateway sends the second VxLAN message to a second VxLAN.
7. The method of claim 6, wherein the second identification for each VxLAN includes a location portion for a routing address for the second gateway and a functional portion for the first identification for that VxLAN;
the second gateway determining the first identity based on the second identity comprises:
the second gateway obtains the first identifier from the second identifier.
8. The method of claim 6, wherein the second VxLAN message is the same as the first VxLAN message.
9. The method of claim 2, wherein the first gateway performing processing on the first VxLAN packet in the second manner comprises:
and the first gateway executes encapsulation processing on the first VxLAN message to obtain the SRv6 message, wherein the SRv6 message comprises a message header and a second load, the message header comprises the path, the second load is the first VxLAN message, and the second identifier is the first identifier.
10. The method of claim 9, wherein the segment routing identity of the second gateway in the path carries an instruction to instruct a last hop node of the second gateway to delete the header before sending the SRv6 packet to the second gateway.
11. A message processing apparatus, located at a first gateway, comprising:
the VxLAN message receiving module is configured to receive a first VxLAN message from a first VxLAN in a first domain, and the first VxLAN message comprises a first identifier and a first load of a second VxLAN in a second domain;
the processing module is configured to perform processing on the first VxLAN message to obtain a segment routing (SRv 6) message, wherein the SRv6 message comprises a second identifier of a second VxLAN, the first load and a path from a first gateway to a second gateway;
and the sending module is configured to send the SRv6 message to an IPv6 network so that the second gateway sends a second VxLAN message comprising the first identifier and the first load to a second VxLAN according to the second identifier, wherein the SRv6 message is forwarded in the IPv6 network according to the path.
12. A message processing apparatus, located in a first gateway, comprising:
a memory; and
a processor coupled to the memory and configured to perform the method of any of claims 1-5, 9, 10 based on instructions stored in the memory.
13. A communication system, comprising:
a first gateway comprising the message processing apparatus of claim 11 or 12; and
and the second gateway is configured to send the second VxLAN message to a second VxLAN according to the second identifier.
14. A computer readable storage medium comprising computer program instructions, wherein the computer program instructions, when executed by a processor, implement the method of any of claims 1-10.
CN202110855993.0A 2021-07-28 2021-07-28 Message processing method, device and communication system Pending CN115695084A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110855993.0A CN115695084A (en) 2021-07-28 2021-07-28 Message processing method, device and communication system
PCT/CN2022/103771 WO2023005620A1 (en) 2021-07-28 2022-07-05 Message processing method and apparatus, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110855993.0A CN115695084A (en) 2021-07-28 2021-07-28 Message processing method, device and communication system

Publications (1)

Publication Number Publication Date
CN115695084A true CN115695084A (en) 2023-02-03

Family

ID=85059194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110855993.0A Pending CN115695084A (en) 2021-07-28 2021-07-28 Message processing method, device and communication system

Country Status (2)

Country Link
CN (1) CN115695084A (en)
WO (1) WO2023005620A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2966815A4 (en) * 2014-05-29 2016-04-13 Huawei Tech Co Ltd Packet forwarding method and vxlan gateway
CN110557316B (en) * 2018-05-30 2021-06-04 中国电信股份有限公司 Message transmission method, system, device and computer readable storage medium
US20200028758A1 (en) * 2018-07-17 2020-01-23 Cisco Technology, Inc. Multi-cloud connectivity using srv6 and bgp
CN111092801B (en) * 2018-10-23 2021-05-18 华为技术有限公司 Data transmission method and device
CN114844828A (en) * 2019-10-31 2022-08-02 华为技术有限公司 Method, device and system for sending message

Also Published As

Publication number Publication date
WO2023005620A1 (en) 2023-02-02

Similar Documents

Publication Publication Date Title
US10938748B2 (en) Packet processing method, computing device, and packet processing apparatus
US9823916B2 (en) Methods and apparatus for improving compatibility between network devices
US20160099874A1 (en) Data packet routing method and device
CN113259238B (en) Method and device for processing segment identifiers
CN110311860B (en) Multilink load balancing method and device under VXLAN
CN109936492B (en) Method, device and system for transmitting message through tunnel
EP4270898A1 (en) Message processing method, device, and computer storage medium
CN107306215B (en) Data processing method, system and node
CN112751769B (en) Method, device and system for sending message
US10003503B2 (en) Tunnel type selection method and apparatus
CN111130982B (en) Message forwarding method and device, gateway equipment and readable storage medium
CN113162779B (en) Multi-cloud interconnection method and equipment
CN110995595A (en) Message sending method, device, storage medium and node equipment
CN106992918B (en) Message forwarding method and device
CN113328937B (en) Method and device for realizing distributed aggregation
CN109218176B (en) Message processing method and device
CN108156066B (en) Message forwarding method and device
CN111464443A (en) Message forwarding method, device, equipment and storage medium based on service function chain
CN111147379A (en) Data transmission method, system and related equipment
CN114765567B (en) Communication method and communication system
CN114827057B (en) Communication method and communication system
CN115695084A (en) Message processing method, device and communication system
CN115001900A (en) Message forwarding method, device, equipment and computer readable storage medium
CN111447131B (en) Message de-encapsulation method and device and message encapsulation method and device
CN114765589A (en) Network testing method, device 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