Message transmission method, device and system

By using the management and control system to determine message priorities in cross-data center networks and mapping the DSCP field in switches and gateway devices, the problem of end-to-end priority forwarding in cross-data center network transmission is solved, and high-quality message transmission is achieved.

CN120750869AActive Publication Date: 2025-10-03CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202511256082.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-04
Publication Date
2025-10-03
Estimated Expiration
2045-09-04

AI Technical Summary

Technical Problem

When transmitting messages across data center networks, existing technologies cannot guarantee end-to-end priority forwarding, resulting in the inability to achieve high-quality message forwarding.

Method used

The management and control system sends policies to the first network system to determine the priority of the original message and maintain the priority indication during the encapsulation and decapsulation process in the multi-layer network system, including mapping the DSCP field in switches and gateway devices to ensure that the message carries priority information in each network layer, ultimately achieving end-to-end priority forwarding.

Benefits of technology

It achieves end-to-end message priority forwarding across data center networks, ensuring that messages are processed according to the priority set by users during the entire transmission process, improving transmission quality and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120750869A_ABST
    Figure CN120750869A_ABST
Patent Text Reader

Abstract

The invention discloses a message transmission method, device and system. The method comprises the following steps: a management and control system sends a first strategy to a first network system; the first strategy is used for determining the priority of an original message, and the original message is acquired by the first network system; the first network system receives the first strategy, obtains the original message, determines the priority of the original message according to the first strategy, processes the original message according to the original message and the priority to obtain a first message carrying the priority, and sends the first message to the first network system; sending the first message to a second network system; and the second network system receives the first message, packages the first message to obtain a second message carrying the priority, and forwards the second message to a third network system according to the priority.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a message transmission method, device and system. Background Art

[0002] In related technologies, when transmitting messages across data center networks, the data center network needs to overlay and encapsulate the messages multiple times. In some cases, this may make it impossible to guarantee the priority forwarding of the messages, thereby failing to achieve end-to-end guaranteed forwarding. Summary of the Invention

[0003] In view of this, embodiments of the present application hope to provide a message transmission method, device and system.

[0004] The technical solution of the embodiment of the present application is implemented as follows: An embodiment of the present application provides a message transmission method, which is applied to a message transmission system. The message transmission system includes a management and control system, a first network system, a second network system, and a third network system. The management and control system, the first network system, the second network system, and the third network system are connected in sequence. The method includes: The management and control system sends a first policy to the first network system; the first policy is used to determine the priority of the original message, and the original message is obtained by the first network system; The first network system receives the first policy and obtains the original message, determines the priority of the original message according to the first policy, processes the original message according to the original message and the priority to obtain a first message carrying the priority, and sends the first message to the second network system; The second network system receives the first message, encapsulates the first message to obtain a second message carrying the priority, and forwards the second message to the third network system according to the priority.

[0005] Furthermore, according to at least one embodiment of the present application, the first network system includes a first switch, a second switch, a first gateway, and a second gateway; The receiving the first policy, obtaining the original message, determining the priority of the original message according to the first policy, and processing the original message according to the original message and the priority to obtain a first message carrying the priority includes: The first switch receives the first policy, obtains the original message, determines a priority of the original message according to the first policy, encapsulates the original message with a first outer header to obtain a third message, and sends the third message to the second switch; the first field of the first outer header is used to indicate the priority; The second switch receives the third message, decapsulates the third message to obtain the first outer header, and forwards the third message to the first gateway according to the priority indicated by the first field of the first outer header; The first gateway receives the third message, decapsulates the third message to obtain the first outer header, discards the first outer header, encapsulates the third message with the second outer header to obtain a fourth message, and sends the fourth message to the second gateway; the second field of the second outer header is used to indicate the priority; The second gateway receives the fourth message, decapsulates the fourth message to obtain the second outer header, discards the second outer header, and encapsulates the fourth message with a third outer header to obtain the first message; the third field of the third outer header is used to indicate the priority.

[0006] In addition, according to at least one embodiment of the present application, encapsulating the first outer header for the original message to obtain the third message includes: The first switch maps the fourth field of the inner header of the original message to the first field of the first outer header to obtain the third message; the fourth field is used to indicate the priority.

[0007] In addition, according to at least one embodiment of the present application, encapsulating the third message with a second outer header to obtain a fourth message includes: The first gateway maps the fourth field of the inner header of the original message to the second field of the second outer header to obtain the fourth message.

[0008] In addition, according to at least one embodiment of the present application, encapsulating the fourth message with a third outer header to obtain the first message includes: The second gateway maps the fourth field of the inner header of the original message to the third field of the third outer header to obtain the first message.

[0009] In addition, according to at least one embodiment of the present application, the first field is a Differentiated Services Code Point (DSCP) field; and / or, The second field is a DSCP field; and / or, The third field is a DSCP field; and / or, The fourth field is the DSCP field.

[0010] In addition, according to at least one embodiment of the present application, the first outer header is an outer Internet Protocol (IP) header; and / or, The second outer header is an outer IP header; and / or, The third outer header is an outer IP header; and / or, The inner header is an inner IP header.

[0011] In addition, according to at least one embodiment of the present application, the encapsulating the first message to obtain the second message carrying the priority includes: The second network system encapsulates the first message with a fourth outer header to obtain the second message.

[0012] In addition, according to at least one embodiment of the present application, forwarding the second message to the third network system according to the priority includes: The second network system matches a corresponding forwarding policy according to the priority, and forwards the second message to the third network system according to the matched forwarding policy.

[0013] Furthermore, according to at least one embodiment of the present application, the first network system is a first data center network system; The second network system is a backbone network system; The third network system is a second data center network system.

[0014] The present invention provides a message transmission device, including: a sending module, configured to send a first policy to a first network system through a management and control system; the first policy is used by the first network system to determine a priority of an original message, and the original message is obtained by the first network system; a first processing module, configured to receive the first policy through the first network system and obtain the original message, determine the priority of the original message according to the first policy, process the original message according to the original message and the priority to obtain a first message carrying the priority, and send the first message to the second network system; The second processing module is configured to receive the first message through the second network system, encapsulate the first message to obtain a second message carrying the priority, and forward the second message to a third network system according to the priority.

[0015] The present invention provides a message transmission system, including: The management and control system is configured to send a first policy to the first network system; the first policy is configured to determine a priority of an original message, the original message being acquired by the first network system; The first network system is configured to receive the first policy and obtain the original message, determine the priority of the original message according to the first policy, process the original message according to the original message and the priority to obtain a first message carrying the priority, and send the first message to the second network system; The second network system is configured to receive the first message, encapsulate the first message to obtain a second message carrying the priority, and forward the second message to a third network system according to the priority.

[0016] By adopting the technical solution provided in the embodiment of the present application, the first network system carries the priority in the original message according to the first strategy issued by the management and control system, and sends the first message carrying the priority to the second network system. The second network system then generates a second message carrying the priority and sends the second message to the third network system. In this way, the forwarding of the message is guided by the priority to achieve end-to-end guaranteed forwarding. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a schematic diagram of the implementation process of the message transmission method of the embodiment of the present application; Figure 2 This is a schematic diagram of the specific structure of the system used in the message transmission method of the embodiment of the present application; Figure 3 This is a schematic diagram of the structure of the message transmission device according to an embodiment of the present application; Figure 4 It is a schematic diagram of the composition structure of the system applied by the message transmission method of the embodiment of the present application. DETAILED DESCRIPTION

[0018] Before introducing the technical solutions of the embodiments of the present application, the relevant technologies are first introduced.

[0019] With the development of cloud computing, enterprises are increasingly migrating their services to the cloud. Cloud providers are establishing globally distributed resource systems to ensure users have close access to high-quality cloud services. In this context, distributed business deployment, off-site backup, and multi-site disaster recovery are becoming common demands, creating challenges for cross-regional network transmission between data center resource pools.

[0020] Existing data center networks generally use Virtual eXtensible Local Area Network (VXLAN) as the isolation protocol. The backbone network between data centers uses Multi-Protocol Label Switching Virtual Private Network (MPLS VPN) or Segment Routing over IPv6 Traffic Engineering (SRv6 TE) protocols. For inter-data center network transmission, segment VXLAN solutions such as three-segment VXLAN or five-segment VXLAN are generally used.

[0021] Taking five-point VXLAN as an example, key networking and technical points include: First, cross-domain public cloud transmission uses a VXLAN-based overlay network solution to ensure end-to-end isolation for multiple tenants and reduce reliance on backbone networks. Second, to maintain the independence of network resources and simplify the network architecture, each public cloud resource pool is an independent VXLAN domain. A Data Center Interconnect Gateway (DCI GW) device is deployed at the resource pool edge for cross-region connectivity. Only the VXLAN Tunnel Endpoints (VTEP) IP addresses of the DCI GW device need to be published to the peer resource pool. Third, the virtual private cloud (VPC1) in public cloud resource pool 1 accesses VPC2 in resource pool 2 using a five-segment VXLAN solution. The first stage: The Open Virtual Switch (OVS) in resource pool 1 encapsulates a VXLAN packet, with the destination address being the cross-domain network product gateway device in this resource pool. The second stage: The cross-domain network product gateway device re-encapsulates the VXLAN packet, and the next hop is the VTEP IP address of the DCI GW. The third stage: After decapsulating the intra-domain VXLAN packet on the DCI GW, it checks the route for the configured inter-domain route and re-encapsulates the VXLAN packet, with the destination address being the VTEP IP address of the DCI GW in the peer resource pool 2. The fourth stage: The DCI GW in resource pool 2 decapsulates the VXLAN packet, searches for the intra-domain network VPC2 route, and encapsulates the VXLAN packet, with the destination address being the cross-domain network product gateway. The fifth stage: The cross-domain network product gateway queries the host route, matches the host address in VPC2, and encapsulates the VXLAN packet with the VTEP IP address of the OVS corresponding to the host in VPC2 as the next hop.

[0022] However, the main problems with existing segmented VXLAN solutions for cross-data center transmission include: First, packets transmitted across data centers use different transport protocols within the data center and on the backbone network. Because related technologies do not ensure smooth forwarding between the two based on the priority indicated by the Differentiated Services Code Point (DSCP) field in the packet's outer header, high-quality end-to-end packet forwarding cannot be guaranteed. Second, during the packet forwarding process, after a packet is sent from a host in VPC1 and ultimately forwarded to a host in VPC2, it undergoes five rounds of VXLAN decapsulation and recapsulation. During this process, the DSCP value of the original packet is not mapped to the packet's outer header and applied during forwarding. Third, some existing data centers assign DSCP values ​​on their egress gateways through traffic policies. These DSCP values ​​are only applied on the egress gateways to rate-limit specific traffic. Because forwarding is not based on the priority indicated by the DSCP field, end-to-end traffic scheduling cannot be achieved.

