Multi-target cloud edge cooperative computing unloading method and related equipment

Through the multi-objective cloud-edge collaborative computing offloading method, combined with the weight of delay and power consumption, the configuration of computing resources is optimized, which solves the low delay and low overhead problems of delay-sensitive and computing-intensive applications, and realizes the integration between edge cloud and central cloud. Efficient resource utilization of time.

CN118555307APending Publication Date: 2024-08-27FIBRLINK NETWORKS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410505443.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing technologies are difficult to achieve low-latency and low-overhead cloud computing offloading in latency-sensitive and computing-intensive applications. In particular, due to the problems of transmission latency and insufficient computing power, user terminal devices are offloaded to the central cloud for processing. Unable to meet low latency requirements.

Method used

A multi-objective cloud-edge collaborative computing offloading method is proposed. By determining the latency and power consumption of user-level applications on different computing platforms, an overhead model is established, a genetic algorithm is used to optimize the offloading strategy, and the computing platform with the smallest overhead is selected for application offloading. Combined with Delay and power consumption weights are used to optimize computing resource allocation to meet the requirements of low delay and low overhead.

Benefits of technology

It realizes the optimal configuration between different computing platforms, meets users' sensitive needs for delay and power consumption, reduces the cost of computing resources, and improves the efficiency and service quality of computing offloading, especially in edge clouds and central clouds. Collaborative deployment provides lower transmission latency and more reasonable resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555307A
    Figure CN118555307A
Patent Text Reader

Abstract

The invention provides a multi-target cloud edge cooperative computing unloading method and related equipment. The method comprises the following steps: determining time delay and power consumption of an application of a user layer in different computing platforms; determining overhead models applied to different computing platforms according to the time delay and the power consumption, and determining an unloading strategy according to the overhead models; performing problem planning on the unloading strategy, and determining the minimum user overhead in the unloading strategy; and obtaining an application request of a user layer, and configuring different application requests to a computing platform with minimum overhead by utilizing a genetic algorithm according to an unloading strategy. Therefore, enough computing resources are provided to carry out data processing on the application, and low-delay and low-overhead processing on the application is satisfied at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of offloading strategy optimization, and in particular to a multi-target cloud-edge collaborative computing offloading method and related equipment. Background Art

[0002] With the rapid development of wireless communication technology, diversified network applications are becoming increasingly prosperous. However, some latency-sensitive and computing-intensive applications require ultra-low latency services. Ultra-low latency means that the devices running the applications have high transmission latency requirements and high computing power requirements. Whether the transmission latency is too long or the computing power is insufficient, resulting in a long running time, it is difficult to guarantee low-latency services.

[0003] In order to overcome the problem of insufficient computing power, computing offloading provides an effective solution, allowing mobile devices or mobile terminals with installed applications to transfer applications with high computing power requirements to computing platforms with higher computing power for processing, so as to overcome the problem of insufficient computing power of mobile devices or terminal devices. As a traditional application offloading architecture, cloud computing supports user terminal devices to transfer computing tasks to the central cloud for processing through a wide area network. However, the transmission distance between the user terminal device and the central cloud is far, which brings higher transmission latency. Offloading the application to the central cloud for processing and then receiving data back cannot meet the low latency requirement. Although edge cloud computing is not as good as the central cloud in terms of computing resources, it has greater computing resources than user mobile devices or mobile terminals. At the same time, the transmission distance is closer than that between the user mobile device or mobile terminal and the central cloud, and it can provide network services with lower transmission latency than the central cloud.

[0004] Therefore, when considering offloading applications to different computing platforms, it is necessary to consider factors such as the deployment status of edge cloud computing, user requirements for overall latency, and overall power consumption determined by power consumption prices. Therefore, when considering offloading applications to different computing platforms, it is necessary to find an offloading strategy that satisfies the user with the minimum overhead. Summary of the invention

[0005] In view of this, the purpose of this application is to propose a multi-target cloud-edge collaborative computing offloading method and related equipment that overcome the above-mentioned problems or at least partially solve the above-mentioned problems.

[0006] Based on the above objectives, the first aspect of the present application provides a multi-target cloud-edge collaborative computing offloading method, including:

[0007] Determine the latency and power consumption of user-level applications on different computing platforms;

[0008] Determine the overhead model of the application on different computing platforms according to the latency and power consumption, and determine the offloading strategy according to the overhead model;

[0009] Performing problem planning on the offloading strategy to determine that the user overhead is minimized in the offloading strategy;

[0010] Obtain application requests at the user layer, and according to the offloading strategy, use a genetic algorithm to configure different application requests to a computing platform with the lowest overhead.

[0011] Optionally, determining the latency and power consumption of user layer applications on different computing platforms includes:

[0012] Determine the computing resources required by the application and the processing delays of the application on different computing platforms;

[0013] Determining transmission delays of the application to different computing platforms respectively;

[0014] Determine the constraint coefficients of the application on different computing platforms respectively;

[0015] Determining the delay of the application on different computing platforms according to the constraint coefficient, the processing delay and the transmission delay;

[0016] Among them, the computing platform includes a first computing platform, a second computing platform and a third computing platform; the computing resources of the third computing platform are greater than the computing resources of the second computing platform and greater than the computing resources of the first computing platform; the user layer is closest to the first computing platform and farthest from the third computing platform.

[0017] Optionally, determining the power consumption of user layer applications on different computing platforms includes:

[0018] Determine the transmission power consumption per unit time when the application is transmitted to different computing platforms respectively;

[0019] Determine the power consumption of the application in processing per unit time on different computing platforms;

[0020] Determining the transmission power consumption of the application when transmitted to different computing platforms respectively according to the transmission delay and the transmission power consumption per unit time;

[0021] Determining the processing power consumption of the application on different computing platforms respectively according to the processing delay and the processing power consumption per unit time;

[0022] The power consumption of the application on the different computing platforms is determined according to the constraint coefficient, the transmission power consumption and the processing power consumption.

[0023] Optionally, determining the overhead model of the application on different computing platforms according to the latency and power consumption includes:

[0024] Determining a delay weight and a power consumption weight of the application;

[0025] Determining a delay cost according to the delay weight and the delay;

[0026] Determining a power consumption cost according to the power consumption weight and the power consumption;

[0027] Determine the unit power consumption price of the application on different computing platforms;

[0028] Determining the power consumption of the application on different computing platforms;

[0029] Determining the overhead of the application on different computing platforms according to the unit power consumption price and the computing resources required by the application;

[0030] The overhead model is determined according to the sum of the delay cost, the power consumption cost and the overhead.

[0031] Optionally, the latency of the application on different computing platforms is expressed as:

[0032]

[0033] Among them, T i l Indicates the application latency on the first computing platform, T i m Indicates the application latency on the second computing platform, T i c represents the application latency on the third computing platform, α i,l represents the constraint coefficient applied on the first computing platform, α i,m The constraint coefficient applied on the second computing platform, α i,c The constraint coefficient applied on the third computing platform, D i C i Indicates the computing resources required by the application, D i The application's task data size, f i l represents the computing frequency of the first computing platform, R i,m represents the transmission speed of the application to the second computing platform, f i,m represents the calculation frequency of the second computing platform, f i,c represents the computing frequency of the third computing platform, R i,c Indicates the transmission speed of the application to the third computing platform, d s represents the distance from the user layer to the third computing platform, and c represents the speed of light in vacuum;

[0034] The power consumption of applications on different computing platforms is expressed as:

[0035]

[0036] in, Indicates the power consumption of the application on the first computing platform, Indicates the power consumption of the application on the second computing platform. represents the power consumption of the application on the third computing platform, k i represents the effective power consumption coefficient, Indicates the transmission power consumption per unit time applied to the second computing platform, Indicates the transmission power consumption per unit time applied to the third computing platform.

[0037] Optionally, the cost model is expressed as:

[0038]

[0039] in, represents the delay weight, represents the power consumption weight, ρ m represents the unit power consumption price of the second computing platform, ρ c Indicates the unit power consumption price of the third computing platform.

[0040] Optionally, problem planning is performed on the uninstallation strategy to determine the uninstallation strategy with the minimum user overhead, which is expressed as:

[0041]

