Data stream transmission control method, device and equipment based on cloud network

By receiving data packets sent by virtual machines in the cloud network and generating table entries for mapping, the problem of low data transmission performance in the cloud network is solved, multi-path transmission is realized, and data transmission performance is improved.

CN119094433APending Publication Date: 2024-12-06BEIJING VOLCANO ENGINE TECH CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202411155615.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In the cloud network scenario, the existing technology cannot effectively utilize multi-path transmission technology, resulting in poor data transmission performance.

Method used

By receiving data packets sent by the virtual machine, table entries are generated based on the software processing path and sent to the flow table and multi-path table in the hardware processing path, the mapping from the overlay network data flow channel to the physical path is realized, and data packets are forwarded.

Benefits of technology

It improves data transmission performance in cloud network scenarios and realizes multi-path transmission of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094433A_ABST
    Figure CN119094433A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data stream transmission control method, device and equipment based on a cloud network. The method comprises the following steps: receiving a first data packet sent by a virtual machine through an overlay network data stream channel; processing the first data packet based on the software processing path, generating a corresponding first table item and at least two second table items, sending the first table item to a flow table in the hardware processing path, and sending the at least two second table items to a multi-path table in the hardware processing path, and after receiving a second data packet sent by the virtual machine through the overlay network data flow channel, determining a target physical path corresponding to the second data packet according to the flow table and the multi-path table, and forwarding the second data packet based on the target physical path. By setting the flow table and the multi-path table in the hardware processing path, the mapping from the overlay network data flow channel to the physical path is completed, so that the multi-path transmission of the data is realized, and the data transmission performance in the cloud network scene is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of cloud computing technology, and in particular to a method, device and equipment for controlling data flow transmission based on a cloud network. Background Art

[0002] Multipath transmission technology is a data transmission technology that distributes a flow to multiple paths for transmission. Compared with single-path transmission technology, it can more effectively achieve load balancing and improve the overall data transmission performance of the network.

[0003] However, in cloud network scenarios, since data packets need to be processed by an overlay network layer, the multipath transmission technology used in existing technologies for physical networks cannot be applied to cloud network scenarios, resulting in poor data transmission performance in cloud network scenarios. Summary of the invention

[0004] The embodiments of the present disclosure provide a cloud network-based data stream transmission control method, device and equipment to overcome the problem of low data transmission performance in a cloud network scenario.

[0005] In a first aspect, an embodiment of the present disclosure provides a data stream transmission control method based on a cloud network, comprising:

[0006] Receive a first data packet sent by a virtual machine through an overlay network data flow channel; process the first data packet based on a software processing path, generate a corresponding first table entry and at least two second table entries, and send the first table entry to a flow table in a hardware processing path, and send the at least two second table entries to a multipath table in the hardware processing path, wherein the first table entry is used to characterize a mapping relationship between a communication identifier of the overlay network data flow channel and a flow identifier of the overlay network data flow channel, and the second table entry is used to characterize a mapping relationship between a flow identifier of the overlay network data flow channel and a physical path; after receiving a second data packet sent by the virtual machine through the overlay network data flow channel, determine a target physical path corresponding to the second data packet according to the flow table and the multipath table, and forward the second data packet based on the target physical path.

[0007] In a second aspect, an embodiment of the present disclosure provides a data stream transmission control device based on a cloud network, comprising:

[0008] A receiving unit, configured to receive a first data packet sent by the virtual machine through an overlay network data stream channel;

[0009] A processing unit, configured to process the first data packet based on a software processing path, generate a corresponding first table entry and at least two second table entries, and send the first table entry to a flow table in a hardware processing path, and send the at least two second table entries to a multipath table in the hardware processing path, wherein the first table entry is used to characterize a mapping relationship between a communication identifier of the overlay network data flow channel and a flow identifier of the overlay network data flow channel, and the second table entry is used to characterize a mapping relationship between a flow identifier of the overlay network data flow channel and a physical path; after receiving a second data packet sent by the virtual machine through the overlay network data flow channel, determine a target physical path corresponding to the second data packet according to the flow table and the multipath table;

[0010] A sending unit is used to forward the second data packet based on the target physical path.

[0011] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;

[0012] The memory stores computer-executable instructions;

[0013] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the cloud network-based data flow transmission control method as described in the first aspect and various possible designs of the first aspect.

[0014] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the cloud network-based data flow transmission control method as described in the first aspect and various possible designs of the first aspect is implemented.

[0015] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the cloud network-based data flow transmission control method as described in the first aspect and various possible designs of the first aspect.

[0016] The data flow transmission control method, device and equipment based on cloud network provided in this embodiment receive a first data packet sent by a virtual machine through an overlay network data flow channel; process the first data packet based on a software processing path, generate a corresponding first table item and at least two second table items, and send the first table item to a flow table in a hardware processing path, and send the at least two second table items to a multipath table in the hardware processing path, wherein the first table item is used to characterize the mapping relationship between the communication identifier of the overlay network data flow channel and the flow identifier of the overlay network data flow channel, and the second table item is used to characterize the mapping relationship between the flow identifier of the overlay network data flow channel and the physical path; after receiving the second data packet sent by the virtual machine through the overlay network data flow channel, determine the target physical path corresponding to the second data packet according to the flow table and the multipath table, and forward the second data packet based on the target physical path. By setting the flow table and the multipath table in the hardware processing path, the mapping from the overlay network data flow channel to the physical path is completed, thereby realizing multipath transmission of data and improving the data transmission performance in the cloud network scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0018] Figure 1 An application scenario diagram of the cloud network-based data stream transmission control method provided by the embodiment of the present disclosure;

[0019] Figure 2 Schematic diagram of the process of the cloud network-based data flow transmission control method provided in the embodiment of the present disclosure Figure 1 ;

[0020] Figure 3 for Figure 2 A flowchart of a specific implementation method of step S102 in the illustrated embodiment;

