Abstract:Aiming at the problems of the existing routing protocols in vehicular ad hoc network (VANET), such as wrong routing, high packet loss rate and low quality of service, this paper proposes a VANET routing algorithm in the mobile edge computing environment, which combines the improved greedy perimeter stateless routing (GPSR) and adaptive link quality assessment. First of all, combined with edge computing, the VANET communication model is constructed, and the vehicle position and speed are analyzed systematically. The application of edge computing architecture in VANET can effectively alleviate the contradiction between large amount of computing and limited and uneven distribution of resources. Then, an improved GPSR protocol based on the mobile speed of nodes and the distance between nodes is proposed. Through the adaptive link stability and link transfer rate evaluation, the appropriate relay nodes are selected and the link is dynamically updated. The performance of the routing algorithm is evaluated by SUMO simulation platform. The experimental results show that compared with other algorithms, the proposed algorithm is less affected by vehicle density, traffic flow and vehicle relative speed, and improves packet transmission rate (92% when the number of vehicles is 300), reduces end-to-end delay (1.5s when the traffic flow is 5), thus reducing the communication cost.