A task migration method, device and equipment for cloud-edge collaborative computing

By optimizing the task data processing ratio and resource allocation in the cloud-edge collaborative computing environment, the problem of task transmission and calculation delay in cloud-edge collaborative computing is solved, and the efficient calculation and transmission of characteristic tasks in edge devices are realized, satisfying the requirements of edge devices. limited resource requirements.

CN115567599BActive Publication Date: 2024-09-27ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202211273933.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-18
Publication Date
2024-09-27
Estimated Expiration
2042-10-18

AI Technical Summary

Technical Problem

The existing cloud-edge collaborative computing environment lacks consideration of the computing and transmission resource characteristics of characteristic type data, making it difficult to efficiently utilize the limited resources on the edge side and unable to meet the computing needs of characteristic tasks in edge devices, resulting in long task transmission and computing delays.

Method used

By obtaining the parameter data of the cloud and edge devices, we calculate and determine the computing time, transmission time and energy consumption on the edge and cloud sides, establish a delay model for task migration, and obtain the optimal task data processing ratio through the optimization model. Compute resource allocation and transmission bandwidth, and optimize the calculation of characteristic tasks in a cloud-edge collaborative computing environment.

Benefits of technology

Under the condition that the energy consumption of edge devices is limited, the total delay in calculation and transmission of characteristic tasks of IoT intelligent applications is reduced, the efficiency of cloud-edge collaborative computing is improved, and the computing requirements of characteristic tasks of edge devices are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115567599B
    Figure CN115567599B
Patent Text Reader

Abstract

The present application relates to a method, device and equipment for task migration of cloud-edge collaborative computing, which includes obtaining the total computing upper limit resources of the cloud-allocated area and obtaining all edge devices in the area and parameter data corresponding to each edge device; calculating and determining the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption and the edge-side transmission energy consumption according to the parameter data, and determining the delay model of task migration of cloud-edge collaborative computing based on them; and optimizing the delay model to obtain the optimal task data processing ratio for processing feature task calculations for each edge device, allocate computing resource data and transmission bandwidth data, and perform cloud-edge collaborative feature task calculations in the execution area according to them. This method is used to optimize the division and resource allocation of feature task calculations for intelligent applications in a cloud-edge collaborative computing environment, and reduce the computing time and total transmission delay of feature task calculations in the region.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computing task migration, and in particular to a method, device and equipment for task migration of cloud-edge collaborative computing. Background Art

[0002] With the rapid development of the Internet of Things (IoT) and artificial intelligence (AI), more and more computationally intensive and delay-sensitive intelligent application tasks based on deep neural networks are widely used in different terminal devices, such as face recognition, object recognition, semantic segmentation and other tasks. Since intelligent application tasks usually have high computing resource requirements and generate a lot of energy consumption, existing terminal devices are usually difficult to meet the resource requirements of the above intelligent application tasks due to the limitations of volume, battery power, computing and storage capabilities. Therefore, a large number of IoT terminal devices usually offload the above tasks to resource-rich cloud platforms for processing. Although the cloud can solve the problem of insufficient terminal capabilities, the cloud service devices in the cloud are usually located in a centralized cloud center far away from the terminal devices. The terminal devices need to transmit task data to the cloud computing center in the cloud through the core network with limited bandwidth resources for processing, and then obtain the task processing results, which brings high system delay and unpredictability. It is difficult to meet the needs of delay-sensitive intelligent application tasks. When the number of tasks of the terminal device is too large, the massive task data exchange process between the terminal device and the cloud server in the cloud will bring huge pressure to the core network, thereby further increasing the transmission time and energy consumption, so edge computing is born.

[0003] As a new computing and storage service technology that is closer to terminal devices, edge computing can quickly respond to and process intelligent application tasks of geographically dispersed terminal devices by organically combining computing, storage and other resources on the edge of the network, thereby greatly reducing the latency of task processing, reducing the demand for core network bandwidth resources for task data, and alleviating the pressure on the core network. It is an ideal solution for realizing large-scale intelligent terminal tasks in the future. However, due to restrictions such as deployment location, size, and construction and operation costs, edge computing nodes have limited computing resources and storage capacity, making it difficult to support large-scale concurrent task processing like cloud services on the cloud. Offloading too many intelligent application tasks to the edge side for processing will place a heavy burden on edge computing nodes with limited computing resources, increase the time for task transmission and calculation, and thus reduce the quality of intelligent application services.

[0004] With the development of science and technology, the collaborative computing method that combines the advantages of cloud and edge computing (referred to as cloud-edge collaborative computing) is a good solution to the problem of large-scale terminal equipment intelligent application task processing. In cloud-edge collaborative computing, by offloading some tasks on the edge side to the cloud, it can not only solve the problem of insufficient computing resources on the edge side, but also alleviate the pressure on the core network under the cloud computing model. For intelligent application tasks based on deep neural networks, by selecting a reasonable intermediate feature data layer or converting traditional compressed data streams into feature data streams, the size of transmitted data can be reduced while ensuring the accuracy of intelligent application task completion.

[0005] At present, the task migration method in the cloud-edge collaborative computing environment lacks the characteristics of considering the computing and transmission resources required for feature type data, making it difficult to efficiently utilize the limited resources on the edge side. Therefore, it is necessary to construct a method for migrating and allocating feature data computing tasks in intelligent application tasks in the cloud-edge collaborative environment under the condition of limited edge resources, jointly optimize the migration decision of edge tasks and the allocation of cloud-edge collaborative computing resources, and reduce the total latency of task transmission and computing. Summary of the invention

