In recent years, with the rapid development of in-vehicle technology and the general improvement in people's living standards, vehicle penetration has increased greatly in urban areas. Vehicles have brought us convenience, but at the same time, they have caused many negative effects such as the frequent occurrence of road accidents, traffic congestion, parking difficulties, and more. In addition, as people spend more time in their cars, the need for more convenient and efficient services is urgent. Therefore, how to use high-tech means to prevent accidents and provide passengers with convenient network services has become the main focus of research. Vehicular ad hoc network (VANET) has emerged in this context.