[0021] Figure 4 A schematic diagram of a first table item and a second table item provided in an embodiment of the present disclosure;

[0022] Figure 5 Schematic diagram of the process of the cloud network-based data flow transmission control method provided in the embodiment of the present disclosure Figure 2 ;

[0023] Figure 6 for Figure 5A flowchart of a specific implementation method of step S209 in the illustrated embodiment;

[0024] Figure 7 A schematic diagram of the structure of a virtual network device provided in an embodiment of the present disclosure;

[0025] Figure 8 A structural block diagram of a data stream transmission control device based on a cloud network provided by an embodiment of the present disclosure;

[0026] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure;

[0027] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0029] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0030] The application scenarios of the embodiments of the present disclosure are explained below:

[0031] Figure 1An application scenario diagram of a cloud network-based data flow transmission control method provided in an embodiment of the present disclosure, the cloud network-based data flow transmission control method provided in an embodiment of the present disclosure can be applied to virtual network devices in a data center network (cloud network), such as virtual switches, virtual network switches, etc., and the corresponding physical execution subject can be a server or other electronic device running a virtual network device. Among them, in some embodiments, an electronic device or a server can implement the cloud network-based data flow transmission control method provided in an embodiment of the present application by running various computer executable instructions or computer programs. For example, a computer executable instruction can be a program-level command, a machine instruction, or a software instruction. The computer program can be a native program or software module in the operating system; it can be a local application, that is, a program that needs to be installed in the operating system to run, or it can be a program that runs based on a browser environment. In summary, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form, and the specific implementation form can be configured as needed. Furthermore, in some embodiments, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud storage, cloud communications, cloud databases, cloud computing, cloud functions, network services, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0032] refer to Figure 1 As shown in , in the application scenario of cloud network, virtual machines VM1-1 and VM1-2 are created by host machine Host1, and virtual machines VM2-1 and VM2-2 are created by host machine Host2. When virtual machines VM1-1 and VM1-2 in host machine Host1 communicate with virtual machines VM2-1 and VM2-2 in host machine Host2, data is sent to the physical path through the virtual network device vSwitch for data transmission. For example, a data packet sent from virtual machine VM1-1 is forwarded by the network device vSwitch and sent to the physical path sport_1, and then transmitted to host machine Host2 through the physical path sport_1, and then reaches the target location, such as virtual machine VM2-2.

[0033] In the prior art, since the cloud network abstracts an independent plane, namely the overlay network layer, directly dispersing a data flow into multiple data flows in the overlay network layer does not affect the single-path transmission mode of the physical network layer link, resulting in the hot spots of the physical network not being reduced and the end-to-end transmission performance not being improved. The multi-path transmission technology for the physical network in the prior art cannot be applied to the cloud network scenario, resulting in the problem of low data transmission performance in the cloud network scenario. The disclosed embodiment provides a data flow transmission control method based on a cloud network to solve the above problems.

[0034] refer to Figure 2 , Figure 2 Schematic diagram of the process of the cloud network-based data flow transmission control method provided in the embodiment of the present disclosure Figure 1 The method of this embodiment can be applied in a virtual network device. The cloud network-based data flow transmission control method includes:

[0035] Step S101: receiving a first data packet sent by a virtual machine through an overlay network data flow channel.

[0036] Step S102: Process the first data packet based on the software processing path, generate a corresponding first table entry and at least two second table entries, and send the first table entry to the flow table in the hardware processing path, and send at least two second table entries to the multi-path table in the hardware processing path, wherein the first table entry is used to characterize the mapping relationship between the communication identifier of the overlay network data flow channel and the flow identifier of the overlay network data flow channel, and the second table entry is used to characterize the mapping relationship between the flow identifier of the overlay network data flow channel and the physical path, and the communication identifier is used to uniquely identify a set of end-to-end network communications.

[0037] For example, reference Figure 1In the schematic diagram of the application scenario shown, the virtual network device is, for example, a virtual switch. When the virtual machine communicates with the outside, a corresponding data packet, i.e., a first data packet, is sent to the virtual network device. The virtual network device is composed of a software processing path and a hardware processing path. The software processing path includes a corresponding software module, and the hardware processing path includes a corresponding hardware module, which is respectively used to process and forward the data packet accordingly. Specifically, the virtual network device first receives the first data packet sent by the virtual machine through the overlay network data flow channel (overlay flow) through the hardware module on the hardware processing path. After that, if the first data packet is the first data packet of the above data flow (flow), the data packet is sent to the software processing path to process the first data packet, and then a first table entry and at least two second table entries are generated, wherein the first table entry is used to characterize the mapping relationship between the communication identifier of the overlay network data flow channel and the flow identifier of the overlay network data flow channel, and the second table entry is used to characterize the mapping relationship between the flow identifier of the overlay network data flow channel and the physical path. Wherein, the communication identifier is used to uniquely identify a group of end-to-end network communications. In a possible implementation, the communication identifier is, for example, a 5-tuple.

[0038] The software processing path includes multiple functional modules. In a possible implementation, the software processing path is provided with a security group (Security Group, SG) module, a virtual routing table (Virtual Routing Table, VRT) module, a quality of service (Quality of Service, QoS) module and a virtual machine location table (VM Location Table, VLT) module in sequence. In a possible implementation, Figure 3 As shown, the specific implementation of step S102 includes:

[0039] Step S1021: After the first data packet is processed in sequence by the security group module, the virtual routing table module, and the quality of service module, a first table entry is generated;

[0040] Step S1022: After the first data packet processed by the quality of service module is processed by the virtual machine location table module, the at least two second table entries are generated.