[0006] The embodiments of the present application provide a task migration method, device and equipment for cloud-edge collaborative computing, which are used to solve the technical problem that the existing cloud-edge collaborative computing has task transmission delay and computing delay, and cannot meet the characteristic task computing requirements in limited energy edge devices.

[0007] In order to achieve the above objectives, the present application provides the following technical solutions:

[0008] A method for migrating tasks for cloud-edge collaborative computing includes the following steps:

[0009] Obtaining the total computing upper limit resources of the cloud allocation area and obtaining all edge devices in the area and parameter data corresponding to each of the edge devices, the parameter data including computing capacity upper limit data, energy consumption upper limit data, task data, characteristic computing resource data, allocated computing resource data, task data processing ratio, transmission bandwidth data, computing power and transmission power;

[0010] Calculate and determine the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption, and the edge-side transmission energy consumption according to the parameter data;

[0011] Determine the delay model of task migration of cloud-edge collaborative computing according to the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption, and the edge-side transmission energy consumption; and optimize the delay model to obtain the optimal task data processing ratio, allocated computing resource data, and transmission bandwidth data for each edge device to process characteristic tasks;

[0012] The optimal task data processing ratio is calculated based on processing feature tasks for each edge device, and computing resource data and transmission bandwidth data are allocated to execute cloud-edge collaborative feature task calculations in the execution area.

[0013] Preferably, calculating and determining the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption, and the edge-side transmission energy consumption according to the parameter data includes:

[0014] The edge side calculation formula is used to calculate the characteristic computing resource data, task data processing ratio, task data and computing capacity upper limit data of each edge device to obtain the edge side calculation time required for the corresponding edge device;

[0015] The cloud-side calculation formula is used to calculate the characteristic computing resource data, task data processing ratio, task data and allocated computing resource data of each edge device to obtain the cloud-side computing time required for processing the corresponding characteristic task calculation;

[0016] A characteristic data transmission time calculation formula is used according to the task data processing ratio, task data and transmission bandwidth data of each edge device to obtain the first task transmission time of the corresponding edge device;

[0017] According to the task data processing ratio, task data and transmission bandwidth data of each edge device, the original data transmission time calculation formula is used to obtain the second task transmission time of the corresponding edge device;

[0018] The energy consumption formula is used according to the computing power of each edge device and the time required for edge-side computing to obtain the edge-side computing energy consumption of the corresponding edge device;

[0019] The edge-side transmission energy consumption of the corresponding edge device is obtained by using the transmission energy consumption formula according to the transmission power, the first task transmission time and the second task transmission time of each edge device.

[0020] Preferably, the edge side calculation formula is:

[0021]

[0022] The cloud-side calculation formula is:

[0023]

[0024] The characteristic data transmission time calculation formula is:

[0025]

[0026] The original data transmission time calculation formula is:

[0027]

[0028] The formula for calculating energy consumption is:

[0029] The transmission energy consumption formula is:

[0030] In the formula, is the time required for edge-side computation of the nth edge device, α n The feature computing resource data for the nth edge device, θ n is the task data processing ratio of the nth edge device, L n is the task data of the nth edge device, is the computing capacity upper limit data of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, The allocated computing resource data allocated by the cloud to the nth edge device, is the first task transmission time of the nth edge device, γ is the compression ratio of the feature data obtained after the edge device completes the feature task calculation and the original value, R n is the transmission bandwidth data of the nth edge device, is the second task transmission time of the nth edge device, Calculate the energy consumption on the edge side of the nth edge device, is the computing power of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, is the transmission power of the nth edge device.

[0031] Preferably, obtaining the optimal task data processing ratio, allocation of computing resource data and transmission bandwidth data for processing feature tasks for each edge device includes:

[0032] Determine the time for each edge device of the cloud-edge collaborative computing to complete the characteristic task calculation according to the edge-side calculation time, the cloud-side calculation time, the first task transmission time, and the second task transmission time;

[0033] Based on the delay model, subgradient descent is used for optimization so that the time for each edge device to complete the feature task calculation is minimized and the optimization constraints are met, and the optimal value of the delay model for the corresponding edge device is obtained. The optimal value of the delay model includes the optimal task data processing ratio, allocation of computing resource data and transmission bandwidth data for calculating the feature task for each edge device.

[0034] Preferably, the time required for each edge device of the cloud-edge collaborative computing to complete the characteristic task calculation is determined using a time calculation formula according to the edge side calculation time, the cloud side calculation time, the first task transmission time, and the second task transmission time. The time calculation formula is:

[0035]

[0036] Where, t n The time it takes for the nth edge device to complete the feature task calculation, The time required for edge-side calculation of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, is the first task transmission time of the nth edge device, is the second task transmission time of the nth edge device.

[0037] Preferably, the delay model is:

[0038]

[0039] The optimization constraints are:

[0040] Where N is the set of all edge devices in the region, R n is the transmission bandwidth data of the nth edge device, is the computing resource data allocated by the cloud to the nth edge device, θ n is the task data processing ratio of the nth edge device, t n is the time it takes for the nth edge device to complete the feature task calculation, R is the total bandwidth data in the area, and f c Allocate the total computing resources of the region to the cloud. Calculate the energy consumption on the edge side of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, Energy consumption cap data of the nth edge device.

[0041] The present application also provides a task migration device for cloud-edge collaborative computing, including a data acquisition module, a first computing module, a second computing module and an execution module;

[0042] The data acquisition module is used to obtain the total computing upper limit resources of the cloud allocation area and obtain all edge devices in the area and parameter data corresponding to each edge device, wherein the parameter data includes computing capacity upper limit data, energy consumption upper limit data, task data, characteristic computing resource data, allocated computing resource data, task data processing ratio, transmission bandwidth data, computing power and transmission power;

