| The wide application of sensor devices promotes the rapid development of the Internet of Things(Io T).The Internet of Vehicles(IoV)as the application of the Io T in intelligent transportation,has brought great convenience to people’s daily travel.It can facilitate timely and accurate communication between V2 V and V2 I,protect the safety of passengers and pedestrians.However,the openness and mobility of the IoV and the mobility of vehicles make it vulnerable to various attacks.In order to ensure the safe operation of the IoV,It must solve the communication security and privacy protection problems.Blockchain technology brings new opportunities to solve the problems in IoV.The decentralization blockchain can enable events to occur and be verified in a mutually distrusting environment,without the participation of a trusted third party.Blockchain is a perfect complement to IoV,with better interoperability,privacy,security,reliability and scalability.In this paper,we study the Internet of Vehicels and blockchain technology,and design two solutions to solve the security and privacy problems of the IoV based on the blockchain technology.The specific contents are as follows:In order to solve the problem of communication security and privacy protection of vehicles.A secure communication scheme based on blockchain is proposed.By introducing smart contracts to restrict malicious vehicles from entering the communication network.The vehicle uses anonymity when communicating,and does not disclose identity information.The protocol uses Elliptic Curve Cryptography(ECC)instead of bilinear pairing operation,which makes the system have better performance,and reduces the computing cost.The authenticity of the message can be judged by evaluating the credibility of the message,which can be calculated by the trust level of the message provided by the nearby vehicles.According to the security and performance analysis,the scheme meets the security and privacy protection requirements of the IoV.Compared with other schemes,it reduces the the calculation cost and improves the efficiency of data exchange.It is difficult to judge the honesty and reliability of communication vehicles in the IoV.Malicious vehicles can forge false information to affect the normal driving of vehicles,which breaks the security of the scheme.In the polygon communication network protocol,the IoV is designed as an alliance blockchain.A Trust Score(TS)is set for each node to judge the honesty of vehicles.The network consists of two communication network structures,one is the vehicle as the master node and other communication entities as the slave nodes.There is also a communication structure in which roadside unit(RSU)is the master node and other communication vehicles are the slave nodes.The analysis results show that the polygon communication network protocol ensures the security and privacy of the communication between vehicles,and the blockchain ensures the immutability of data and traceability of vehicles. |