[0042] Where N represents the number of application requests, F m Represents the total computing resources of the second computing platform.

[0043] In a second aspect of the present application, a multi-target cloud-edge collaborative computing offloading device is provided, comprising:

[0044] A determination module, used to determine the latency and power consumption of user-layer applications on different computing platforms;

[0045] An unloading strategy module, which determines a cost model of the application on different computing platforms according to the latency and power consumption, and determines an unloading strategy according to the cost model;

[0046] Problem planning module: performing problem planning for the uninstallation strategy to determine the uninstallation strategy with the minimum user overhead;

[0047] The configuration module obtains the application request of the user layer, and according to the uninstallation strategy, uses the genetic algorithm to configure different application requests to the computing platform with the minimum overhead.

[0048] According to a third aspect of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.

[0049] According to a fourth aspect of the present application, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in the first aspect.

[0050] From the above, it can be seen that the multi-target cloud-edge collaborative computing unloading method and related equipment provided by the present application take into account the impact of the computing resource limitations of the first computing platform and the second computing platform, consider the constraint coefficients of the applications on different computing platforms, determine the latency and power consumption of the applications on different computing platforms, weight the user's sensitivity to latency and power consumption to form influencing factors that affect user satisfaction, and consider the overhead of different computing platforms at the same time. The overhead model is determined by combining all the above factors, and the unloading strategy is generated using the overhead model. Different application requests are "selectively configured" to the computing platform with the lowest overhead, which not only satisfies that there are sufficient computing resources to process application data, but also satisfies low-latency and low-overhead processing of the application.

[0051] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0053] Figure 1 A schematic diagram of an application scenario of a multi-target cloud-edge collaborative computing offloading method according to an embodiment of the present application;

[0054] Figure 2 This is a flow chart of a multi-target cloud-edge collaborative computing offloading method 100 according to an embodiment of the present application;

[0055] Figure 3 This is a schematic diagram of the impact of different unit power consumption prices on the unloading strategy in an embodiment of the present application;

[0056] Figure 4 This is a schematic diagram of the impact of different numbers of iterations on overhead in an embodiment of the present application;

[0057] Figure 5 A schematic diagram of the change in the number of users and the overhead under different offloading strategies in an embodiment of the present application;

[0058] Figure 6 This is a schematic diagram of a multi-target cloud-edge collaborative computing offloading device according to an embodiment of the present application;

[0059] Figure 7 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0060] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0061] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0062] As described in the above background technology, during the operation of user-layer applications, the applications are processed in the user terminal, and the transmission delay can be almost ignored. The main test is the computing power of the user terminal. However, the computing power of the user terminal cannot meet the processing of the application, or even if it meets the requirements, the computing power is limited and the calculation process is slow, which will also cause processing delays. In order to reduce the processing delay, it is necessary to seek a computing platform with greater computing power for processing. However, user-layer applications are generally downloaded to user terminals. In the process of seeking a computing platform with greater computing power for processing, it is also necessary to consider that the transmission time to the computing platform with greater computing power is longer than the transmission time at the user terminal. In addition, in addition to the transmission time, the processing delays of different computing platforms and the computing power pricing of different computing platforms by operators also need to be comprehensively considered to meet the differentiated needs of user-layer applications and offload different applications to the computing platform with the lowest overhead for offloading.

[0063] refer to Figure 1As shown, this is a network architecture diagram of the multi-target cloud-edge collaborative computing offloading method of an embodiment of the present application. In the implementation scenario of the embodiment of the present application, the application can be run on different computing platforms, that is, offloaded to different computing platforms. The different computing platforms of the present application include a first computing platform, a second computing platform, and a third computing platform, where the first computing platform can be a local platform, that is, a local terminal where the user-layer application is located, such as a mobile phone, tablet computer, laptop computer, etc., which can support application download or support application operation. Terminal devices.

[0064] The second computing platform can be an edge cloud, where the edge cloud is relatively close to the user layer and is usually deployed on devices such as micro base stations and wireless network controllers. Its computing resources are greater than those of the first computing platform.

[0065] The third computing platform can be a central cloud connected via satellite relay, where the central cloud is relatively far away from the user layer and usually includes basic hardware facilities such as a central processing unit, random access memory, and disk. It has sufficient computing resources, which are greater than those of the second computing platform.