[0043] The first calculation module is used to calculate and determine the time required for edge-side calculation, the time required for cloud-side calculation, the first task transmission time, the second task transmission time, the edge-side calculation energy consumption and the edge-side transmission energy consumption according to the parameter data;

[0044] The second computing module is used to determine the delay model of task migration of cloud-edge collaborative computing according to the edge side computing time, the cloud side computing time, the first task transmission time, the second task transmission time, the edge side computing energy consumption and the edge side transmission energy consumption; and optimize the delay model to obtain the optimal task data processing ratio, allocation computing resource data and transmission bandwidth data for each edge device to process characteristic tasks;

[0045] The execution module is used to calculate the optimal task data processing ratio, allocate computing resource data and transmission bandwidth data to execute cloud-edge collaborative feature task calculation in the region according to processing feature tasks for each edge device.

[0046] Preferably, the first calculation module is also used to calculate the edge side calculation formula according to the characteristic calculation resource data, task data processing ratio, task data and computing capacity upper limit data of each edge device, to obtain the edge side calculation time required for the corresponding edge device; calculate the cloud side calculation formula according to the characteristic calculation resource data, task data processing ratio, task data and allocated computing resource data of each edge device, to obtain the cloud side calculation time required for the corresponding processing characteristic task calculation; calculate the characteristic data transmission time calculation formula according to the task data processing ratio, task data and transmission bandwidth data of each edge device, to obtain the first task transmission time of the corresponding edge device; calculate the original data transmission time calculation formula according to the task data processing ratio, task data and transmission bandwidth data of each edge device, to obtain the second task transmission time of the corresponding edge device; calculate the energy consumption formula according to the computing power of each edge device and the time required for edge side calculation, to obtain the edge side computing energy consumption of the corresponding edge device; calculate the transmission energy consumption formula according to the transmission power, the first task transmission time and the second task transmission time of each edge device, to obtain the edge side transmission energy consumption of the corresponding edge device; wherein, the edge side calculation formula is:

[0047]

[0048] The cloud-side calculation formula is:

[0049]

[0050] The characteristic data transmission time calculation formula is:

[0051]

[0052] The original data transmission time calculation formula is:

[0053]

[0054] The formula for calculating energy consumption is:

[0055] The transmission energy consumption formula is:

[0056] In the formula, is the time required for edge-side computation of the nth edge device, α n The feature computing resource data for the nth edge device, θ n is the task data processing ratio of the nth edge device, L n is the task data of the nth edge device, is the computing capacity upper limit data of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, The allocated computing resource data allocated by the cloud to the nth edge device, is the first task transmission time of the nth edge device, γ is the compression ratio of the feature data obtained after the edge device completes the feature task calculation and the original value, R n is the transmission bandwidth data of the nth edge device, is the second task transmission time of the nth edge device, Calculate the energy consumption on the edge side of the nth edge device, is the computing power of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, is the transmission power of the nth edge device.

[0057] Preferably, the second calculation module is also used to determine the time for each edge device of the cloud-edge collaborative computing to complete the characteristic task calculation according to the time required for the edge side calculation, the time required for the cloud side calculation, the first task transmission time, and the second task transmission time by using a time calculation formula; based on the delay model, a sub-gradient descent method is used for optimization, so that the time for each edge device to complete the characteristic task calculation is minimized and the optimization constraint conditions are met, and the optimal value of the delay model of the corresponding edge device is obtained, and the optimal value of the delay model includes the optimal task data processing ratio, the allocation of computing resource data, and the transmission bandwidth data for each edge device to process the characteristic task calculation; wherein, the time calculation formula is:

[0058]

[0059] The delay model is:

[0060]

[0061] The optimization constraints are:

[0062] Where N is the set of all edge devices in the region, R n is the transmission bandwidth data of the nth edge device, is the computing resource data allocated by the cloud to the nth edge device, θ n is the task data processing ratio of the nth edge device, t n is the time it takes for the nth edge device to complete the feature task calculation, R is the total bandwidth data in the area, and f c Allocate the total computing resources of the region to the cloud. Calculate the energy consumption on the edge side of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, The energy consumption limit data of the nth edge device, The time required for edge-side calculation of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, is the first task transmission time of the nth edge device, is the second task transmission time of the nth edge device.

[0063] The present application also provides a terminal device, including a processor and a memory;

[0064] The memory is used to store program codes and transmit the program codes to the processor;

[0065] The processor is used to execute the above-mentioned cloud-edge collaborative computing task migration method according to the instructions in the program code.

[0066] It can be seen from the above technical scheme that the embodiments of the present application have the following advantages: the task migration method, device and equipment of the cloud-edge collaborative computing, the method comprising: obtaining the total computing upper limit resources of the cloud-allocated area and obtaining all edge devices in the area and parameter data corresponding to each edge device; calculating and determining the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption and the edge-side transmission energy consumption according to the parameter data; determining the delay model of task migration of cloud-edge collaborative computing according to the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption and the edge-side transmission energy consumption; and optimizing the delay model to obtain the optimal task data processing ratio, computing resource data and transmission bandwidth data for calculating the characteristic tasks for each edge device; executing the cloud-edge collaborative characteristic task calculation in the area according to the optimal task data processing ratio, computing resource data and transmission bandwidth data for calculating the characteristic tasks for each edge device. Through the task migration method of cloud-edge collaborative computing, the division of characteristic task calculations for intelligent applications and the allocation of resources are optimized in the cloud-edge collaborative computing environment, and the total delay of calculation and transmission of characteristic task calculations of IoT intelligent applications in the region is reduced under the condition of limited energy consumption of edge devices. This solves the technical problem that the existing cloud-edge collaborative computing has task transmission delay and calculation delay and cannot meet the characteristic task calculation requirements in edge devices with limited energy. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0068] Figure 1 A flowchart of the steps of the task migration method for cloud-edge collaborative computing described in an embodiment of the present application;

