CN112437468A - Task unloading algorithm based on time delay and energy consumption weight calculation - Google Patents

Task unloading algorithm based on time delay and energy consumption weight calculation Download PDF

Info

Publication number
CN112437468A
CN112437468A CN202011048168.1A CN202011048168A CN112437468A CN 112437468 A CN112437468 A CN 112437468A CN 202011048168 A CN202011048168 A CN 202011048168A CN 112437468 A CN112437468 A CN 112437468A
Authority
CN
China
Prior art keywords
task
energy consumption
time delay
unloading
algorithm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011048168.1A
Other languages
Chinese (zh)
Inventor
王淑栋
李艳青
庞善臣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Petroleum East China
Original Assignee
China University of Petroleum East China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China University of Petroleum East China filed Critical China University of Petroleum East China
Priority to CN202011048168.1A priority Critical patent/CN112437468A/en
Publication of CN112437468A publication Critical patent/CN112437468A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention provides a task unloading algorithm based on time delay and energy consumption weight calculation aiming at calculating time delay and energy consumption weight coefficients of task execution and solving the problem of task unloading of mobile terminal equipment in mobile edge calculation, and aims to reduce the task execution overhead of the terminal equipment according to user requirements and the electric quantity state of the equipment. The algorithm provides a task unloading and resource allocation strategy based on limited energy and time delay aiming at computation unloading and computation energy consumption coefficient of a task under a single MEC multi-user scene. And solving the optimal allocation resources of the local equipment, solving the resource allocation of the MEC end by utilizing convex optimization, and obtaining the optimal channel allocation through an iterative optimization algorithm on the basis of meeting the time delay and the energy consumption. The unloading scheme provided by the invention can minimize the time delay and energy consumption of the user, meet the user requirements and improve the user experience quality.

Description