[0041] Exemplarily, after the first data packet is sent to the software processing path, it is first processed by the security group module, the virtual routing table module, and the service quality module in sequence, wherein the security group module is a functional module for managing network security in a cloud computing environment, which contains a set of rules for controlling network traffic entering or leaving a virtual network instance. The virtual routing table module is a module for controlling virtual routing forwarding rules, which can realize functions such as building a virtual private network and distinguishing routing tables for different business flows. The service quality module is a technical component for managing network bandwidth and optimizing network performance. The service quality module ensures the reasonable allocation and efficient utilization of network resources through different mechanisms, thereby meeting the different requirements of various applications for network performance parameters such as delay, jitter, bandwidth and packet loss rate. The virtual machine location table (VM Location Table, VLT) module is a module for storing address information corresponding to physical machines. The above-mentioned functional modules are all technical solutions that have been implemented in the prior art, and their implementation methods will not be repeated this time. In the steps of this embodiment, after the first data packet is processed by the security group module, the virtual routing table module, and the service quality module in sequence, a new table entry (table entry) is formed by recording the corresponding actions of each module and assembling them, namely the first table entry, and then the first table entry is sent to the flow table (flow table) corresponding to the virtual machine in the hardware processing path for storage. When the table entry is hit later, the corresponding action can be directly executed to forward data, thereby improving efficiency. On the other hand, after the service quality module completes the processing, the virtual machine location table module continues to process the first data packet. After reaching the virtual machine location table module, N table entries, namely the second table entry, are generated and sent to the multipath table (multipathtable), and the second table entry records the mapping of the superimposed network data flow channel to the corresponding physical path. Among them, exemplarily, the first table entry is used to characterize the mapping relationship between the communication identifier of the overlay network data flow channel and the flow identifier of the overlay network data flow channel, and the second table entry is used to characterize the mapping relationship between the flow identifier of the overlay network data flow channel and the physical path. Therefore, through the relationship between the first table entry and the second table entry, the mapping from the communication identifier of the overlay network data flow channel to the physical path can be completed.

[0042] Furthermore, in a possible implementation, the first table item includes a first matching key and a corresponding first key value, the first matching key is used to record the communication identifier of the overlay network data flow channel, and the first key value is used to record the flow identifier of the overlay network data flow channel and the execution actions of the security group module, the virtual routing table module, and the quality of service module. The second table item includes a second matching key and a corresponding second key value, the second matching key is used to record the flow identifier and the logical path identifier of the overlay network data flow channel, and the second key value is used to record the five-tuple information of the physical path. Furthermore, the communication identifier includes a source address, a destination address, a destination port number, and a source port number, wherein the source address and the destination address are the network addresses of the source host and the destination host, the destination port number is the port number of the Virtual Extensible Local Area Network (VXLAN) protocol, and the source port number is N randomly generated port numbers, and N is the number of second table items.

[0043] Figure 4 A schematic diagram of a first table item and a second table item provided in an embodiment of the present disclosure is shown below in combination with Figure 4 The process of generating the first table entry and the second table entry is introduced as shown. For example, first, after the data packet D1 enters the hardware processing path, it is first searched based on the flow table in the hardware processing path. The table entries in the flow table are composed of matching keys and key values. When the data packet D1 does not hit any table entry in the flow table, the data packet D1 is sent to the software processing path, and processed in sequence by the security group module (SG), virtual routing table module (VRT), and quality of service module (QoS) in the software processing path. After the quality of service module is processed, it is assembled into the corresponding first table entry, that is, the table entry fb_1 shown in the figure, and recorded in the flow table in the hardware processing path. Among them, the matching key of fb_1 is the five-tuple T1, and the corresponding key value is the flow identifier flow_id_1 of the superimposed network data flow channel and the execution actions of the security group module, virtual routing table module, and quality of service module. In the figure, others are omitted, that is, the first matching key and the corresponding first key value.

[0044] After that, after passing through the virtual machine location table module (VLT), multiple second table entries, namely, table entries fb_2(1), fb_2(2) and the like shown in the figure are written into the multipath table in the hardware processing path. Among them, the matching key of the second table entry is the flow identifier flow_id_1 and the logical path identifier of the overlay network data flow channel, such as path_1, path_2, etc. The logical path identifier represents the logical channel for receiving data packets, and each second table entry corresponds to one. The key value corresponding to the second table entry is the five-tuple information of the physical path and the physical sending port (sport), wherein the source and destination addresses in the five-tuple information are the source and destination host addresses (host ip) respectively, the destination port number is fixed to the port number of the VXLAN protocol, and the source port number is a randomly generated n port number. The physical sending port corresponds to the logical path identifier one by one, and the five-tuple information is abbreviated as others. The physical sending port includes, for example, N port numbers such as SPort_1 and SPort_2 shown in the figure.

[0045] Step S103: after receiving the second data packet sent by the virtual machine through the overlay network data flow channel, determine the target physical path corresponding to the second data packet according to the flow table and the multipath table, and forward the second data packet based on the target physical path.

[0046] Exemplarily, after the above steps, after the first table entry and the second table entry are generated in the flow table and the multipath table of the hardware processing path respectively, when the data packet sent by the virtual machine through the same overlay network data flow channel, i.e., the second data packet, is received again, the virtual network device can quickly process the second data packet based on the above flow table and the multipath table, determine the target physical path matching the second data packet, and forward the second data packet based on the target physical path, so as to realize the multipath transmission of the data packet in the same overlay network data flow channel. Specifically, for example, after receiving the second data packet, first obtain the communication identifier of the overlay network data flow channel corresponding to the second data packet, then retrieve the table entry in the flow table of the hardware processing path, and after matching the table entry, such as the first table entry generated in the previous step, obtain the corresponding flow identifier according to the first table entry; then, retrieve the multipath table according to the flow identifier, obtain the second table entry that hits the flow identifier from the multipath table, and obtain the corresponding target physical path according to the mapping relationship represented by the second table entry, so as to realize the forwarding of the second data packet based on the target physical path.

