Message flow transmission method and related equipment

By defining the priority levels of different message traffic in the cloud connection and using level identification, multiple network quality transmission in a cloud connection is achieved, which solves the differentiated transmission needs of tenants, simplifies configuration and reduces transformation costs.

CN119094457APending Publication Date: 2024-12-06HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311140944.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-06-06
Filing Date
2023-09-05
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Existing cloud connection services are difficult to meet the differentiated transmission needs of different message traffic for tenants. They need to create multiple cloud connections and manage multiple routing tables, resulting in complex and high transformation costs.

Method used

Define different priority levels for different message traffic in a cloud connection, transmit different message traffic through different network quality, use the cloud management platform to receive tenant configuration information and set corresponding network quality, and use the level identification to identify the message traffic Carry priority information and transmit different message traffic through different communication lines.

Benefits of technology

It supports multiple network quality transmission in a cloud connection, simplifies tenant configuration, enhances the flexibility of message traffic transmission, reduces transformation costs, and meets the differentiated transmission needs of different message traffic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094457A_ABST
    Figure CN119094457A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a message traffic transmission method and related equipment. The method is applied to a cloud management platform, and comprises the following steps: receiving configuration information of a tenant, the configuration information comprising a priority level of a first message flow and a priority level of a second message flow defined by the tenant in cloud connection, and the priority level of the first message flow is higher than the priority level of the second message flow; and setting the network quality for transmitting the first message flow to be higher than the network quality for transmitting the second message flow according to the configuration information. According to the method, different priorities can be configured for different message flows in a cloud connection, so that different message flows can be transmitted through different network qualities, and the differentiated transmission requirements of different message flows of tenants are met. Moreover, the tenants do not need to carry out any transformation and adaptation, and differential transmission of different message flows can be realized through configuration, so that the flexibility of message flow transmission can be enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application with application number 202310661185.X filed on June 6, 2023, and application name “A data transmission method and related equipment”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] Embodiments of the present application relate to the field of cloud computing, and more specifically, to a method for transmitting message traffic, an apparatus for transmitting message traffic, a computing device cluster, a computer program product, and a computer-readable storage medium. Background Art

[0003] Cloud Connect provides tenants with high-speed, high-quality, and stable network capabilities between cross-region virtual private clouds (VPCs). Cloud Connect is carried on the private backbone network of cloud vendors. Compared with the best-effort forwarding behavior of the Internet, the backbone network can provide a network with a service level agreement (SLA) guarantee. In the process of cross-region transmission of messages by tenants' VPCs, different message flows have differentiated transmission requirements. For example, game and video message flows require low latency during transmission, while offline data backup message flows require low cost during transmission. When building a cloud backbone network, cloud vendors can purchase communication lines of different qualities and provide tenants with different levels of cloud connection services in a service-oriented manner. In the process of transmitting message traffic, tenants can choose different cloud connections to transmit message traffic based on business requirements. The current cloud connection can provide multiple service levels, and cloud connection services of different service levels can be applied to message traffic with different requirements for network quality. However, cloud connection services of different service levels need to be sold separately. For tenants, if they need to use cloud connection services of multiple service levels, they need to create multiple cloud connections, associate them with their VPC instances, and manage multiple routing tables, which is relatively complicated. At the same time, the tenant's message traffic needs to enter different cloud connection services through different network segments, which requires multiple network cards, so the tenant needs to make corresponding modifications and adaptations, which requires high modification costs.

[0004] Therefore, how to meet the differentiated transmission requirements of tenants' different message flows has become an urgent problem to be solved. Summary of the invention

[0005] The embodiments of the present application provide a method for transmitting message traffic, a device for transmitting message traffic, a computing device cluster, a computer program product, and a computer-readable storage medium, which can define different priority levels for different message traffic in a cloud connection, so that different message traffic can be transmitted through different network qualities, thereby meeting the differentiated transmission requirements of different message traffic of tenants.

[0006] In a first aspect, a method for transmitting message traffic is provided. The method is applied to a cloud management platform, the cloud management platform is used to manage an infrastructure for providing cloud services, the infrastructure includes a first VPC and a second VPC, a cloud connection is established between the first VPC and the second VPC, the method includes: receiving configuration information of a tenant, the configuration information includes a priority level for a first message traffic and a priority level for a second message traffic defined by the tenant in the cloud connection, the priority level of the first message traffic being higher than the priority level of the second message traffic; according to the configuration information, setting a network quality for transmitting the first message traffic to be higher than a network quality for transmitting the second message traffic.

[0007] In the embodiment of the present application, different priority levels can be configured for different message flows in a cloud connection, so that different message flows can be transmitted through different network qualities, thereby meeting the differentiated transmission requirements of different message flows of tenants. In addition, tenants do not need to perform any transformation and adaptation, and can support the transmission of different message flows with different network qualities through configuration, thereby streamlining the configuration and enhancing the flexibility of message flow transmission.

[0008] In combination with the first aspect, in certain implementations of the first aspect, the first message traffic is sent from the first VPC to the second VPC via a cloud connection; and / or, the second message traffic is sent from the first VPC to the second VPC via the cloud connection.

[0009] In combination with the first aspect, in some implementations of the first aspect, the first VPC and the second VPC are set in different regions.

[0010] In an embodiment of the present application, different message flows can be transmitted with different network qualities in a cloud connection between two VPCs located in different regions through tenant configuration, thereby meeting the differentiated transmission requirements of different message flows.

[0011] In combination with the first aspect, in certain implementation methods of the first aspect, according to the configuration information, a first level identifier is set in the first message traffic, and a second level identifier is set in the second message traffic, and the network quality corresponding to the first level identifier is higher than the network quality corresponding to the second level identifier; according to the first level identifier and the second level identifier, the first message traffic and the second message traffic are transmitted respectively.

[0012] In an embodiment of the present application, a corresponding level identifier can be carried in the message traffic according to the configuration information of the tenant, so that different message traffic can be transmitted with different network qualities according to the level identifier, thereby meeting the differentiated transmission requirements of different message traffic.

[0013] In combination with the first aspect, in certain implementations of the first aspect, when the first message traffic includes a virtual extensible local area network (VXLAN) header, the first level identifier is carried in at least one of the following items: a differentiated services code point (DSCP) of an inner Internet Protocol (IP) header of the first message traffic, the DSCP of an outer IP header of the first message traffic, and a reserved field in a VXLAN header of the first message traffic; and / or, when the second message traffic includes a VXLAN header, the second level identifier is carried in at least one of the following items: the DSCP of an inner IP header of the second message traffic, the DSCP of an outer IP header of the second message traffic, and a reserved field in a VXLAN header of the second message traffic.

[0014] In an embodiment of the present application, existing fields in the message traffic can be reused to carry the level identifier, thereby eliminating the need to add additional signaling overhead or modify the format of the message traffic, thereby avoiding the additional cost caused by the modification.

[0015] In combination with the first aspect, in certain implementations of the first aspect, according to the first level identifier, the first message traffic is transmitted through the first communication line; according to the second level identifier, the second message traffic is transmitted through the second communication line, and the network quality of the first communication line is higher than the network quality of the second communication line.

[0016] In an embodiment of the present application, the cloud management platform can determine the mapping relationship between the level identifier and the communication line in advance, so that different message flows can be transmitted through the communication lines corresponding to different level identifiers, thereby meeting the differentiated transmission requirements of different message flows.

[0017] In combination with the first aspect, in certain implementations of the first aspect, the first message traffic and / or the second message traffic is identified by at least one of the following: source IP address, destination IP address, protocol type, service port number, DSCP of the IP header.

