The application discloses a kind of vehicle
identity privacy protection methods based on
blockchain in Internet of Vehicles, first according to the actual scene in Internet of Vehicles reality,
system constructs alliance chain Hyperledger Fabric
blockchain network, writes reputation
score smart contract in
chain code, sets reputation
score for each vehicle, manages the reputation
score of vehicle in reputation score
smart contract, changes the reputation score of vehicle according to the behavior of vehicle;In the communication after vehicle enters, by on-board unit OBU determines which category the message belongs to, whether it needs to be encrypted, for the message that does not need to be encrypted, directly sent to network, and for the message that needs to be encrypted, after being encrypted, sent to specific user by RSU.The application protects vehicle
identity privacy from tracking
attack, and also prevents vehicle from spreading malicious messages, to establish a safe, reliable and efficient communication environment.