[0047] In this embodiment, a first data packet sent by a virtual machine through an overlay network data flow channel is received; the first data packet is processed based on a software processing path, a corresponding first table entry and at least two second table entries are generated, and the first table entry is sent to a flow table in a hardware processing path, and at least two second table entries are sent to a multipath table in the hardware processing path, wherein the first table entry is used to characterize the mapping relationship between the communication identifier of the overlay network data flow channel and the flow identifier of the overlay network data flow channel, and the second table entry is used to characterize the mapping relationship between the flow identifier of the overlay network data flow channel and the physical path; after receiving a second data packet sent by the virtual machine through the overlay network data flow channel, the target physical path corresponding to the second data packet is determined according to the flow table and the multipath table, and the second data packet is forwarded based on the target physical path. By setting the flow table and the multipath table in the hardware processing path, the mapping from the overlay network data flow channel to the physical path is completed, thereby realizing multipath transmission of data and improving the data transmission performance in the cloud network scenario.

[0048] refer to Figure 5 , Figure 5 Schematic diagram of the process of the cloud network-based data flow transmission control method provided in the embodiment of the present disclosure Figure 2 In this embodiment Figure 2 On the basis of the illustrated embodiment, step S103 is further refined, and the cloud network-based data stream transmission control method includes:

[0049] Step S201: receiving a first data packet sent by a virtual machine through an overlay network data flow channel.

[0050] Step S202: Process the first data packet based on the software processing path, generate a corresponding first table entry and at least two second table entries, and send the first table entry to the flow table in the hardware processing path, and send at least two second table entries to the multi-path table in the hardware processing path, wherein the first table entry is used to characterize the mapping relationship between the communication identifier of the overlay network data flow channel and the flow identifier of the overlay network data flow channel, and the second table entry is used to characterize the mapping relationship between the flow identifier of the overlay network data flow channel and the physical path.

[0051] Step S203: receiving a second data packet sent by the virtual machine through the overlay network data stream channel.

[0052] Step S204: Detect the second data packet through the flow table in the hardware processing path to obtain a detection result.

[0053] Exemplarily, after receiving the second data packet sent by the virtual machine through the overlay network data flow channel, the virtual network device processes the second data packet by using the same steps as those for processing the first data packet. Specifically, in this embodiment, the virtual network device first performs a hit detection on the second data packet through the table entry in the flow table to obtain a detection result, and the detection result indicates whether the second data packet hits the table entry in the flow table, more specifically, whether the communication identifier of the overlay network data flow channel corresponding to the second data packet hits the matching key in the table entry. Based on the introduction in the previous embodiment, the matching key of the first table entry stored in the flow table is the communication identifier of the overlay network data flow channel corresponding to the first data packet. Therefore, if the five-tuple information corresponding to the second data packet is the same as the matching key of a table entry, it is a hit, otherwise it is not a hit.

[0054] Step S205: According to the detection result, if the second data packet does not hit any entry in the flow table, the second data packet is processed through the software processing path to generate corresponding third and fourth entries, and the second data packet is directly forwarded through the software processing path.

[0055] Further, according to the inspection result, if the second data packet does not hit any entry in the flow table, use Figure 2 In the embodiment shown, the steps of processing the first data packet, processing the second data packet, generating corresponding third and fourth table entries, and recording them in the corresponding flow table and multipath table respectively, the third table entry is equivalent to the first table entry generated based on the first data packet, and the fourth table entry is equivalent to the second table entry generated based on the first data packet. The specific implementation method can be found in Figure 2 The corresponding steps in the illustrated embodiment will not be described in detail here. Further, after the corresponding third table entry and fourth table entry are generated through the software processing path, the second data packet can be directly forwarded through the hardware processing path. The specific implementation process is the existing technology and will not be described in detail here.

[0056] Step S206: According to the detection result, if the second data packet hits the first entry in the flow table, a corresponding target flow identifier is obtained according to the first entry.

[0057] Step S207: input the target flow identifier and the second data packet into the scheduling module, and generate a corresponding target logical path identifier through the scheduling module.

[0058] Step S208: searching the multipath table through the target logical path identifier and the target flow identifier to obtain the corresponding second table entry, and determining the target physical path based on the physical path corresponding to the second table entry.

[0059] Exemplarily, in another possible case, if the second data packet hits the first table item in the flow table, the corresponding target physical path can be quickly obtained according to the first table item, and data forwarding is performed. Specifically, first, if the second data packet hits the first table item in the flow table, that is, the five-tuple information recorded in the first matching key of the first table item is consistent with the five-tuple information corresponding to the second data packet, then the first key value of the first table item is obtained, that is, the flow identifier of the superimposed network data flow channel and the execution action of the security group module, the virtual routing table module, and the quality of service module. After that, the target flow identifier and the second data packet are input into the scheduling module, and the scheduling module will generate the first corresponding target logical path identifier for the second data packet according to the current data transmission speed of each logical path and the preset scheduling strategy. After that, the multipath table is retrieved through the target logical path identifier and the target flow identifier, and the table item with the matching key of <target flow identifier, target logical path identifier>, that is, the second table item, can be queried. Further, according to the key value of the second table item, the corresponding target physical path is obtained.

[0060] Step S209: forwarding the second data packet based on the target physical path.

[0061] After determining the target physical path, the virtual network device forwards the second data packet based on the target physical path. The physical path may be composed of information such as a network address and a port. For example, Figure 6 As shown, the specific implementation of step S209 includes:

[0062] Step S2091: based on the second table entry, obtain the five-tuple information corresponding to the target physical path;

[0063] Step S2092: encapsulating the virtual extensible local area network protocol header field of the second data packet based on the five-tuple information to obtain encapsulated data;

[0064] Step S2093: sending the encapsulated data, the target flow identifier and the target logical path identifier to the congestion control module, and forwarding the second data packet to the target physical path based on the target rate through the congestion control module.

