  In the research and application of vehicle ad hoc networks (VANETs), it is
often assumed that vehicles obtain cloud computing services by accessing to
roadside units (RSUs). However, due to the problems of insufficient
construction quantity, limited communication range and overload of calculation
load of roadside units, the calculation mode relying only on vehicle to
roadside units is difficult to deal with complex and changeable calculation
tasks. In this paper, when the roadside unit is missing, the vehicle mobile
unit is regarded as a natural edge computing node to make full use of the
excess computing power of mobile vehicles and perform the offloading task of
surrounding mobile vehicles in time. In this paper, the OPFTO framework is
designed, an improved task allocation algorithm HGSA is proposed, and the
pre-filtering process is designed with full consideration of the moving
characteristics of vehicles. In addition, vehicle simulation experiments show
that the proposed strategy has the advantages of low delay and high accuracy
compared with other task scheduling strategies, which provides a reference
scheme for the construction of Urban Intelligent Transportation in the future.
