The invention relates to an optimization method for
edge computing unloading decision and
resource allocation of
the Internet of Vehicles, and belongs to the technical field of
edge computing of
the Internet of Vehicles. According to the method, under the scene that the task generated by the vehicle can be partially uploaded to the
edge server to be processed, a communication model of the vehicle and the
edge server and a task unloading model of the vehicle are established, and the task unloading proportion, the channel bandwidth and the resources allocated by the
edge server for
processing the unloading task are combined, so that the total
completion time of the
system is minimized as the target; the method comprises the following steps: establishing a
system total overhead optimization
function model, solving the optimization
function model by using an improved
genetic algorithm under the condition that
wireless transmission resources and computing resources are limited, and obtaining optimal solutions of a task unloading proportion, a channel bandwidth and
resource allocation, thereby effectively reducing the vehicle-mounted
task completion time and improving the
system performance. And meanwhile, the method is excellent in the aspect of reserving the optimal solution set, so that the exploration capability of the
algorithm in a wide search space is improved, and the risk that the
algorithm falls into
local optimum and cannot jump out is remarkably reduced.