[0066] It should be noted that the application needs to be transmitted to the third computing platform via the second computing platform. At the same time, the above is only an example of the first computing platform, the second computing platform and the third computing platform, and does not serve as a specific limitation on the first computing platform, the second computing platform and the third computing platform in the embodiments of the present application.

[0067] refer to Figure 2 As shown, the purpose of method 100 is to realize collaborative computing on different computing platforms when different applications are running, and the method of selecting the optimal computing platform starts from step 101. In step 101, the latency and power consumption of user-layer applications on different computing platforms are determined.

[0068] It is easy to understand that the distance between the application and different computing platforms is different. When using different computing platforms to run the application, the required transmission distance is also different, and different transmission distances bring different transmission delays. At the same time, during the transmission process, the different sizes of applications will also bring different transmission power consumption. At the same time, it is determined that after transmission to the computing platform, the computing resources of the computing platform can meet the computing resources required by the application.

[0069] In some embodiments, determining the latency of a user-layer application on different computing platforms includes:

[0070] Determine the computing resources required by the application i C i And the processing latency of applications on different computing platforms;

[0071] Determine the transmission delay of applications to different computing platforms;

[0072] Determine the constraint coefficients of the application on different computing platforms;

[0073] Determine the latency of applying different computing platforms based on the constraint coefficient, processing latency, and transmission latency.

[0074] Specifically, user-layer applications can be processed on any of the first computing platform, the second computing platform, and the third computing platform, and an application can only be processed on one computing platform, that is, unloaded to one computing platform. The constraint coefficients of the application on the first computing platform, the second computing platform, and the third computing platform are determined to be α i,l , α i,m , α i,c , satisfying α i,l +α i,m +α i,c =1. Determine the computing frequencies of different computing platforms, and obtain the processing delays applied on the first computing platform, the second computing platform, and the third computing platform respectively. where f i l , f i,m , f i,c They respectively represent the computing frequencies of the first computing platform, the second computing platform and the third computing platform, where the computing frequencies are measured in terms of CPU cycles.

[0075] Compared with the second computing platform and the third computing platform, that is, the edge cloud and the central cloud in this application, the application is transmitted to the first computing platform, that is, the local terminal in this application, and the transmission delay can be ignored. At the same time, the application needs to pass through the second computing platform when it is transmitted to the third computing platform. The second computing platform is relatively close to the user layer, and the task data size D of the application is determined. i and the speed R of transferring the unit task data of the application to the second computing platform i,m , then the transmission delay of the application to the second computing platform is determined to be The third computing platform is far away from the user layer and needs to be transmitted through the second computing platform via satellite relay. The speed R of the unit task data of the application to be transmitted to the third computing platform is determined. i,c , the transmission delay of the application to the third computing platform is Since the transmission to the third computing platform needs to pass through the relay satellite, the transmission delay in the vacuum needs to be considered. Since the second computing platform is close to the user layer, the d s Approximately represents the distance between the third computing platform and the user layer.

[0076] The latency of the application on different computing platforms is expressed as:

[0077]

[0078] In some embodiments, determining the power consumption of applications at the user level on different computing platforms includes:

[0079] Determine the transmission power consumption per unit time when the application is transmitted to different computing platforms;

[0080] Determine the power consumption per unit time of the application on different computing platforms;

[0081] Determine the transmission power consumption of the application when it is transmitted to different computing platforms based on the transmission delay and the transmission power consumption per unit time;

[0082] Determine the processing power consumption of the application on different computing platforms based on the processing latency and processing power consumption per unit time;

[0083] Determine the power consumption of the application on different computing platforms based on the constraint coefficient, transmission power consumption, and processing power consumption.

[0084] Specifically, with the same transmission delay, the user layer is closer to the first computing platform, and the transmission power consumption of the application transmitted to the first computing platform can also be ignored. The transmission power consumption per unit time of the application transmitted to the second computing platform and the third computing platform is determined to be Determine that the transmission power consumption of the application transmitted to the second computing platform and the third computing platform is respectively While the transmission power consumption is negligible, the processing power consumption of the first computing platform needs to be considered. The processing power consumption of the first computing platform is expressed as D i C i k i (f i l ) 2 , determine the processing power consumption per unit time of the application on the second computing platform and the third computing platform is The processing power consumption of the application on the second computing platform and the third computing platform is determined to be

[0085] Combined with the constraint coefficient, the power consumption of the application on different computing platforms is determined as:

[0086]

[0087] Then, in step 102, the overhead model of the application on different computing platforms is determined according to the latency and power consumption, and the offloading strategy is determined according to the overhead model.

[0088] In some embodiments, step S102 includes:

[0089] Determine the latency weight and power consumption weight of the application;

[0090] Determine the delay cost based on the delay weight and delay;

[0091] Determine the power consumption cost according to the power consumption weight and power consumption;

[0092] Determine the unit power consumption price of the application on different computing platforms;

[0093] Determine the power consumption of applications on different computing platforms;

[0094] Determine the cost of the application on different computing platforms based on the unit power price and power consumption;

[0095] The cost model is determined according to the sum of delay cost, power consumption cost and cost.

[0096] Specifically, the delay weight is determined as The power consumption weight is Then the corresponding delay cost is:

[0097]

[0098] The power consumption cost is:

[0099]

[0100] Taking into account the actual situation, operators have different pricing for computing resources for different computing platforms. In the embodiment of the present application, the first computing platform is a local terminal, and there is no need to consider the pricing of computing resources. However, the second computing platform and the third computing platform are edge cloud and central cloud, respectively, and the pricing of computing resources needs to be considered. Then the unit power consumption price of the second computing platform and the third computing platform is determined to be ρ m , ρ c , and determine the computing resources required by the application as D i C i , determine the application overhead on the second computing platform and the third computing platform respectively m α i,m D i C i , ρ c α i,c D i C i .

[0101] The cost model is expressed as:

[0102]

[0103] The overhead model determines the unloading strategy. As described in the above embodiment, an application can only be processed on one computing platform. That is, when the application is unloaded to the first computing platform for data processing, it cannot be unloaded to the second computing platform and the third computing platform for data processing at the same time. Similarly, when the application is unloaded to the second computing platform for data processing, it cannot be unloaded to the third computing platform for processing at the same time.

[0104] Afterwards, in step S103, problem planning is performed on the uninstallation strategy to determine the uninstallation strategy with the minimum user overhead.

[0105] Specifically, the target optimization problem P1 is expressed as:

[0106]

[0107] If you want to ensure that the application can only be offloaded to one of the computing platforms for data processing, the constraint coefficients are limited respectively. The constraint coefficients of the first computing platform, the second computing platform and the third computing platform are all 0 or 1. C1, C2 and C3 limit the constraint coefficients to 0 or 1 respectively. C4 limits the sum of the constraint coefficients of the first computing platform, the second computing platform and the third computing platform to 1. Taking into account the limited actual resources, C5 limits the application to not exceed the total computing resources of the second computing platform. Otherwise, there is no need to consider the first computing platform and the second computing platform, and data processing can only be performed by offloading the application to the third computing platform.

[0108] Afterwards, in step S104, the application request of the user layer is obtained, and according to the uninstallation strategy, a genetic algorithm is used to configure different application requests to a computing platform with the minimum overhead.

[0109] In an embodiment of the present application, different computing platforms are configured for different applications based on the computing resource configuration criterion of "optimal configuration" to minimize overhead. Specifically, there is more than one application at the user level, and accordingly, there is more than one application request. For different application requests, users can randomly select unloading strategies and estimate their own overhead on different computing platforms. According to the multi-target cloud-edge collaborative computing unloading method of the embodiment of the present application, based on the computing resources of different computing platforms and the rule of "optimal configuration", limited computing resources are selected to be configured to users who can obtain lower overhead, and the configuration of a user is completed once.

[0110] In the embodiment of the present application, a genetic algorithm is used to change the unloading strategy through crossover, mutation, etc. of user requests, estimate the unloading cost, and eliminate the unloading strategies with high overhead according to the survival of the fittest. The iteration is continued until all user requests are matched or the upper limit of the iteration number is reached, so that different application requests can be configured to the computing platform with the lowest overhead.

[0111] The genetic algorithm process is shown in Table 1 below.

[0112] Table 1

[0113]

[0114] It is understandable that parameters such as application size, application complexity, latency sensitivity, data transmission rate, and transmission power are used to determine the latency and power consumption of applications on different computing platforms.

[0115] refer to Figure 3 , showing the impact of different unit power consumption prices on the unloading strategy in the embodiment of the present application.

[0116] The overhead model is set as follows: the transmission speed from the user layer to the second computing platform is [1e6, 1e7] (bit / s), and the delay weight and power consumption weight The value range is [1,10], and the effective power consumption coefficient k i =10 -26 , the number of CPU cycles required to process 1 bit of data C i =[800,1000], the unit power consumption price of the second computing platform and the third computing platform ρ m and ρ c The value range is [10 -10 ,10 -9 ].

[0117] from Figure 3 It can be seen that with the increase in the price per unit power consumption, the number of users who unload to the first computing platform (local computing) increases, and the number of users who unload to the second computing platform (MEC) and the third computing platform (MCC) decreases. This is because the price increase leads to an increase in the unloading cost to the second and third computing platforms, and users are more inclined to unload to the first computing platform.

[0118] Figure 4 The effect of different numbers of iterations on the overhead is shown. As the number of iterations increases, the overhead gradually decreases and eventually stabilizes. This is achieved by selecting an offloading strategy through the target cloud-edge collaborative computing offloading method of the present application, which eliminates poorly performing offloading strategies through crossover and mutation, thereby gradually reducing the overhead. When different coefficients of variation are compared with the same crossover coefficient, the larger the coefficient of variation, the greater the fluctuation, and the easier it is to accelerate the reduction of overhead in the early stage.

[0119] Figure 5 The figure shows the change of user's overhead under different offloading strategies. Compared with offloading through the second computing platform (MEC), offloading through the third computing platform (MCC) and offloading through the first computing platform (full local computing), the present application ( Figure 5The offloading strategy of MUCO in the present application has better performance, especially when the computing resources of the second computing platform are insufficient, the efficiency of computing resource generation can be improved. As can be seen from the figure, the performance of the multi-target cloud-edge collaborative computing offloading method of the present application is significantly higher than that of the other three methods. As the amount of application request data in the first computing platform increases, the overhead gradually increases. However, the delay of the multi-target cloud-edge collaborative computing offloading method proposed in the present application is minimal. This is because the present application selects a more reasonable offloading mode and resource allocation to achieve efficient utilization of different computing platforms and ensure that different computing platforms can achieve low-latency computing offloading services.

[0120] In summary, the multi-target cloud-edge collaborative computing offloading method proposed in this application has the following advantages:

[0121] This application is based on a computing system consisting of a first computing platform, a second computing platform and a third computing platform. For the problem of unloading different application requests at different user layers, the coupling relationship between latency and power consumption is comprehensively considered to minimize overhead.

[0122] In addition, the overhead model of the present application adapts to the influencing factors of different factors and reduces the power consumption of algorithm operation in a targeted manner, providing a solution for the reasonable offloading of a large number of heterogeneous delay-sensitive and computationally intensive applications.

[0123] In order to reflect the limited computing power of the second computing platform and to ensure the service quality of delay-sensitive applications, this application uses a genetic algorithm to "optimally configure" the unloading strategy to minimize user overhead.

[0124] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0125] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0126] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a multi-target cloud-edge collaborative computing unloading device.

[0127] refer to Figure 6 , the multi-target cloud-edge collaborative computing offloading device comprises:

[0128] A determination module, used to determine the latency and power consumption of user-layer applications on different computing platforms;

[0129] An unloading strategy module, which determines a cost model of the application on different computing platforms according to the latency and power consumption, and determines an unloading strategy according to the cost model;

[0130] Problem planning module: performing problem planning for the uninstallation strategy to determine the uninstallation strategy with the minimum user overhead;

[0131] The configuration module obtains the application request of the user layer, and according to the uninstallation strategy, uses the genetic algorithm to configure different application requests to the computing platform with the minimum overhead.