Task unloading algorithm based on time delay and energy consumption weight calculation
Technical Field
The invention belongs to the field of task unloading of mobile edge computing, and particularly relates to a task unloading algorithm based on time delay and energy consumption weight computing.
Background
With the development of the internet of things and the arrival of the world of everything interconnection, more and more terminal devices are applied to our lives, but the existing technology and the design limit of the terminal device manufacture limit the computing resources and the battery capacity of the mobile device. The requirements of current emerging mobile applications such as interactive games, augmented reality and the like on calculation and storage are higher and higher, and when the applications run on terminal equipment, the requirements of tasks on processing capacity and cruising capacity are sometimes difficult to meet. When a large amount of calculation programs are operated, the response is slow, the power consumption is fast, and the user experience quality is difficult to meet.
How to solve the contradiction between the limited resources of the mobile terminal equipment and the computing resources required by the application process becomes one of the main problems to be solved urgently in the mobile communication network. The computation offload technique in the mobile edge computation is considered as one of the key techniques to effectively solve the above-described problems. The mobile edge computing does not need to upload the task to a far-end central cloud, but unloads the task to an edge server close to the user terminal, so that transmission delay and energy consumption are greatly reduced, and the problem of resource limitation of the mobile terminal can be effectively solved.
For task unloading, a good unloading method or strategy can not only effectively meet the user requirements, improve the service quality of the user, but also greatly reduce the complexity. Therefore, it is necessary to provide a task offloading algorithm based on time delay and energy consumption weight calculation.
Disclosure of Invention
The invention aims to: aiming at the task unloading problem of mobile terminal equipment in mobile edge calculation, a task unloading algorithm based on time delay and energy consumption weight calculation is provided, and the task execution overhead of the terminal equipment is reduced according to user requirements and the electric quantity state of the equipment. In order to achieve the purpose, the technical scheme adopted by the invention comprises the following parts:
1. a task unloading algorithm based on time delay and energy consumption weight calculation specifically comprises the following implementation steps:
step 1, each terminal device has a task to be processed, the device submits the task, and the time delay and the energy consumption coefficient of the task in the device are respectively calculated.
And 2, performing local optimal resource allocation on the tasks in the equipment.
Step 3, initially unloading all tasks to an MEC server for execution, and setting a for all tasksi=1。
And 4, performing optimal resource allocation on the tasks needing to be unloaded to the MEC server for execution.
And 5, carrying out channel allocation according to the algorithm 1.
And 6, making an unloading decision according to the cost of each task at the MEC end and the local end.
And 7, judging whether the unloading decision is changed or not, and if not, stopping the algorithm. Otherwise, the process goes to step 4.
2. The time delay and energy consumption weight calculation of step 1 of claim 1, wherein:
remember REciThe residual ratio of the electric quantity of the terminal equipment is as follows:
Figure BDA0002708668290000021
from which the coefficient of energy consumption Ec is setiThat is, the smaller the value of the remaining power is in proportion to the maximum power of the terminal device, the stronger the demand for reducing the energy consumption is.
Figure BDA0002708668290000022
Determining the urgency of the task according to the task deadline, the size of the task and the required computing capacity, and recording as TcriIn this document, the urgency of the task is characterized as the sensitivity of the task to the time delay, and the smaller the numerical value, the higher the sensitivity of the task to the time delay.
Figure BDA0002708668290000023
Thereby obtaining the time delay coefficient Tci
Figure BDA0002708668290000024
Because the weight coefficient of the time delay and the energy consumption needs to satisfy the condition: eci+TciFor this purpose, the weight coefficient is corrected to obtain a delay weight coefficient leiAnd energy consumption weight coefficient lti
Figure BDA0002708668290000025
Figure BDA0002708668290000026
3. The cardiac channel allocation of step 5 of claim 1, wherein:
when selecting the channel, the following strategies are adopted:
and sequencing all tasks to be unloaded according to the formula (7), and sequentially calculating the minimum transmission rate required by each task. And calculating the reachable rate of each task on any channel according to the formula (8) to form a rate overhead matrix.
Figure BDA0002708668290000031
Figure BDA0002708668290000032
Figure BDA0002708668290000033
Initial channel selection was performed using the Argmax function:
j=argmax(Ri,j) (10)
thereby forming a decision matrix. From the second iteration, the channel selection is performed again according to the equations (9) and (10) according to the channel selected by the previous generation.
The task unloading method provided by the invention has the following advantages and beneficial effects: according to the method, the user experience and the self condition of the equipment are considered, the optimal resource allocation of the local equipment is solved, the resource allocation of the MEC end is solved by utilizing convex optimization, the optimal channel allocation is obtained through an iterative optimization algorithm on the basis of meeting the time delay and the energy consumption, the time delay and the energy consumption of a user can be minimized through the unloading scheme, the user requirement is met, and the user experience quality is improved.
Drawings
Fig. 1 is a flowchart of a task offloading algorithm based on delay and energy consumption weight calculation according to the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical problems, technical solutions and technical effects in the present application, a task offloading algorithm based on time delay and energy consumption weight calculation according to the present invention is further described in detail below with reference to the accompanying drawings and the detailed description.
FIG. 1 shows the steps of the present invention:
step 1, each terminal device has a task to be processed, the device submits the task, and the time delay and the energy consumption coefficient of the task in the device are respectively calculated. The set of terminal devices is denoted N ═ SMD1,...,SMDi,...,SMDn]Wherein each terminal device has three attributes, denoted as
Figure BDA0002708668290000034
fi lRepresenting the computational power of the device, i.e. the number of cycles performed in one second. EleciRepresenting the current remaining capacity of the device in joules.
Figure BDA0002708668290000035
Representing the maximum charge storage capacity of the device in joules. Each terminal device has a computationally intensive task to be processed, denoted Ti=[expti,datai,ci]Wherein, exptiData representing expected completion timeiIndicating the size of the data volume, ciIndicating the computational power required to complete the task, i.e., the number of cpu cycles required.
Remember REciThe residual ratio of the electric quantity of the terminal equipment is as follows:
Figure BDA0002708668290000041
from which the coefficient of energy consumption Ec is setiThat is, the smaller the value of the remaining power is in proportion to the maximum power of the terminal device, the stronger the demand for reducing the energy consumption is.
Figure BDA0002708668290000042
Determining the urgency of the task according to the task deadline, the size of the task and the required computing capacity, and recording as TcriIn this document, the urgency of the task is characterized as the sensitivity of the task to the time delay, and the smaller the numerical value, the higher the sensitivity of the task to the time delay.
Figure BDA0002708668290000043
Thereby obtaining the time delay coefficient Tci
Figure BDA0002708668290000044
Because the weight coefficient of the time delay and the energy consumption needs to satisfy the condition: eci+TciFor this purpose, the weight coefficient is corrected to obtain a delay weight coefficient leiAnd energy consumption weight coefficient lti
Figure BDA0002708668290000045
Figure BDA0002708668290000046
And 2, performing local optimal resource allocation on the tasks in the equipment.
Each local device resource allocation problem can be formalized as:
Figure BDA0002708668290000047
it can be seen that the local overhead is only related to the local device computing resources. Order:
Figure BDA0002708668290000051
Figure BDA0002708668290000052
wherein the formula (9) satisfies the time delay and remaining energy consumption constraint conditions. Therefore, we have a look at f in the above formulai lAnd (5) derivation to obtain:
Figure BDA0002708668290000053
obtaining an optimal solution:
Figure BDA0002708668290000054
when fi l>fi max,fi l<fi minAnd the time delay and energy consumption constraints are not satisfied.
When fi min≤fi l≤fi maxIn time, three situations are distinguished, specifically:
Figure BDA0002708668290000055
step 3, initially unloading all tasks to an MEC server for execution, and setting a for all tasksi=1。
And 4, performing optimal resource allocation on the tasks needing to be unloaded to the MEC server for execution according to the formula (13).
Figure BDA0002708668290000056
And 5, carrying out channel allocation according to the algorithm 1.
When selecting the channel, the following strategies are adopted:
and sequencing all tasks to be unloaded according to the formula (7), and sequentially calculating the minimum transmission rate required by each task. And calculating the reachable rate of each task on any channel according to the formula (8) to form a rate overhead matrix.
Figure BDA0002708668290000057
Figure BDA0002708668290000061
Figure BDA0002708668290000062
Initial channel selection was performed using the Argmax function:
j=argmax(Ri,j) (10)
thereby forming a decision matrix. From the second iteration, the channel selection is performed again according to the equations (9) and (10) according to the channel selected by the previous generation.
And 6, making an unloading decision according to the cost of each task at the MEC end and the local end. If the local execution overhead is less than or equal to the offload overhead, i.e., if the local execution overhead is less than or equal to the offload overhead
Figure BDA0002708668290000063
Then aiWith 0, the task is executed locally.
If the local execution overhead is greater than the offload overhead, i.e., if the local execution overhead is greater than the offload overhead
Figure BDA0002708668290000064
Then aiAnd 1, unloading the task to the MEC server for execution.
And 7, judging whether the unloading decision is changed or not, and if not, stopping the algorithm. Otherwise, the process goes to step 4.
The above examples are only used to illustrate the present invention and not to limit the technical solutions described in the present invention, and it should be understood by those skilled in the art that the task offloading algorithm based on the time delay and energy consumption weight calculation disclosed in the above invention may be modified on the basis of the above without departing from the broad scope, and these modifications are also considered as protection of the present invention.

