Data transmission method and related equipment
By determining the degree of business dependence and priority based on network quality in the cloud management platform and edge cloud nodes, and transmitting important data first, the reliability problem of edge cloud nodes when network quality decreases is solved and the normal operation of user services is ensured.
Patent Information
- Application Number
- CN202310308168.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-11
AI Technical Summary
Data transmission between edge cloud and public cloud is easily affected by the degradation of cloud edge network quality, causing user services to fail to operate normally. It is difficult for existing technologies to effectively improve the reliability of edge cloud nodes.
Through the cloud management platform and edge cloud nodes, the degree of business dependence and priority are determined based on the current network quality, and data with high business dependence or high priority are prioritized to be transmitted to avoid link congestion and ensure the transmission of important data.
When the network quality is poor, it ensures that service data with high business dependence or high priority is transmitted first, improves the reliability of edge cloud nodes, ensures the normal operation of user services, and avoids link congestion.
Smart Images

Figure CN118764539A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of cloud computing, and more specifically, to a data transmission method, a data transmission apparatus, a computing device, a data transmission system, a computing device cluster, a computer program product, and a computer-readable storage medium. Background Art
[0002] At present, traditional local data centers, private clouds, and public clouds cannot well meet the needs of enterprises for high bandwidth, low latency, local business processing, local data retention, etc., so edge cloud technology came into being. Edge cloud is an extension of public cloud and can be connected to public cloud regions through cloud-edge network. The services of edge cloud run locally and are uniformly operated, maintained, and managed by the public cloud. Since edge cloud is connected to public cloud through cloud-edge network, data transmission between edge cloud and public cloud is easily affected when the network quality of cloud-edge network is poor. In addition, when the network quality decreases, multiple services in the current public cloud or edge cloud will seize network resources in order to complete their respective services, which is more likely to cause the user's business to fail to operate normally.
[0003] Therefore, how to improve the reliability of edge cloud nodes to ensure that users' businesses can run normally has become an urgent problem to be solved. Summary of the invention
[0004] The embodiments of the present application provide a data transmission method, a data transmission apparatus, a computing device, a data transmission system, a computing device cluster, a computer program product, and a computer-readable storage medium, which can prioritize services with a high degree of business dependence to transmit data normally under different network communication qualities in the cloud-edge network, thereby improving the reliability of edge cloud nodes and ensuring that users' businesses can operate normally.
[0005] In a first aspect, a data transmission method is provided. The method is applied to a cloud management platform, including: the cloud management platform determines the current network quality, and the current network quality is used to indicate the network communication quality between the edge cloud node and the cloud management platform; the cloud management platform transmits data of at least one first service in the cloud management platform to the edge cloud node according to a first preset degree corresponding to the current network quality, and the business dependence degree of each first service is higher than or equal to the first preset degree, and the business dependence degree of the first service is used to indicate the degree of dependence of the user's business on the first service.
[0006] In the embodiment of the present application, the cloud management platform can determine the corresponding preset degree of business dependence according to the current network quality, so as to ensure that services that meet the preset degree of business dependence can transmit data first. That is, when the network quality is poor, the cloud management platform can make services with a higher degree of business dependence transmit data first, thereby improving the reliability of the edge cloud node and ensuring that the user's business can operate normally.
[0007] In combination with the first aspect, in some implementations of the first aspect, when the first network quality is worse than the current network quality, the second preset degree corresponding to the first network quality is higher than or equal to the first preset degree.
[0008] In an embodiment of the present application, the cloud management platform can prioritize ensuring that data of services with a high degree of business dependence can be transmitted to the edge cloud node when the network quality of the cloud-edge network decreases, thereby avoiding link congestion in the cloud-edge network and ensuring that the user's business can operate normally.
[0009] In combination with the first aspect, in certain implementations of the first aspect, the cloud management platform transmits data of at least one first service in sequence according to the business dependency level of each first service in descending order of the business dependency level.
[0010] In an embodiment of the present application, when there are multiple services whose business dependence level is higher than or equal to a preset level, the cloud management platform can transmit the data of each service in descending order according to the business dependence level of each service, so that important data can be transmitted to the edge cloud node first.
[0011] In combination with the first aspect, in certain implementations of the first aspect, the cloud management platform transmits at least one first data in the cloud management platform to the edge cloud node based on a first priority corresponding to the current network quality, and the priority of each first data is higher than or equal to the first priority. The priority of the first data is used to indicate the importance of the first data or the degree of dependence of the user's business on the first data.
[0012] In the embodiment of the present application, the cloud management platform can determine the corresponding preset priority according to the current network quality, so that data that meets the preset priority can be transmitted preferentially, that is, the cloud management platform can determine the order of data transmission according to the priority of the data. In the embodiment of the present application, the cloud management platform can preferentially transmit data with higher priority when the network quality is poor, thereby avoiding link congestion in the cloud edge network, improving the reliability of the edge cloud node, and thus ensuring that the user's business can operate normally.
[0013] In combination with the first aspect, in some implementations of the first aspect, when the first network quality is worse than the current network quality, the second priority corresponding to the first network quality is higher than or equal to the first priority.
[0014] In an embodiment of the present application, the cloud management platform can give priority to transmitting data with higher priority when the network quality of the cloud-edge network decreases, so that important data can be transmitted to the edge cloud node first to ensure that the user's business can operate normally.
[0015] In combination with the first aspect, in certain implementations of the first aspect, the cloud management platform stores data of at least one second service in the first storage space, and the business dependence degree of each second service is lower than a first preset degree; when the first condition is met, the cloud management platform transmits data of at least one third service among at least one second service to the edge cloud node, and the first condition includes that the network quality is the second network quality and the business dependence degree of each third service is higher than or equal to a third preset degree, and the third preset degree corresponds to the second network quality, or the first condition includes that the data of at least one first service has been transmitted.
[0016] In an embodiment of the present application, the cloud management platform can store data of services that do not meet the preset level when transmitting data of services that meet the preset level, and transmit the stored data after the network quality improves or the data of services that meet the preset level is transmitted.
[0017] In combination with the first aspect, in certain implementations of the first aspect, the cloud management platform determines the business dependency level of at least one service in the cloud management platform based on the user's business; or, the cloud management platform obtains the business dependency level of at least one service uploaded by the user.
[0018] In the embodiment of the present application, the cloud management platform can determine the business dependency of at least one service in the cloud management platform by analyzing the user's business or receiving information uploaded or selected by the user. The cloud management platform can also determine the data transmission order under different network quality conditions based on the business dependency of the at least one service, thereby ensuring that important data can be transmitted first, thereby ensuring the normal operation of the user's business.
[0019] In a second aspect, a data transmission method is provided. The method is applied to an edge cloud node, including: the edge cloud node determines the current network quality, and the current network quality is used to indicate the network communication quality between the cloud management platform and the edge cloud node; the edge cloud node transmits data of at least one fourth service in the edge cloud node to the cloud management platform according to a fourth preset degree corresponding to the current network quality, and the business dependence degree of each fourth service is higher than or equal to the fourth preset degree, and the business dependence degree of the fourth service is used to indicate the degree of dependence of the user's business on the fourth service.
[0020] In the embodiment of the present application, the edge cloud node can determine the corresponding preset degree according to the current network quality, so as to ensure that the services that meet the preset degree can transmit data first. That is, when the network quality is poor, the edge cloud node can make the services with higher business dependence degree transmit data first, thereby improving the reliability of the edge cloud node and ensuring that the user's business can operate normally.
[0021] In combination with the second aspect, in some implementations of the second aspect, when the third network quality is worse than the current network quality, a fifth preset degree corresponding to the third network quality is higher than or equal to a fourth preset degree.
[0022] In an embodiment of the present application, when the network quality of the cloud-edge network decreases, the edge cloud node can prioritize ensuring that data of services with a higher degree of business dependence can be transmitted to the cloud management platform, thereby avoiding link congestion in the cloud-edge network and ensuring that the user's business can operate normally.
[0023] In combination with the second aspect, in certain implementations of the second aspect, the edge cloud node transmits data of at least one fourth service in sequence according to the business dependency level of each fourth service in descending order of the business dependency level.
[0024] In an embodiment of the present application, when there are multiple services whose business dependence level is higher than or equal to a preset level, the edge cloud node can transmit the data of each service in descending order according to the business dependence level of each service, so that important data can be transmitted to the cloud management platform first.
[0025] In combination with the second aspect, in certain implementations of the second aspect, the edge cloud node transmits at least one second data in the edge cloud node to the cloud management platform based on a third priority corresponding to the current network quality, and the priority of each second data is higher than or equal to the third priority. The priority of the second data is used to indicate the importance of the second data or the degree of dependence of the user's business on the second data.
[0026] In the embodiment of the present application, the edge cloud node can determine the corresponding preset priority according to the current network quality, so that the data that meets the preset priority can be transmitted preferentially, that is, the edge cloud node can determine the order of data transmission according to the priority of the data. In the embodiment of the present application, the edge cloud node can preferentially transmit data with higher priority when the network quality is poor, thereby avoiding link congestion in the cloud-edge network, improving the reliability of the edge cloud node, and thus ensuring that the user's business can operate normally.
[0027] In combination with the second aspect, in some implementations of the second aspect, when the third network quality is worse than the current network quality, the fourth priority corresponding to the third network quality is higher than or equal to the third priority.
[0028] In an embodiment of the present application, the edge cloud node can give priority to transmitting data with higher priority when the network quality of the cloud-edge network decreases, so that important data can be transmitted to the cloud management platform first to ensure that the user's business can operate normally.
[0029] In combination with the second aspect, in certain implementations of the second aspect, the edge cloud node stores data of at least one fifth service in a second storage space, and the business dependence degree of each fifth service is lower than a fourth preset degree; when the second condition is met, the edge cloud node transmits data of at least one sixth service among at least one fifth service to the cloud management platform, and the second condition includes that the network quality is the fourth network quality and the business dependence degree of each sixth service is higher than or equal to the sixth preset degree, the sixth preset degree corresponds to the fourth network quality, or the second condition includes that the data of at least one fourth service has been transmitted.
[0030] In an embodiment of the present application, the edge cloud node can store data of services that do not meet the preset level when transmitting data of services that meet the preset level, and transmit the stored data after the network quality improves or the data of services that meet the preset level is transmitted.
[0031] In combination with the second aspect, in certain implementations of the second aspect, the edge cloud node determines the business dependency level of at least one service in the edge cloud node based on the user's business; or, the edge cloud node obtains the business dependency level of at least one service uploaded by the user.
[0032] In the embodiment of the present application, the edge cloud node can determine the business dependency of at least one service in the edge cloud node by analyzing the user's business or receiving information uploaded or selected by the user. The edge cloud node can also determine the data transmission order under different network quality conditions based on the business dependency of the at least one service, thereby ensuring that important data can be transmitted first, thereby ensuring the normal operation of the user's business.
[0033] In a third aspect, a data transmission device is provided, which is applied to a cloud management platform. The device includes a unit for implementing the first aspect or any possible implementation of the first aspect.
[0034] In a fourth aspect, a data transmission device is provided, which is applied to an edge cloud node. The device includes a unit for implementing the second aspect or any possible implementation of the second aspect.
[0035] In a fifth aspect, a computing device is provided, which includes a processor, which is used to couple with a memory, read and execute instructions and / or program codes in the memory to execute the method in the above-mentioned first aspect, the second aspect, any one of the implementations of the first aspect, or any one of the implementations of the second aspect.
[0036] In a sixth aspect, a data transmission system is provided, which comprises the data transmission device as described in the third aspect and the data transmission device as described in the fourth aspect.
[0037] In the seventh aspect, a computing device cluster is provided, 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 used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method in the first aspect, the second aspect, any one implementation of the first aspect, or any one implementation of the second aspect.
[0038] In an eighth aspect, a chip is provided, which obtains instructions and executes the instructions to implement the method in the above-mentioned first aspect, second aspect, any one of the implementations of the first aspect, or any one of the implementations of the second aspect.
[0039] Optionally, as an implementation method, the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface to execute the method in the above-mentioned first aspect, the second aspect, any one of the implementation methods of the first aspect, or any one of the implementation methods of the second aspect.
[0040] Optionally, as an implementation method, the chip may also include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the method in the first aspect, the second aspect, any implementation method of the first aspect, or any implementation method of the second aspect.
[0041] In the ninth aspect, a computer program product comprising instructions is provided, which, when executed by a computing device, causes the computing device to execute a method as described in the first aspect, the second aspect, any one of the implementations of the first aspect, or any one of the implementations of the second aspect.
[0042] In the tenth aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computing device cluster, the computing device cluster executes the method as described in the first aspect, the second aspect, any one of the implementations of the first aspect, or any one of the implementations of the second aspect.
[0043] In the eleventh aspect, a computer-readable storage medium is provided, characterized in that it includes computer program instructions. When the computer program instructions are executed by a computing device, the computing device executes a method as described in the first aspect, the second aspect, any one of the implementations of the first aspect, or any one of the implementations of the second aspect.
[0044] By way of example, these computer-readable storages include, but are not limited to, one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM), and hard drive.
[0045] Optionally, as an implementation manner, the above-mentioned storage medium may specifically be a non-volatile storage medium.
[0046] In the twelfth aspect, a computer-readable storage medium is provided, characterized in that it includes computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method in the above-mentioned first aspect, the second aspect, any one of the implementations of the first aspect, or any one of the implementations of the second aspect.
[0047] By way of example, these computer readable storages include, but are not limited to, one or more of the following: ROM, PROM, EPROM, Flash memory, EEPROM, and a hard drive.
[0048] Optionally, as an implementation manner, the above-mentioned storage medium may specifically be a non-volatile storage medium. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a schematic system architecture diagram of a data transmission system according to an embodiment of the present application.
[0050] Figure 2 It is a schematic flowchart of a data transmission method according to an embodiment of the present application.
[0051] Figure 3 is a schematic flowchart of a data transmission method according to another embodiment of the present application.
[0052] Figure 4 is a schematic flowchart of a data transmission method according to another embodiment of the present application.
[0053] Figure 5 is a schematic system architecture diagram of a data transmission system according to another embodiment of the present application.
[0054] Figure 6 is a schematic system architecture diagram of a data transmission system according to another embodiment of the present application.
[0055] Figure 7It is a schematic structural block diagram of a data transmission device according to an embodiment of the present application.
[0056] Figure 8 It is a schematic structural block diagram of a computing device according to an embodiment of the present application.
[0057] Fig. 9 It is a schematic structural block diagram of a computing device cluster according to an embodiment of the present application.
[0058] Fig.10 It is a schematic diagram of a connection between computing devices 800A and 800B via a network according to one embodiment of the present application. DETAILED DESCRIPTION
[0059] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0060] 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.
[0061] 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 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.
[0062] In the embodiments of the present application, "corresponding (corresponding, relevant)" and "corresponding (corresponding)" can sometimes be used interchangeably. It should be pointed out that when the distinction between them is not emphasized, the meanings they intend to express are consistent.
[0063] 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. A person of ordinary skill in the art can appreciate that, with the evolution of network architecture 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.
[0064] 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.
[0065] In the present application, "at least one" means one or more, and "plurality" means 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 mean: 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 next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0066] The technical solutions of the embodiments of the present application can be applied to various distributed cloud scenarios, for example, distributed cloud scenarios including any one or more of a public cloud, an edge cloud, or a private cloud.
[0067] Figure 1 It is a schematic system architecture diagram of the data transmission system provided in an embodiment of the present application. Figure 1 The public cloud 110 and the edge cloud node 120 are included. The public cloud 110 includes a cloud management platform 111. In some embodiments, Figure 1 A plurality of edge cloud nodes 120 may be included.
[0068] The public cloud 110 can provide users with cloud infrastructure, so that users can use the computing power, storage capacity or cloud services provided in the public cloud 110 by renting, etc., or enable users to deploy computing models or private cloud services in the public cloud 110. In order to facilitate the management of computing resources or storage resources in the public cloud 110 and to facilitate the provision of rental services to users, the public cloud 110 includes a cloud management platform 111. The cloud management platform 111 can provide users with access interfaces (such as interfaces or application programming interfaces (APIs)), so that users can log in to the cloud management platform, and further pay to select and purchase cloud services or virtual machines of specific specifications (processors, memory, disks) on the cloud management platform. The cloud management platform 111 can also manage servers running virtual machines and containers, bare metal servers, network services (such as gateways, firewalls, etc.), storage services (such as data bucket services), etc. The cloud management platform 111 can also manage edge cloud nodes 120 in a unified manner and provide at least one cloud service for edge cloud nodes 120.
[0069] The edge cloud node 120 is a cloud computing platform built on edge infrastructure based on the core of cloud computing technology and edge computing capabilities. The edge cloud node 120 has computing, networking, storage, security and other capabilities, and can form a "cloud-edge-end three-body collaboration" with the public cloud and the Internet of Things terminal. The edge cloud node 120 can handle tasks such as network forwarding, storage, computing, and intelligent data analysis, and provide multiple groups of cloud services, thereby reducing response delays and bandwidth costs and alleviating cloud pressure. The edge cloud node 120 can be deployed by a cloud vendor, or it can be deployed independently by the user, and the embodiments of the present application are not limited to this. In some embodiments, the edge cloud node 120 includes an edge cloud management platform, which can manage or control computing or storage resources in the edge cloud node 120, such as servers, bare metal servers, network services (such as gateways, firewalls, etc.), storage services (such as data bucket services), etc. that manage virtual machines and containers in the edge cloud node 120.
[0070] When the user's service is deployed in the edge cloud node 120, the edge cloud node 120 realizes data transmission with the user through the cloud management platform 111. In addition, the edge cloud node 120 realizes data transmission with the cloud management platform 111 through the cloud edge network. For example, the edge cloud node 120 can request services or resources in the cloud management platform 111 through the cloud edge network. When the network communication quality of the cloud edge network decreases, the data transmission between the cloud management platform 111 and the edge cloud node 120 is easily affected, and the various cloud services in the cloud management platform 111 and the edge cloud node 120 may seize network communication resources, resulting in the user's service being unable to operate normally.
[0071] Figure 2 It is a schematic flowchart of the data transmission method provided in an embodiment of the present application. Figure 2 The following steps are included.
[0072] S210, the cloud management platform determines the current network quality.
[0073] The cloud management platform can determine the current network quality, which is used to indicate the network communication quality between the cloud management platform and the edge cloud node (i.e., the cloud edge network). For example, the current network quality can be used to indicate any one or more of the current network's packet loss, latency, bandwidth, network speed, etc. The current network bandwidth can include the current network's used bandwidth or available bandwidth, etc.
[0074] S220, the cloud management platform transmits data of at least one first service in the cloud management platform to the edge cloud node according to a first preset degree corresponding to the current network quality.
[0075] After determining the current network quality, the cloud management platform may determine a first preset degree according to the current network quality. The cloud management platform may also transmit data of at least one first service in the cloud management platform to the edge cloud node according to the first preset degree. The business dependency degree of each first service in the at least one first service is higher than or equal to the first preset degree. The business dependency degree of the first service is used to indicate the degree of dependence of the user's business on the first service.
[0076] Optionally, before step S220, the cloud management platform may determine the business dependency of each service in the cloud management platform. Specifically, the cloud management platform may determine the business dependency of each service based on the user's business. For example, assuming that the user's business requires the expansion of the virtual machine, the business dependency of the elastic compute cloud (EC2) service is higher, and the business dependency of the virtual private cloud (VPC) service is lower. Alternatively, the cloud management platform may obtain information uploaded by the user to indicate the business dependency of at least one service. For example, the cloud management platform may provide the user with a selection or input interaction interface so that the user can select or input the services required by the business and / or the business dependency of each service.
[0077] In some embodiments, the business dependency of services in the cloud management platform changes according to changes in the user's business, that is, the business dependency of each service is not fixed. For example, when the user's business needs to expand the capacity of the virtual machine, the business dependency of the EC2 service is higher, and the business dependency of the VPC service is lower. When the user's business needs to create a VPC, the business dependency of the VPC service is higher, and the business dependency of the EC2 service is lower.
[0078] Optionally, the business dependency of a service may be quantified using numerical values. For example, the business dependency of a service may be 10, 20, 50, 100, etc. Alternatively, the business dependency of a service may be divided into different levels. For example, the business dependency of a service may be high, medium, low, first level, second level, etc., which is not limited in the embodiments of the present application.
[0079] Optionally, the cloud management platform may directly determine the first preset degree according to the current network quality. For example, the cloud management platform may determine the first preset degree corresponding to the current network quality according to a first mapping relationship between the network quality and the preset degree.
[0080] In some embodiments, the cloud management platform may determine the first mapping relationship by itself. Alternatively, the cloud management platform may receive the first mapping relationship from other devices connected to the cloud management platform. Alternatively, the cloud management platform may obtain the first mapping relationship uploaded by a user.
[0081] In some embodiments, the cloud management platform can determine the first preset degree corresponding to the current network quality by searching the current network quality in the first mapping relationship. The storage form of the first mapping relationship is not limited in the present embodiment, for example, it can be stored in a table, array, matrix, etc.
[0082] In some embodiments, the cloud management platform can determine the first preset degree based on the first calculation model and the current network quality. That is, the cloud management platform can use the current network quality as the input of the first calculation model to obtain the output of the first calculation model, that is, the first preset degree.
[0083] For example, assume that the current network quality is used to indicate that the delay between the cloud management platform and the edge cloud node is x1, and the first calculation model f1(x)=y is used to indicate the mapping relationship between the delay and the preset degree. Among them, x represents the delay, and y represents the preset degree corresponding to the delay. According to f1(x1)=y1, it can be determined that the preset degree corresponding to the current network quality x1 is y1. The y1 can be a specific value, or it can be a level. For example, y1 can be 20, or it can be high, medium, low, first level, second level, etc.
[0084] It should be understood that when the current network quality is used to indicate any one or more measurement indicators such as packet loss, bandwidth, network speed, etc. between the cloud management platform and the edge cloud node, the specific method in which the cloud management platform determines the first preset degree based on the current network quality is similar to the method based on the delay, and will not be repeated here.
[0085] In some embodiments, the first calculation model may be a mapping relationship between network communication quality and a preset degree.
[0086] In some embodiments, the first computing model may be a model obtained through machine learning training based on a training data set, wherein the training data set includes network communication quality, a preset degree, and a mapping relationship between the network communication quality and the preset degree.
[0087] Optionally, before step S220, the cloud management platform may obtain a trained first computing model. Alternatively, before step S220, the cloud management platform may obtain a training data set and train the model according to the training data set to obtain a trained first computing model.
[0088] Optionally, when the network communication quality between the cloud management platform and the edge cloud node deteriorates, the preset degree determined by the cloud management platform becomes higher. For example, when the first network quality is worse than the current network quality, the second preset degree corresponding to the first network quality is higher than or equal to the first preset degree. That is, when the network communication quality between the cloud management platform and the edge cloud node deteriorates, the cloud management platform can allow services with a higher degree of business dependence to transmit data first, thereby avoiding the competition between services for network communication resources and causing the user business to fail to operate normally.
[0089] When the preset degree is quantified using numerical values, the second preset degree being higher than the first preset degree includes: the numerical value of the second preset degree is greater than the numerical value of the first preset degree. When the preset degree is high, medium, or low, the second preset degree being higher than the first preset degree includes: the second preset degree is high, the first preset degree is medium or low; or the second preset degree is medium, the first preset degree is low. Alternatively, when the preset degrees are different levels, the cloud management platform can define the high and low levels, thereby determining the definition of the second preset degree being higher than the first preset degree.
[0090] Optionally, the cloud management platform can determine the network quality range corresponding to the current network quality based on the current network quality, thereby determining the first preset degree based on the network quality range. For example, the cloud management platform can determine the first preset degree corresponding to the network quality range where the current network quality is located based on the second mapping relationship between the network quality range and the preset degree.
[0091] In some embodiments, the cloud management platform may determine the second mapping relationship by itself. Alternatively, the cloud management platform may receive the second mapping relationship from other devices connected to the cloud management platform. Alternatively, the cloud management platform may obtain the second mapping relationship uploaded by a user.
[0092] In some embodiments, the cloud management platform can determine the first preset degree by finding the network quality range where the current network quality in the second mapping relationship is located. The present application embodiment does not limit the storage form of the second mapping relationship, for example, it can be stored in a table, array, matrix, function, etc.
[0093] For example, assume that the second mapping relationship is as shown in Table 1.
[0094] Table 1 Second mapping relationship table
[0095] Network quality range Preset level <![CDATA[Available bandwidth is less than X1]]> <![CDATA[a1]]> <![CDATA[Available bandwidth is X1 - X2]]> <![CDATA[a2]]> <![CDATA[Available bandwidth is greater than X2]]> <![CDATA[a3]]>
[0096] In Table 1, X1 is less than or equal to X2, and the units of X1 and X2 are megabits per second (Mbps). Moreover, a1 is higher than a2, and a2 is higher than a3.
[0097] Assume that the current network quality is used to indicate that the available bandwidth of the cloud edge network is x2Mbps, and x2<X1. If the second mapping relationship between the network quality range and the preset degree is shown in Table 1, the cloud management platform can determine that the first preset degree corresponding to the current network quality x2Mbps is a1. Similar to y1, a1 can be a specific value, or can be a level.
[0098] It should be understood that the table used to represent the second mapping relationship may also be expressed in other forms. Table 1 is only an exemplary description and should not limit the protection scope of the embodiments of the present application.
[0099] Optionally, before step S220, the cloud management platform may determine at least one network quality range for each type of at least one type. The at least one type includes: network packet loss, delay, bandwidth, etc. For example, the cloud management platform may determine at least one range of network packet loss, at least one range of delay, at least one range of bandwidth, etc. The cloud management platform may also determine a preset degree corresponding to each network quality range. For example, the cloud management platform may determine a preset degree corresponding to each range of network packet loss, a preset degree corresponding to each range of delay, a preset degree corresponding to each range of bandwidth, etc.
[0100] Optionally, when the network quality deteriorates, the preset degree corresponding to the network quality range becomes higher. For example, when the maximum value of the first preset range is lower than the minimum value of the second preset range, the preset degree corresponding to the first preset range is higher than the preset degree corresponding to the second preset range. That is, when the network quality between the cloud management platform and the edge cloud node deteriorates, the cloud management platform can allow services with a higher degree of business dependence to transmit data first, thereby avoiding the competition between services for network communication resources and causing the user business to fail to operate normally.
[0101] For example, the cloud management platform may determine that the delay is less than 10 milliseconds (ms) as the first range, the delay is between 10-100 milliseconds as the second range, and the delay is greater than 100 milliseconds as the third range. The cloud management platform may also determine that the preset degree corresponding to the first range is low, the preset degree corresponding to the second range is medium, and the preset degree corresponding to the third range is high.
[0102] For example, the cloud management platform may determine that the available bandwidth is less than 10 Mbps as the fourth range, the available bandwidth is between 10-50 Mbps as the fifth range, and the available bandwidth is greater than 50 Mbps as the sixth range. The cloud management platform may also determine that the preset degree corresponding to the fourth range is high, the preset degree corresponding to the fifth range is medium, and the preset degree corresponding to the sixth range is low.
[0103] When the edge cloud node is deployed by the cloud vendor, the cloud management platform can determine at least one type of at least one network quality range based on the network communication capabilities required by each service in the cloud management platform or the specific network communication conditions of the cloud edge network. The specific network communication conditions of the cloud edge network may include packet loss, bandwidth, latency, etc. Alternatively, the cloud management platform can provide users with network quality ranges of different types and / or different scales, so that users can choose according to the business.
[0104] For example, the network quality ranges of different scales include: multiple network quality ranges of the same type with different sizes or multiple network quality ranges of different types with different sizes. For example, two network quality range schemes for delay may be included, one including three network quality ranges: delay less than 10ms, delay between 10-100ms, and delay greater than 100ms, and the other including two network quality ranges: delay less than or equal to 30ms, and delay greater than 30ms. Alternatively, a network quality range scheme for delay and a network quality range scheme for bandwidth may be included. The network quality range scheme for delay includes three network quality ranges: delay less than 10ms, delay between 10-100ms, and delay greater than 100ms. The network quality range scheme for bandwidth includes three network quality ranges: available bandwidth less than 10Mbps, available bandwidth between 10-50Mbps, and available bandwidth greater than 50Mbps.
[0105] In some embodiments, the cloud management platform may directly ask the user to select a specific network quality range, or the cloud management platform may ask the user to select required services and / or network requirements, etc., thereby determining the corresponding network quality range based on the user's selection.
[0106] When the edge cloud node is deployed by the user, the user can determine at least one type of at least one network quality range according to the specific network conditions of the business or edge cloud node, and upload the at least one type of at least one network quality range to the cloud management platform. The specific network conditions of the edge cloud node may include the packet loss, bandwidth, latency, etc. of the edge cloud node.
[0107] Optionally, after determining the first preset degree, the cloud management platform may determine at least one first service from at least one service required by the user's business. The business dependence degree of each first service in the at least one first service is higher than or equal to the first preset degree. The cloud management platform may also transmit data of the at least one first service to the edge cloud node.
[0108] In some embodiments, the cloud management platform may transmit the data of at least one first service in descending order of the business dependency of each first service. For example, assuming that the business dependency of first service 1 is higher than that of first service 2, the cloud management platform may first transmit the data of first service 1 and then transmit the data of first service 2.
[0109] Optionally, the cloud management platform can store data of services with a lower business dependency in the storage space when transmitting data of services with a higher business dependency. After the data transmission of services with a higher business dependency is completed or after the network quality of the cloud edge network is improved, the cloud management platform can obtain data of services with a higher business dependency in the storage space for transmission.
[0110] In some embodiments, the cloud management platform can store data of at least one second service in a first storage space, and the business dependence degree of each second service is lower than a first preset degree. The first storage space is a storage space connected to the cloud management platform. In other words, the first storage space is a storage space managed by the cloud management platform.
[0111] The cloud management platform may transmit data of at least one third service in at least one second service to the edge cloud node when the first condition is met. The first condition includes that the network quality is the second network quality and the business dependence degree of each third service is higher than or equal to a third preset degree, and the third preset degree corresponds to the second network quality. Alternatively, the first condition includes that the data of the at least one first service has been transmitted.
[0112] In some embodiments, the cloud management platform may transmit the data of each service in the first storage space in sequence according to the business dependency of the services from high to low.
[0113] Optionally, the cloud management platform may transmit at least one first data in the cloud management platform to the edge cloud node according to the first priority corresponding to the current network quality. The priority of each first data is higher than or equal to the first priority, and the priority of the first data is used to indicate the importance of the first data or the degree of dependence of the user's business on the first data. For details, please refer to Figure 3 Description.
[0114] The cloud management platform can determine the corresponding preset degree according to the current network quality, so as to ensure that services that meet the preset degree can transmit data first. In other words, when the network quality is poor, the cloud management platform can give priority to data transmission to services with a high business dependence, thereby improving the reliability of edge cloud nodes and ensuring that users' businesses can operate normally.
[0115] Figure 3 It is a schematic flowchart of the data transmission method provided in an embodiment of the present application. Figure 3 The following steps are included.
[0116] S310, the cloud management platform determines the current network quality. The specific implementation of step S310 is similar to step S210, and will not be repeated here.
[0117] S320, the cloud management platform transmits at least one first data in the cloud management platform to the edge cloud node according to the first priority corresponding to the current network quality.
[0118] After determining the current network quality, the cloud management platform may determine the first priority according to the current network quality. The cloud management platform may also transmit at least one first data in the cloud management platform to the edge cloud node according to the first priority. The priority of each first data in the at least one first data is higher than or equal to the first priority. The priority of the first data is used to indicate the importance of the first data or the degree of dependence of the user's business on the first data.
[0119] Optionally, before step S320, the cloud management platform may determine the priority of the data. The priority of the data may be determined based on the importance of the data or the degree of reliance of the user's business on the data. For example, based on the importance of the data, it may be determined that the priority of the alarm data is higher and the priority of the log data is lower. Alternatively, based on the degree of reliance of the user's business on the data, when the user needs to operate the VPC, the priority of the VPC data is higher and the priority of the virtual machine data is lower.
[0120] In some embodiments, the cloud management platform may determine the priority of the data according to the importance of the data or the degree of reliance of the user's business on the data. Alternatively, the cloud management platform may obtain information uploaded by the user indicating the priority of the data, thereby determining the priority of the data.
[0121] In some embodiments, similar to the business dependency of services, the priority of data can change according to changes in the user's business, that is, the priority of data is not fixed. For example, when a user needs to operate a VPC, the priority of VPC data is higher, and the priority of virtual machine data is lower. When a user needs to operate a virtual machine, the priority of virtual machine data is higher, and the priority of VPC data is lower.
[0122] Optionally, the priority of the data can be quantified using a numerical value. For example, the priority of the data can be a specific numerical value, such as 10, 20, 100, etc. Alternatively, the priority of the data can be divided into different levels. For example, the priority of the data can be a level, such as high, medium, low, first level, second level, etc.
[0123] Optionally, the cloud management platform may directly determine the first priority according to the current network quality. For example, the cloud management platform may determine the first priority corresponding to the current network quality according to a third mapping relationship between the network quality and the preset priority.
[0124] In some embodiments, the cloud management platform may determine the third mapping relationship by itself. Alternatively, the cloud management platform may receive the third mapping relationship from other devices connected to the cloud management platform. Alternatively, the cloud management platform may obtain the third mapping relationship uploaded by a user.
[0125] In some embodiments, the cloud management platform can determine the first priority corresponding to the current network quality by searching the current network quality in the third mapping relationship. The storage form of the third mapping relationship is not limited in the present application embodiment, for example, it can be stored in a table, array, matrix, etc.
[0126] In some embodiments, the cloud management platform may determine the first priority based on the second computing model and the current network quality. That is, the cloud management platform may use the current network quality as the input of the second computing model to obtain the output of the second computing model, namely, the first priority.
[0127] For example, assume that the current network quality is used to indicate that the delay between the cloud management platform and the edge cloud node is x3, and the second calculation model f2(x)=z is used to indicate the mapping relationship between the delay and the preset priority. Among them, x represents the delay, and z represents the preset priority corresponding to the delay. According to f2(x3)=z1, it can be determined that the first priority corresponding to the current network quality x3 is z1. The z1 can be a specific value, or it can be a level. For example, z1 can be 10, or it can be high, medium, low, first level, second level, etc.
[0128] It should be understood that when the current network quality is used to indicate any one or more measurement indicators such as packet loss, bandwidth, network speed, etc. between the cloud management platform and the edge cloud node, the specific method in which the cloud management platform determines the first priority based on the current network quality is similar to the method based on latency, and will not be repeated here.
[0129] In some embodiments, the second calculation model may be a mapping relationship between network communication quality and preset priority.
[0130] In some embodiments, the second computing model may be a model obtained through machine learning training based on a training data set, wherein the training data set includes network communication quality, a preset priority, and a mapping relationship between the network communication quality and the preset priority.
[0131] Optionally, before step S320, the cloud management platform may obtain a trained second computing model. Alternatively, before step S320, the cloud management platform may obtain a training data set and train the model according to the training data set to obtain a trained second computing model.
[0132] Optionally, when the network communication quality between the cloud management platform and the edge cloud node deteriorates, the priority determined by the cloud management platform becomes higher. For example, when the first network quality is worse than the current network quality, the second priority corresponding to the first network quality is higher than or equal to the first priority. That is, when the network communication quality between the cloud management platform and the edge cloud node deteriorates, the cloud management platform can give priority to transmitting data with higher priority, thereby avoiding the various services from competing for network communication resources and causing important data to be unable to be transmitted in time.
[0133] When the preset priorities are numerically quantified, the second priority being higher than the first priority includes: the value of the second priority is greater than the value of the first priority. When the preset priorities are high, medium, or low, the second priority being higher than the first priority includes: the second priority is high and the first priority is medium or low; or the second priority is medium and the first priority is low. Alternatively, when the preset priorities are of different levels, the cloud management platform can define the high and low levels, thereby determining the definition that the second priority is higher than the first priority.
[0134] Optionally, the cloud management platform may determine the network quality range corresponding to the current network quality based on the current network quality, thereby determining the first priority based on the network quality range. For example, the cloud management platform may determine the first priority corresponding to the network quality range where the current network quality is located based on the fourth mapping relationship between the network quality range and the preset priority.
[0135] In some embodiments, the cloud management platform may determine the fourth mapping relationship by itself. Alternatively, the cloud management platform may receive the fourth mapping relationship from other devices connected to the cloud management platform. Alternatively, the cloud management platform may obtain the fourth mapping relationship uploaded by a user.
[0136] In some embodiments, the cloud management platform can store the fourth mapping relationship, thereby determining the first priority by finding the network quality range in which the current network quality in the fourth mapping relationship is located. The embodiment of the present application does not limit the storage form of the fourth mapping relationship, for example, it can be stored in a table, array, matrix, function, etc.
[0137] For example, assume that the fourth mapping relationship is as shown in Table 2.
[0138] Table 2 Fourth mapping relationship table
[0139] Network quality range Priority <![CDATA[Available bandwidth is less than X3 Mbps]]> <![CDATA[b1]]> <![CDATA[The available bandwidth is X3 - X4 Mbps]]> <![CDATA[b2]]> <![CDATA[The available bandwidth is greater than X4 Mbps]]> <![CDATA[b3]]>
[0140] In Table 2, X3 is less than or equal to X4, b1 is higher than b2, and b2 is higher than b3. Assume that the current network quality is used to indicate that the available bandwidth between the cloud management platform and the edge cloud node is x4 Mbps, and x4 is less than X3. If the fourth mapping relationship between the network quality range and the preset priority is as shown in Table 2, the cloud management platform can determine that the first priority corresponding to the current network quality x4 Mbps is b1. Similar to z1, b1 can be a specific value, or can be a level.
[0141] It should be understood that the table used to represent the fourth mapping relationship may also be expressed in other forms. Table 2 is only an exemplary description and should not limit the protection scope of the embodiments of the present application.
[0142] Optionally, before step S320, the cloud management platform may determine at least one network quality range for each type of at least one type. The at least one type includes: network packet loss, delay, bandwidth, etc. For example, the cloud management platform may determine at least one range of network packet loss, at least one range of delay, at least one range of bandwidth, etc. The cloud management platform may determine a preset priority corresponding to each network quality range. For example, the cloud management platform may determine a preset priority corresponding to each range of network packet loss, a preset priority corresponding to each range of delay, a preset priority corresponding to each range of bandwidth, etc.
[0143] Optionally, when the network quality deteriorates, the preset priority corresponding to the network quality range becomes higher. For example, when the maximum value of the third preset range is lower than the minimum value of the fourth preset range, the preset priority corresponding to the third preset range is higher than the preset priority corresponding to the fourth preset range. That is, when the network quality between the cloud management platform and the edge cloud node deteriorates, the cloud management platform can give priority to transmitting data with higher priority, thereby avoiding the failure of normal transmission of important data due to the competition between services for network communication resources.
[0144] For example, the cloud management platform can determine that the latency is less than 15ms as the seventh range, the latency is between 15-60ms as the eighth range, and the latency is greater than 60ms as the ninth range. The cloud management platform can also determine that the priority corresponding to the seventh range is low, the priority corresponding to the eighth range is medium, and the priority corresponding to the ninth range is high.
[0145] For example, the cloud management platform may determine that the available bandwidth is less than 5 Mbps as the tenth range, the available bandwidth is between 5-20 Mbps as the eleventh range, and the available bandwidth is greater than 20 Mbps as the twelfth range. The cloud management platform may also determine that the priority corresponding to the tenth range is high, the priority corresponding to the eleventh range is medium, and the priority corresponding to the twelfth range is low.
[0146] When the edge cloud node is deployed by a cloud vendor, the cloud management platform can determine at least one type of at least one network quality range based on the network communication capabilities required by each service in the cloud management platform or the specific network communication conditions of the cloud edge network. The specific network communication conditions of the cloud edge network may include packet loss, bandwidth, latency, etc. Alternatively, the cloud management platform can provide users with network quality ranges of different types and / or different scales so that users can choose according to the business. The meaning of the network quality range of different scales is similar to the description in step S220 and will not be repeated here.
[0147] In some embodiments, the cloud management platform may directly ask the user to select a specific network quality range, or the cloud management platform may ask the user to select required services and / or network requirements, etc., thereby determining the corresponding network quality range based on the user's selection.
[0148] When the edge cloud node is deployed by the user, the user can determine at least one type of at least one network quality range according to the specific network conditions of the business or edge cloud node, and upload the at least one type of at least one network quality range to the cloud management platform. The specific network conditions of the edge cloud node may include the packet loss, bandwidth, latency, etc. of the edge cloud node.
[0149] Optionally, after determining the first priority, the cloud management platform may determine at least one first data from the data required for the user's business. The priority of each first data in the at least one first data is higher than or equal to the first priority. The cloud management platform may also transmit the at least one first data to the edge cloud node.
[0150] In some embodiments, the cloud management platform may transmit the at least one first data in descending order of priority according to the priority of each first data. For example, assuming that the priority of first data 1 is higher than the priority of first data 2, the cloud management platform may first transmit the data of first data 1 and then transmit the data of first data 2.
[0151] Optionally, the cloud management platform can store lower priority data in the storage space when transmitting higher priority data. After the higher priority data transmission is completed or the network quality of the cloud edge network is improved, the cloud management platform can obtain the higher priority data in the storage space from the storage space for transmission.
[0152] In some embodiments, the cloud management platform may store at least one third data in a third storage space, and the priority of each third data is lower than the first priority. The third storage space is a storage space connected to the cloud management platform. In other words, the third storage space is a storage space managed by the cloud management platform. When the third condition is met, the cloud management platform may transmit at least one fourth data of at least one third data to the edge cloud node. The third condition includes that the network quality is the fifth network quality and the priority of each fourth data is higher than or equal to the fifth priority, and the fifth priority corresponds to the fifth network quality. Alternatively, the third condition is that the at least one first data has been transmitted.
[0153] In some embodiments, the cloud management platform may transmit the data in the third storage space in order from high to low priority of the data.
[0154] It should be understood that the first storage space and the third storage space may be the same storage space, or may be different storage spaces, and this embodiment of the present application is not limited to this.
[0155] The cloud management platform can determine the corresponding preset priority according to the current network quality, so as to ensure that data that meets the preset priority can be transmitted first. In other words, the cloud management platform can give priority to transmitting data with higher priority when the network quality is poor, thereby improving the reliability of edge cloud nodes and ensuring that users' services can run normally.
[0156] Figure 4 It is a schematic flowchart of the data transmission method provided in an embodiment of the present application. Figure 4 The following steps are included.
[0157] S410, the edge cloud node determines the current network quality.
[0158] The edge cloud node can determine the current network quality, which is used to indicate the network communication quality between the cloud management platform and the edge cloud node (i.e., the cloud edge network). For example, the current network quality can be used to indicate any one or more of the current network's packet loss, latency, bandwidth, network speed, etc. The current network bandwidth can include the current network's used bandwidth or available bandwidth, etc.
[0159] S420, the edge cloud node transmits data of at least one fourth service in the edge cloud node to the cloud management platform according to a fourth preset degree corresponding to the current network quality.
[0160] After determining the current network quality, the edge cloud node may determine a fourth preset degree according to the current network quality. The edge cloud node may also transmit data of at least one fourth service in the edge cloud node to the cloud management platform according to the fourth preset degree. The business dependence degree of each fourth service in the at least one fourth service is higher than or equal to the fourth preset degree. The business dependence degree of the fourth service is used to indicate the degree of dependence of the user's business on the fourth service.
[0161] Optionally, before step S420, the edge cloud node may determine the business dependency of each service in the edge cloud node. Specifically, the edge cloud node may determine the business dependency of each service based on the user's business. Alternatively, the edge cloud node may obtain the business dependency of at least one service uploaded by the user. The way in which the edge cloud node determines the business dependency of the service is similar to the way in which the cloud management platform determines the business dependency of the service, which will not be repeated here.
[0162] In some embodiments, the business dependency of services in the edge cloud node varies according to changes in the user's business, that is, the business dependency of each service is not fixed.
[0163] Optionally, the business dependency of a service may be quantified using numerical values. For example, the business dependency of a service may be 10, 20, 50, 100, etc. Alternatively, the business dependency of a service may be divided into different levels. For example, the business dependency of a service may be high, medium, low, first level, second level, etc., which is not limited in the embodiments of the present application.
[0164] Optionally, the edge cloud node may directly determine the fourth preset degree according to the current network quality. For example, the edge cloud node may determine the fourth preset degree corresponding to the current network quality according to the fifth mapping relationship between the network quality and the preset degree.
[0165] In some embodiments, the edge cloud node may determine the fifth mapping relationship by itself. Alternatively, the edge cloud node may receive the fifth mapping relationship from other devices connected to the edge cloud node. Alternatively, the edge cloud node may obtain the fifth mapping relationship uploaded by a user.
[0166] In some embodiments, the edge cloud node can determine the fourth preset degree corresponding to the current network quality by searching the current network quality in the fifth mapping relationship. The storage form of the fifth mapping relationship is not limited in the present application embodiment, for example, it can be stored in a table, array, matrix, etc.
[0167] In some embodiments, the edge cloud node can determine the fourth preset degree based on the third computing model and the current network quality. That is, the edge cloud node can use the current network quality as the input of the third computing model to obtain the output of the third computing model, i.e., the fourth preset degree. The specific implementation method is similar to the method in which the cloud management platform directly determines the first preset degree, and will not be repeated here.
[0168] In some embodiments, the third calculation model may be a mapping relationship between network communication quality and a preset degree.
[0169] In some embodiments, the third computing model may be a model obtained through machine learning training based on a training data set, wherein the training data set includes network communication quality, a preset degree, and a mapping relationship between the network communication quality and the preset degree.
[0170] Optionally, before step S420, the edge cloud node may obtain a trained third computing model. Alternatively, before step S420, the edge cloud node may obtain a training data set and train the model according to the training data set to obtain a trained third computing model.
[0171] In some embodiments, the first calculation model and the third calculation model are the same calculation model, or are different calculation models, which is not limited in the embodiments of the present application.
[0172] Optionally, when the network communication quality between the cloud management platform and the edge cloud node deteriorates, the preset degree determined by the edge cloud node becomes higher. For example, when the third network quality is worse than the current network quality, the fifth preset degree corresponding to the third network quality is higher than or equal to the fourth preset degree. That is, when the network communication quality between the cloud management platform and the edge cloud node deteriorates, the edge cloud node can allow services with a higher degree of business dependence to transmit data first, thereby avoiding the competition between services for network communication resources and causing the user business to fail to operate normally.
[0173] When the preset degree is quantified using numerical values, the fifth preset degree being higher than the fourth preset degree includes: the numerical value of the fifth preset degree is greater than the numerical value of the fourth preset degree. When the preset degree is high, medium, or low, the fifth preset degree being higher than the fourth preset degree includes: the fifth preset degree is high, and the fourth preset degree is medium or low; or the fifth preset degree is medium, and the fourth preset degree is low. Alternatively, when the preset degrees are of different levels, the cloud management platform can define the high and low levels, thereby determining the definition of the fifth preset degree being higher than the fourth preset degree.
[0174] In some embodiments, under the current network quality, the fourth preset degree determined by the edge cloud node may be the same as or different from the first preset degree determined by the cloud management platform, and the embodiments of the present application are not limited to this.
[0175] Optionally, the edge cloud node may determine the network quality range corresponding to the current network quality based on the current network quality, thereby determining the fourth preset degree based on the network quality range. For example, the edge cloud node may determine the fourth preset degree corresponding to the network quality range where the current network quality is located based on the sixth mapping relationship between the network quality range and the preset degree.
[0176] In some embodiments, the edge cloud node may determine the sixth mapping relationship by itself. Alternatively, the edge cloud node may receive the sixth mapping relationship from other devices connected to the edge cloud node. Alternatively, the edge cloud node may obtain the sixth mapping relationship uploaded by a user.
[0177] In some embodiments, the edge cloud node can determine the fourth preset degree by finding the network quality range in which the current network quality in the sixth mapping relationship is located. The embodiment of the present application does not limit the storage form of the sixth mapping relationship, for example, it can be stored in the form of a table, an array, a matrix, a function, etc. The way in which the edge cloud node determines the fourth preset degree based on the sixth mapping relationship is similar to the way in which the cloud management platform determines the first preset degree based on the second mapping relationship, and will not be repeated here.
[0178] Optionally, before step S420, the edge cloud node may determine at least one network quality range of at least one type. The at least one type includes: network packet loss, delay, bandwidth, etc. For example, the edge cloud node may determine at least one range of network packet loss, at least one range of delay, at least one range of bandwidth, etc. The edge cloud node may also determine a preset degree corresponding to each network quality range. For example, the edge cloud node may determine a preset degree corresponding to each range of network packet loss, a preset degree corresponding to each range of delay, a preset degree corresponding to each range of bandwidth, etc.
[0179] Optionally, when the network quality deteriorates, the preset degree corresponding to the network quality range becomes higher. For example, when the maximum value of the fifth preset range is lower than the minimum value of the sixth preset range, the preset degree corresponding to the fifth preset range is higher than the preset degree corresponding to the sixth preset range. That is, when the network quality between the cloud management platform and the edge cloud node deteriorates, the edge cloud node can enable services with a higher degree of business dependence to transmit data first, thereby avoiding the seizure of network communication resources between various services and causing the user business to fail to operate normally. For specific implementation methods, please refer to the description in step S220.
[0180] When the edge cloud node is deployed by a cloud vendor, the edge cloud node can determine at least one type of at least one network quality range based on the network communication capabilities required by each service in the edge cloud node or the specific network communication conditions of the cloud edge network. The specific network communication conditions of the cloud edge network may include packet loss, bandwidth, latency, etc. Alternatively, the edge cloud node can provide users with network quality ranges of different types and / or different scales, so that users can choose according to the business. The network quality ranges of different scales are similar to the meaning in S220 and will not be repeated here.
[0181] In some embodiments, the edge cloud node may directly ask the user to select a specific network quality range, or the edge cloud node may ask the user to select required services and / or network requirements, etc., thereby determining the corresponding network quality range based on the user's selection.
[0182] When the edge cloud node is deployed by the user, the user may determine at least one type of at least one network quality range according to the business or the specific network conditions of the edge cloud node, and upload the at least one type of at least one network quality range to the edge cloud node. The specific network conditions of the edge cloud node may include the packet loss, bandwidth, latency, etc. of the edge cloud node.
[0183] Optionally, after determining the fourth preset degree, the edge cloud node may determine at least one fourth service from at least one service required for the user's business. The business dependence degree of each fourth service in the at least one fourth service is higher than or equal to the fourth preset degree. The edge cloud node may also transmit data of the at least one fourth service to the cloud management platform.
[0184] In some embodiments, the edge cloud node may transmit data of at least one fourth service in descending order of the business dependency of each fourth service. For example, assuming that the business dependency of fourth service 1 is higher than that of fourth service 2, the edge cloud node may first transmit data of fourth service 1 and then transmit data of fourth service 2.
[0185] Optionally, the edge cloud node can store data of services with a lower business dependency in the storage space when transmitting data of services with a higher business dependency. After the data transmission of services with a higher business dependency is completed or after the network quality of the cloud edge network is improved, the edge cloud node can obtain data of services with a higher business dependency in the storage space for transmission.
[0186] In some embodiments, the edge cloud node can store data of at least one fifth service in a second storage space, and the business dependence degree of each fifth service is lower than the fourth preset degree. The second storage space is a storage space of the edge cloud node or a storage space connected to the edge cloud node.
[0187] When the second condition is met, the edge cloud node may transmit data of at least one sixth service in at least one fifth service to the cloud management platform. The second condition includes that the network quality is the fourth network quality and the business dependence degree of each sixth service is higher than or equal to the sixth preset degree, and the sixth preset degree corresponds to the fourth network quality. Alternatively, the second condition includes that the data of the at least one fourth service has been transmitted.
[0188] In some embodiments, the edge cloud node may transmit the data of each service in the second storage space in sequence according to the business dependency of the services from high to low.
[0189] Optionally, the edge cloud node can transmit at least one second data in the edge cloud node to the cloud management platform according to the third priority corresponding to the current network quality. The priority of each second data is higher than or equal to the third priority, and the priority of the second data is used to indicate the importance of the second data or the degree of dependence of the user's business on the second data. When the third network quality is worse than the current network quality, the fourth priority corresponding to the third network quality is higher than or equal to the third priority. The specific implementation method is the same as Figure 3 The method is similar to that in , so I will not repeat it here.
[0190] In some embodiments, under the same network quality, the priority determined by the edge cloud node and the priority determined by the cloud management platform may be the same or different, and the embodiments of the present application are not limited to this.
[0191] The edge cloud node can determine the corresponding preset degree according to the current network quality, so as to ensure that services that meet the preset degree can transmit data first. That is, when the network quality is poor, the edge cloud node can give priority to services with a higher business dependence to transmit data, thereby improving the reliability of the edge cloud node and ensuring that the user's business can operate normally.
[0192] Figure 5 It is a schematic system architecture diagram of the data transmission system provided in an embodiment of the present application. Figure 5 The public cloud 510 and the edge cloud node 520 are included. The public cloud 510 includes a cloud management platform 511, a network quality determination module 512, a preset degree determination module 513, a flow control module 514, and a storage module 515. The edge cloud node 520 includes an edge cloud management platform 521.
[0193] Cloud Management Platform 511 and Figure 1 The cloud management platform 111 is similar to the one in the example above and will not be described in detail here.
[0194] The network quality determination module 512 can determine the current network quality of the cloud edge network, that is, steps S210 and S310 can be executed. The cloud edge network is a communication network between the public cloud 510 and the edge cloud node 520. The network quality determination module 512 can monitor the network communication quality between the public cloud 510 and the edge cloud node 520 in real time, and can send the current network quality to the preset degree determination module 513.
[0195] In some embodiments, the network quality determination module 512 may send the current network quality to the preset degree determination module 513 after determining that the current network quality has changed. The change in the current network quality includes that the current network quality has improved or deteriorated. Alternatively, the network quality determination module 512 may determine the network quality range in which the current network quality is located after determining the current network quality. The network quality determination module 512 may also send the current network quality or the network quality range in which the current network quality is located to the preset degree determination module 513 after determining that the network quality range in which the current network quality is located has changed. The change in the network quality range in which the current network quality is located includes: the network quality range in which the current network quality is located changes from a first range to a second range, and the first range and the second range are ranges that do not completely overlap.
[0196] The preset level determination module 513 may determine a first preset level corresponding to the current network quality according to the current network quality and may also send the first preset level to the flow control module 514 .
[0197] In some embodiments, the preset degree determination module 513 may determine the first preset degree corresponding to the current network quality according to the first mapping relationship between the network quality and the preset degree. Alternatively, the preset degree determination module 513 may determine the first preset degree corresponding to the network quality range in which the current network quality is located according to the second mapping relationship between the network quality range and the preset degree.
[0198] In some embodiments, the preset level determination module 513 may determine the first priority corresponding to the current network quality according to the current network quality. The preset level determination module 513 may also send the first priority to the flow control module 514 .
[0199] In some embodiments, the preset degree determination module 513 may determine the first priority corresponding to the current network quality according to the third mapping relationship between the network quality and the preset priority. Alternatively, the preset degree determination module 513 may determine the first priority corresponding to the network quality range in which the current network quality is located according to the fourth mapping relationship between the network quality range and the preset priority.
[0200] The flow control module 514 can transmit data of at least one first service to the edge cloud management platform 521 in the edge cloud node 520 according to the first preset degree corresponding to the current network quality. The business dependence degree of each first service in the at least one first service is higher than or equal to the first preset degree. Each first service is a service in the cloud management platform 511. The flow control module 514 can also store data of services whose business dependence degree is lower than the first preset degree to the storage module 515 when link congestion occurs in the cloud edge network.
[0201] In some embodiments, the traffic control module 514 may transmit the data of the at least one first service in order from high to low service dependency.
[0202] In some embodiments, the flow control module 514 can transmit at least one first data to the edge cloud management platform 521 in the edge cloud node 520 according to the first priority corresponding to the current network quality. The priority of each first data in the at least one first data is higher than or equal to the first priority. The flow control module 514 can also store data with a priority lower than the first priority to the storage module 515 when link congestion occurs in the cloud edge network.
[0203] In some embodiments, the flow control module 514 may transmit the at least one first data in order from high to low priority.
[0204] The storage module 515 may store data to be transmitted to the edge cloud management platform. The data may be, for example, data of services with low business dependency or data with low priority, or data whose transmission is temporarily suspended to avoid link congestion in the cloud edge network.
[0205] In some embodiments, after the network quality of the cloud edge network is improved or the data of the at least one first service has been transmitted, the traffic control module 514 may send the data stored in the storage module 515 to the edge cloud management platform 521. The traffic control module 514 may transmit the data in the storage module 515 in order from high to low service dependency in the storage module 515.
[0206] For example, the traffic control module 514 may transmit data of at least one third service in at least one second service to the edge cloud management platform 521 when a first condition is met. The first condition includes that the network quality is the second network quality and the business dependence degree of each third service is higher than or equal to a third preset degree, and the third preset degree corresponds to the second network quality. Or the first condition includes that the data of at least one first service has been transmitted.
[0207] In some embodiments, after the network quality of the cloud edge network is improved or the at least one first data has been transmitted, the flow control module 514 may send the data stored in the storage module 515 to the edge cloud management platform 521. The flow control module 514 may transmit the data in the storage module 515 in descending order of priority in the storage module 515.
[0208] In some embodiments, the preset level determination module 513, the flow control module 514 and the storage module 515 may be used to perform steps S220 and S320.
[0209] In some embodiments, the public cloud 510 may also include a configuration module 516 and / or a cloud operation and maintenance platform 517 .
[0210] The configuration module 516 may send at least one network quality range of at least one type to the network quality determination module 512. Alternatively, the configuration module 516 may also send a first mapping relationship between network quality and a preset degree or a second mapping relationship between a network quality range and a preset degree to the preset degree determination module 513. Alternatively, the configuration module 516 may also send a third mapping relationship between network quality and a preset priority or a fourth mapping relationship between a network quality range and a preset priority to the preset degree determination module 513. The at least one network quality range of the at least one type, the first mapping relationship, and the second mapping relationship may refer to the description in S220. The third mapping relationship and the fourth mapping relationship may refer to the description in S320.
[0211] The cloud operation and maintenance platform 517 has the capabilities of monitoring, alarming, logging and management, and can monitor virtual machines, physical servers, etc. in the public cloud 510 or edge cloud node 520 in real time, and issue timely alarms when abnormal situations occur. The cloud operation and maintenance platform can transmit data to the edge cloud node 520 through the cloud-edge network.
[0212] The edge cloud management platform 521 can manage or control computing or storage resources in the edge cloud node 520, such as servers, bare metal servers, network services (such as gateways, firewalls, etc.), storage services (such as data bucket services), etc. that manage virtual machines and containers in the edge cloud node 520. The edge cloud management platform 521 can also receive data or information from the public cloud 510.
[0213] The cloud management platform can determine the corresponding preset priority according to the current network quality, so as to ensure that data that meets the preset priority can be transmitted first. In other words, the cloud management platform can give priority to transmitting data with higher priority when the network quality is poor, thereby improving the reliability of edge cloud nodes and ensuring that users' services can run normally.
[0214] Figure 6 It is a schematic system architecture diagram of the data transmission system provided in an embodiment of the present application. Figure 6 The public cloud 610 includes a public cloud 610 and an edge cloud node 620. The public cloud 610 includes a cloud management platform 611. Figure 5 The cloud management platform 511 is similar and will not be described again here.
[0215] In some embodiments, the public cloud 610 may further include a cloud operation and maintenance platform 612 and / or a configuration module 613. Figure 5 The cloud operation and maintenance platform 517 in FIG. 5 is similar and will not be described here.
[0216] The configuration module 613 may send at least one type of at least one network quality range to the network quality determination module 622 in the edge cloud node 620. Alternatively, the configuration module 613 may also send a fifth mapping relationship between network quality and a preset degree or a sixth mapping relationship between a network quality range and a preset degree to the preset degree determination module 623. Alternatively, the configuration module 613 may also send a seventh mapping relationship between network quality and a preset priority or an eighth mapping relationship between a network quality range and a preset priority to the preset degree determination module 623. The at least one type of at least one network quality range, the fifth mapping relationship, and the sixth mapping relationship may refer to the description in S420. The seventh mapping relationship is similar to the third mapping relationship in step S320, and the seventh mapping relationship may be the same as or different from the third mapping relationship. The eighth mapping relationship is similar to the fourth mapping relationship in step S320, and the eighth mapping relationship may be the same as or different from the fourth mapping relationship.
[0217] In some embodiments, the configuration module 613 and Figure 5 The configuration module 516 in the public cloud is similar, that is, the configuration module 613 can send at least one network quality range of at least one type to the network quality determination module in the public cloud 610, and can also send the first mapping relationship, the second mapping relationship, the third mapping relationship, and the fourth mapping relationship to the preset degree determination module in the public cloud 610.
[0218] In some embodiments, the configuration module 613 may send the same or different network quality ranges to the network quality determination module in the public cloud 610 and the network quality determination module 622. Alternatively, the first mapping relationship sent by the configuration module 613 may be the same as or different from the fifth mapping relationship. Alternatively, the second mapping relationship sent by the configuration module 613 may be the same as or different from the sixth mapping relationship.
[0219] The edge cloud node 620 includes an edge cloud management platform 621 , a network quality determination module 622 , a preset degree determination module 623 , a traffic control module 624 , and a storage module 625 .
[0220] Edge Cloud Management Platform 621 and Figure 5 The edge cloud management platform 521 is similar and will not be described again here.
[0221] The network quality determination module 622 can determine the current network quality of the cloud edge network, that is, step S410 can be executed. The network quality determination module 622 can monitor the network communication quality between the public cloud 610 and the edge cloud node 620 in real time, and can send the current network quality to the preset degree determination module 623.
[0222] In some embodiments, the network quality determination module 622 may send the current network quality to the preset degree determination module 623 after determining that the current network quality has changed. The change in the current network quality includes that the current network quality has improved or deteriorated. Alternatively, the network quality determination module 622 may determine the network quality range in which the current network quality is located after determining the current network quality. The network quality determination module 622 may also send the current network quality or the network quality range in which the current network quality is located to the preset degree determination module 623 after determining that the network quality range in which the current network quality is located has changed. The change in the network quality range in which the current network quality is located includes: the network quality range in which the current network quality is located changes from a first range to a second range, and the first range and the second range are ranges that do not completely overlap.
[0223] The preset level determination module 623 may determine a fourth preset level corresponding to the current network quality according to the current network quality and may also send the fourth preset level to the flow control module 624 .
[0224] In some embodiments, the preset degree determination module 623 may determine the fourth preset degree corresponding to the current network quality according to the fifth mapping relationship between the network quality and the preset degree. Alternatively, the preset degree determination module 623 may determine the fourth preset degree corresponding to the network quality range in which the current network quality is located according to the sixth mapping relationship between the network quality range and the preset degree.
[0225] In some embodiments, the preset level determination module 623 may determine the third priority corresponding to the current network quality according to the current network quality. The preset level determination module 623 may also send the third priority to the flow control module 624 .
[0226] In some embodiments, the preset degree determination module 623 may determine the third priority corresponding to the current network quality according to the seventh mapping relationship between the network quality and the preset priority. Alternatively, the preset degree determination module 623 may determine the third priority corresponding to the network quality range in which the current network quality is located according to the eighth mapping relationship between the network quality range and the preset priority.
[0227] The flow control module 624 can transmit data of at least one fourth service to the cloud management platform 611 or the cloud operation and maintenance platform 612 in the public cloud 610 according to the fourth preset degree corresponding to the current network quality. The business dependence degree of each fourth service in the at least one fourth service is higher than or equal to the fourth preset degree. Each fourth service is a service in the edge cloud management platform 621. The flow control module 624 can also store data of services whose business dependence degree is lower than the fourth preset degree to the storage module 625 when link congestion occurs in the cloud edge network.
[0228] In some embodiments, the traffic control module 624 may transmit the data of the at least one fourth service in sequence according to the service dependency from high to low.
[0229] In some embodiments, the flow control module 624 may transmit at least one second data to the cloud management platform 611 or the cloud operation and maintenance platform 612 in the public cloud 610 according to the third priority corresponding to the current network quality. The priority of each second data in the at least one second data is higher than or equal to the third priority. The flow control module 624 may also store data with a priority lower than the third priority to the storage module 625 when link congestion occurs in the cloud edge network.
[0230] In some embodiments, the flow control module 624 may transmit the at least one second data in sequence according to the order of priority from high to low.
[0231] The storage module 625 may store data that needs to be transmitted to the cloud management platform 611 or the cloud operation and maintenance platform 612. The data may be, for example, data of services with low business dependence or data with low priority, or data whose transmission is temporarily suspended to avoid link congestion in the cloud edge network.
[0232] In some embodiments, after the network quality of the cloud edge network is improved or the data of the at least one fourth service has been transmitted, the traffic control module 624 may send the data stored in the storage module 625 to the cloud management platform 611 or the cloud operation and maintenance platform 612. The traffic control module 624 may transmit the data in the storage module 625 in order from high to low service dependency in the storage module 625.
[0233] For example, when the second condition is met, the traffic control module 624 may transmit data of at least one sixth service in at least one fifth service to the cloud management platform 611 or the cloud operation and maintenance platform 612. The second condition includes that the network quality is the fourth network quality and the service dependence degree of each sixth service is higher than or equal to the sixth preset degree, and the sixth preset degree corresponds to the fourth network quality. Alternatively, the second condition includes that the data of at least one fourth service has been transmitted.
[0234] In some embodiments, after the network quality of the cloud edge network is improved or the at least one first data has been transmitted, the flow control module 624 may send the data stored in the storage module 625 to the cloud management platform 611 or the cloud operation and maintenance platform 612. The flow control module 624 may transmit the data in the storage module 625 in descending order of priority in the storage module 625.
[0235] In some embodiments, the preset degree determination module 623, the flow control module 624 and the storage module 625 may be used to execute step S420.
[0236] The edge cloud node can determine the corresponding preset degree according to the current network quality, so as to ensure that services that meet the preset degree can transmit data first. That is, when the network quality is poor, the edge cloud node can give priority to services with a higher business dependence to transmit data, thereby improving the reliability of the edge cloud node and ensuring that the user's business can operate normally.
[0237] Figure 7 It is a schematic structural block diagram of a data transmission device provided in an embodiment of the present application. Figure 7 The data transmission device 700 in the embodiment may include a determination module 710 and a sending module 720. The device 700 may be applied to a cloud management platform or an edge cloud node, and may be implemented by software, hardware, or a combination of both. The data transmission device 700 may implement the embodiment of the present application. Figure 2-Figure 4 The method flow is shown.
[0238] The determination module 710 can be used to determine the current network quality between the cloud management platform and the edge cloud node (ie, the cloud-edge network), and the determination module 710 can be used to execute steps S210, S310, and S410.
[0239] In some embodiments, the determination module 710 can also be used to determine the business dependency of at least one service in the cloud management platform or edge cloud node based on the user's business; or, obtain the business dependency of at least one service in the cloud management platform or edge cloud node uploaded by the user.
[0240] The sending module 720 may be used to transmit data of at least one service whose service dependence degree is higher than or equal to the preset degree according to the preset degree corresponding to the current network quality. The sending module 720 may be used to execute steps S220, S320 and S420.
[0241] In some embodiments, the sending module 720 may transmit the data of the at least one service in sequence according to the business dependency degree of each service and in descending order of the business dependency degree.
[0242] In some embodiments, the sending module 720 may transmit at least one data having a priority higher than or equal to a preset priority according to a preset priority corresponding to the current network quality.
[0243] In some embodiments, the data transmission device may further include a storage module 730. The storage module 730 is used to store data of services whose business dependence is lower than a preset degree in the storage space. Alternatively, the storage module 730 is used to store data whose priority is lower than a preset priority in the storage space. Alternatively, the storage module 730 is used to store data to avoid link congestion in the cloud edge network in the storage space.
[0244] In some embodiments, the sending module 720 may transmit data in the storage space after the network quality of the cloud-edge network is improved, or after data of services whose business dependence is higher than or equal to a preset degree has been transmitted, or after data whose priority is higher than or equal to a preset priority has been transmitted.
[0245] In some embodiments, the sending module 720 may transmit the data of one or more services in the storage space in descending order of service dependency. Alternatively, the sending module 720 may transmit the data in the storage space in descending order of priority.
[0246] Among them, the determination module 710, the sending module 720 and the storage module 730 can all be implemented by software, or can be implemented by hardware. Exemplarily, the implementation of the sending module 720 is introduced below by taking the sending module 720 as an example. Similarly, the implementation of the determination module 710 and the storage module 730 can refer to the implementation of the sending module 720.
[0247] As an example of a software functional unit, the sending module 720 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 sending module 720 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 one data center or multiple data centers with similar geographical locations. Among them, usually a region may include multiple AZs.
[0248] 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.
[0249] As an example of a hardware functional unit, the sending module 720 may include at least one computing device, such as a server, etc. Alternatively, the sending module 720 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.
[0250] The multiple computing devices included in the sending module 720 can be distributed in the same region or in different regions. The multiple computing devices included in the sending module 720 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the sending module 720 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.
[0251] 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.
[0252] 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 determination module 710 can be used to execute any step in the above method, the sending module 720 can be used to execute any step in the above method, and the storage module 730 can be used to execute any step in the above method. The steps that the determination module 710, the sending module 720, and the storage module 730 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 determination module 710, the sending module 720, and the storage module 730.
[0253] 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.
[0254] 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.
[0255] Figure 8 800 is a schematic structural block diagram of a computing device 800 provided in an embodiment of the present application. The computing device 800 may be a server or a computer or other device with computing capabilities. Figure 8 The computing device 800 shown includes at least one processor 810 and a memory 820 .
[0256] It should be understood that the present application does not limit the number of processors and memories in the computing device 800 .
[0257] The processor 810 executes the instructions in the memory 820, so that the computing device 800 implements the method provided by the present application. Alternatively, the processor 810 executes the instructions in the memory 820, so that the computing device 800 implements the functional modules provided by the present application, thereby implementing the method provided by the present application.
[0258] Optionally, the computing device 800 further includes a communication interface 830. The communication interface 830 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 800 and other devices or a communication network.
[0259] Optionally, the computing device 800 further includes a system bus 840, wherein the processor 810, the memory 820 and the communication interface 830 are respectively connected to the system bus 840. The processor 810 can access the memory 820 through the system bus 840. For example, the processor 810 can read and write data or execute code in the memory 820 through the system bus 840. The system bus 840 is a peripheral component interconnect express (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus 840 is divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 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.
[0260] In a possible implementation, the function of the processor 810 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 820 or the cache of the processor 810.
[0261] Optionally, the processor 810 may be an integrated circuit chip with signal processing capabilities. As an example and not limitation, the processor 810 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 810 is a central processing unit (CPU).
[0262] The memory 820 can provide a running space for the processes in the computing device 800. For example, the computer program (specifically, the program code) used to generate the process is stored in the memory 820. 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 820. 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 820 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.
[0263] Optionally, the storage is also called memory, which is used to temporarily store the calculation data in the processor 810 and the data exchanged with the external storage such as the hard disk. As long as the computer is running, the processor 810 will transfer the data to be calculated to the memory for calculation, and transmit the result after the calculation is completed.
[0264] As an example and not limitation, the memory 820 is a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory is ROM, PROM, EPROM, EEPROM or flash memory. Volatile memory is a random access memory (random access memory, RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that the memory 820 of the system and method described herein is intended to include but is not limited to these and any other suitable types of memory.
[0265] The structure of the computing device 800 listed above is only an example, and the present application is not limited thereto. The computing device 800 of the embodiment of the present application includes various hardware in the computer system in the prior art. For example, the computing device 800 also includes other memories besides the memory 820, such as disk storage, etc. Those skilled in the art should understand that the computing device 800 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 800 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 800 may also include only the devices necessary to implement the embodiment of the present application, and does not necessarily include Figure 8 All devices shown in .
[0266] The embodiment of the present application also provides a data transmission system. The data transmission system includes a first data transmission device and a second data transmission device. The first data transmission device is applied to the cloud management platform to execute Figure 2-Figure 3 The second data transmission device is applied to the edge cloud node to perform Figure 4 The first data transmission device and the second data transmission device are Figure 7 The data transmission device 700 is similar.
[0267] The first data transmission device and the second data transmission device can be implemented by software or hardware. For example, the implementation of the first data transmission device is described below. Similarly, the implementation of the second data transmission device can refer to the implementation of the first data transmission device.
[0268] As an example of a software functional unit, the first data transmission device may include code running on a computing instance. The computing instance may be at least one of a physical host (computing device), a virtual machine, a container, and other computing devices. Furthermore, the computing device may be one or more. For example, the first data transmission device 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 application may be distributed in the same region or in different regions. The multiple hosts / virtual machines / containers used to run the code may be distributed in the same AZ or in different AZs, each AZ including a data center or multiple data centers with close geographical locations. Typically, a region may include multiple AZs.
[0269] 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 must be set up in each VPC to achieve interconnection between VPCs through the communication gateway.
[0270] As an example of a hardware functional unit, the first data transmission device may include at least one computing device, such as a server, etc. Alternatively, the first data transmission device may also be a device implemented by ASIC or PLD, etc. The PLD may be implemented by CPLD, FPGA, GAL or any combination thereof.
[0271] The multiple computing devices included in the first data transmission device can be distributed in the same region or in different regions. The multiple computing devices included in the first data transmission device can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the first data transmission device 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.
[0272] 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.
[0273] like Fig. 9 As shown, the computing device cluster includes at least one computing device 800. The memory 820 in one or more computing devices 800 in the computing device cluster may store the same instructions for executing the above method.
[0274] In some possible implementations, the memory 820 in one or more computing devices 800 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 800 may jointly execute the instructions of the above method.
[0275] It should be noted that the memory 820 in different computing devices 800 in the computing device cluster can store different instructions, which are respectively used to execute part of the functions of the above-mentioned device. That is, the instructions stored in the memory 820 in different computing devices 800 can realize the functions of one or more modules in the above-mentioned device.
[0276] 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.10 A possible implementation is shown. Fig.10 As shown, two computing devices 800A and 800B are connected via a network. Specifically, they are connected to the network via a communication interface in each computing device.
[0277] It should be understood that Fig.10 The functions of the computing device 800A shown in FIG. 8 may also be completed by multiple computing devices 800. Similarly, the functions of the computing device 800B may also be completed by multiple computing devices 800.
[0278] 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.
[0279] 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.
[0280] 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.
[0281] 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.
[0282] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0283] 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.
[0284] 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.
[0285] 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.
[0286] 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.
[0287] 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.
[0288] 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, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or 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 USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0289] 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 data transmission method, It is characterized in that The method is applied to a cloud management platform, and the method includes: The cloud management platform determines a current network quality, where the current network quality is used to indicate a network communication quality between an edge cloud node and the cloud management platform; The cloud management platform transmits data of at least one first service in the cloud management platform to the edge cloud node according to a first preset degree corresponding to the current network quality, and the business dependence degree of each first service is higher than or equal to the first preset degree. The business dependence degree of the first service is used to indicate the degree of dependence of the user's business on the first service.
2. The method according to claim 1, It is characterized in that When the first network quality is worse than the current network quality, the second preset degree corresponding to the first network quality is higher than or equal to the first preset degree.
3. The method according to claim 1 or 2, It is characterized in that The cloud management platform transmits data of at least one first service in the cloud management platform to the edge cloud node according to a first preset degree corresponding to the current network quality, including: The cloud management platform transmits the data of the at least one first service in sequence according to the business dependency degree of each first service and in descending order of the business dependency degree.
4. The method according to any one of claims 1 to 3, It is characterized in that The method further comprises: The cloud management platform transmits at least one first data in the cloud management platform to the edge cloud node according to the first priority corresponding to the current network quality, where the priority of each first data is higher than or equal to the first priority, and the priority of the first data is used to indicate the importance of the first data or the degree of dependence of the user's business on the first data.
5. The method according to claim 4, It is characterized in that When the first network quality is worse than the current network quality, the second priority corresponding to the first network quality is higher than or equal to the first priority.
6. The method according to any one of claims 1 to 5, It is characterized in that The method further comprises: The cloud management platform stores data of at least one second service in the first storage space, and the business dependence degree of each second service is lower than the first preset degree; The cloud management platform transmits data of at least one third service among the at least one second service to the edge cloud node when a first condition is met, wherein the first condition includes that the network quality is the second network quality and the business dependence degree of each third service is higher than or equal to a third preset degree, and the third preset degree corresponds to the second network quality, or the first condition includes that the data of the at least one first service has been transmitted.
7. The method according to any one of claims 1 to 6, It is characterized in that The method further comprises: The cloud management platform determines the business dependency of at least one service in the cloud management platform according to the business of the user; or, The cloud management platform obtains the business dependency level of the at least one service uploaded by the user.
8. A data transmission method, It is characterized in that The method is applied to an edge cloud node, and the method comprises: The edge cloud node determines a current network quality, where the current network quality is used to indicate a network communication quality between a cloud management platform and the edge cloud node; The edge cloud node transmits data of at least one fourth service in the edge cloud node to the cloud management platform according to a fourth preset degree corresponding to the current network quality, and the business dependence degree of each fourth service is higher than or equal to the fourth preset degree. The business dependence degree of the fourth service is used to indicate the degree of dependence of the user's business on the fourth service.
9. The method according to claim 8, It is characterized in that When the third network quality is worse than the current network quality, the fifth preset degree corresponding to the third network quality is higher than or equal to the fourth preset degree.
10. The method according to claim 8 or 9, It is characterized in that The edge cloud node transmits data of at least one fourth service in the edge cloud node to the cloud management platform according to a fourth preset degree corresponding to the current network quality, including: The edge cloud node transmits the data of the at least one fourth service in sequence according to the business dependency degree of each fourth service and in descending order of the business dependency degree.
11. The method according to any one of claims 8 to 10, It is characterized in that The method further comprises: The edge cloud node transmits at least one second data in the edge cloud node to the cloud management platform according to the third priority corresponding to the current network quality, the priority of each second data is higher than or equal to the third priority, and the priority of the second data is used to indicate the importance of the second data or the degree of dependence of the user's business on the second data.
12. The method according to claim 11, It is characterized in that When the third network quality is worse than the current network quality, the fourth priority corresponding to the third network quality is higher than or equal to the third priority.
13. The method according to any one of claims 8 to 12, It is characterized in that The method further comprises: The edge cloud node stores data of at least one fifth service in the second storage space, and the business dependence degree of each fifth service is lower than the fourth preset degree; The edge cloud node transmits data of at least one sixth service among the at least one fifth service to the cloud management platform when the second condition is met, and the second condition includes that the network quality is the fourth network quality and the business dependence degree of each sixth service is higher than or equal to the sixth preset degree, and the sixth preset degree corresponds to the fourth network quality, or the second condition includes that the data of the at least one fourth service has been transmitted.
14. The method according to any one of claims 8 to 13, It is characterized in that The method further comprises: The edge cloud node determines the business dependency of at least one service in the edge cloud node according to the business of the user; or, The edge cloud node obtains the business dependency level of the at least one service uploaded by the user.
15. A data transmission device, It is characterized in that The device is applied to a cloud management platform, and the device includes: A determination module, used to determine the current network quality, where the current network quality is used to indicate the network communication quality between the edge cloud node and the cloud management platform; A sending module is used to transmit data of at least one first service in the cloud management platform to the edge cloud node according to a first preset degree corresponding to the current network quality, wherein the business dependence degree of each first service is higher than or equal to the first preset degree, and the business dependence degree of the first service is used to indicate the degree of dependence of the user's business on the first service.
16. The device according to claim 15, It is characterized in that When the first network quality is worse than the current network quality, the second preset degree corresponding to the first network quality is higher than or equal to the first preset degree.
17. The device according to claim 15 or 16, It is characterized in that The sending module is specifically configured to transmit the data of the at least one first service in sequence according to the service dependency degree of each first service and in descending order of the service dependency degree.
18. The device according to any one of claims 15 to 17, It is characterized in that The sending module is also used to transmit at least one first data in the cloud management platform to the edge cloud node according to the first priority corresponding to the current network quality, the priority of each first data is higher than or equal to the first priority, and the priority of the first data is used to indicate the importance of the first data or the degree of dependence of the user's business on the first data.
19. The device according to claim 18, It is characterized in that When the first network quality is worse than the current network quality, the second priority corresponding to the first network quality is higher than or equal to the first priority.
20. The device according to any one of claims 15 to 19, It is characterized in that The device also includes: A storage module, used for storing data of at least one second service in the first storage space, wherein the business dependence degree of each second service is lower than the first preset degree; The sending module is also used to transmit data of at least one third service among the at least one second service to the edge cloud node when a first condition is met, the first condition including that the network quality is the second network quality and the business dependence degree of each third service is higher than or equal to a third preset degree, the third preset degree corresponds to the second network quality, or the first condition includes that the data of the at least one first service has been transmitted.
21. The device according to any one of claims 15 to 20, It is characterized in that The determining module is also used for: Determine the business dependency of at least one service in the cloud management platform according to the business of the user; or obtain the business dependency of the at least one service uploaded by the user.
22. A data transmission device, It is characterized in that The device is applied to an edge cloud node, and the device includes: A determination module, used to determine the current network quality, where the current network quality is used to indicate the network communication quality between the cloud management platform and the edge cloud node; A sending module is used to transmit data of at least one fourth service in the edge cloud node to the cloud management platform according to a fourth preset degree corresponding to the current network quality, wherein the business dependence degree of each fourth service is higher than or equal to the fourth preset degree, and the business dependence degree of the fourth service is used to indicate the degree of dependence of the user's business on the fourth service.
23. The device according to claim 22, It is characterized in that When the third network quality is worse than the current network quality, the fifth preset degree corresponding to the third network quality is higher than or equal to the fourth preset degree.
24. The device according to claim 22 or 23, It is characterized in that The sending module is specifically configured to transmit the data of the at least one fourth service in sequence according to the service dependency degree of each fourth service and in descending order of the service dependency degree.
25. The device according to any one of claims 22 to 24, It is characterized in that The sending module is also used to transmit at least one second data in the edge cloud node to the cloud management platform according to the third priority corresponding to the current network quality, the priority of each second data is higher than or equal to the third priority, and the priority of the second data is used to indicate the importance of the second data or the degree of dependence of the user's business on the second data.
26. The device according to claim 25, It is characterized in that When the third network quality is worse than the current network quality, the fourth priority corresponding to the third network quality is higher than or equal to the third priority.
27. The device according to any one of claims 22 to 26, It is characterized in that The device also includes: A storage module, used for storing data of at least one fifth service in the second storage space, wherein the business dependence degree of each fifth service is lower than the fourth preset degree; The sending module is also used to transmit data of at least one sixth service among the at least one fifth service to the cloud management platform when a second condition is met, wherein the second condition includes that the network quality is the fourth network quality and the business dependence degree of each sixth service is higher than or equal to the sixth preset degree, and the sixth preset degree corresponds to the fourth network quality, or the second condition includes that the data of the at least one fourth service has been transmitted.
28. The device according to any one of claims 22 to 27, It is characterized in that The determining module is further used for: Determine the business dependency of at least one service in the edge cloud node according to the business of the user; or obtain the business dependency of the at least one service uploaded by the user.
29. A computing device, It is characterized in that The computer comprises a processor and a memory, wherein the processor is configured to execute instructions stored in the memory so that the computing device performs the method according to any one of claims 1 to 14.
30. A data transmission system, It is characterized in that It comprises a data transmission device as described in any one of claims 15-21 and a data transmission device as described in any one of claims 22-28.
31. A computing device cluster, It is 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 14.
32. A computer program product comprising instructions, It is characterized in that When the instructions are executed by a computing device, the computing device is caused to perform the method according to any one of claims 1 to 14.
33. A computer program product comprising instructions, It is 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 14.
34. A computer readable storage medium, It is characterized in that The method comprises computer program instructions, which, when executed by a computing device, perform the method according to any one of claims 1 to 14.
35. A computer readable storage medium, It is characterized in that The method comprises computer program instructions, which, when executed by a computing device cluster, perform the method according to any one of claims 1 to 14.
