The present invention provides a performance evaluation method for an MEC task offloading strategy based on a double-layer
edge structure, which includes: solving the average
delay and average battery power of delayed tasks in the local and edge
layers respectively; using the full probability formula to calculate the average battery power of delayed tasks in the MEC
system, and then obtaining the average battery power of the MEC
system; weighing the average
delay of delayed tasks and the average battery power of the MEC
system, and constructing a MEC
system evaluation function with multiple inequality constraints; using the general constraint
multiplier method PHR based on Lagrange multipliers, using
MATLAB to solve the strategy optimization result that makes the MEC
system evaluation function reach the minimum value, and obtaining the optimal task offloading probability combination, and the delayed tasks include real-time tasks and non-real-time tasks. The present invention is oriented to real-time tasks and non-real-time tasks, and makes reasonable allocation decisions on the tasks of the MEC system based on the double-layer
edge structure, and has the characteristics of
low delay, low battery power and efficient offloading performance.