[0069] Figure 2 A framework diagram of the task migration device for cloud-edge collaborative computing described in an embodiment of the present application. DETAILED DESCRIPTION

[0070] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described below are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0071] The embodiments of the present application provide a task migration method, device and equipment for cloud-edge collaborative computing, which are used to solve the technical problem that the existing cloud-edge collaborative computing has task transmission delay and computing delay, and cannot meet the characteristic task computing requirements in limited energy edge devices.

[0072] Embodiment 1:

[0073] Figure 1 This is a step flow chart of the task migration method for cloud-edge collaborative computing described in an embodiment of the present application.

[0074] like Figure 1 As shown, the embodiment of the present application provides a task migration method for cloud-edge collaborative computing, including the following steps:

[0075] S1. Obtain the total computing upper limit resources of the cloud allocation area and obtain all edge devices in the area and parameter data corresponding to each edge device, the parameter data including computing power upper limit data, energy consumption upper limit data, task data, characteristic computing resource data, allocated computing resource data, task data processing ratio, transmission bandwidth data, computing power and transmission power.

[0076] It should be noted that in step S1, the data required for cloud-edge collaborative computing is mainly obtained, which includes cloud data and edge device parameter data. In this embodiment, a region is used as an example. Generally speaking, the number of edge devices in a certain region is stable. The number of edge devices deployed in the region is set to 1, 2, ..., n, ... N, and the computing power upper limit data and energy consumption upper limit data of the nth edge device are The total computing upper limit resources allocated by the cloud side to the region are denoted as f c , the total bandwidth data in the core network of the region is recorded as R. If each edge device has a batch of feature task calculations that need to be completed through cloud-edge collaboration, the task data size in the nth edge device is set as L n , the feature computing resource data size required to complete the feature task calculation is recorded as α n , where α n To calculate each bit L n The number of floating-point operations required, α n The size of depends on the computational complexity of the feature task computation of the nth edge device. The allocated computing resource data allocated by the cloud to the nth edge device is recorded as When the nth edge device n completes the feature task calculation, the power consumed by the nth edge device to calculate the feature task is recorded as the calculation power The power consumed by the nth edge device to transmit the characteristic task calculation is recorded as the transmission power Among them, in the cloud-edge collaborative computing environment, the set of data ratios of each edge device processing feature task calculation in the region is initially set as the set of all edge device task data processing ratios θ = {θ1, θ2, …, θ n ,…θ N}, 0≤θ n ≤1; then the data ratio calculated by the cloud processing the feature task transmitted by the nth edge device is recorded as 1-θ n .

[0077] S2. Calculate and determine the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption, and the edge-side transmission energy consumption based on the parameter data.

[0078] It should be noted that in step S2, the parameter data obtained in step S1 can be calculated to obtain the time required for edge-side calculation of the corresponding edge device, the time required for cloud-side calculation, the first task transmission time, the second task transmission time, the edge-side calculation energy consumption and the edge-side transmission energy consumption.

[0079] Further, calculating and determining the edge side computing time, the cloud side computing time, the first task transmission time, the second task transmission time, the edge side computing energy consumption, and the edge side transmission energy consumption according to the parameter data includes:

[0080] The edge side calculation formula is used to calculate the characteristic computing resource data, task data processing ratio, task data and computing capacity upper limit data of each edge device to obtain the edge side calculation time required for the corresponding edge device;

[0081] The cloud-side calculation formula is used to calculate the characteristic computing resource data, task data processing ratio, task data and allocated computing resource data of each edge device to obtain the cloud-side computing time required for processing the corresponding characteristic task calculation;

[0082] A characteristic data transmission time calculation formula is used according to the task data processing ratio, task data and transmission bandwidth data of each edge device to obtain the first task transmission time of the corresponding edge device;

[0083] According to the task data processing ratio, task data and transmission bandwidth data of each edge device, the original data transmission time calculation formula is used to obtain the second task transmission time of the corresponding edge device;

[0084] The energy consumption formula is used according to the computing power of each edge device and the time required for edge-side computing to obtain the edge-side computing energy consumption of the corresponding edge device;

[0085] According to the transmission power, the first task transmission time and the second task transmission time of each edge device, the transmission energy consumption formula is used to obtain the edge side transmission energy consumption of the corresponding edge device. The edge side calculation formula is:

[0086]

[0087] The cloud-side calculation formula is:

[0088]

[0089] The characteristic data transmission time calculation formula is:

[0090]

[0091] The original data transmission time calculation formula is:

[0092]

[0093] The formula for calculating energy consumption is:

[0094] The transmission energy consumption formula is:

[0095] In the formula, is the time required for edge-side computation of the nth edge device, α n The feature computing resource data for the nth edge device, θ n is the task data processing ratio of the nth edge device, L n is the task data of the nth edge device, is the computing capacity upper limit data of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, The allocated computing resource data allocated by the cloud to the nth edge device, is the first task transmission time of the nth edge device, γ is the compression ratio of the feature data obtained after the edge device in the region completes the feature task calculation and the original value, R n is the transmission bandwidth data of the nth edge device, is the second task transmission time of the nth edge device, Calculate the energy consumption on the edge side of the nth edge device, is the computing power of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, is the transmission power of the nth edge device.