[0132] In some embodiments, determining the latency and power consumption of user-layer applications on different computing platforms includes:

[0133] Determine the computing resources required by the application and the processing latency of the application on different computing platforms;

[0134] Determine the transmission delay of applications to different computing platforms;

[0135] Determine the constraint coefficients of the application on different computing platforms;

[0136] Determine the latency of applications on different computing platforms based on constraint coefficients, processing latency, and transmission latency;

[0137] Among them, the computing platforms include a first computing platform, a second computing platform and a third computing platform; the computing resources of the third computing platform are greater than the computing resources of the second computing platform which are greater than the computing resources of the first platform; the user layer is closest to the first computing platform and farthest from the third computing platform.

[0138] In some embodiments, determining the power consumption of applications at the user level on different computing platforms includes:

[0139] Determine the transmission power consumption per unit time when the application is transmitted to different computing platforms;

[0140] Determine the power consumption per unit time of the application on different computing platforms;

[0141] Determine the transmission power consumption of the application when it is transmitted to different computing platforms based on the transmission delay and the transmission power consumption per unit time;

[0142] Determine the processing power consumption of the application on different computing platforms based on the processing latency and processing power consumption per unit time;

[0143] Determine the power consumption of the application on different computing platforms based on the constraint coefficient, transmission power consumption, and processing power consumption.

[0144] In some embodiments, determining an overhead model for application on different computing platforms based on latency and power consumption includes:

[0145] Determine the latency weight and power consumption weight of the application;

[0146] Determine the delay cost based on the delay weight and delay;

[0147] Determine the power consumption cost according to the power consumption weight and power consumption;

[0148] Determine the unit power consumption price of the application on different computing platforms;

[0149] Determine the power consumption of applications on different computing platforms;

[0150] Determine the application's cost on different computing platforms based on the unit power consumption price and the computing resources required by the application;

[0151] The cost model is determined according to the sum of delay cost, power consumption cost and overhead.

[0152] In some embodiments, the latency of applications on different computing platforms is expressed as:

[0153]

[0154] The power consumption of applications on different computing platforms is expressed as:

[0155]

[0156] In some embodiments, the cost model is expressed as:

[0157]

[0158] In some embodiments, problem planning is performed on the uninstallation strategy to determine that the user overhead in the uninstallation strategy is the minimum, which is expressed as:

[0159]

[0160] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0161] The device of the above embodiment is used to implement the corresponding multi-target cloud-edge collaborative computing offloading method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0162] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and run on the processor. When the processor executes the program, the multi-target cloud-edge collaborative computing unloading method described in any of the above embodiments is implemented.

[0163] Figure 7 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0164] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0165] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0166] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0167] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0168] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0169] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0170] The electronic device of the above-mentioned embodiment is used to implement the corresponding multi-target cloud-edge collaborative computing offloading method in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0171] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the multi-target cloud-edge collaborative computing unloading method as described in any of the above embodiments.

[0172] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0173] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the multi-target cloud-edge collaborative computing offloading method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0174] Based on the same inventive concept, corresponding to the multi-target cloud-edge collaborative computing unloading method described in any of the above embodiments, the present disclosure also provides a computer program product, which includes computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer so that the computer and / or the processor executes the multi-target cloud-edge collaborative computing unloading method. Corresponding to the execution subject corresponding to each step in each embodiment of the multi-target cloud-edge collaborative computing unloading method, the processor that executes the corresponding step may belong to the corresponding execution subject.

[0175] The computer program product of the above-mentioned embodiment is used to enable the computer and / or the processor to execute the multi-target cloud-edge collaborative computing offloading method as described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0176] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0177] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0178] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0179] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A multi-target cloud-edge collaborative computing offloading method, It is characterized in that include: Determine the latency and power consumption of user-level applications on different computing platforms; Determine the overhead model of the application on different computing platforms according to the latency and power consumption, and determine the offloading strategy according to the overhead model; Performing problem planning on the offloading strategy to determine that the user overhead is minimized in the offloading strategy; Obtain application requests at the user layer, and according to the offloading strategy, use a genetic algorithm to configure different application requests to a computing platform with the lowest overhead.

