In the Internet of Vehicles (IoV), data sharing among vehicles is critical to improve driving safety and enhance vehicular services. To ensure security and traceability of data sharing, existing studies utilize consensus schemes as hard security solutions to establish blockchain-enabled IoV (BIoV). However, as miners are selected from miner candidates by stake-based voting, defending against voting collusion between the candidates and compromised high-stake vehicles becomes challenging. To address the challenge, in this paper, we propose a two-stage soft security enhancement solution: (i) miner selection and (ii) block verification. In the first stage, we design a reputation-based voting scheme to ensure secure miner selection. This scheme evaluates candidates' reputation using both historical interactions and recommended opinions from other vehicles. The candidates with high reputation are selected to be active miners and standby miners. In the second stage, to prevent internal collusion among active miners, a newly generated block is further verified and audited by standby miners. To incentivize the participation of the standby miners in block verification, we adopt the contract theory to model the interactions between active miners and standby miners, where block verification security and delay are taken into consideration. Numerical results based on a real-world dataset confirm the security and efficiency of our schemes for data sharing in BIoV.Index Terms-Internet of Vehicles, blockchain, reputation management, delegated proof-of-stake, contract theory, security
Internet of Vehicles
Active minerA malicious active miner
RSU RSU
Wireless communication
Current block manager Standby miner
Block verification
Miner voting collusion
Compromised vehicle
Miner voting collusionBlock verification