[0096] It should be noted that the time required for edge-side computing refers to the time required for the nth edge device to complete the characteristic task calculation under the cloud-edge collaborative computing mode; the time required for cloud-side computing refers to the time required for the cloud to complete the characteristic task calculation under the cloud-edge collaborative computing mode; the first task transmission time refers to the time required for the nth edge device to transmit the processed data to the cloud after the characteristic task calculation assigned to the nth edge device under the cloud-edge collaborative computing mode is completed; the second task transmission time refers to the time required for the cloud to calculate the characteristic task assigned to the nth edge device and transmit the data processed by the characteristic task calculation to the cloud under the cloud-edge collaborative computing mode; the edge-side computing energy consumption refers to the energy consumption required for the nth edge device to complete the characteristic task calculation under the cloud-edge collaborative computing mode; the edge-side transmission energy consumption refers to the energy consumption required for the nth edge device to transmit the characteristic task calculation to the cloud under the cloud-edge collaborative computing mode. In this embodiment, the compression rate γ refers to the ratio between the characteristic data after the edge device in the region completes the characteristic task calculation and the original data, and this ratio is recorded as the compression rate.

[0097] S3. Determine the delay model of task migration for cloud-edge collaborative computing based on the time required for edge-side computing, the time required for cloud-side computing, the transmission time of the first task, the transmission time of the second task, the edge-side computing energy consumption, and the edge-side transmission energy consumption; and optimize the delay model to obtain the optimal task data processing ratio, allocated computing resource data, and transmission bandwidth data for each edge device to process characteristic task calculations.

[0098] It should be noted that in step S3, a delay model is constructed based on the data obtained in step S2. The delay model is a delay model for feature task calculation migration in the cloud-edge collaborative computing environment. The delay model can be optimized to minimize the value, and the optimal task data processing ratio, computing resource allocation data, and transmission bandwidth data for each edge device to process feature task calculations can be obtained. In this embodiment, if all edge devices in the region are recorded as 1, 2, ..., n, ...N, then the set of task data processing ratios of all edge devices in the region after optimization is recorded as The data set of allocated computing resources is denoted as The transmission bandwidth data set is recorded as

[0099] Further, obtaining the optimal task data processing ratio, allocation of computing resource data and transmission bandwidth data for processing feature tasks for each edge device includes:

[0100] Determine the time required for each edge device of the cloud-edge collaborative computing to complete the characteristic task calculation according to the edge-side calculation time, the cloud-side calculation time, the first task transmission time, and the second task transmission time;

[0101] Based on the delay model, sub-gradient descent optimization is adopted to minimize the time required for each edge device to complete the feature task calculation and meet the optimization constraints, so as to obtain the optimal value of the delay model of the corresponding edge device. The optimal value of the delay model includes calculating the optimal task data processing ratio, allocating computing resource data and transmission bandwidth data for each edge device to process the feature task.

[0102] Among them, the time calculation formula is used to determine the time for each edge device of cloud-edge collaborative computing to complete the characteristic task calculation according to the time required for edge-side calculation, the time required for cloud-side calculation, the first task transmission time, and the second task transmission time. The time calculation formula is:

[0103]

[0104] Where, t n The time it takes for the nth edge device to complete the feature task calculation, The time required for edge-side calculation of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, is the first task transmission time of the nth edge device, is the second task transmission time of the nth edge device.

[0105] It should be noted that the delay model is:

[0106]

[0107] The optimization constraints are:

[0108] Where N is the set of all edge devices in the region, R n is the transmission bandwidth data of the nth edge device, is the computing resource data allocated by the cloud to the nth edge device, θ n is the task data processing ratio of the nth edge device, t n is the time it takes for the nth edge device to complete the feature task calculation, R is the total bandwidth data in the area, and f c Allocate the total computing resources of the region to the cloud. Calculate the energy consumption on the edge side of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, Energy consumption cap data of the nth edge device.

[0109] S4. Calculate the optimal task data processing ratio, allocate computing resource data and transmission bandwidth data to each edge device to process the characteristic task and perform the cloud-edge collaborative characteristic task calculation in the execution area.

[0110] It should be noted that in step S4, the optimal task data processing ratio, allocation of computing resource data and transmission bandwidth data for all edge devices in the area to perform feature task calculations are obtained according to step S3. Feature task calculations are performed according to the optimal task data processing ratio, allocation of computing resource data and transmission bandwidth data of the edge devices, thereby reducing the total delay in calculation and transmission between the cloud and edge devices, and meeting the needs of feature task calculations in edge devices with limited energy, thereby improving the applicability in multiple device environments (such as edge devices, cloud, etc.).

[0111] The present application provides a method for task migration of cloud-edge collaborative computing, the method comprising obtaining the total computing upper limit resources of an allocated area on the cloud side and obtaining all edge devices in the area and parameter data corresponding to each edge device; determining the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption, and the edge-side transmission energy consumption based on the parameter data; determining a delay model for task migration of cloud-edge collaborative computing based on the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption, and the edge-side transmission energy consumption; and optimizing the delay model to obtain the optimal task data processing ratio, computing resource data, and transmission bandwidth data for calculating characteristic tasks for each edge device; and executing cloud-edge collaborative characteristic task calculations in the area based on the optimal task data processing ratio, computing resource data, and transmission bandwidth data for calculating characteristic tasks for each edge device. Through the task migration method of cloud-edge collaborative computing, the division of characteristic task calculations for intelligent applications and the allocation of resources are optimized in the cloud-edge collaborative computing environment, and the total delay of calculation and transmission of characteristic task calculations of IoT intelligent applications in the region is reduced under the condition of limited energy consumption of edge devices. This solves the technical problem that the existing cloud-edge collaborative computing has task transmission delay and calculation delay and cannot meet the characteristic task calculation requirements in edge devices with limited energy.