[0023] That is to say, in the relevant technology, when transmitting messages across data center networks, due to multiple overlay encapsulations within the data center network and the differences between the transmission protocols within the data center network and the backbone network transmission protocols, the priority of application messages in the end-to-end forwarding process is not involved, nor is the priority indicated by the Differentiated Services Code Point (DSCP) field used to ensure high-quality forwarding of key applications.

[0024] Based on this, in an embodiment of the present application, the management and control system sends a first policy to the first network system; the first policy is used to determine the priority of the original message, and the original message is obtained by the first network system; the first network system receives the first policy and obtains the original message, determines the priority of the original message according to the first policy, processes the original message according to the original message and the priority to obtain a first message carrying the priority, and sends the first message to the second network system; the second network system receives the first message, encapsulates the first message to obtain a second message carrying the priority, and forwards the second message to the third network system according to the priority.

[0025] See also Figure 1 , Figure 1 : is a schematic diagram of the implementation process of the message transmission method of the embodiment of the present application, which is applied to a message transmission system, wherein the message transmission system includes a control system, a first network system, a second network system and a third network system, and the control system, the first network system, the second network system and the third network system are connected in sequence, such as Figure 1 As shown, the method includes steps 101 to 103: Step 101: The management and control system sends a first policy to a first network system; the first policy is used to determine the priority of an original message, and the original message is obtained by the first network system.

[0026] Here, the first strategy may represent a method for determining the priority of the original message, and the first strategy may include a mapping relationship between the source IP address and priority of each message, so that the priority of the original message may be determined based on the five-tuple information of the original message in combination with the first strategy, wherein the five-tuple information may include source IP address, destination IP address, source port number, destination port number, and transport layer protocol.

[0027] Here, the message may include but is not limited to application messages, etc.

[0028] Here, the priority can be understood as the forwarding priority of the message, or can also be described as a service priority, an application assurance level, etc.

[0029] Here, the process of generating the first strategy may include: First, when users create a service such as a virtual private cloud (VPC) or virtual machine (VM) service in the management and control system, they select the priority level (or described as the application assurance level) corresponding to the service. For example, if the first priority is selected, the packets corresponding to the service will be forwarded according to the first priority.

[0030] Then, a mapping relationship between the source IP address and priority of the message corresponding to each service is established, and the mapping relationship is sent to the first network system in the form of a first policy or a description as a traffic policy.

[0031] It should be noted that based on a unified management and control system, application definition capabilities can be provided, that is, users can define the priority of messages corresponding to applications.

[0032] Step 102: The first network system receives the first policy and obtains the original message, determines the priority of the original message according to the first policy, processes the original message according to the original message and the priority to obtain a first message carrying the priority, and sends the first message to the second network system.

[0033] Here, the first network system determines the priority of the original message according to the first strategy, which may include: determining the priority of the original message based on the five-tuple in the original message and combining it with the first strategy, wherein the five-tuple includes the source IP address, the destination IP address, the source port number, the destination port number, and the transport layer protocol, and the first strategy can characterize the mapping relationship between the source IP address and the priority of each message.

[0034] In some embodiments, the first network system is a first data center network system; the second network system is a backbone network system; and the third network system is a second data center network system.

[0035] Here, the first data center network system can transmit messages to the second data center network system through the backbone network system, that is, realize message transmission across data center networks.

[0036] In some embodiments, the first network system includes a first switch, a second switch, a first gateway, and a second gateway; receiving the first policy, obtaining the original message, determining the priority of the original message according to the first policy, and processing the original message according to the original message and the priority to obtain a first message carrying the priority includes: The first switch receives the first policy, obtains the original message, determines a priority of the original message according to the first policy, encapsulates the original message with a first outer header to obtain a third message, and sends the third message to the second switch; the first field of the first outer header is used to indicate the priority; The second switch receives the third message, decapsulates the third message to obtain the first outer header, and forwards the third message to the first gateway according to the priority indicated by the first field of the first outer header; The first gateway receives the third message, decapsulates the third message to obtain the first outer header, discards the first outer header, encapsulates the third message with the second outer header to obtain a fourth message, and sends the fourth message to the second gateway; the second field of the second outer header is used to indicate the priority; The second gateway receives the fourth message, decapsulates the fourth message to obtain the second outer header, discards the second outer header, and encapsulates the fourth message with a third outer header to obtain the first message; the third field of the third outer header is used to indicate the priority.

[0037] Here, the first switch may refer to a switch for performing VXLAN encapsulation on packets, including but not limited to an Open Virtual Switch (OVS).

[0038] Here, the second switch may refer to a switch used to forward VXLAN-encapsulated packets from the first switch, including but not limited to a top of rack (TOR) switch.

[0039] Here, the first gateway may refer to an egress gateway for traffic, i.e., messages, including but not limited to a cloud gateway or a VPC gateway.

[0040] Here, the second gateway may refer to a gateway that transmits traffic, i.e., packets, across a data center network, including but not limited to a data center interconnect (DCI) gateway.

[0041] Here, the encapsulation may refer to VXLAN encapsulation, and the decapsulation may refer to VXLAN decapsulation.

[0042] Here, after the first switch receives the first policy and obtains the original message, it can determine the priority of the original message based on the five-tuple in the original message and in combination with the first policy, where the five-tuple includes the source IP address, the destination IP address, the source port number, the destination port number, and the transport layer protocol. The first policy can represent the mapping relationship between the source IP address and the priority of each message.

