信息网络安全 ›› 2022, Vol. 22 ›› Issue (8): 26-35.doi: 10.3969/j.issn.1671-1122.2022.08.004

• 技术研究 • 上一篇    下一篇

基于区块链和智能合约的双链车联网系统

胡艺, 佘堃()   

  1. 电子科技大学信息与软件工程学院,成都 610054
  • 收稿日期:2022-03-23 出版日期:2022-08-10 发布日期:2022-09-15
  • 通讯作者: 佘堃 E-mail:kunshe@126.com
  • 作者简介:胡艺(1996—),男,四川,硕士研究生,主要研究方向为区块链和车联网安全|佘堃(1967—),男,四川,教授,博士,主要研究方向为区块链和AI安全。
  • 基金资助:
    四川省科技计划项目(2020YFG0300)

Blockchain and Smart Contract Based Dual-Chain Internet of Vehicles System

HU Yi, SHE Kun()   

  1. School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China
  • Received:2022-03-23 Online:2022-08-10 Published:2022-09-15
  • Contact: SHE Kun E-mail:kunshe@126.com

摘要:

近年来由于智能汽车数量的指数级递增产生了海量数据,传统的车联网交互模式在数据保护、密钥管理、数据存储、并发性能和响应速度方面都存在不足。文章提出双链车联网系统,基于智能合约改进中心化的身份认证和数据存储方式,在提升性能的同时防止恶意攻击导致的单点失效、伪造身份、篡改数据、泄露隐私等问题。首先,双链车联网系统通过国密SM2算法为车辆自动生成、更新和撤销密钥对,实现对等节点的双向认证;然后,将敏感数据加密存储到分布式文件系统(Inter Planetary File System,IPFS)中,在数据查询场合通过区块检索算法实现关键字匹配搜索。仿真结果表明,文章提出的系统具有良好的安全性,能够满足高速车辆数据传输的实时性和稳定性,具备更好的实用性和先进性。

关键词: 信息安全, 车联网, 区块链, 智能合约

Abstract:

In recent years, the exponential increase in the number of smart cars has generated massive amounts of data, and the traditional Internet of Vehicles(IoV) interaction model is inadequate in terms of data protection, key management, data storage, concurrency performance and response speed. This paper proposes a dual-chain IoV system, based on smart contracts to improve the centralized authentication and data storage methods, which improves performance while preventing single point of failure, identity forgery, data tampering, and privacy leakage caused by malicious attacks. The dual-chain IoV system automatically generates, updates and revokes key pairs for vehicles through the Chinese SM2 algorithm to achieve two-way authentication of peer nodes, after which sensitive data are stored encrypted in the distributed file system IPFS, and keyword matching search is achieved by block retrieval algorithm in data query occasions. Simulation experiments show that the system proposed in this paper has good security and performance, can meet the real-time and stability of high-speed vehicle data transmission,.and has better practicability and advancement.

Key words: information security, internet of Vehicles, blockchain, smart contracts

中图分类号: