| With the rapid development of network technology and the widespread application of sensing devices,people’s lives has gradually entered the era of the Internet of Things.The emergence of smart homes and intelligent transportation has greatly facilitated daily life.The Internet of Vehicles is an intelligent transportation application based on the Internet of Things(IoT)technology,providing people with an intelligent way of transportation.With the popularity of the Internet of Vehicles,the openness and high mobility of the Internet of Vehicles and other characteristics cause the real identity of vehicles and other private information easily exposed in the network,so as to be tracked,In addition,vehicle data transmission is vulnerable to attacks from malicious vehicles.Most of the existing schemes are based on the centralized architecture,which causes problems such as low identity confidentiality,high communication cost and vulnerability.The rapid development of blockchain technology is expected to alleviate the privacy and security problems.Its decentralized characteristics can enhance privacy and security without the intervention of a trusted third party,enabling consensus in a mutually untrusted environment.This paper focuses on the blockchain technology based on Hyperledger Fabric to solve the privacy and security problems existing in the Internet of Vehicles,Specifically,this paper investigates the protection of user identity privacy in the transaction process and the security of social data sharing in The Internet of Vehicles.The specific research is as follows:(1)Aiming at the problem of vehicle identity privacy protection in the Internet of vehicles,the vehicle identity privacy protection scheme based on Hyperledger Fabric was proposed.The Hyperledger Fabric framework is used to replace the traditional blockchain.In order to reduce the possibility of malicious users,the users in the Internet of vehicles are authenticated vehicles,and the transaction sorting adopts a pluggable consensus protocol to meet the high-throughput Internet of vehicles system.The vehicle number and public key randomly assigned by the system are used as pseudonyms in communication to ensure the privacy of vehicle identity.The privacy of the vehicle in motion is protected by changing the public key in different subnets to effectively reduce the possibility of tracking the vehicle.The reputation score evaluation algorithm is set in the chain code to restrict low-scored vehicles from joining the connected vehicle network and to deny service provision.Meanwhile,the messages sent by the vehicles are classified according to privacy,and the messages with higher-level are encrypted and sent,and directly transmitted for lower-level messages to protect information security and integrity while reducing system resource consumption.Moreover,through a series of feasibility analysis and security assessment,the feasibility of this scheme is proved,and the proposed scheme provides an effective way to solve the vehicle privacy security problem in the Internet of Vehicles.(2)With the expansion of the scale of the Internet of Vehicles,social data becomes increasingly redundant and complex,resulting in security issues in sharing social data,and also causes a series of problems such as the low efficiency of fine-grained data access and the theft of shared data.In order to solve these problems,this paper designed a social data sharing scheme based on Hyperledger Fabric in the Internet of Vehicles.The underlying architecture uses a consortium chain,and after vehicle identity authentication,vehicles are allowed to join the network,reducing the possibility of malicious vehicles.At the same time,the unique multichannel characteristics of Hyperledger Fabric is utilized to isolate different types of social data through channels,allowing members of the same channel to access internal data while members outside the channel cannot access them.In the process of data sharing,by adding attribute-based access control,data users can obtain the requested data only when the attributes meet the preset access policy,effectively improving the granularity of data use and ensuring data security.Attribute updating algorithm and policy updating algorithm are set in the chain code to achieve attribute updating and policy updating,ensuring data persistence.Finally,through a series of security evaluation and performance test,the results prove that the scheme is feasible,effectively improve the security of data sharing and fine-grained access. |