[0043] Here, forwarding the third message to the first gateway according to the priority indicated by the first field of the first outer header can be understood as: the higher the priority, the higher the priority of forwarding the third message to the first gateway.

[0044] For example, assuming that the priority indicated by the first field is the highest priority, forwarding the third message to the first gateway has the highest priority, that is, the third message is sent to the first gateway first, and other messages are sent later.

[0045] Here, through the related processing of the first switch, the second switch, the first gateway, and the second gateway in the first network system, priority forwarding of the message can be guaranteed according to the priority set by the user.

[0046] In some embodiments, encapsulating the first outer header for the original message to obtain the third message includes: The first switch maps the fourth field of the inner header of the original message to the first field of the first outer header to obtain the third message; the fourth field is used to indicate the priority.

[0047] Here, the fourth field of the inner header of the original message may be set according to the priority of the original message determined by the first policy, that is, the value of the fourth field is set according to the priority set by the user. For example, assuming that the fourth field of the inner header of the original message is DSCP1, it indicates that the priority of the original message is the highest priority and is forwarded according to the highest priority.

[0048] For example, assuming that the fourth field of the inner header of the original message is DSCP1 in the inner IP header, then the first field of the first outer header is DSCP1 in the outer IP header, that is, the fourth field and the first field are both DSCP1, that is, the DSCP values ​​of the two fields are the same.

[0049] Here, the first switch maps the fourth field of the inner header of the original message to the first field of the first outer header to obtain a third message, so that after receiving the third message, the second switch can ensure priority forwarding of the message according to the priority set by the user.

[0050] It should be noted that the logic of the first switch, such as OVS, is optimized to provide DSCP identification (Remark) and VXLAN tunnel mapping DSCP capabilities. That is, the first switch, such as OVS, supports receiving the first policy or description issued by the management and control system as a traffic policy, and determines the priority identification (Remark) DSCP of the original message according to the first policy. When the first switch, such as OVS, queries the flow table and performs VXLAN encapsulation of the message, it can map the DSCP in the original message to the DSCP in the outer IP header, and the DSCP in the original message remains unchanged.

[0051] In some embodiments, encapsulating the third message with the second outer header to obtain the fourth message includes: The first gateway maps the fourth field of the inner header of the original message to the second field of the second outer header to obtain the fourth message.

[0052] Here, the fourth field of the inner header of the original message may be set according to the priority of the original message determined by the first policy, that is, the value of the fourth field is set according to the priority set by the user. For example, assuming that the fourth field of the inner header of the original message is DSCP1, it indicates that the priority of the original message is the highest priority and is forwarded according to the highest priority.

[0053] For example, assuming that the fourth field of the inner header of the original message is DSCP1 in the inner IP header, the second field of the second outer header is DSCP1 in the outer IP header, that is, the fourth field and the second field are both DSCP1, that is, the DSCP values ​​of the two fields are the same.

[0054] Here, after receiving the third message, the first gateway decapsulates the third message to obtain a first outer header and an inner header of the original message, wherein the fourth field of the inner header of the original message and the first field of the first outer header have the same value, the first outer header is discarded, and the second outer header is encapsulated for the third message, i.e., the fourth field of the inner header of the original message is mapped to the second field of the second outer header, so that after receiving the fourth message, the second gateway can ensure priority forwarding of the message according to the priority set by the user.

[0055] In some embodiments, encapsulating the fourth message with a third outer header to obtain the first message includes: The second gateway maps the fourth field of the inner header of the original message to the third field of the third outer header to obtain the first message.

[0056] Here, the fourth field of the inner header of the original message may be set according to the priority of the original message determined by the first policy, that is, the value of the fourth field is set according to the priority set by the user. For example, assuming that the fourth field of the inner header of the original message is DSCP1, it indicates that the priority of the original message is the highest priority and is forwarded according to the highest priority.

[0057] For example, assuming that the fourth field of the inner header of the original message is DSCP1 in the inner IP header, then the third field of the third outer header is DSCP1 in the outer IP header, that is, the fourth field and the third field are both DSCP1, that is, the DSCP values ​​of the two fields are the same.

[0058] Here, after the second gateway receives the fourth message, it decapsulates the fourth message to obtain a second outer header and an inner header of the original message, wherein the fourth field of the inner header of the original message and the second field of the second outer header have the same value, the second outer header is discarded, and the third outer header is encapsulated for the fourth message, i.e., the fourth field of the inner header of the original message is mapped to the third field of the third outer header, so that after the second network system receives the first message, it can ensure priority forwarding of the message according to the priority set by the user.

[0059] It should be noted that the VXLAN encapsulation logic of the first gateway, such as the cloud gateway, and the second gateway, such as the DCI gateway, is optimized. When gateway devices, such as the first gateway and the second gateway, decapsulate VXLAN-encapsulated packets, the DSCP value in the outer IP header is the same as the DSCP value in the inner IP header. After querying the router, gateway devices, such as the first gateway and the second gateway, can map the DSCP in the inner IP header of the original packet to the DSCP in the encapsulated outer IP header when performing VXLAN encapsulation again, and the DSCP in the original packet remains unchanged.

[0060] In some embodiments, the first field is a DSCP field; and / or, The second field is a DSCP field; and / or, The third field is a DSCP field; and / or, The fourth field is the DSCP field.

[0061] It should be noted that the priority of the original message may be indicated by the DSCP field, or identification information may be customized and the priority of the original message may be indicated by the defined identification information.