[0018] In an embodiment of the present application, the cloud management platform can identify different message flows by at least one of the source IP address, destination IP address, protocol type, service port number, and DSCP of the IP header, so that the cloud management platform can transmit the message flow according to the message flow and level identification.

[0019] In combination with the first aspect, in some implementations of the first aspect, the network quality includes at least one of the following: network bandwidth, network reliability, and network transmission speed.

[0020] In an embodiment of the present application, different priority levels may correspond to different network qualities, so that the cloud connection may transmit different message flows with different network qualities, thereby meeting differentiated service requirements for different message flows.

[0021] In combination with the first aspect, in certain implementations of the first aspect, the priority level includes at least one of the following: gold, silver, and copper, the priority level of gold is higher than the priority level of silver, and the priority level of silver is higher than the priority level of copper.

[0022] In an embodiment of the present application, the cloud management platform can provide tenants with multiple different priority levels so that tenants can set different priority levels for different message flows in the cloud connection.

[0023] In a second aspect, a message transmission device is provided, wherein the device includes a module for implementing the first aspect or any possible implementation manner of the first aspect.

[0024] In a third aspect, the present application provides a computing device cluster, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of at least one computing device is used to execute instructions stored in the memory of at least one computing device, so that the computing device cluster executes the method of the above-mentioned first aspect or any one of the implementation methods of the first aspect.

[0025] In a fourth aspect, the present application provides a computer program product comprising instructions, which, when executed by a computer device cluster, causes the computer device cluster to execute the method of the first aspect or any one of the implementation modes of the first aspect.

[0026] In a fifth aspect, the present application provides a computer-readable storage medium, including computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method of the above-mentioned first aspect or any one of the implementation modes of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a schematic structural diagram of a message flow transmission system according to an embodiment of the present application.

[0028] Figure 2 It is a schematic structural diagram of a cloud management platform according to an embodiment of the present application.

[0029] Figure 3 It is a schematic flowchart of a method for transmitting message traffic according to an embodiment of the present application.

[0030] Figure 4 is a schematic diagram of a first graphical interface according to an embodiment of the present application.

[0031] Figure 5 is a schematic diagram of a second graphical interface according to an embodiment of the present application.

[0032] Figure 6 is a schematic diagram of a second graphical interface according to another embodiment of the present application.

[0033] Figure 7 This is a schematic diagram of the format of the VXLAN header of the first message flow according to an embodiment of the present application.

[0034] Figure 8 It is a schematic flowchart of a method for transmitting message traffic according to another embodiment of the present application.

[0035] Fig. 9 It is a schematic diagram of forwarding message traffic according to an embodiment of the present application.

[0036] Fig.10 It is a schematic structural diagram of a device for transmitting message traffic according to an embodiment of the present application.

[0037] Fig.11 is a schematic structural diagram of a computing device according to an embodiment of the present application.

[0038] Fig.12 It is a schematic structural diagram of a computing device cluster according to an embodiment of the present application.

[0039] Fig.13 It is a schematic diagram of a connection between computing devices 1100A and 1100B via a network according to one embodiment of the present application. DETAILED DESCRIPTION

[0040] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0041] The embodiments of the present application will present various aspects, embodiments or features around a system including multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0042] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0043] The business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of technology and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0044] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0045] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can be represented by: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0046] The technical solution in the embodiment of the present application can be applied to various scenarios of transmitting message traffic through cloud connection. The technical solution in the embodiment of the present application can also be applied to cloud management platform.

[0047] Figure 1 It is a schematic structural diagram of the message traffic transmission system provided in an embodiment of the present application. Figure 1The transmission system of the message traffic in includes a cloud management platform 110. Among them, the cloud management platform 110 can be used to manage the infrastructure for providing cloud services, and the infrastructure can include a first VPC 120 and a second VPC 130. The first VPC 120 can be a VPC created by a tenant in a first region, and the second VPC 130 can be a VPC created by a tenant in a second region. The first region 120 and the second region 130 can be different regions, for example, the first region 120 is Beijing, and the second region 130 can be Shanghai, etc. The embodiment of the present application does not limit the specific region or region size represented by the first region and the second region, and can be set according to actual needs. Although the first VPC 120 and the second VPC 130 are set in different regions, they can belong to the same tenant. The tenant is a tenant of a public cloud that has registered a public cloud account and purchased public cloud resources. At the same time, the tenant can create a cloud connection between the first VPC 120 and the second VPC 130, and the cloud connection can be used to transmit the message traffic between the first VPC 120 and the second VPC 130 across regions. The cloud connection can be carried on the cloud backbone network of the cloud vendor.

[0048] The message traffic between the first VPC 120 and the second VPC 130 may be transmitted through a variety of different communication lines, and the various different communication lines may provide different network qualities. The network quality may include at least one of the following: network bandwidth, network reliability, network transmission speed, etc. Network reliability may include network packet loss rate and / or network stability, etc.

[0049] For example, the message traffic between the first VPC 120 and the second VPC 130 may be connected via a high-quality communication line and / or a common communication line. The high-quality communication line has a higher reliability when transmitting message traffic, while the common communication line has a lower reliability when transmitting message traffic.

[0050] The cloud management platform 110 can provide tenants with different levels of cloud connection services, so that tenants can enjoy different network qualities through different levels of cloud connection services, and then transmit different message traffic in different cloud connections. For example, a tenant can choose to transmit message traffic with high reliability requirements through a cloud connection with higher reliability, that is, the cloud connection can transmit the message traffic through a high-quality communication line. A tenant can also choose to transmit message traffic with low reliability requirements through a cloud connection with lower reliability, that is, the cloud connection can transmit the message traffic through an ordinary communication line.

[0051] The cloud management platform 110 can also provide different levels for the same cloud connection of tenants, so that tenants can enjoy different network communication qualities in the same cloud connection, thereby meeting the differentiated transmission requirements of different message flows. For example, tenants can choose to transmit message flows with higher reliability requirements through a network quality with higher reliability in the same cloud connection, and transmit message flows with lower reliability requirements through a network quality with lower reliability. That is, the cloud connection can transmit message flows with higher reliability requirements through high-quality communication lines, and can also transmit message flows with lower reliability requirements through ordinary communication lines.

[0052] Since different cloud connections correspond to different network segments, when tenants use different cloud connections to transmit message traffic, they need to access different cloud connection services through different network segments, which is more complicated. When tenants use the same cloud connection to transmit message traffic of different priority levels, they can use the same network segment, which is simpler and does not require corresponding modification of message traffic, thereby reducing modification costs.

[0053] The cloud management platform 110 may receive configuration information of the tenant. The configuration information includes the priority level for the first message flow and the priority level for the second message flow defined by the tenant in the cloud connection. The priority level of the first message flow is higher than the priority level of the second message flow. The cloud management platform 110 may also set the network quality for transmitting the first message flow to be higher than the network quality for transmitting the second message flow according to the configuration information.

[0054] In some embodiments, the first packet traffic may be sent from the first VPC 120 to the second VPC 130 through the cloud connection, or the first packet traffic may be sent from the second VPC 130 to the first VPC 120 through the cloud connection. Similarly, the second packet traffic may be sent from the first VPC 120 to the second VPC 130 through the cloud connection, or the second packet traffic may be sent from the second VPC 130 to the first VPC 120 through the cloud connection.

[0055] In some embodiments, the cloud management platform 110 may set a first level identifier in the first message flow according to the configuration information, and transmit the first message flow according to the first level identifier. Similarly, the cloud management platform 110 may set a second level identifier in the second message flow according to the configuration information, and transmit the second message flow according to the second level identifier. The network quality corresponding to the first level identifier is higher than the network quality corresponding to the second level identifier.

[0056] In some embodiments, the cloud management platform 110 may transmit the first message traffic through the first communication line according to the first level identifier. Similarly, the cloud management platform 110 may also transmit the second message traffic through the second communication line according to the second level identifier. The network quality of the first communication line is higher than the network quality of the second communication line.

[0057] In some embodiments, when the first packet flow includes a VXLAN header, the first level identifier is carried in at least one of the following: the DSCP of the inner IP header of the first packet flow, the DSCP of the outer IP header of the first packet flow, and a reserved field in the VXLAN header of the first packet flow. Similarly, when the second packet flow includes a VXLAN header, the second level identifier is carried in at least one of the following: the DSCP of the inner IP header of the second packet flow, the DSCP of the outer IP header of the second packet flow, and a reserved field in the VXLAN header of the second packet flow.

[0058] In some embodiments, the first packet flow and / or the second packet flow is identified by at least one of the following: source IP address, destination IP address, protocol type, service port number, DSCP of IP header.

[0059] In some embodiments, network quality includes at least one of the following: network bandwidth, network reliability, network transmission speed, etc.

[0060] In some embodiments, the priority level of the message traffic includes at least one of the following: gold, silver, and bronze. The priority level of gold is higher than the priority level of silver, and the priority level of silver is higher than the priority level of bronze.

[0061] Figure 2 It is a schematic structural diagram of the cloud management platform provided in the embodiment of the present application. Figure 2 The cloud management platform can perform the following methods and Figure 1 Similar to the cloud management platform 110 in . Figure 2 The cloud management platform in the embodiment includes a cloud connection control module 210, a DCI gateway control module 220, a cloud connection gateway 230, and a DCI gateway 240. When the cloud management platform manages VPCs in multiple regions, the cloud management platform may also set a cloud connection gateway 230 and a DCI gateway 240 in each region. That is, the cloud management platform may include multiple cloud connection gateways 230 and multiple DCI gateways 240. The cloud connection gateway 230 and the DCI gateway 240 in each region are set outside the VPC of the tenant in the region. The cloud connection gateway 230 and the DCI gateway 240 may be used to connect different regions managed by the cloud management platform.

[0062] The cloud connection control module 210 may receive the configuration information of the tenant. The configuration information includes the priority level for the first message flow and the priority level for the second message flow defined by the tenant in the cloud connection. The priority level of the first message flow is higher than the priority level of the second message flow. The cloud connection control module 210 may also send the configuration information to the cloud connection gateway 230.

[0063] Optionally, the cloud connection control module 210 can also provide a graphical interface (such as Figure 4 , Figure 5 or Figure 6 As shown), the tenant can select or upload the configuration information in the graphical interface.

[0064] The DCI gateway control module 220 may determine a mapping relationship between the priority level of the message traffic and the communication line, and send the mapping relationship to the DCI gateway 240. The mapping relationship between the priority level of the message traffic and the communication line may be used to indicate communication lines corresponding to different priority levels, thereby facilitating the determination of the communication line for transmitting the message traffic according to the level identifier in the message traffic.

[0065] The cloud connection gateway 230 can connect the VPC and the DCI gateway 240 in the area where the cloud connection gateway 230 is located. For example, when the cloud connection gateway 230 and the DCI gateway 240 are set in the first area, the cloud connection gateway 230 can connect the DCI gateway 240 and Figure 1 When the cloud connection gateway 230 and the DCI gateway 240 are set in the second area, the cloud connection gateway 230 can connect the DCI gateway 240 and Figure 1 The cloud connection gateway 230 may also set a corresponding level identifier in the message traffic according to the configuration information of the tenant. For example, the cloud connection gateway 230 may set a first level identifier in the first message traffic and a second level identifier in the second message traffic according to the configuration information of the tenant. The network quality corresponding to the first level identifier is higher than the network quality corresponding to the second level identifier. The cloud connection gateway 230 may also send the message traffic with the level identifier to the DCI gateway 240.

[0066] The DCI gateway 240 may transmit the message traffic through the corresponding communication line according to the level identifier in the message traffic. For example, the DCI gateway 240 may transmit the first message traffic through the first communication line according to the first level identifier. The DCI gateway 240 may also transmit the second message traffic through the second communication line according to the second level identifier. The network quality of the first communication line is higher than the network quality of the second communication line.

[0067] In some embodiments, the cloud connection control module 210, the DCI gateway control module 220, the cloud connection gateway 230 and the DCI gateway 240 may be integrated into the same device, such as Figure 2 Alternatively, the cloud connection control module 210, the DCI gateway control module 220, the cloud connection gateway 230 and the DCI gateway 240 may be integrated into at least two devices, and the embodiment of the present application does not limit the specific modules included in each of the at least two devices.

[0068] Figure 3 It is a schematic flowchart of the message traffic transmission method provided in an embodiment of the present application. Figure 3 The method in can be Figure 1 or Figure 2 The cloud management platform is executed in. Figure 3 The method comprises the following steps.

[0069] S310: Receive tenant configuration information.

[0070] The cloud management platform can receive configuration information of the tenant. The configuration information includes the priority level of the first message flow and the priority level of the second message flow defined by the tenant in the cloud connection. The priority level of the first message flow is higher than the priority level of the second message flow. The cloud management platform is used to manage the infrastructure for providing cloud services, and the infrastructure includes the first VPC and the second VPC. A cloud connection is established between the first VPC and the second VPC.

[0071] In some embodiments, the first VPC and the second VPC are set in different regions. The cloud connection can be used to transmit the message traffic of the VPCs of the tenant in different regions, that is, the cloud connection can realize the message traffic transmission across regions. The cloud connection can be any one of the at least one cloud connection created by the tenant.

[0072] In some embodiments, the first packet flow may be sent from the first VPC to the second VPC through the cloud connection, or the first packet flow may be sent from the second VPC to the first VPC through the cloud connection. Similarly, the second packet flow may be sent from the first VPC to the second VPC through the cloud connection, or the second packet flow may be sent from the second VPC to the first VPC through the cloud connection.

[0073] In some embodiments, the priority level of the message traffic may include at least one of the following: gold, silver, and bronze. The priority level of gold is higher than the priority level of silver, and the priority level of silver is higher than the priority level of bronze.

[0074] Optionally, the cloud management platform may provide a graphical interface to the tenant, so that the tenant may select or upload the configuration information on the graphical interface.

[0075] In some embodiments, the cloud management platform may provide a first graphical interface to the tenant, so that the tenant may select or upload multiple priority levels in the cloud connection on the first graphical interface.

[0076] For example, the cloud management platform may provide a first graphical interface such as Figure 4 shown. Figure 4 is a schematic diagram of a first graphical interface provided in an embodiment of the present application. Figure 4 As shown in the first graphical interface 400 in the figure, the tenant can select or input the following five items in the first graphical interface 400: connected area, first priority level, second priority level, third priority level, cloud connection identifier. Among them, the tenant can select or input at least two areas to be connected by the cloud connection in the selection box or input box corresponding to the "connected area". For example, the tenant can enter the first area and the second area respectively in the two input boxes corresponding to the "connected area", so that the cloud connection can connect the tenant's VPC in the first area and the VPC in the second area, so that the message traffic of the VPCs in the two areas can be transmitted to each other. It should be understood that the tenant may not select or input the connected area of ​​the cloud connection in the first graphical interface 400, that is, the selection boxes or input boxes corresponding to the "connected area" and the "connected area" may not be displayed in the first graphical interface 400.

[0077] The tenant can select or input in the first selection box or the first input box corresponding to "first priority level", "second priority level" and "third priority level" respectively, so as to determine at least one priority level available for the cloud connection. For example, the tenant can select in the two first selection boxes corresponding to "first priority level" and "third priority level" respectively, so that the cloud connection can transmit multiple message flows according to the first priority level and the third priority level.

[0078] Exemplarily, the network quality corresponding to each priority level may be determined by the cloud management platform itself, or may be determined by the tenant.

[0079] For example, the cloud management platform may determine that the network quality corresponding to the first priority level is 10 megabits per second (Mbps), the network quality corresponding to the second priority level is 20Mbps, and the network quality corresponding to the third priority level is 30Mbps. The tenant may directly select in the first selection box corresponding to the first priority level and the second priority level, thereby determining to transmit multiple message flows through the network bandwidth of 10Mbps and 20Mbps in the cloud connection respectively.

[0080] For example, the tenant can select or input in the second selection box or second input box corresponding to "first priority", "second priority" and "third priority" respectively, so as to determine the network quality corresponding to each priority level. For example, the tenant can select 10Mbps in the second selection box corresponding to "first priority", so that the cloud connection can transmit the message traffic with the first priority level through the network bandwidth of 10Mbps. The tenant can also select 99.99% in the second selection box corresponding to "third priority", so that the cloud connection can transmit the message traffic with the third priority level with 99.99% reliability.

[0081] The tenant may select or input the identification information of the cloud connection in the selection box or input box corresponding to the "cloud connection identification", and the identification information of the cloud connection is used to identify the cloud connection. For example, the tenant may input "AAA" in the input box corresponding to the "cloud connection identification", thereby determining to allocate at least two priority levels as shown in the first graphical interface 400 to the cloud connection with the identification information of "AAA". It should be understood that the tenant may not select or input the identification information of the cloud connection in the first graphical interface 400, that is, the selection box or input box corresponding to the "cloud connection identification" and the "cloud connection identification" may not be displayed in the first graphical interface 400.

[0082] That is to say, Figure 4 As shown in the first graphical interface 400 in FIG. 1 , the tenant can set a cloud connection with identification information of "AAA" to connect the first area and the second area, and in the cloud connection, multiple message flows can be transmitted according to the first priority level and the third priority level. The network bandwidth corresponding to the first priority level is 10Mbps, and the network bandwidth corresponding to the third priority level is 30Mbps.

[0083] In some embodiments, for message traffic for which the tenant has not specified a priority level, the cloud management platform can determine the priority level of the message traffic on its own, thereby transmitting the message traffic in the cloud connection. For example, the cloud management platform can determine the communication line with more available bandwidth based on the network quality of different communication lines, thereby determining the priority level corresponding to the message traffic, and then transmitting the message traffic based on the priority level. In other words, the cloud management platform can determine the priority level of the message traffic based on the current network quality, thereby transmitting the message traffic.

[0084] In some embodiments, the cloud management platform may provide a second graphical interface to the tenant, so that the tenant may select or upload a mapping relationship between message traffic and priority levels on the second graphical interface.

[0085] For example, the cloud management platform can provide a second graphical interface such as Figure 5 shown. Figure 5is a schematic diagram of a second graphical interface provided in an embodiment of the present application. Figure 5 As shown in the second graphical interface 500 in the figure, the tenant can select or input the following eight items in the second graphical interface 500: cloud connection identification, message flow, source IP address, destination IP address, protocol type, service port number, DSCP, priority level. Among them, the tenant can select or input the identification information of the cloud connection in the selection box or input box corresponding to the "cloud connection identification", and the identification information of the cloud connection is used to identify the cloud connection. For example, the tenant can enter "AAA" in the input box corresponding to the "cloud connection identification" to determine that the cloud connection with the identification information of "AAA" is assigned multiple priority levels as shown in the second graphical interface 500. It should be understood that the tenant may not select or input the identification information of the cloud connection in the second graphical interface 500, that is, the "cloud connection identification" and the selection box or input box corresponding to the "cloud connection identification" may not be displayed in the second graphical interface 500.

[0086] The tenant can select or enter the name of each message flow in the selection box or input box corresponding to "message flow", so as to facilitate the intuitive determination of the mapping relationship between the message flow and the priority level. The name of each message flow is used to intuitively identify the message flow. The embodiment of the present application does not limit the specific representation method of the name of each message flow, for example, it may include at least one character, and the at least one character may include any one or more of numbers, letters or symbols. For example, the tenant can enter "first message flow" in an input box corresponding to "message flow", so as to facilitate the determination of the mapping relationship between the first message flow and the priority level. It should be understood that the tenant may not select or enter the message flow information in the second graphical interface 500, that is, the content of at least one selection box or at least one input box corresponding to "message flow" can be directly determined by the cloud management platform without the need for the tenant to manually determine it. Alternatively, the selection box or input box corresponding to "message flow" and "message flow" may not be displayed in the second graphical interface 500.

[0087] The tenant can select or input at least one source IP address corresponding to each message flow in the selection box or input box corresponding to "Source IP address", so that when the source IP address of the message flow belongs to the at least one source IP address, the cloud connection can transmit the message flow at the corresponding priority level. Alternatively, the tenant can select or input the source IP address range (or source network segment) corresponding to each message flow in the selection box or input box corresponding to "Source IP address", so that when the source IP address of the message flow belongs to the source IP address range, the cloud connection can transmit the message flow at the corresponding priority level.

[0088] Similarly, the tenant can select or input at least one destination IP address corresponding to each message flow in the selection box or input box corresponding to "Destination IP Address", so that when the destination IP address of the message flow belongs to the at least one destination IP address, the cloud connection can transmit the message flow at the corresponding priority level. Alternatively, the tenant can select or input the destination IP address range (or destination network segment) corresponding to each message flow in the selection box or input box corresponding to "Destination IP Address", so that when the destination IP address of the message flow belongs to the destination IP address range, the cloud connection can transmit the message flow at the corresponding priority level.

[0089] Tenants can select or enter the target protocol type for each message traffic in the selection box or input box corresponding to "Protocol Type", so that when the protocol type of the message traffic is the target protocol type, the cloud connection can transmit the message traffic at the corresponding priority level. Tenants can select or enter at least one service port number for each message traffic in the selection box or input box corresponding to "Service Port Number", so that when the service port number of the message traffic belongs to the at least one service port number, the cloud connection can transmit the message traffic at the corresponding priority level. Tenants can select or enter at least one DSCP for each message traffic in the selection box or input box corresponding to "DSCP", so that when the DSCP of the message traffic belongs to the at least one DSCP, the cloud connection can transmit the message traffic at the corresponding priority level.

[0090] It should be understood that any one or more of the source IP address, destination IP address, protocol type, service port number, and DSCP may be displayed in the second graphical interface 500. When one or more of the source IP address, destination IP address, protocol type, service port number, and DSCP are displayed in the second graphical interface 500, a selection box or input box corresponding to the one or more of the source IP address, destination IP address, protocol type, service port number, and DSCP may also be displayed in the second graphical interface 500. In other words, the tenant may identify each message flow according to any one or more of the identification information of the source IP address, destination IP address, protocol type, service port number, and DSCP of the message flow, thereby facilitating the transmission of the message flow in the cloud connection according to the identification information and level identification carried by the message flow.

[0091] Tenants can select or enter the priority level of each message traffic in the selection box or input box corresponding to "Priority Level" so that the cloud connection can transmit the corresponding message traffic according to different priority levels.

[0092] For example, suppose the tenant's selection or input is Figure 5As shown in the second graphical interface 500 in . Assume that the tenant determines that the identification information of the first message flow is: the protocol type is transmission control protocol (TCP), and the service port number is 1000. If the tenant determines that the priority level of the first message flow is the third priority level, the cloud connection with the identification information of "AAA" can transmit the target message flow according to the third priority level, and the protocol type of the target message flow is TCP, and the service port number of the target message flow is 1000. Assume that the tenant determines that the identification information of the second message flow is: the protocol type is TCP, and the service port number is 500. If the tenant determines that the priority level of the second message flow is the first priority level, the cloud connection with the identification information of "AAA" can transmit the target message flow according to the first priority level. The protocol type of the target message flow is TCP, and the service port number of the target message flow is 500.