2. The method according to claim 1, It is characterized in that Determining the latency and power consumption of user layer applications on different computing platforms includes: Determine the computing resources required by the application and the processing delays of the application on different computing platforms; Determining transmission delays of the application to different computing platforms respectively; Determine the constraint coefficients of the application on different computing platforms respectively; Determining the delay of the application on different computing platforms according to the constraint coefficient, the processing delay and the transmission delay; Among them, the computing platform includes a first computing platform, a second computing platform and a third computing platform; the computing resources of the third computing platform are greater than the computing resources of the second computing platform and greater than the computing resources of the first computing platform; the user layer is closest to the first computing platform and farthest from the third computing platform.

3. The method according to claim 2, It is characterized in that The determining of the power consumption of the user layer application on different computing platforms includes: Determine the transmission power consumption per unit time when the application is transmitted to different computing platforms respectively; Determine the power consumption of the application in processing per unit time on different computing platforms; Determining the transmission power consumption of the application when transmitted to different computing platforms respectively according to the transmission delay and the transmission power consumption per unit time; Determining the processing power consumption of the application on different computing platforms respectively according to the processing delay and the processing power consumption per unit time; The power consumption of the application on the different computing platforms is determined according to the constraint coefficient, the transmission power consumption and the processing power consumption.

4. The method according to claim 2, It is characterized in that Determining the overhead model of the application on different computing platforms according to the delay and the power consumption includes: Determining a delay weight and a power consumption weight of the application; Determining a delay cost according to the delay weight and the delay; Determining a power consumption cost according to the power consumption weight and the power consumption; Determine the unit power consumption price of the application on different computing platforms; Determining the power consumption of the application on different computing platforms; Determining the overhead of the application on different computing platforms according to the unit power consumption price and the computing resources required by the application; The overhead model is determined according to the sum of the delay cost, the power consumption cost and the overhead.

5. The method according to claim 3, It is characterized in that The latency of the application on different computing platforms is expressed as: Among them, T i l Indicates the application latency on the first computing platform, T i m Indicates the application latency on the second computing platform, T i c represents the application latency on the third computing platform, α i,l represents the constraint coefficient applied on the first computing platform, α i,m The constraint coefficient applied on the second computing platform, α i,c The constraint coefficient applied on the third computing platform, D i C i Indicates the computing resources required by the application, D i The application's task data size, f i l represents the computing frequency of the first computing platform, R i,m represents the transmission speed of the application to the second computing platform, f i,m represents the calculation frequency of the second computing platform, f i,c represents the computing frequency of the third computing platform, R i,c Indicates the transmission speed of the application to the third computing platform, d s represents the distance from the user layer to the third computing platform, and c represents the speed of light in vacuum; The power consumption of applications on different computing platforms is expressed as: in, Indicates the power consumption of the application on the first computing platform, Indicates the power consumption of the application on the second computing platform. represents the power consumption of the application on the third computing platform, k i represents the effective power consumption coefficient, Indicates the transmission power consumption per unit time applied to the second computing platform, Indicates the transmission power consumption per unit time applied to the third computing platform.

6. The method according to claim 5, It is characterized in that The cost model is expressed as: in, represents the delay weight, represents the power consumption weight, ρ m represents the unit power consumption price of the second computing platform, ρ c Indicates the unit power consumption price of the third computing platform.

7. The method according to claim 6, It is characterized in that Problem planning is performed on the offloading strategy to determine that the user overhead in the offloading strategy is the minimum, which is expressed as: Where N represents the number of application requests, F m Represents the total computing resources of the second computing platform.

8. A multi-target cloud-edge collaborative computing offloading device, It is characterized in that include: A determination module, used to determine the latency and power consumption of user-layer applications on different computing platforms; An unloading strategy module, which determines a cost model of the application on different computing platforms according to the latency and power consumption, and determines an unloading strategy according to the cost model; Problem Planning Module; Performing problem planning on the offloading strategy to determine that the user overhead is minimized in the offloading strategy; The configuration module obtains the application request of the user layer, and according to the uninstallation strategy, uses the genetic algorithm to configure different application requests to the computing platform with the minimum overhead.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.