Internet of vehicles is a specific application of Internet of things technology in the field of intelligent transportation. The rapid development of 5G communication technology promotes the development of Internet of vehicles. Car for cellular network communication node random distribution and complex multi-source interference and mobile terminal security calculation ability is limited, this article in view of the actual scene, was proposed based on random geometry contains eavesdropper (Eve) honeycomb-V2V heterogeneous physical layer security system model, the introduction of automatic (PB) as artificial floating vehicle noise, the analysis of cellular network users in the system (CU), V2V users (VU) and interference of the eavesdropper, each user letter simulation with dry to noise ratio (SINR) of the cumulative distribution function, and by using the random geometry tools related safety expression deduction, Then, data mining was carried out on the distance between PB and VU receiver, PB transmitting power and other related variables through genetic algorithm, and the value process was visualized to extract valuable information, providing a mathematical analysis framework and theoretical guidance for the future design, deployment and operation of cellular vehicle network. The results show that the proposed system model can significantly improve the security of vehicle-network communication.