With the continuous development of the interactive system and the wireless heterogeneous network, the intelligent transportation system plays a key role in the modern transportation, especially in the construction of the Internet of vehicles. The important position of routing protocol in building the vehicle communication network is self-evident. V2V (Vehicle to Vehicle) network also has irreplaceable advantages in eliminating traffic accidents and reducing the harm of traffic accidents. Therefore, it is very necessary to study the optimization of the routing protocol. However, in the previous vehicle since the organization network routing protocol research, mostly focus on the method of data fusion, for the improvement of the conflict in the routing protocol, and through machine learning Q algorithm to optimize the real-time transmission model, etc., ignore the different degree of preference for different information. With the help of this kind of information, the routing protocol can be optimized, and the complexity of the routing protocol can be further reduced. Improve the efficiency of Internet of Vehicles communication.