[0062] In some embodiments, the first outer header is an outer IP header; and / or, The second outer header is an outer IP header; and / or, The third outer header is an outer IP header; and / or, The inner header is an inner IP header.

[0063] Step 103: The second network system receives the first message, encapsulates the first message to obtain a second message carrying the priority, and forwards the second message to the third network system according to the priority.

[0064] In some embodiments, encapsulating the first message to obtain a second message carrying the priority includes: The second network system encapsulates the first message with a fourth outer header to obtain the second message.

[0065] Here, the fourth outer header may include but is not limited to a segment routing (SRH) extended header, etc.

[0066] In some embodiments, forwarding the second message to the third network system according to the priority includes: The second network system matches a corresponding forwarding policy according to the priority, and forwards the second message to the third network system according to the matched forwarding policy.

[0067] Here, after receiving the first message, the second network system decapsulates the first message to obtain the third field in the third outer header of the first message, and matches the corresponding forwarding policy according to the priority indicated by the third field.

[0068] Here, the forwarding policy includes but is not limited to SRv6 Policy, etc.

[0069] Here, the second network system can use the SRv6 TE protocol to create different SRv6 Policies based on the required security level, and obtain the first policy sent by the management and control system. The first policy can include a mapping between the source IP address and priority of each message. The priority can be a DSCP value. Then, based on the first policy sent by the management and control system, the SRv6 Policy is bound to the corresponding DSCP. In this way, after the first message is forwarded to the service provider edge node (PE) device in the second network system, the DSCP in the outer IP header of the first message is matched with the corresponding SRv6 Policy, thereby achieving different levels of forwarding security.

[0070] It should be noted that the second network system, such as the backbone network, accesses different forwarding policies, such as the SRv6 Policy, through the DSCP in the outer IP header of the message to achieve different levels of forwarding assurance.

[0071] Here, after receiving the second message sent by the second network system, the third network system decapsulates the second message to obtain the first message, thereby achieving cross-network message transmission.

[0072] The implementation process of the message transmission method of the embodiment of the present application is described below with reference to specific embodiments.

[0073] See also Figure 2 , Figure 2 This is a schematic diagram of the specific structure of the system used in the message transmission method of the embodiment of the present application. Figure 2 As shown, it includes: data center management and control layer, data center network 1, backbone network (or described as backbone network), and data center network 2. Among them, data center network 1 includes virtual switch (OVS1), rack top switch (TOR1), cloud gateway 1, and DCI gateway 1. Data center network 2 includes virtual switch (OVS2), rack top switch (TOR2), cloud gateway 2, and DCI gateway 2.

[0074] in, The data center management and control layer corresponds to the above-mentioned management and control system; Data center network 1 corresponds to the first network system mentioned above; The backbone network corresponds to the second network system mentioned above; The data center network 2 corresponds to the third network system mentioned above.

[0075] The following describes the working process of the data center management and control layer.

[0076] Here, the data center management layer is used to send a first policy to the data center network 1; the first policy is used by the data center network 1 to determine the priority of the original message, and the original message is obtained by the data center network 1. The first policy can represent the mapping relationship between the source IP address and the priority of each message.

[0077] Here, the message may include but is not limited to application messages, etc.

[0078] Here, the priority may also be described as a service priority.

[0079] Here, the process of generating the first strategy may include: First, when users create a service such as a virtual private cloud (VPC) or virtual machine (VM) service at the data center management layer, they select the priority level (or describe it as the application assurance level) corresponding to the service. For example, if the first priority is selected, the packets corresponding to the service will be forwarded according to the first priority.

[0080] Then, a mapping relationship between the source IP address and priority of the message corresponding to each service is established, and the mapping relationship is sent to the data center network 1 in the form of a first policy or a description as a traffic policy.

[0081] It should be noted that based on the unified data center management and control layer, application definition capabilities can be provided, that is, users can define the priority of the messages corresponding to the application.

[0082] The working process of the data center network 1 is described below.

[0083] Here, data center network 1 receives the first policy and obtains the original message from virtual machine (VM1). Based on the five-tuple in the original message and the first policy, it determines the priority of the original message, processes the original message to obtain a first message carrying the priority, and sends the first message to the backbone network. The five-tuple includes the source IP address, destination IP address, source port number, destination port number, and transport layer protocol.

[0084] Here, the process of the data center network 1 generating the first message may include: First, the first switch (OVS1) in data center network 1 receives the first policy and obtains the original message. It determines the priority of the original message based on the first policy, encapsulates the original message with a first outer header to obtain a third message, and sends the third message to the second switch (TOR1). The first field of the first outer header indicates the priority. Encapsulating the first outer header may include mapping the fourth field of the inner header of the original message to the first field of the first outer header.

[0085] Here, the fourth field of the inner header of the original message may be set according to the priority of the original message determined by the first policy, that is, the value of the fourth field is set according to the priority set by the user. For example, assuming that the fourth field of the inner header of the original message is DSCP1, it indicates that the priority of the original message is the highest priority and is forwarded according to the highest priority.

[0086] For example, assuming that the fourth field of the inner header of the original message is DSCP1 in the inner IP header, then the first field of the first outer header is DSCP1 in the outer IP header, that is, the fourth field and the first field are both DSCP1, that is, the DSCP values ​​of the two fields are the same.