[0093] Optionally, tenants can define the priority of message traffic by using the DSCP value of the message traffic. For example, tenants can distinguish between very important person (VIP) tenant traffic and ordinary tenant traffic for their own customer traffic, and can use the setsockopt function to set the DSCP value of the message traffic to determine the priority of the message traffic. The socket options can be set as follows:

[0094] setsockopt(sock,SOL_IP / *IPPROTO_IP* / ,IP_TOS,(void*)&service_type,sizeof(service_type))

[0095] Among them, sock indicates the descriptor that identifies the socket. SOL_IP / *IPPROTO_IP* / indicates the level of option definition. IP_TOS indicates the option to be set. (void*)&service_type indicates a pointer that points to the buffer storing the new value to be set for the option. sizeof(service_type) indicates the length of the buffer.

[0096] For example, suppose the tenant's selection or input is Figure 6 As shown in the second graphical interface 600 in . Figure 6 This is another schematic diagram of the second graphical interface provided in an embodiment of the present application. Figure 6 The items displayed in the second graphical interface 600 are the same as Figure 5 The second graphical interface 500 in FIG. 1 is similar to that in FIG. 1 , and will not be described in detail here. Figure 6As shown in the second graphical interface 600 in FIG, assuming that the tenant determines that the identification information of the first message flow is: DSCP is 20, and the priority level of the first message flow is the third priority level, then the cloud connection with the identification information of "AAA" can transmit the target message flow according to the third priority level. The DSCP of the target message flow is 20. Assuming that the tenant determines that the identification information of the second message flow is: DSCP is 30, and the priority level of the second message flow is the first priority level, then the cloud connection with the identification information of "AAA" can transmit the target message according to the first priority level. The DSCP of the target message is 30.

[0097] In some embodiments, the DSCP configured by the tenant in the second graphical interface 600 may be the DSCP in the IP header of the message traffic. Alternatively, when the message traffic is encapsulated based on VXLAN, the DSCP configured by the tenant in the second graphical interface 600 may be the DSCP in the inner IP header of the message traffic. The DSCP in the inner IP header of the message traffic may also be used as a level identifier of the message traffic.

[0098] Optionally, in response to the tenant's operation on the second graphical interface, the cloud management platform can determine the priority levels of multiple message flows in the cloud connection. In other words, the cloud management platform can obtain the mapping relationship between the message flows uploaded by the tenant and the priority levels. That is, the cloud management platform can display the first graphical interface and / or the second graphical interface to the tenant before step S310, thereby receiving the tenant's configuration information.

[0099] In some embodiments, the cloud management platform may display the first graphical interface and / or the second graphical interface to the tenant when the tenant creates a cloud connection, thereby receiving the tenant's configuration information.

[0100] It should be understood that the first graphical interface and / or the second graphical interface are only exemplary illustrations, and the cloud management platform can also provide tenants with other forms of graphical interfaces so that tenants can upload the priority levels of multiple message flows in the cloud connection.

[0101] S320: According to the configuration information, set the network quality for transmitting the first message flow to be higher than the network quality for transmitting the second message flow.

[0102] The cloud management platform may set the network quality for transmitting the first message flow to be higher than the network quality for transmitting the second message flow according to the configuration information.

[0103] Optionally, the cloud management platform may set a first level identifier in the first message traffic according to the configuration information. The first level identifier is used to indicate the priority level of the first message traffic. The embodiment of the present application does not limit the specific form of the first level identifier, for example, it may include at least one character, and the at least one character may include any one or more of a number, a letter or a symbol. The cloud management platform may also transmit the first message traffic according to the first level identifier.

[0104] Similarly, the cloud management platform can set a second level identifier in the second message flow according to the configuration information, and transmit the second message flow according to the second level identifier. The second level identifier is used to indicate the priority level of the second message flow. The embodiment of the present application does not limit the specific form of the second level identifier, for example, it may include at least one character. The network quality corresponding to the first level identifier is higher than the network quality corresponding to the second level identifier.

[0105] When the first packet flow includes a VXLAN header, the first level identifier may be carried in at least one of the following items: the DSCP of the inner IP header of the first packet flow, the DSCP of the outer IP header of the first packet flow, and a reserved field in the VXLAN header of the first packet flow. Similarly, when the second packet flow includes a VXLAN header, the second level identifier is carried in at least one of the following items: the DSCP of the inner IP header of the second packet flow, the DSCP of the outer IP header of the second packet flow, and a reserved field in the VXLAN header of the second packet flow.

[0106] For example, suppose the VXLAN header of the first packet flow is as follows Figure 7 shown. Figure 7 This is a schematic diagram of the format of the VXLAN header of the first message flow provided in an embodiment of the present application. Figure 7 The VXLAN header of the first packet flow in includes four fields, namely: VXLAN flags, reserved field 1, VXLAN network identifier (VNI) and reserved field 2 (reversed 2). Among them, reserved field 1 and / or reserved field 2 can be used to carry the level identifier. That is, reserved field 1 or reserved field 2 can be used to carry the level identifier respectively, or reserved field 1 and reserved field 2 can be combined to carry the level identifier.

[0107] Optionally, the first message flow and / or the second message flow may be identified by at least one of the following: source IP address, destination IP address, protocol type, service port number, DSCP of the IP header.

[0108] Optionally, the cloud management platform may transmit the first message flow through the first communication line according to the first level identifier. Similarly, the cloud management platform may also transmit the second message flow through the second communication line according to the second level identifier. The network quality of the first communication line is higher than the network quality of the second communication line.

[0109] Optionally, the network quality of the communication line includes at least one of the following: network bandwidth, network reliability, and network transmission speed.

[0110] Optionally, before step S320, the cloud management platform may determine the mapping relationship between the priority level of the message flow and the communication line. That is, the cloud management platform may transmit multiple message flows in the cloud connection through different communication lines, and each communication line may correspond to a priority level. Each communication line may have different network quality. For details, see Figure 8 Description in .

[0111] According to the method for transmitting message traffic in the embodiment of the present application, tenants can configure multiple priority levels in one cloud connection, thereby supporting the transmission of message traffic of different priority levels with different network qualities, thereby meeting the differentiated service requirements of different message traffic. In addition, tenants do not need to perform any transformation and adaptation, and can support the transmission of message traffic with different network qualities through configuration, thereby streamlining the configuration and enhancing the flexibility of message traffic transmission.

[0112] Figure 8 It is a schematic flowchart of the message traffic transmission method provided in an embodiment of the present application. Figure 8 The method in can be Figure 1 or Figure 2 The cloud management platform is executed in. Figure 8 The method comprises the following steps.

[0113] S810, determine a mapping relationship between the priority level of the message flow and the communication line.

[0114] The cloud management platform can determine the mapping relationship between the priority level of the message traffic and the communication line, thereby determining the communication line used to transmit the message traffic in the cloud connection.

[0115] Optionally, the cloud management platform can determine the mapping relationship between the priority level of message traffic and the communication line by itself. Alternatively, the cloud management platform can receive the mapping relationship between the priority level of message traffic and the communication line from other devices. The other devices are devices connected to the cloud management platform.

[0116] Optionally, the mapping relationship between the priority level of the message traffic and the communication line can be expressed in various forms, such as a table, a function, a matrix, an array, etc.