[0065] Exemplarily, a congestion control module is deployed in the virtual network device, and the second data packet is forwarded by the congestion control module. Specifically, first, based on the key value of the second table item, the five-tuple information of the target physical path and the physical sending port are described, and the virtual extensible local area network protocol header field of the second data packet is encapsulated based on the five-tuple information and the physical sending port to obtain encapsulated data, and then the encapsulated data, as well as the target flow identifier and the target logical path identifier are sent to the congestion control module, and the congestion control module completes the data forwarding.

[0066] Optionally, this embodiment also includes:

[0067] Step S210A: Send configuration information to the scheduling module through the congestion control module, where the configuration information is used to characterize the data transmission rate and / or the physical path.

[0068] Step S210B: the scheduling module sets a target rate for forwarding the second data packet according to the configuration information, and / or modifies the physical path corresponding to the second entry.

[0069] Exemplarily, the congestion control module marks a data flow through a target flow identifier and a target logical path identifier. In addition to completing the data flow transmission control based on the cloud network, the congestion control module calculates the data transmission rate allowed at the next moment and whether it is necessary to change a physical sending port through a congestion control (congestion control and / or repath) algorithm, that is, generates configuration information and returns the configuration information to the scheduling module. Afterwards, the scheduling module sets the target rate when forwarding the second data packet according to the configuration information, and / or modifies the physical path corresponding to the second table entry, thereby realizing the setting of the target rate when the congestion control module sends data and the specific physical sending port.

[0070] Figure 7 A schematic diagram of a virtual network device provided in an embodiment of the present disclosure is shown below. Figure 7Further introduction to the above process, illustratively, the virtual network device includes a software processing path and a hardware processing path, and the software processing path includes an SG module, a VRT module, a QoS module and a VLT module that are executed in sequence. The specific implementation of the above functional modules has been described in detail in the previous embodiment, and will not be repeated here. In the hardware processing path, a flow table, a scheduling module, a multipath table and a congestion control module are included. First, after receiving a data packet sent by a virtual machine through an overlay network data flow channel, the flow table is used for detection. If the data packet does not hit an entry in the flow table (shown as n path in the figure), the data packet will enter the software processing path, and after executing each function (such as SG, VRT, QoS, VLT shown in the figure) in sequence, data forwarding is performed directly. At the same time, the first entry and the second entry are recorded in the flow table and the multipath table. After that, after receiving the data packet sent by the same overlay network data flow channel, the matching key query with the five-tuple T1 will hit the table entry of the flow table (shown as path y in the figure), and the flow identifier (flow_id_1) is obtained by looking up the table entry, and then the flow identifier and the data packet are input into the scheduling module together. After that, on the one hand, if the scheduling module receives the data packet, a corresponding logical path identifier (for example, path_1, path_2) is generated according to the data transmission rate (rate) and scheduling strategy of each logical path; on the other hand, if the scheduling module receives the configuration information sent by the congestion control module, the corresponding data transmission rate is updated, and / or the physical sending port is written into the corresponding table entry in the multipath table to complete the configuration update (i.e. path switching, target rate control). After that, the data packet is encapsulated, and the five-tuple information recorded in the table entry in the multipath table that is hit by <flow identifier, logical path identifier> (identified by others in the figure) and the physical sending port (such as SPort_1, SPort_2) are encapsulated into the data header field (i.e., encap VXLAN header). The five-tuple information of the VXLAN header is the five-tuple information in the table entry that has been hit in the multipath table. Finally, the encapsulated data packet, flow identifier, and virtual path identifier are input into the congestion control module together. The congestion control module marks a data flow through the flow identifier and the virtual path identifier. In addition to completing the data flow transmission control based on the cloud network, the module uses the congestion control algorithm to calculate the data transmission rate allowed at the next moment, and whether it is necessary to change a physical sending port, and returns this configuration information to the scheduling module.

[0071] In this embodiment, through the above-mentioned settings and data processing steps, multi-physical path transmission of data packets is achieved, thereby improving the data transmission performance and system stability of the data center network in the cloud network scenario.

[0072] Corresponding to the cloud network-based data stream transmission control method of the above embodiment, Figure 8 A block diagram of the structure of a cloud network-based data stream transmission control device provided in an embodiment of the present disclosure. The method described in the above embodiment can be executed by the cloud network-based data stream transmission control device, which can be implemented by software and / or hardware, and can be integrated in an electronic device with certain data processing functions. Among them, the electronic device can include but is not limited to mobile terminals with big data processing capabilities, as well as fixed terminals with big data processing capabilities such as desktop computers and supercomputers.

[0073] For the sake of convenience, only the parts related to the embodiments of the present disclosure are shown. Figure 8 , the data stream transmission control device 3 based on the cloud network includes:

[0074] A receiving unit 31, configured to receive a first data packet sent by the virtual machine through an overlay network data stream channel;

[0075] A processing unit 32 is used to process a first data packet based on a software processing path, generate a corresponding first table entry and at least two second table entries, and send the first table entry to a flow table in a hardware processing path, and send at least two second table entries to a multipath table in the hardware processing path, wherein the first table entry is used to characterize a mapping relationship between a communication identifier of an overlay network data flow channel and a flow identifier of the overlay network data flow channel, and the second table entry is used to characterize a mapping relationship between a flow identifier of the overlay network data flow channel and a physical path; after receiving a second data packet sent by the virtual machine through the overlay network data flow channel, determine a target physical path corresponding to the second data packet according to the flow table and the multipath table;

[0076] The sending unit 33 is configured to forward the second data packet based on the target physical path.

[0077] According to one or more embodiments of the present disclosure, a software processing path is provided with a security group module, a virtual routing table module, a service quality module and a virtual machine location table module in sequence. When the processing unit 32 processes a first data packet based on the software processing path and generates corresponding first table items and second table items, it is specifically used for: generating a first table item after processing the first data packet in sequence through the security group module, the virtual routing table module and the service quality module; generating the at least two second table items after processing the first data packet processed by the service quality module through the virtual machine location table module.