[0112] Embodiment 2:

[0113] Figure 2 A framework diagram of a task migration device for cloud-edge collaborative computing according to an embodiment of the present application.

[0114] like Figure 2 As shown, the embodiment of the present application also provides a task migration device for cloud-edge collaborative computing, including a data acquisition module 10, a first computing module 20, a second computing module 30 and an execution module 40;

[0115] The data acquisition module 10 is used to obtain the total computing upper limit resources of the cloud allocation area and obtain all edge devices in the area and parameter data corresponding to each edge device, the parameter data including computing capacity upper limit data, energy consumption upper limit data, task data, characteristic computing resource data, allocated computing resource data, task data processing ratio, transmission bandwidth data, computing power and transmission power;

[0116] A first calculation module 20, used to calculate and determine the time required for edge-side calculation, the time required for cloud-side calculation, the first task transmission time, the second task transmission time, the edge-side calculation energy consumption and the edge-side transmission energy consumption according to the parameter data;

[0117] The second computing module 30 is used to determine the delay model of task migration of cloud-edge collaborative computing according to the time required for edge-side computing, the time required for cloud-side computing, the transmission time of the first task, the transmission time of the second task, the energy consumption of edge-side computing, and the energy consumption of edge-side transmission; and optimize the delay model to obtain the optimal task data processing ratio, allocation of computing resource data, and transmission bandwidth data for each edge device to process characteristic tasks;

[0118] The execution module 40 is used to calculate the optimal task data processing ratio, allocate computing resource data and transmission bandwidth data to execute the cloud-edge collaborative feature task calculation in the area according to processing feature tasks for each edge device.

[0119] In the embodiment of the present application, the first calculation module 20 is also used to calculate the edge side calculation formula according to the characteristic calculation resource data, task data processing ratio, task data and computing capacity upper limit data of each edge device, and obtain the edge side calculation time required for the corresponding edge device; calculate the cloud side calculation time required for the corresponding processing characteristic task calculation according to the characteristic calculation resource data, task data processing ratio, task data and allocated computing resource data of each edge device; use the characteristic data transmission time calculation formula according to the task data processing ratio, task data and transmission bandwidth data of each edge device to obtain the first task transmission time of the corresponding edge device; use the original data transmission time calculation formula according to the task data processing ratio, task data and transmission bandwidth data of each edge device to obtain the second task transmission time of the corresponding edge device; use the calculation energy consumption formula according to the computing power of each edge device and the time required for edge side calculation to obtain the edge side computing energy consumption of the corresponding edge device; use the transmission energy consumption formula according to the transmission power, the first task transmission time and the second task transmission time of each edge device to obtain the edge side transmission energy consumption of the corresponding edge device; wherein the edge side calculation formula is:

[0120]

[0121] The cloud-side calculation formula is:

[0122]

[0123] The characteristic data transmission time calculation formula is:

[0124]

[0125] The original data transmission time calculation formula is:

[0126]

[0127] The formula for calculating energy consumption is:

[0128] The transmission energy consumption formula is:

[0129] In the formula, is the time required for edge-side computation of the nth edge device, α n The feature computing resource data for the nth edge device, θ n is the task data processing ratio of the nth edge device, L n is the task data of the nth edge device, is the computing capacity upper limit data of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, The allocated computing resource data allocated by the cloud to the nth edge device, is the first task transmission time of the nth edge device, γ is the compression ratio of the feature data obtained after the edge device completes the feature task calculation and the original value, R n is the transmission bandwidth data of the nth edge device, is the second task transmission time of the nth edge device, Calculate the energy consumption on the edge side of the nth edge device, is the computing power of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, is the transmission power of the nth edge device.

[0130] In an embodiment of the present application, the second calculation module 30 is also used to determine the time for each edge device of the cloud-edge collaborative computing to complete the characteristic task calculation according to the edge side calculation time, the cloud side calculation time, the first task transmission time, and the second task transmission time by using a time calculation formula; based on the delay model, a sub-gradient descent method is used for optimization, so that the time for each edge device to complete the characteristic task calculation is minimized and the optimization constraint conditions are met, and the optimal value of the delay model of the corresponding edge device is obtained. The optimal value of the delay model includes calculating the optimal task data processing ratio, allocating computing resource data, and transmission bandwidth data for each edge device to process the characteristic task; wherein the time calculation formula is:

[0131]

[0132] The delay model is:

[0133]

[0134] The optimization constraints are:

[0135] Where N is the set of all edge devices in the region, Rn is the transmission bandwidth data of the nth edge device, is the computing resource data allocated by the cloud to the nth edge device, θ n is the task data processing ratio of the nth edge device, t n is the time it takes for the nth edge device to complete the feature task calculation, R is the total bandwidth data in the area, and f c Allocate the total computing resources of the region to the cloud. Calculate the energy consumption on the edge side of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, The energy consumption limit data of the nth edge device, The time required for edge-side calculation of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, is the first task transmission time of the nth edge device, is the second task transmission time of the nth edge device.

[0136] It should be noted that the modules in the device of Example 2 correspond to the steps in the method of Example 1. The content of the task migration method of cloud-edge collaborative computing has been elaborated in detail in Example 1, and the content of the modules in the device will no longer be elaborated in this Example 2.