[0117] For example, the mapping relationship between the priority level of the message flow and the communication line can be shown in the following Table 1.

[0118] Table 1 Mapping relationship between message traffic priority and communication line

[0119] Communication lines Priority ordinary First priority high quality Second priority Premium Third priority

[0120] As shown in Table 1, the communication line corresponding to the first priority level is ordinary, that is, the message traffic with the first priority level can be transmitted through the ordinary communication line. Similarly, the communication line corresponding to the second priority level is high-quality, that is, the message traffic with the second priority level can be transmitted through the high-quality communication line. The communication line corresponding to the third priority level is super-excellent, that is, the message traffic with the third priority level can be transmitted through the super-excellent communication line.

[0121] In Table 1, different communication lines have different network qualities. For example, an ordinary communication line can transmit message traffic with any one or more network qualities of lower bandwidth, lower reliability, or lower network transmission speed. A high-quality communication line can transmit message traffic with any one or more network qualities of medium bandwidth, medium reliability, or medium network transmission speed. An excellent communication line can transmit message traffic with any one or more network qualities of larger bandwidth, higher reliability, or higher network transmission speed. The implementation of this application does not limit the specific size or range of each network quality.

[0122] It should be understood that Table 1 is only an exemplary description, and the priority level of the message flow and the communication line may also have a mapping relationship other than Table 1. It should also be understood that the priority level may also be expressed in other forms, such as "gold medal", "A", "1", etc., and the embodiments of the present application are not limited to this. Similarly, the communication line may also be expressed in other forms, such as "gold medal", "A", "1", etc., and the embodiments of the present application are not limited to this.

[0123] S820, receiving configuration information, and determining the priority levels of multiple message flows in the cloud connection. The specific implementation of step S820 is similar to step S310, and will not be repeated here.

[0124] S830: Receive first message traffic.

[0125] The cloud management platform can receive VPCs from tenants (such as Figure 1 The first message flow of the first VPC 120 or the second VPC 130) carries at least one of the following identification information: source IP address, destination IP address, protocol type, service port number, and DSCP of the IP header.

[0126] S840: Set a first level identifier in the first message flow according to the configuration information and the first message flow.

[0127] The cloud management platform can identify the first message flow according to the identification information carried by the first message flow. The cloud management platform can also determine the priority level of the first message flow according to the configuration information, thereby setting a first level identifier in the first message flow. The first level identifier is used to indicate the priority level of the first message flow.

[0128] For example, it is assumed that the configuration information of the tenant can be as shown in Table 2 below. The identification information of the packet flow is represented by an array, and the format of the array is (source IP address, destination IP address, protocol type, service port number, DSCP of the IP header). That is, the first data in the identification information of the packet flow is used to represent the source IP address, the second data is used to represent the destination IP address, the third data is used to represent the protocol type, the fourth data is used to represent the service port number, and the fifth data is used to represent the DSCP of the IP header.

[0129] Table 2 Configuration information table

[0130] Packet traffic identification information Priority (-,-,TCP,1000,-) Third priority (-,-,TCP,500,-) First priority

[0131] In Table 2, the priority level corresponding to the message flow with identification information (-, -, TCP, 1000, -) is the third priority level. That is, when the protocol type of the message flow is TCP and the service port number is 1000, the priority level of the message flow is the third priority level. The "-" in the identification information means no data or no restriction.

[0132] For example, assuming that the tenant's configuration information is as shown in Table 2, and the protocol type of the first message flow is TCP, and the service port number of the first message flow is 1000, the cloud management platform can determine that the priority level of the first message flow is the third priority level according to Table 2 and the first message flow. The cloud management platform can also use the first level identifier to indicate the third priority level and set the first level identifier in the first message flow.

[0133] When the first packet flow includes a VXLAN header, the first level identifier can be carried in at least one of the following items: the DSCP of the inner IP header of the first packet flow, the DSCP of the outer IP header of the first packet flow, and a reserved field in the VXLAN header of the first packet flow.

[0134] S850: Transmit a first message flow through a first communication line according to the first level identifier.

[0135] After determining the first level identifier in the first message flow, the cloud management platform can determine the first communication line corresponding to the first level identifier according to the mapping relationship between the priority level of the message flow and the communication line. The cloud management platform can also transmit the first message flow through the first communication line.

[0136] For example, assuming that the mapping relationship between the priority level of message traffic and the communication line is as shown in Table 1, and the first level identifier in the first message traffic is used to indicate the third priority level, the cloud management platform can determine to transmit the first message traffic through the preferential communication line.

[0137] Optionally, a schematic diagram of forwarding message traffic in a cloud connection is as follows: Fig. 9 shown. Fig. 9 This is a schematic diagram of message traffic forwarding provided in an embodiment of the present application. Fig. 9 The first virtual machine (VM) 910, the second VM 920, the cloud connection gateway 930, the DCI gateway 940, the DCI gateway 950, and the cloud connection gateway 960 are included. The first VM 910 may be a VM of a tenant in the first VPC, and the second VM 920 may be a VM of a tenant in the second VPC. The first VPC is set in the first region, and the second VPC is set in the second region. The first region and the second region are two different regions. For example, the first VM may be Figure 1 The second VM may be a VM in the first VPC 120 in the first region, and the second VM may be a VM in the second VPC 130. The cloud connection gateway 930 and the DCI gateway 940 are both located in the first region, and the DCI gateway 950 and the cloud connection gateway 960 are both located in the second region.

[0138] exist Fig. 9 In the example, the first VM 910 may send a first message to the cloud connection gateway 930, and the first message may include an IP header and a payload. The first message belongs to the first message flow. The IP header may include a source IP address and a destination IP address, and the source IP address in the IP header may be the IP address of the first VM 910, and the destination address may be the IP address of the second VM 920.

[0139] After receiving the first message, the cloud connection gateway 930 may encapsulate the first message based on VXLAN to obtain a second message. The second message is an encapsulated message. The second message includes an outer IP header, a VXLAN header, an IP header, and a payload. The outer IP header may include a source IP address and a destination IP address. The source IP address in the outer IP header is the IP address of the cloud connection gateway 930, and the destination IP address is the IP address of the DCI gateway 940. When the cloud connection gateway 930 encapsulates the first message, the priority of the first message may also be determined according to the identification information in the first message. The cloud connection gateway 930 may also carry the first level identifier corresponding to the priority of the first message in at least one of the following items of the second message: the DSCP of the outer IP header, the DSCP of the inner IP header, and the reserved field in the VXLAN header. The cloud connection gateway 930 may also send the second message to the DCI gateway 940.

[0140] In some embodiments, when the identification information of the first message includes the DSCP value of the IP header of the first message, the DSCP value of the IP header of the first message can be directly used as the first level identification. The cloud connection gateway 930 may no longer need to carry the first level identification in the DSCP value of the IP header of the second message.

[0141] After receiving the second message, the DCI gateway 940 can decapsulate the second message according to the destination IP address in the outer IP header to obtain the first message. The DCI gateway 940 can also encapsulate the first message based on VXLAN according to the destination IP address in the IP header of the first message to obtain a third message. The third message is an encapsulated message. The source IP address in the outer IP header of the third message is the IP address of the DCI gateway 940, and the destination IP address is the IP address of the DCI gateway 950. When the first level identifier is carried in the DSCP of the outer IP header of the second message, the DCI gateway 940 can determine the priority of the first message according to the DSCP in the outer IP header of the second message. Alternatively, when the first level identifier is carried in a reserved field in the VXLAN header of the second message, the DCI gateway 940 can determine the priority of the first message according to the reserved field in the VXLAN header of the second message. Alternatively, when the first level identifier is carried in the DSCP of the inner IP header of the second message, the DCI gateway 940 can determine the priority of the first message according to the DSCP in the inner IP header of the second message. After the DCI gateway 940 determines the priority of the first message, it can also determine the first communication line corresponding to the first level identifier according to the mapping relationship between the priority of the message traffic and the communication line. The DCI gateway 940 can also send the third message to the DCI gateway 950 through the first communication line.