[0087] Then, the second switch (TOR1) in the data center network 1 receives the third message, decapsulates the third message to obtain the first outer header, and forwards the third message to the first gateway (cloud gateway 1) according to the priority indicated by the first field of the first outer header. If the priority is higher, the priority of forwarding the third message to the first gateway is higher.

[0088] Next, the first gateway (cloud gateway 1) receives the third message, decapsulates the third message to obtain the first outer header and the inner header of the original message, and discards the first outer header. The first field of the inner header of the original message and the first field of the first outer header have the same value. The first outer header is then encapsulated with the third message using the second outer header to obtain a fourth message, which is then sent to the second gateway (DCI gateway 1). The second field of the second outer header indicates the priority. Encapsulating the second outer header may include mapping the fourth field of the inner header of the original message to the second field of the second outer header.

[0089] Here, the fourth field of the inner header of the original message may be set according to the priority of the original message determined by the first policy, that is, the value of the fourth field is set according to the priority set by the user. For example, assuming that the fourth field of the inner header of the original message is DSCP1, it indicates that the priority of the original message is the highest priority and is forwarded according to the highest priority.

[0090] For example, assuming that the fourth field of the inner header of the original message is DSCP1 in the inner IP header, the second field of the second outer header is DSCP1 in the outer IP header, that is, the fourth field and the second field are both DSCP1, that is, the DSCP values ​​of the two fields are the same.

[0091] Finally, the second gateway (DCI gateway 1) receives the fourth message and decapsulates the fourth message to obtain the second outer header and the inner header of the original message. If the fourth field of the inner header of the original message and the second field of the second outer header have the same value, the second outer header is discarded and the fourth message is encapsulated with a third outer header to obtain the first message. The third field of the third outer header is used to indicate the priority. Encapsulating the third outer header may include mapping the fourth field of the inner header of the original message to the third field of the third outer header.

[0092] Here, the fourth field of the inner header of the original message may be set according to the priority of the original message determined by the first policy, that is, the value of the fourth field is set according to the priority set by the user. For example, assuming that the fourth field of the inner header of the original message is DSCP1, it indicates that the priority of the original message is the highest priority and is forwarded according to the highest priority.

[0093] For example, assuming that the fourth field of the inner header of the original message is DSCP1 in the inner IP header, then the third field of the third outer header is DSCP1 in the outer IP header, that is, the fourth field and the third field are both DSCP1, that is, the DSCP values ​​of the two fields are the same.

[0094] It should be noted that the OVS logic has been optimized to provide DSCP marking (Remark) and VXLAN tunnel mapping DSCP capabilities. That is, OVS1 supports receiving the first policy issued by the management and control layer or describing it as a traffic policy, and marking (Remark) the DSCP capability. When OVS1 queries the flow table and performs VXLAN encapsulation, it can map the DSCP in the original message to the DSCP in the outer IP header, and the DSCP in the original message remains unchanged.

[0095] It should be noted that the VXLAN encapsulation logic of the cloud gateway and DCI gateway has been optimized. When the gateway device decapsulates VXLAN, the DSCP value in the outer IP header is the same as the DSCP value in the inner IP header of the original message. After the gateway device queries the router, it can map the DSCP in the original message to the DSCP in the outer IP header when re-encapsulating VXLAN, and the DSCP in the original message remains unchanged.

[0096] The working process of the backbone network is described below.

[0097] Here, the backbone network receives the first message, obtains the second message carrying the priority by encapsulating the first message with the fourth outer header, decapsulates the first message to obtain the third field in the third outer header of the first message, matches the corresponding forwarding strategy according to the priority indicated by the third field, and forwards the second message to the data center network 2 according to the matched forwarding strategy.

[0098] Here, the forwarding policy includes but is not limited to SRv6 Policy, etc.

[0099] Here, the backbone network uses the SRv6 TE protocol to create different SRv6 Policies based on the required security level and obtain the first policy sent by the management and control system. The first policy may include a mapping between the source IP address and priority of each message. The priority may be a DSCP value. Then, based on the first policy sent by the data center management layer, the SRv6 Policy is bound to the corresponding DSCP. In this way, after the first message is forwarded to the PE device in the backbone network, the DSCP in the outer IP header is matched to the corresponding SRv6 Policy, thereby achieving different levels of forwarding security.

[0100] It should be noted that the backbone network implements different levels of forwarding assurance by connecting to different forwarding policies, such as SRv6 Policy, through the DSCP value in the outer IP header of the packet.

[0101] Here, the transmission system based on the cooperation between the management and control layer, OVS, gateway network elements, and backbone network can provide application-level end-to-end network assurance capabilities and improve user experience.

[0102] Here, a Segment VXLAN forwarding method is provided. Specifically, the first device that receives the original message sent by the virtual machine (VM1), namely the OVS, marks (remarks) the DSCP or an attribute that can identify the forwarding priority. This is the basis for end-to-end guaranteed forwarding.

[0103] Here, when the VXLAN is encapsulated twice on the gateway device, the inner DSCP value can be mapped to the outer DSCP value while keeping the inner DSCP value unchanged.

[0104] When packets are forwarded to the backbone network, the backbone network PE device maps the DSCP value in the outer IP header of the packet to the corresponding SRv6 Policy for differentiated forwarding.

[0105] The working process of the data center network 2 is described below.

[0106] Here, after receiving the second message sent by the backbone network, data center network 2 decapsulates the second message to obtain the first message. In this way, virtual machine VM1 in data center network 1 can access virtual machine VM2 in data center network 2.