Claims (3)

1. A task unloading algorithm based on time delay and energy consumption weight calculation specifically comprises the following implementation steps:
step 1, each terminal device has a task to be processed, the device submits the task, and the time delay and the energy consumption coefficient of the task in the device are respectively calculated.
And 2, performing local optimal resource allocation on the tasks in the equipment.
Step 3, initially unloading all tasks to an MEC server for execution, and setting a for all tasksi=1。
And 4, performing optimal resource allocation on the tasks needing to be unloaded to the MEC server for execution.
And 5, carrying out channel allocation according to the algorithm 1.
And 6, making an unloading decision according to the cost of each task at the MEC end and the local end.
And 7, judging whether the unloading decision is changed or not, and if not, stopping the algorithm. Otherwise, the process goes to step 4.
2. The time delay and energy consumption weight calculation of step 1 of claim 1, wherein:
remember REciThe residual ratio of the electric quantity of the terminal equipment is as follows:
Figure FDA0002708668280000011
from which the coefficient of energy consumption Ec is setiThat is, the smaller the value of the remaining power is in proportion to the maximum power of the terminal device, the stronger the demand for reducing the energy consumption is.
Figure FDA0002708668280000012
Determining the urgency of the task according to the task deadline, the size of the task and the required computing capacity, and recording as TcriIn this document, the urgency of the task is characterized as the sensitivity of the task to the time delay, and the smaller the numerical value, the higher the sensitivity of the task to the time delay.
Figure FDA0002708668280000013
Thereby obtaining the time delay coefficient Tci
Figure FDA0002708668280000014
Because the weight coefficient of the time delay and the energy consumption needs to satisfy the condition: eci+TciFor this purpose, the weight coefficient is corrected to obtain a delay weight coefficient leiAnd energy consumption weight coefficient lti
Figure FDA0002708668280000015
Figure FDA0002708668280000021
3. The cardiac channel allocation of step 5 of claim 1, wherein:
when selecting the channel, the following strategies are adopted:
and sequencing all tasks to be unloaded according to the formula (7), and sequentially calculating the minimum transmission rate required by each task. And calculating the reachable rate of each task on any channel according to the formula (8) to form a rate overhead matrix.
Figure FDA0002708668280000022
Figure FDA0002708668280000023
Figure FDA0002708668280000024
Initial channel selection was performed using the Argmax function:
j=arg max(Ri,j) (10)
thereby forming a decision matrix. From the second iteration, the channel selection is performed again according to the equations (9) and (10) according to the channel selected by the previous generation.
The task unloading method provided by the invention has the following advantages and beneficial effects: according to the method, the user experience and the self condition of the equipment are considered, the optimal resource allocation of the local equipment is solved, the resource allocation of the MEC end is solved by utilizing convex optimization, the optimal channel allocation is obtained through an iterative optimization algorithm on the basis of meeting the time delay and the energy consumption, the time delay and the energy consumption of a user can be minimized through the unloading scheme, the user requirement is met, and the user experience quality is improved.
CN202011048168.1A 2020-09-29 2020-09-29 Task unloading algorithm based on time delay and energy consumption weight calculation Pending CN112437468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011048168.1A CN112437468A (en) 2020-09-29 2020-09-29 Task unloading algorithm based on time delay and energy consumption weight calculation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011048168.1A CN112437468A (en) 2020-09-29 2020-09-29 Task unloading algorithm based on time delay and energy consumption weight calculation

