The invention provides a multi-access
edge computing task unloading method based on a boxing problem. According to the method, a user terminal and edge servers are regarded as task containers, and tasks are regarded as articles, so that a task unloading
decision problem in edge calculation is converted into a boxing problem, the number of the edge servers started in a network is minimized througha
heuristic method, and a task unloading decision is solved. The method comprises the following steps that firstly, calculating the loading capacity of each
edge server and the ratio of the input datasize of each terminal task to resources needing to be calculated; forming two queues according to the capacity loading capacity and the task ratio from large to small; and finally, sequentially taking out the tasks in the task
queue, configuring the tasks to an
edge server with the maximum capacity and residual computing resources in the container
queue, and repeating the operation until the taskqueue is empty. The method can be suitable for the task
processing process of a multi-terminal and multi-task multi-access
edge computing network, an appropriate task unloading scheme can be clearlyformulated, the computing
energy consumption is minimized while the task time
delay requirement is met, and the cost is saved.