[0078] According to one or more embodiments of the present disclosure, the first table entry includes a first matching key and a corresponding first key value, the first matching key is used to record the communication identifier of the overlay network data flow channel, and the first key value is used to record the flow identifier of the overlay network data flow channel and the execution actions of the security group module, the virtual routing table module, and the quality of service module.

[0079] According to one or more embodiments of the present disclosure, the second table entry includes a second matching key and a corresponding second key value, the second matching key is used to record the flow identifier and logical path identifier of the overlay network data flow channel, and the second key value is used to record the physical path.

[0080] According to one or more embodiments of the present disclosure, the communication identifier includes a source address, a destination address, a destination port number and a source port number, wherein the source address and the destination address are the network addresses of the source host machine and the destination host machine, the destination port number is the port number of the VXLAN protocol, and the source port number is N randomly generated port numbers, where N is the number of second table entries.

[0081] According to one or more embodiments of the present disclosure, when the processing unit 32 determines the target physical path corresponding to the second data packet according to the flow table and the multi-path table, it is specifically used to: detect the second data packet through the flow table in the hardware processing path, if the second data packet hits the first table entry in the flow table, then obtain the corresponding target flow identifier according to the first table entry; input the target flow identifier and the second data packet into the scheduling module, and generate the corresponding target logical path identifier through the scheduling module; retrieve the multi-path table through the target logical path identifier and the target flow identifier, obtain the corresponding second table entry, and determine the target physical path based on the physical path corresponding to the second table entry.

[0082] According to one or more embodiments of the present disclosure, the processing unit 32 is also used to: if the second data packet does not hit the first table entry in the flow table, process the second data packet through the software processing path, generate corresponding third and fourth table entries, and directly forward the second data packet through the software processing path.

[0083] According to one or more embodiments of the present disclosure, when forwarding a second data packet based on a target physical path, the processing unit 32 is specifically used to: obtain, based on a second table entry, five-tuple information corresponding to the target physical path; encapsulate the virtual extensible local area network protocol header field of the second data packet based on the five-tuple information to obtain encapsulated data; send the encapsulated data, the target flow identifier, and the target logical path identifier to the congestion control module, and forward the second data packet to the target physical path based on the target rate through the congestion control module.

[0084] According to one or more embodiments of the present disclosure, the processing unit 32 is also used to: send configuration information to the scheduling module through the congestion control module, the configuration information is used to characterize the data transmission rate and / or physical path; the scheduling module sets the target rate when forwarding the second data packet according to the configuration information, and / or modifies the physical path corresponding to the second table entry.

[0085] The receiving unit 31, the processing unit 32 and the sending unit 33 are connected in sequence. The cloud network-based data stream transmission control device 3 provided in this embodiment can execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated in this embodiment.

[0086] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure is shown in FIG. Fig. 9 As shown, the electronic device 4 includes:

[0087] A processor 41, and a memory 42 communicatively connected to the processor 41;

[0088] The memory 42 stores computer executable instructions;

[0089] The processor 41 executes the computer execution instructions stored in the memory 42 to implement the following Figure 2-Figure 7 A cloud network-based data stream transmission control method in the illustrated embodiment.

[0090] Optionally, the processor 41 and the memory 42 are connected via a bus 43 .

[0091] For related instructions, please refer to Figure 2-Figure 7 The relevant descriptions and effects corresponding to the steps in the corresponding embodiments can be understood, and no further elaboration is made here.

[0092] The present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which are used to implement the present invention when executed by a processor. Figure 2-Figure 7 A cloud network-based data stream transmission control method is provided in any one of the corresponding embodiments.

[0093] The present invention provides a computer program product, including a computer program. When the computer program is executed by a processor, the present invention is realized. Figure 2-Figure 7 A cloud network-based data stream transmission control method is provided in any one of the corresponding embodiments.

[0094] In order to implement the above embodiment, the embodiment of the present disclosure also provides an electronic device.

[0095] refer to Fig.10, which shows a schematic diagram of the structure of an electronic device 900 suitable for implementing the embodiment of the present disclosure, and the electronic device 900 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.10 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0096] like Fig.10 As shown, the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 to a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0097] Typically, the following devices may be connected to the I / O interface 905: input devices 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 908 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.10 The electronic device 900 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0098] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0099] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0100] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0101] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

[0102] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0103] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0104] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit or module does not, in some cases, constitute a limitation on the unit itself.

[0105] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0106] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0107] In a first aspect, according to one or more embodiments of the present disclosure, a data stream transmission control method based on a cloud network is provided, comprising:

[0108] Receive a first data packet sent by a virtual machine through an overlay network data flow channel; process the first data packet based on a software processing path, generate a corresponding first table entry and at least two second table entries, and send the first table entry to a flow table in a hardware processing path, and send the at least two second table entries to a multipath table in the hardware processing path, wherein the first table entry is used to characterize a mapping relationship between a communication identifier of the overlay network data flow channel and a flow identifier of the overlay network data flow channel, and the second table entry is used to characterize a mapping relationship between a flow identifier of the overlay network data flow channel and a physical path; after receiving a second data packet sent by the virtual machine through the overlay network data flow channel, determine a target physical path corresponding to the second data packet according to the flow table and the multipath table, and forward the second data packet based on the target physical path.

[0109] According to one or more embodiments of the present disclosure, the software processing path is provided with a security group module, a virtual routing table module, a service quality module and a virtual machine location table module in sequence, and the first data packet is processed based on the software processing path to generate corresponding first table items and second table items, including: after the first data packet is processed in sequence by the security group module, the virtual routing table module and the service quality module, a first table item is generated; after the first data packet processed by the service quality module is processed by the virtual machine location table module, the at least two second table items are generated.

[0110] According to one or more embodiments of the present disclosure, the first table entry includes a first matching key and a corresponding first key value, the first matching key is used to record the communication identifier of the overlay network data flow channel, and the first key value is used to record the flow identifier of the overlay network data flow channel and the execution actions of the security group module, the virtual routing table module, and the quality of service module.