Publications (1)

Publication Number Publication Date
CN112437468A true CN112437468A (en) 2021-03-02

Family

ID=74690352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011048168.1A Pending CN112437468A (en) 2020-09-29 2020-09-29 Task unloading algorithm based on time delay and energy consumption weight calculation

Country Status (1)

Country Link
CN (1) CN112437468A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787920A (en) * 2021-03-03 2021-05-11 厦门大学 Underwater acoustic communication edge calculation time delay and energy consumption optimization method for ocean Internet of things
CN114816721A (en) * 2022-06-29 2022-07-29 常州庞云网络科技有限公司 Multitask optimization scheduling method and system based on edge calculation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787920A (en) * 2021-03-03 2021-05-11 厦门大学 Underwater acoustic communication edge calculation time delay and energy consumption optimization method for ocean Internet of things
CN112787920B (en) * 2021-03-03 2021-11-19 厦门大学 Underwater acoustic communication edge calculation time delay and energy consumption optimization method for ocean Internet of things
CN114816721A (en) * 2022-06-29 2022-07-29 常州庞云网络科技有限公司 Multitask optimization scheduling method and system based on edge calculation

Similar Documents

Publication Publication Date Title
CN109814951B (en) Joint optimization method for task unloading and resource allocation in mobile edge computing network
CN111401552B (en) Federal learning method and system based on batch size adjustment and gradient compression rate adjustment
CN110418416B (en) Resource allocation method based on multi-agent reinforcement learning in mobile edge computing system
CN108920280B (en) Mobile edge computing task unloading method under single-user scene
CN107911478B (en) Multi-user calculation unloading method and device based on chemical reaction optimization algorithm
CN109922479B (en) Calculation task unloading method based on time delay estimation
CN112689303B (en) Edge cloud cooperative resource joint allocation method, system and application
CN111132235B (en) Mobile offload migration algorithm based on improved HRRN algorithm and multi-attribute decision
CN110543336A (en) Edge calculation task unloading method and device based on non-orthogonal multiple access technology
CN111556516B (en) Distributed wireless network task cooperative distribution method facing delay and energy efficiency sensitive service
CN112437468A (en) Task unloading algorithm based on time delay and energy consumption weight calculation
CN110968366B (en) Task unloading method, device and equipment based on limited MEC resources
CN110149401B (en) Method and system for optimizing edge calculation task
CN109587735B (en) Cooperative service caching method based on time delay measurement mobile edge calculation
CN110851277A (en) Task scheduling strategy based on edge cloud cooperation in augmented reality scene
CN111711962A (en) Cooperative scheduling method for subtasks of mobile edge computing system
CN116170844A (en) Digital twin auxiliary task unloading method for industrial Internet of things scene
CN115473896A (en) Electric power internet of things unloading strategy and resource configuration optimization method based on DQN algorithm
CN114449490A (en) Multi-task joint computing unloading and resource allocation method based on D2D communication
CN112769910B (en) Fog calculation task unloading method based on dynamic voltage regulation technology
CN114116061A (en) Workflow task unloading method and system in mobile edge computing environment
CN115955479A (en) Task rapid scheduling and resource management method in cloud edge cooperation system
CN112600869B (en) Calculation unloading distribution method and device based on TD3 algorithm
CN113553188B (en) Mobile edge computing and unloading method based on improved longhorn beetle whisker algorithm
CN115150892A (en) VM-PM (virtual machine-to-PM) repair strategy method in MEC (media independent center) wireless system with bursty service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210302