[0142] After receiving the third message, the DCI gateway 950 can decapsulate the third message according to the destination IP address in the outer IP header of the third message to obtain the first message. The DCI gateway 950 can also encapsulate the first message based on VXLAN according to the destination address in the IP header of the first message to obtain a fourth message. The fourth message is an encapsulated message. The source IP address in the outer IP header of the fourth message is the IP address of the DCI gateway 950, and the destination IP address is the IP address of the cloud connection gateway 960. The DCI gateway 950 can also send the fourth message to the cloud connection gateway 960. After receiving the fourth message, the cloud connection gateway 960 can decapsulate the fourth message according to the destination IP address in the outer IP header of the fourth message to obtain the first message. The cloud connection gateway 960 can also send the first message to the second VM 920 according to the destination IP address in the IP header of the first message, thereby completing the forwarding of the first message.

[0143] In some embodiments, the first level identifier may also be carried in at least one of the following items in the third message and the fourth message: the DSCP of the outer IP header, the DSCP of the inner IP header, and the reserved field in the VXLAN header.

[0144] Fig.10 It is a schematic structural diagram of a transmission device for message traffic provided in an embodiment of the present application. Fig.10 The transmission device 1000 for message traffic in the embodiment includes a receiving module 1010 and a processing module 1020. Fig.10 The transmission device 1000 for the message flow in the can be applied to a cloud management platform, for example Figure 1 Cloud management platform 110 or Figure 2 Cloud management platform in.

[0145] The receiving module 1010 may be used to receive the configuration information of the tenant. The configuration information includes the priority level of the first message flow and the priority level of the second message flow defined by the tenant in the cloud connection, and the priority level of the first message flow is higher than the priority level of the second message flow. The receiving module 1010 may be used to execute Figure 3 Step S310 in Figure 8 Step S820 in .

[0146] The processing module 1020 may be used to set the network quality for transmitting the first message flow to be higher than the network quality for transmitting the second message flow according to the configuration information of the tenant. The processing module 1020 may execute Figure 3 Step S320 in Figure 8 Steps S810, S830 to S850 in .

[0147] The receiving module 1010 and the processing module 1020 may be implemented by software or hardware. For example, the implementation of the receiving module 1010 is described below by taking the receiving module 1010 as an example. Similarly, the implementation of the processing module 1020 may refer to the implementation of the receiving module 1010.

[0148] As an example of a software functional unit, the receiving module 1010 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the receiving module 1010 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with similar geographical locations. Among them, usually a region may include multiple AZs.

[0149] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same VPC or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.

[0150] As an example of a hardware functional unit, the receiving module 1010 may include at least one computing device, such as a server, etc. Alternatively, the receiving module 1010 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0151] The multiple computing devices included in the receiving module 1010 can be distributed in the same region or in different regions. The multiple computing devices included in the receiving module 1010 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the receiving module 1010 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0152] Therefore, the modules of each example described in the embodiments of the present application can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0153] It should be noted that: when the device provided in the above embodiment executes the above method, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. For example, the receiving module 1010 can be used to execute any step in the above method, and the processing module 1020 can be used to execute any step in the above method. The steps that the receiving module 1010 and the processing module 1020 are responsible for implementing can be specified as needed, and all the functions of the above device can be realized by respectively implementing different steps in the above method through the receiving module 1010 and the processing module 1020.

[0154] In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments above, which will not be repeated here.

[0155] The method provided in the embodiment of the present application can be performed by a computing device, which can also be referred to as a computer system. It includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a processing unit, a memory and a memory control unit, and then the function and structure of the hardware are described in detail. The operating system is any one or more computer operating systems that implement business processing through a process, for example, a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer includes applications such as a browser, an address book, a word processing software, and an instant messaging software. In addition, optionally, the computer system is a handheld device such as a smart phone, or a terminal device such as a personal computer, and the present application is not particularly limited, as long as the method provided by the embodiment of the present application can be used. The execution subject of the method provided in the embodiment of the present application can be a computing device, or a functional module in a computing device that can call a program and execute a program.

[0156] Fig.11 1 is a schematic structural block diagram of a computing device 1100 provided in an embodiment of the present application. The computing device 1100 may be a server or a computer or other device with computing capabilities. Fig.11 The computing device 1100 shown includes at least one processor 1110 and a memory 1120 .

[0157] It should be understood that the present application does not limit the number of processors and memories in the computing device 1100 .

[0158] The processor 1110 executes the instructions in the memory 1120, so that the computing device 1100 implements the method provided by the present application. Alternatively, the processor 1110 executes the instructions in the memory 1120, so that the computing device 1100 implements the functional modules provided by the present application, thereby implementing the method provided by the present application.

[0159] Optionally, the computing device 1100 further includes a communication interface 1130. The communication interface 1130 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 1100 and other devices or a communication network.

[0160] Optionally, the computing device 1100 further includes a system bus 1140, wherein the processor 1110, the memory 1120 and the communication interface 1130 are respectively connected to the system bus 1140. The processor 1110 can access the memory 1120 through the system bus 1140. For example, the processor 1110 can read and write data or execute code in the memory 1120 through the system bus 1140. The system bus 1140 is a peripheral component interconnect express (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus 1140 is divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0161] In a possible implementation, the function of the processor 1110 is mainly to interpret the instructions (or codes) of the computer program and process the data in the computer software. The instructions of the computer program and the data in the computer software can be stored in the memory 1120 or the cache of the processor 1110.

[0162] Optionally, the processor 1110 may be an integrated circuit chip with signal processing capabilities. As an example and not limitation, the processor 1110 is a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. Among them, the general-purpose processor is a microprocessor, etc. For example, the processor 1110 is a central processing unit (CPU).

[0163] The memory 1120 can provide a running space for the processes in the computing device 1100. For example, the computer program (specifically, the program code) used to generate the process is stored in the memory 1120. After the computer program is executed by the processor to generate the process, the processor allocates a corresponding storage space for the process in the memory 1120. Furthermore, the above storage space further includes a text segment, an initialized data segment, a bit initialized data segment, a stack segment, a heap segment, etc. The memory 1120 stores the data generated during the running of the process in the storage space corresponding to the above process, such as intermediate data, process data, etc.

[0164] Optionally, the storage is also called memory, which is used to temporarily store the calculation data in the processor 1110 and the data exchanged with the external storage such as the hard disk. As long as the computer is running, the processor 1110 will transfer the data to be calculated to the memory for calculation, and transmit the result after the calculation is completed.

[0165] As an example and not limitation, the memory 1120 is a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile storage medium may be, for example, a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory is a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus DRAM (DRDRAM). It should be noted that the memory 1120 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0166] The structure of the computing device 1100 listed above is only an example, and the present application is not limited thereto. The computing device 1100 of the embodiment of the present application includes various hardware in the computer system in the prior art. For example, the computing device 1100 also includes other memories besides the memory 1120, such as disk storage, etc. Those skilled in the art should understand that the computing device 1100 may also include other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the above-mentioned computing device 1100 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the above-mentioned computing device 1100 may also include only the devices necessary to implement the embodiment of the present application, and does not necessarily include Fig.11 All devices shown in .

[0167] The embodiment of the present application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device may be a server. In some embodiments, the computing device may also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.

[0168] like Fig.12 As shown, the computing device cluster includes at least one computing device 1100. The memory 1120 in one or more computing devices 1100 in the computing device cluster may store the same instructions for executing the above method.