[0107] The embodiments of the present application have the following technical advantages: (1) Provide an application-level scheduling cross-data center transmission solution.

[0108] Define forwarding priorities for application messages on the source device. When encapsulated in the overlay network, the outer message inherits the priority of the original message to guide forwarding. When accessing the backbone network, the message priority is mapped to the backbone network protocol, thereby achieving end-to-end guaranteed forwarding of messages.

[0109] (2) In related technologies, during VXLAN encapsulation, DSCP is encapsulated into the inner IP header, which cannot guide the forwarding of overlay messages. In addition, the outer DSCP is the default value, which cannot distinguish application messages and cannot provide application-level forwarding guarantees. However, this application proposes that in the overlay network scenario, the first device forwarding the original message completes the remarking of DSCP, and the outer IP header inherits the DSCP value in the inner IP header during all overlay encapsulation, thereby achieving application-level forwarding guarantees for the overlay network.

[0110] In related technologies, DSCP is remarked on the egress gateway, but only applied on the egress gateway device to implement application-level rate limiting. However, since DSCP is the default value, it is not possible to pass priority to the backbone network through DSCP, and the backbone network cannot achieve application-level forwarding guarantees. However, this application proposes a method for forwarding routers to enable transmission when different transmission protocols are used within the data center and the backbone network, so that the entire path from the source data center to the backbone network and finally to the destination data center is strictly forwarded according to the defined priority.

[0111] In order to implement the message transmission method of the embodiment of the present application, the embodiment of the present application also provides a message transmission device, which is applied to a message transmission system. The message transmission system includes a management and control system, a first network system, a second network system and a third network system. The management and control system, the first network system, the second network system and the third network system are connected in sequence. Figure 3 This is a schematic diagram of the structure of the message transmission device according to the embodiment of the present application. Figure 3 As shown, the device includes: A sending module 31 is configured to send a first policy to a first network system via a management and control system; the first policy is configured to determine a priority of an original message, the original message being acquired by the first network system; a first processing module 32, configured to receive the first policy through the first network system and obtain the original message, determine the priority of the original message according to the first policy, process the original message according to the original message and the priority to obtain a first message carrying the priority, and send the first message to the second network system; The second processing module 33 is configured to receive the first message through the second network system, encapsulate the first message to obtain a second message carrying the priority, and forward the second message to a third network system according to the priority.

[0112] In some embodiments, the first network system includes a first switch, a second switch, a first gateway, and a second gateway; the first processing module 32 is specifically configured to: receiving the first policy through the first switch, obtaining the original message, determining a priority of the original message according to the first policy, encapsulating the original message with a first outer header to obtain a third message, and sending the third message to the second switch; wherein the first field of the first outer header is used to indicate the priority; receiving the third message through the second switch, decapsulating the third message to obtain the first outer header, and forwarding the third message to the first gateway according to the priority indicated by the first field of the first outer header; receiving the third message through the first gateway, decapsulating the third message to obtain the first outer header, discarding the first outer header, encapsulating the third message with the second outer header to obtain a fourth message, and sending the fourth message to the second gateway; wherein the second field of the second outer header is used to indicate the priority; The fourth message is received through the second gateway, the fourth message is decapsulated to obtain the second outer header, the second outer header is discarded, and the third outer header is encapsulated for the fourth message to obtain the first message; the third field of the third outer header is used to indicate the priority.

[0113] In some embodiments, the first processing module 32 is specifically configured to: The third message is obtained by mapping the fourth field of the inner header of the original message to the first field of the first outer header through the first switch; the fourth field is used to indicate the priority.

[0114] In some embodiments, the first processing module 32 is specifically configured to: The first gateway maps the fourth field of the inner header of the original message to the second field of the second outer header to obtain the fourth message.

[0115] In some embodiments, the first processing module 32 is specifically configured to: The second gateway maps the fourth field of the inner header of the original message to the third field of the third outer header to obtain the first message.

[0116] In some embodiments, the first field is a DSCP field; and / or, The second field is a DSCP field; and / or, The third field is a DSCP field; and / or, The fourth field is the DSCP field.

[0117] In some embodiments, the first outer header is an outer IP header; and / or, The second outer header is an outer IP header; and / or, The third outer header is an outer IP header; and / or, The inner header is an inner IP header.

[0118] In some embodiments, the second processing module 33 is specifically configured to: The second message is obtained by encapsulating the first message with a fourth outer header through the second network system.

[0119] In some embodiments, the second processing module 33 is specifically configured to: The second network system matches a corresponding forwarding policy according to the priority, and forwards the second message to the third network system according to the matched forwarding policy.

[0120] In some embodiments, the first network system is a first data center network system; the second network system is a backbone network system; and the third network system is a second data center network system.

[0121] In actual application, the sending module 31 can be implemented by a communication interface in the message transmission device; the first processing module 32 and the second processing module 33 can be implemented by a processor in the message transmission device.

[0122] It should be noted that the message transmission device provided in the above embodiment is merely illustrated by the division of the aforementioned program modules when performing message transmission. In actual applications, the aforementioned processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the aforementioned processing. Furthermore, the message transmission device provided in the above embodiment and the message transmission method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0123] See also Figure 4 , Figure 4 This is a schematic diagram of the composition structure of the system used in the message transmission method of the embodiment of the present application. Figure 4 As shown, the system includes: a management and control system 41, a first network system 42, a second network system 43 and a third network system 44; the management and control system 41, the first network system 42, the second network system 43 and the third network system 44 are connected in sequence; The management and control system 41 is configured to send a first policy to the first network system 42; the first policy is configured to determine a priority of an original message, the original message being obtained by the first network system 42; The first network system 42 is configured to receive the first policy and obtain the original message, determine the priority of the original message according to the first policy, process the original message according to the original message and the priority to obtain a first message carrying the priority, and send the first message to the second network system 43; The second network system 43 is configured to receive the first message, encapsulate the first message to obtain a second message carrying the priority, and forward the second message to the third network system 44 according to the priority.