[0111] According to one or more embodiments of the present disclosure, the second table entry includes a second matching key and a corresponding second key value, the second matching key is used to record the flow identifier and logical path identifier of the overlay network data flow channel, and the second key value is used to record the physical path.

[0112] According to one or more embodiments of the present disclosure, the communication identifier includes a source address, a destination address, a destination port number and a source port number, wherein the source address and the destination address are the network addresses of the source host machine and the destination host machine, the destination port number is the port number of the VXLAN protocol, and the source port number is N randomly generated port numbers, where N is the number of second table entries.

[0113] According to one or more embodiments of the present disclosure, determining the target physical path corresponding to the second data packet according to the flow table and the multi-path table includes: detecting the second data packet through the flow table in the hardware processing path, and if the second data packet hits the first table entry in the flow table, obtaining the corresponding target flow identifier according to the first table entry; inputting the target flow identifier and the second data packet into a scheduling module, and generating a corresponding target logical path identifier through the scheduling module; retrieving the multi-path table through the target logical path identifier and the target flow identifier, obtaining the corresponding second table entry, and determining the target physical path based on the physical path corresponding to the second table entry.

[0114] According to one or more embodiments of the present disclosure, the method also includes: if the second data packet does not hit the first table entry in the flow table, processing the second data packet through a software processing path, generating corresponding third and fourth table entries, and directly forwarding the second data packet through the software processing path.

[0115] According to one or more embodiments of the present disclosure, forwarding the second data packet based on the target physical path includes: obtaining five-tuple information corresponding to the target physical path based on the second table entry; encapsulating the virtual extensible local area network protocol header field of the second data packet based on the five-tuple information to obtain encapsulated data; sending the encapsulated data, the target flow identifier and the target logical path identifier to a congestion control module, and forwarding the second data packet to the target physical path based on the target rate through the congestion control module.

[0116] According to one or more embodiments of the present disclosure, the method further includes: sending configuration information to the scheduling module through the congestion control module, wherein the configuration information is used to characterize the data transmission rate and / or the physical path; the scheduling module sets the target rate when forwarding the second data packet according to the configuration information, and / or modifies the physical path corresponding to the second table entry.

[0117] In a second aspect, according to one or more embodiments of the present disclosure, a cloud network-based data stream transmission control device is provided, comprising:

[0118] A receiving unit, configured to receive a first data packet sent by the virtual machine through an overlay network data stream channel;

[0119] A processing unit, configured to process the first data packet based on a software processing path, generate a corresponding first table entry and at least two second table entries, and send the first table entry to a flow table in a hardware processing path, and send the at least two second table entries to a multipath table in the hardware processing path, wherein the first table entry is used to characterize a mapping relationship between a communication identifier of the overlay network data flow channel and a flow identifier of the overlay network data flow channel, and the second table entry is used to characterize a mapping relationship between a flow identifier of the overlay network data flow channel and a physical path; after receiving a second data packet sent by the virtual machine through the overlay network data flow channel, determine a target physical path corresponding to the second data packet according to the flow table and the multipath table;

[0120] A sending unit is used to forward the second data packet based on the target physical path.

[0121] According to one or more embodiments of the present disclosure, the software processing path is provided with a security group module, a virtual routing table module, a service quality module and a virtual machine location table module in sequence. When the processing unit processes the first data packet based on the software processing path and generates the corresponding first table item and second table item, it is specifically used for: generating the first table item after processing the first data packet in sequence through the security group module, the virtual routing table module and the service quality module; generating the at least two second table items after processing the first data packet processed by the service quality module through the virtual machine location table module.

[0122] According to one or more embodiments of the present disclosure, the first table entry includes a first matching key and a corresponding first key value, the first matching key is used to record the communication identifier of the overlay network data flow channel, and the first key value is used to record the flow identifier of the overlay network data flow channel and the execution actions of the security group module, the virtual routing table module, and the quality of service module.

[0123] According to one or more embodiments of the present disclosure, the second table entry includes a second matching key and a corresponding second key value, the second matching key is used to record the flow identifier and logical path identifier of the overlay network data flow channel, and the second key value is used to record the physical path.

[0124] According to one or more embodiments of the present disclosure, the communication identifier includes a source address, a destination address, a destination port number and a source port number, wherein the source address and the destination address are the network addresses of the source host machine and the destination host machine, the destination port number is the port number of the VXLAN protocol, and the source port number is N randomly generated port numbers, where N is the number of second table entries.

[0125] According to one or more embodiments of the present disclosure, when the processing unit determines the target physical path corresponding to the second data packet according to the flow table and the multi-path table, it is specifically used to: detect the second data packet through the flow table in the hardware processing path, and if the second data packet hits the first table entry in the flow table, obtain the corresponding target flow identifier according to the first table entry; input the target flow identifier and the second data packet into the scheduling module, and generate the corresponding target logical path identifier through the scheduling module; retrieve the multi-path table through the target logical path identifier and the target flow identifier, obtain the corresponding second table entry, and determine the target physical path based on the physical path corresponding to the second table entry.

[0126] According to one or more embodiments of the present disclosure, the processing unit is also used to: if the second data packet does not hit the first table entry in the flow table, process the second data packet through the software processing path, generate corresponding third table entry and fourth table entry, and directly forward the second data packet through the software processing path.

[0127] According to one or more embodiments of the present disclosure, when the processing unit forwards the second data packet based on the target physical path, it is specifically used to: obtain the five-tuple information corresponding to the target physical path based on the second table entry; encapsulate the virtual extensible local area network protocol header field of the second data packet based on the five-tuple information to obtain encapsulated data; send the encapsulated data, the target flow identifier and the target logical path identifier to the congestion control module, and forward the second data packet to the target physical path based on the target rate through the congestion control module.

