The present invention relates to a 5G-based V2X Internet of Vehicles security communication 
system and method, including a cloud, a vehicle terminal, a roadside terminal, and a 
pedestrian terminal, and the sum of the vehicle terminal, roadside terminal, and 
pedestrian terminal is at least two; the cloud includes a 
certificate  Server, cloud security module and Internet of Vehicles 
server; the vehicle end includes the short-distance 
direct communication module of the vehicle end, the 5G communication module of the vehicle end, the security module of the vehicle end and the control module of the vehicle end; the roadside end includes the short-distance 
direct communication module of the roadside end,  Roadside terminal 5G communication module, roadside terminal security module and roadside terminal control module; 
pedestrian terminal includes pedestrian terminal short-distance 
direct communication module, pedestrian terminal 5G communication module, pedestrian terminal security module and pedestrian terminal control module; according to 5G and V2X  The characteristics of 
the Internet of Vehicles realize the V2X Internet of Vehicles identity 
authentication and group secure encrypted communication, making the V2X Internet of Vehicles identity 
authentication and group secure encrypted communication safe, reliable, simple and efficient.