[0124] It should be noted that the working processes of the control system 41, the first network system 42, the second network system 43, and the third network system 44 have been described above and will not be repeated here.

Claims

1. A message transmission method, characterized in that: Applied to a message transmission system, the message transmission system includes a management and control system, a first network system, a second network system, and a third network system, the management and control system, the first network system, the second network system, and the third network system are connected in sequence, the method comprising: The management and control system sends a first policy to the first network system; the first policy is used to determine the priority of the original message, and the original message is obtained by the first network system; The first network system receives the first policy and obtains the original message, determines the priority of the original message according to the first policy, processes the original message according to the original message and the priority to obtain a first message carrying the priority, and sends the first message to the second network system; The second network system receives the first message, encapsulates the first message to obtain a second message carrying the priority, and forwards the second message to the third network system according to the priority.

2. The method according to claim 1, characterized in that The first network system includes a first switch, a second switch, a first gateway and a second gateway; The receiving the first policy, obtaining the original message, determining the priority of the original message according to the first policy, and processing the original message according to the original message and the priority to obtain a first message carrying the priority includes: The first switch receives the first policy, obtains the original message, determines a priority of the original message according to the first policy, encapsulates the original message with a first outer header to obtain a third message, and sends the third message to the second switch; the first field of the first outer header is used to indicate the priority; The second switch receives the third message, decapsulates the third message to obtain the first outer header, and forwards the third message to the first gateway according to the priority indicated by the first field of the first outer header; The first gateway receives the third message, decapsulates the third message to obtain the first outer header, discards the first outer header, encapsulates the third message with the second outer header to obtain a fourth message, and sends the fourth message to the second gateway; the second field of the second outer header is used to indicate the priority; The second gateway receives the fourth message, decapsulates the fourth message to obtain the second outer header, discards the second outer header, and encapsulates the fourth message with a third outer header to obtain the first message; the third field of the third outer header is used to indicate the priority.

3. The method according to claim 2, characterized in that Encapsulating the first outer header of the original message to obtain a third message includes: The first switch maps the fourth field of the inner header of the original message to the first field of the first outer header to obtain the third message; the fourth field is used to indicate the priority.

4. The method according to claim 3, characterized in that Encapsulating the third message with the second outer header to obtain a fourth message includes: The first gateway maps the fourth field of the inner header of the original message to the second field of the second outer header to obtain the fourth message.

5. The method according to claim 4, characterized in that Encapsulating the fourth message with a third outer header to obtain the first message includes: The second gateway maps the fourth field of the inner header of the original message to the third field of the third outer header to obtain the first message.

6. The method according to any one of claims 3 to 5, characterized in that The first field is a Differentiated Services Code Point (DSCP) field; and / or, The second field is a DSCP field; and / or, The third field is a DSCP field; and / or, The fourth field is the DSCP field.

7. The method according to claim 5, characterized in that The first outer header is an outer Internet Protocol IP header; and / or, The second outer header is an outer IP header; and / or, The third outer header is an outer IP header; and / or, The inner header is an inner IP header.

8. The method according to any one of claims 1 to 5, characterized in that The encapsulating the first message to obtain a second message carrying the priority includes: The second network system encapsulates the first message with a fourth outer header to obtain the second message.

9. The method according to claim 1, characterized in that The forwarding the second message to the third network system according to the priority includes: The second network system matches a corresponding forwarding policy according to the priority, and forwards the second message to the third network system according to the matched forwarding policy.

10. The method according to claim 1, characterized in that The first network system is a first data center network system; The second network system is a backbone network system; The third network system is a second data center network system.

11. A message transmission device, characterized in that: include: A sending module, configured to send the first policy to the first network system through the management and control system; The first policy is used to determine the priority of an original message, where the original message is obtained by the first network system; a first processing module, configured to receive the first policy through the first network system and obtain the original message, determine the priority of the original message according to the first policy, process the original message according to the original message and the priority to obtain a first message carrying the priority, and send the first message to the second network system; The second processing module is configured to receive the first message through the second network system, encapsulate the first message to obtain a second message carrying the priority, and forward the second message to a third network system according to the priority.

12. A message transmission system, characterized in that: include: The management and control system is configured to send a first policy to the first network system; The first policy is used to determine the priority of an original message, where the original message is obtained by the first network system; The first network system is configured to receive the first policy and obtain the original message, determine the priority of the original message according to the first policy, process the original message according to the original message and the priority to obtain a first message carrying the priority, and send the first message to the second network system; The second network system is configured to receive the first message, encapsulate the first message to obtain a second message carrying the priority, and forward the second message to a third network system according to the priority.

Citation Information

Patent Citations

  • Method and device for transmitting data messages in LISP (List Processor) network

    CN104683238A

  • QoS implementation method and device

    CN105591971A

  • Message transmission method and device

    CN107733799A

  • Message processing method, SDN switch and computer readable storage medium

    CN111343110A

  • QoS implementation method and system, computer equipment and storage medium

    CN111817942A