[0137] Embodiment three:

[0138] An embodiment of the present application provides a terminal device, including a processor and a memory;

[0139] A memory, used for storing program codes and transmitting the program codes to a processor;

[0140] A processor is used to execute the above-mentioned cloud-edge collaborative computing task migration method according to instructions in the program code.

[0141] It should be noted that the processor is used to execute the steps in the above-mentioned cloud-edge collaborative computing task migration method embodiment according to the instructions in the program code. Alternatively, the processor implements the functions of each module / unit in the above-mentioned system / device embodiments when executing the computer program.

[0142] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in a memory and executed by a processor to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing a specific function, and the instruction segments are used to describe the execution process of the computer program in a terminal device.

[0143] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that this does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0144] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0145] The memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device. Furthermore, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store computer programs and other programs and data required by the terminal device. The memory may also be used to temporarily store data that has been output or is to be output.

[0146] 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.

[0147] 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0148] 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.

[0149] 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

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

[0151] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A task migration method for cloud-edge collaborative computing, characterized in that: The following steps are involved: Obtaining the total computing upper limit resources of the cloud allocation area and obtaining all edge devices in the area and parameter data corresponding to each of the edge devices, the parameter data including computing capacity upper limit data, energy consumption upper limit data, task data, characteristic computing resource data, allocated computing resource data, task data processing ratio, transmission bandwidth data, computing power and transmission power; Calculate and determine the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption, and the edge-side transmission energy consumption according to the parameter data; Determine the delay model of task migration of cloud-edge collaborative computing according to the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption, and the edge-side transmission energy consumption; and optimize the delay model to obtain the optimal task data processing ratio, allocated computing resource data, and transmission bandwidth data for each edge device to process characteristic tasks; Calculate the optimal task data processing ratio based on processing feature tasks for each edge device, allocate computing resource data and transmission bandwidth data to perform cloud-edge collaborative feature task calculations in the execution area; Obtaining the optimal task data processing ratio, allocated computing resource data, and transmission bandwidth data for each edge device to process feature tasks includes: Determine the time for each edge device of the cloud-edge collaborative computing to complete the characteristic task calculation according to the edge-side calculation time, the cloud-side calculation time, the first task transmission time, and the second task transmission time; Based on the delay model, a sub-gradient descent method is used for optimization, so that the time for each edge device to complete the characteristic task calculation is minimized and the optimization constraint conditions are met, and the optimal value of the delay model of the corresponding edge device is obtained, and the optimal value of the delay model includes calculating the optimal task data processing ratio, allocating computing resource data and transmission bandwidth data for each edge device to process the characteristic task; The time required for the edge-side calculation, the cloud-side calculation, the first task transmission time, and the second task transmission time are used to determine the time required for each edge device of the cloud-edge collaborative computing to complete the characteristic task calculation. The time calculation formula is: In the formula, t n The time it takes for the nth edge device to complete the feature task calculation, The time required for edge-side calculation of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, is the first task transmission time of the nth edge device, is the second task transmission time of the nth edge device; The delay model is: The optimization constraints are: Where N is the set of all edge devices in the region, R n is the transmission bandwidth data of the nth edge device, is the computing resource data allocated by the cloud to the nth edge device, θ n is the task data processing ratio of the nth edge device, R is the total bandwidth data in the region, and f c Allocate the total computing resources of the region to the cloud. Calculate the energy consumption on the edge side of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, Energy consumption cap data of the nth edge device.

2. The task migration method for cloud-edge collaborative computing according to claim 1 is characterized in that: Calculating and determining the time required for edge-side computing, the time required for cloud-side computing, the first task transmission time, the second task transmission time, the edge-side computing energy consumption, and the edge-side transmission energy consumption according to the parameter data includes: The edge side calculation formula is used to calculate the characteristic computing resource data, task data processing ratio, task data and computing capacity upper limit data of each edge device to obtain the edge side calculation time required for the corresponding edge device; The cloud-side calculation formula is used to calculate the characteristic computing resource data, task data processing ratio, task data and allocated computing resource data of each edge device to obtain the cloud-side computing time required for processing the corresponding characteristic task calculation; A characteristic data transmission time calculation formula is used according to the task data processing ratio, task data and transmission bandwidth data of each edge device to obtain the first task transmission time of the corresponding edge device; According to the task data processing ratio, task data and transmission bandwidth data of each edge device, the original data transmission time calculation formula is used to obtain the second task transmission time of the corresponding edge device; The energy consumption formula is used according to the computing power of each edge device and the time required for edge-side computing to obtain the edge-side computing energy consumption of the corresponding edge device; The edge-side transmission energy consumption of the corresponding edge device is obtained by using the transmission energy consumption formula according to the transmission power, the first task transmission time and the second task transmission time of each edge device.

3. The task migration method for cloud-edge collaborative computing according to claim 2 is characterized in that: The edge side calculation formula is: The cloud-side calculation formula is: The characteristic data transmission time calculation formula is: The original data transmission time calculation formula is: The formula for calculating energy consumption is: The transmission energy consumption formula is: In the formula, is the time required for edge-side computation of the nth edge device, α n The feature computing resource data for the nth edge device, θ n is the task data processing ratio of the nth edge device, L n is the task data of the nth edge device, is the computing capacity upper limit data of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, The allocated computing resource data allocated by the cloud to the nth edge device, is the first task transmission time of the nth edge device, γ is the compression ratio of the feature data obtained after the edge device completes the feature task calculation and the original value, R n is the transmission bandwidth data of the nth edge device, is the second task transmission time of the nth edge device, Calculate the energy consumption on the edge side of the nth edge device, is the computing power of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, is the transmission power of the nth edge device.