[0169] In some possible implementations, the memory 1120 in one or more computing devices 1100 in the computing device cluster may also store partial instructions for executing the above method. In other words, the combination of one or more computing devices 1100 may jointly execute the instructions of the above method.

[0170] It should be noted that the memory 1120 in different computing devices 1100 in the computing device cluster may store different instructions, which are respectively used to execute part of the functions of the above-mentioned apparatus. That is, the instructions stored in the memory 1120 in different computing devices 1100 may implement the functions of one or more modules in the above-mentioned apparatus.

[0171] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig.13 A possible implementation is shown. Fig.13 As shown, two computing devices 1100A and 1100B are connected via a network. Specifically, they are connected to the network via a communication interface in each computing device.

[0172] It should be understood that Fig.13The functions of the computing device 1100A shown in FIG. 1100A may also be completed by multiple computing devices 1100. Similarly, the functions of the computing device 1100B may also be completed by multiple computing devices 1100.

[0173] In this embodiment, a computer program product including instructions is also provided, and the computer program product may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on a computing device, the computing device is caused to execute the method provided above, or the computing device is caused to implement the function of the apparatus provided above.

[0174] In this embodiment, a computer program product including instructions is also provided, and the computer program product may be software or a program product including instructions that can be run on a computing device cluster or stored in any available medium. When the computer program product is run by a computing device cluster, the computing device cluster executes the method provided above, or the computing device cluster implements the function of the apparatus provided above.

[0175] In this embodiment, a computer-readable storage medium is also provided, and the computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state hard disk), etc. The computer-readable storage medium includes instructions, and when the instructions in the computer-readable storage medium are executed on a computing device, the computing device executes the method provided above.

[0176] In this embodiment, a computer-readable storage medium is also provided, and the computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc. The computer-readable storage medium includes instructions, and when the instructions in the computer-readable storage medium are executed by a computing device cluster, the computing device cluster executes the method provided above.

[0177] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0178] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0179] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0180] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0181] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0182] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0183] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for transmitting message traffic, characterized in that: The method is applied to a cloud management platform, the cloud management platform is used to manage infrastructure for providing cloud services, the infrastructure includes a first virtual private cloud VPC and a second VPC, a cloud connection is established between the first VPC and the second VPC, the method includes: Receive configuration information of a tenant, the configuration information including a priority level for a first message flow and a priority level for a second message flow defined by the tenant in the cloud connection, the priority level of the first message flow being higher than the priority level of the second message flow; According to the configuration information, a network quality for transmitting the first message flow is set to be higher than a network quality for transmitting the second message flow.

2. The method according to claim 1, characterized in that The first message traffic is sent by the first VPC to the second VPC through the cloud connection; and / or, The second message traffic is sent from the first VPC to the second VPC through the cloud connection.

3. The method according to claim 1 or 2, characterized in that: The first VPC and the second VPC are set in different regions.

4. The method according to any one of claims 1 to 3, characterized in that The setting, according to the configuration information, that the network quality of the first message flow is higher than the network quality of the second message flow includes: According to the configuration information, a first level identifier is set in the first message flow, and a second level identifier is set in the second message flow, wherein the network quality corresponding to the first level identifier is higher than the network quality corresponding to the second level identifier; The first message flow and the second message flow are transmitted respectively according to the first level identifier and the second level identifier.

5. The method according to claim 4, characterized in that When the first message traffic includes a virtual extended local area network VXLAN header, the first level identifier is carried in at least one of the following: a differentiated services code point DSCP of an inner Internet Protocol IP header of the first message traffic, a DSCP of an outer IP header of the first message traffic, and a reserved field in a VXLAN header of the first message traffic; and / or, When the second packet flow includes a VXLAN header, the second level identifier is carried in at least one of the following items: the DSCP of the inner IP header of the second packet flow, the DSCP of the outer IP header of the second packet flow, and a reserved field in the VXLAN header of the second packet flow.

6. The method according to claim 4 or 5, characterized in that: The transmitting the first message flow and the second message flow respectively according to the first level identifier and the second level identifier includes: Transmitting the first message flow through a first communication line according to the first level identifier; The second message traffic is transmitted through a second communication line according to the second level identifier, and the network quality of the first communication line is higher than the network quality of the second communication line.

7. The method according to any one of claims 1 to 6, characterized in that The first message flow and / or the second message flow is identified by at least one of the following: source IP address, destination IP address, protocol type, service port number, and DSCP of the IP header.

8. The method according to any one of claims 1 to 7, characterized in that The network quality includes at least one of the following: network bandwidth, network reliability, and network transmission speed.

9. The method according to any one of claims 1 to 8, characterized in that The priority level includes at least one of the following: gold, silver, and copper, the priority level of gold being higher than the priority level of silver, and the priority level of silver being higher than the priority level of copper.

10. A message flow transmission device, characterized in that: The device is applied to a cloud management platform, the cloud management platform is used to manage infrastructure for providing cloud services, the infrastructure includes a first virtual private cloud VPC and a second VPC, a cloud connection is established between the first VPC and the second VPC, and the device includes: A receiving module, configured to receive configuration information of a tenant, the configuration information including a priority level for a first message flow and a priority level for a second message flow defined by the tenant in the cloud connection, the priority level of the first message flow being higher than the priority level of the second message flow; A processing module is used to set, according to the configuration information, a network quality for transmitting the first message flow to be higher than a network quality for transmitting the second message flow.

11. The device according to claim 10, characterized in that The first message traffic is sent by the first VPC to the second VPC through the cloud connection; and / or, The second message traffic is sent from the first VPC to the second VPC through the cloud connection.

12. The device according to claim 10 or 11, characterized in that The first VPC and the second VPC are set in different regions.

13. The device according to any one of claims 10 to 12, characterized in that The processing module is specifically used for: According to the configuration information, a first level identifier is set in the first message flow, and a second level identifier is set in the second message flow, wherein the network quality corresponding to the first level identifier is higher than the network quality corresponding to the second level identifier; The first message flow and the second message flow are transmitted respectively according to the first level identifier and the second level identifier.

14. The device according to claim 13, characterized in that When the first message traffic includes a virtual extended local area network VXLAN header, the first level identifier is carried in at least one of the following: a differentiated services code point DSCP of an inner Internet Protocol IP header of the first message traffic, a DSCP of an outer IP header of the first message traffic, and a reserved field in a VXLAN header of the first message traffic; and / or, When the second packet flow includes a VXLAN header, the second level identifier is carried in at least one of the following items: the DSCP of the inner IP header of the second packet flow, the DSCP of the outer IP header of the second packet flow, and a reserved field in the VXLAN header of the second packet flow.

15. The device according to claim 13 or 14, characterized in that The processing module is specifically used for: Transmitting the first message flow through a first communication line according to the first level identifier; The second message traffic is transmitted through a second communication line according to the second level identifier, and the network quality of the first communication line is higher than the network quality of the second communication line.

16. The device according to any one of claims 10 to 15, characterized in that The first message flow and / or the second message flow is identified by at least one of the following: source IP address, destination IP address, protocol type, service port number, and DSCP of the IP header.

17. The device according to any one of claims 10 to 16, characterized in that The network quality includes at least one of the following: network bandwidth, network reliability, and network transmission speed.

18. The method according to any one of claims 10 to 17, characterized in that The priority level includes at least one of the following: gold, silver, and copper, the priority level of gold being higher than the priority level of silver, and the priority level of silver being higher than the priority level of copper.

19. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 9.

20. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device cluster, the computing device cluster is caused to perform the method according to any one of claims 1 to 9.

21. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, and when the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to any one of claims 1 to 9.