[0128] According to one or more embodiments of the present disclosure, the processing unit is also used to: send configuration information to the scheduling module through the congestion control module, and the configuration information is used to characterize the data transmission rate and / or physical path; the scheduling module sets the target rate when forwarding the second data packet according to the configuration information, and / or modifies the physical path corresponding to the second table entry.

[0129] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: at least one processor and a memory;

[0130] The memory stores computer-executable instructions;

[0131] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the cloud network-based data flow transmission control method as described in the first aspect and various possible designs of the first aspect.

[0132] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the cloud network-based data flow transmission control method as described in the first aspect and various possible designs of the first aspect is implemented.

[0133] In a fifth aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the cloud network-based data flow transmission control method as described in the first aspect and various possible designs of the first aspect.

[0134] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0135] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0136] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A data stream transmission control method based on a cloud network, characterized in that: include: receiving a first data packet sent by the virtual machine through an overlay network data stream channel; Processing the first data packet based on the software processing path, generating a corresponding first table entry and at least two second table entries, and sending the first table entry to a flow table in the hardware processing path, and sending the at least two second table entries to a multipath table in the hardware processing path, wherein the first table entry is used to characterize a mapping relationship between a communication identifier of the overlay network data flow channel and a flow identifier of the overlay network data flow channel, the second table entry is used to characterize a mapping relationship between the flow identifier of the overlay network data flow channel and a physical path, and the communication identifier is used to uniquely identify a group of end-to-end network communications; After receiving a second data packet sent by the virtual machine through the overlay network data flow channel, a target physical path corresponding to the second data packet is determined according to the flow table and the multipath table, and the second data packet is forwarded based on the target physical path.

2. The method according to claim 1, characterized in that The software processing path is provided with a security group module, a virtual routing table module, a service quality module and a virtual machine location table module in sequence, and the first data packet is processed based on the software processing path to generate a corresponding first table entry and at least two second table entries, including: After the first data packet is processed in sequence by the security group module, the virtual routing table module, and the quality of service module, a first table entry is generated; After the first data packet processed by the quality of service module is processed by the virtual machine location table module, the at least two second table entries are generated.

3. The method according to claim 2, characterized in that The first table entry includes a first matching key and a corresponding first key value, the first matching key is used to record the communication identifier of the overlay network data flow channel, and the first key value is used to record the flow identifier of the overlay network data flow channel and the execution actions of the security group module, the virtual routing table module, and the quality of service module.

4. The method according to claim 2, characterized in that: The second table entry includes a second matching key and a corresponding second key value, the second matching key is used to record the flow identifier and the logical path identifier of the overlay network data flow channel, and the second key value is used to record the physical path.

5. The method according to claim 4, characterized in that The communication identifier includes a source address, a destination address, a destination port number and a source port number, wherein the source address and the destination address are the network addresses of the source host machine and the destination host machine, the destination port number is the port number of the VXLAN protocol, and the source port number is N randomly generated port numbers, where N is the number of second table entries.

6. The method according to claim 1, characterized in that The determining, according to the flow table and the multipath table, a target physical path corresponding to the second data packet includes: Detecting the second data packet through the flow table in the hardware processing path, and if the second data packet hits a first table entry in the flow table, obtaining a corresponding target flow identifier according to the first table entry; Inputting the target flow identifier and the second data packet into a scheduling module, and generating a corresponding target logical path identifier through the scheduling module; The multipath table is retrieved through the target logical path identifier and the target flow identifier to obtain a corresponding second table entry, and the target physical path is determined based on the physical path corresponding to the second table entry.

7. The method according to claim 6, characterized in that The method further comprises: If the second data packet does not hit the first entry in the flow table, the second data packet is processed through the software processing path to generate corresponding third and fourth entries, and the second data packet is directly forwarded through the software processing path.

8. The method according to claim 6, characterized in that The forwarding the second data packet based on the target physical path includes: Based on the second table entry, obtaining five-tuple information corresponding to the target physical path; Encapsulate the virtual extensible local area network protocol header field of the second data packet based on the five-tuple information to obtain encapsulated data; The encapsulated data, the target flow identifier and the target logical path identifier are sent to a congestion control module, and the congestion control module forwards the second data packet to the target physical path based on a target rate.

9. The method according to claim 8, characterized in that The method further comprises: Sending configuration information to the scheduling module through the congestion control module, where the configuration information is used to characterize the data transmission rate and / or the physical path; The scheduling module sets a target rate when forwarding the second data packet according to the configuration information, and / or modifies a physical path corresponding to the second table entry.

10. A data stream transmission control device based on a cloud network, characterized in that: include: A receiving unit, configured to receive a first data packet sent by the virtual machine through an overlay network data stream channel; A processing unit, configured to process the first data packet based on a software processing path, generate a corresponding first table entry and at least two second table entries, and send the first table entry to a flow table in a hardware processing path, and send the at least two second table entries to a multipath table in the hardware processing path, wherein the first table entry is used to characterize a mapping relationship between a communication identifier of the overlay network data flow channel and a flow identifier of the overlay network data flow channel, and the second table entry is used to characterize a mapping relationship between a flow identifier of the overlay network data flow channel and a physical path; after receiving a second data packet sent by the virtual machine through the overlay network data flow channel, determine a target physical path corresponding to the second data packet according to the flow table and the multipath table; A sending unit is used to forward the second data packet based on the target physical path.

11. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the cloud network-based data flow transmission control method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the cloud network-based data stream transmission control method as described in any one of claims 1 to 9 is implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the cloud network-based data stream transmission control method as described in any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Method and system for Adaptive Scheduling of Data Flows in Data Center Networks for Efficient Resource Utilization

    CN104618264A

  • Data center system and virtual network management method of data center

    CN105284080A

  • Multipath provisioning of L4-L7 traffic in a network

    CN105917620A

  • Alarm generation method and device of overlay network

    CN107733677A

  • Network processing method for realizing multipath concurrent transmission based on HASH algorithm

    CN114006856A