4. A task migration device for cloud-edge collaborative computing, characterized in that: It includes a data acquisition module, a first calculation module, a second calculation module and an execution module; The data acquisition module is used to obtain the total computing upper limit resources of the cloud allocation area and obtain all edge devices in the area and parameter data corresponding to each edge device, wherein the parameter data includes computing capacity upper limit data, energy consumption upper limit data, task data, characteristic computing resource data, allocated computing resource data, task data processing ratio, transmission bandwidth data, computing power and transmission power; The first calculation module is used to calculate and determine the time required for edge-side calculation, the time required for cloud-side calculation, the first task transmission time, the second task transmission time, the edge-side calculation energy consumption and the edge-side transmission energy consumption according to the parameter data; The second computing module is used to determine the delay model of task migration of cloud-edge collaborative computing according to the edge side computing time, the cloud side computing time, the first task transmission time, the second task transmission time, the edge side computing energy consumption and the edge side transmission energy consumption; and optimize the delay model to obtain the optimal task data processing ratio, allocation computing resource data and transmission bandwidth data for each edge device to process characteristic tasks; The execution module is used to calculate the optimal task data processing ratio, allocate computing resource data and transmission bandwidth data to perform cloud-edge collaborative feature task calculation in the execution area according to processing feature tasks for each edge device; The second calculation module is also used to determine the time for each edge device of the cloud-edge collaborative computing to complete the characteristic task calculation by using a time calculation formula according to the edge side calculation time, the cloud side calculation time, the first task transmission time, and the second task transmission time; Based on the delay model, the sub-gradient descent method is used for optimization, so that the time for each edge device to complete the characteristic task calculation is minimized and the optimization constraint conditions are met, and the optimal value of the delay model of the corresponding edge device is obtained. The optimal value of the delay model includes calculating the optimal task data processing ratio, allocating computing resource data and transmission bandwidth data for each edge device to process the characteristic task; wherein the time calculation formula is: The delay model is: The optimization constraints are: Where N is the set of all edge devices in the region, R n is the transmission bandwidth data of the nth edge device, is the computing resource data allocated by the cloud to the nth edge device, θ n is the task data processing ratio of the nth edge device, t n is the time it takes for the nth edge device to complete the feature task calculation, R is the total bandwidth data in the area, and f c Allocate the total computing resources of the region to the cloud. Calculate the energy consumption on the edge side of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, The energy consumption limit data of the nth edge device, The time required for edge-side calculation of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, is the first task transmission time of the nth edge device, is the second task transmission time of the nth edge device.

5. The task migration device for cloud-edge collaborative computing according to claim 4, characterized in that: The first calculation module is also used to calculate the edge side calculation formula according to the characteristic calculation resource data, task data processing ratio, task data and computing capacity upper limit data of each edge device, and obtain the edge side calculation time required for the corresponding edge device; calculate the cloud side calculation formula according to the characteristic calculation resource data, task data processing ratio, task data and allocated computing resource data of each edge device, and obtain the cloud side calculation time required for the corresponding processing characteristic task calculation; use the characteristic data transmission time calculation formula according to the task data processing ratio, task data and transmission bandwidth data of each edge device to obtain the first task transmission time of the corresponding edge device; use the original data transmission time calculation formula according to the task data processing ratio, task data and transmission bandwidth data of each edge device to obtain the second task transmission time of the corresponding edge device; The edge side computing energy consumption of the corresponding edge device is obtained by using the computing power of each edge device and the time required for edge side computing according to the computing energy consumption formula; the edge side transmission energy consumption of the corresponding edge device is obtained by using the transmission energy consumption formula according to the transmission power of each edge device, the first task transmission time and the second task transmission time; wherein the edge side calculation formula is: The cloud-side calculation formula is: The characteristic data transmission time calculation formula is: The original data transmission time calculation formula is: The formula for calculating energy consumption is: The transmission energy consumption formula is: In the formula, is the time required for edge-side computation of the nth edge device, α n The feature computing resource data for the nth edge device, θ n is the task data processing ratio of the nth edge device, L n is the task data of the nth edge device, is the computing capacity upper limit data of the nth edge device, The time required for cloud-side computing to process feature tasks corresponding to the nth edge device, The allocated computing resource data allocated by the cloud to the nth edge device, is the first task transmission time of the nth edge device, γ is the compression ratio of the feature data obtained after the edge device completes the feature task calculation and the original value, R n is the transmission bandwidth data of the nth edge device, is the second task transmission time of the nth edge device, Calculate the energy consumption on the edge side of the nth edge device, is the computing power of the nth edge device, is the edge-side transmission energy consumption of the nth edge device, is the transmission power of the nth edge device.

6. A terminal device, characterized in that: including a processor and a memory; The memory is used to store program codes and transmit the program codes to the processor; The processor is used to execute the task migration method of cloud-edge collaborative computing as described in any one of claims 1-3 according to the instructions in the program code.

Citation Information

Patent Citations

  • Migration management method and device in mobile edge computing and storage medium

    CN111459662A

  • Collaborative computing task unloading and migrating method and device based on reinforcement learning

    CN111953759A

  • Computing unloading method and system based on cloud edge cooperation

    CN112004239A

  • Mobile terminal task migration method based on time perception in collaborative environment

    CN112231085A

  • Power distribution Internet-of-things data monitoring system and scheduling method based on cloud edge collaboration

    CN113836796A