计算机应用

• 人工智能与仿真 •    下一篇

基于区块链的共享汽车智能合约算法设计

刘永相 1,2,李彦斌 2,林 亮 3*,江 冰 1,刘期烈 3,谢冬菊 4   

  1. 1. 华北电力大学 经济与管理学院
    2. 国网电动汽车服务有限公司
    3. 移动通信技术重庆市重点实验室(重庆邮电大学)
    4. 重庆倍来电新能源有限公司
  • 收稿日期:2019-12-09 修回日期:2020-03-08 发布日期:2020-03-08 出版日期:2020-05-13
  • 通讯作者: 林亮

Design of smart contract algorithm for shared vehicle based on blockchain

  • Received:2019-12-09 Revised:2020-03-08 Online:2020-03-08 Published:2020-05-13

摘要: 随着共享时代已经到来,共享汽车行业展现出巨大潜力,但传统共享汽车租赁平台面临由集中化存储引 起的数据安全和数据异步碎片化问题。针对上述问题,利用具有分布式存储、全网共识和防篡改特性的区块链技术 设计一种共享汽车数据共享与结算系统。首先,对系统平台的底层设计和关键实现进行介绍,使用区块链中创新性 的智能合约来解决共享汽车平台中关键的注册、交易上传和行为监督等复杂逻辑决策问题。然后,针对系统中传播 虚假信息的恶意节点,提出了一种信誉度评估算法。最后,通过系统测试结果表明,该系统在请求延迟和吞吐量性能 上满足实际需求,并能有效抑制单个节点的恶意行为。

关键词: 区块链, 智能合约, 共享汽车, 信誉评估算法, 数据安全

Abstract: With the coming of the sharing era,the shared vehicle industry has shown great potential,but the traditional shared vehicle rental platform is facing the problems of data security and asynchronous data fragmentation caused by centralized storage. In order to solve these problems,blockchain technology with distributed storage,network wide consensus and tamper proof features was applied to design a shared vehicle data sharing and settlement system. Firstly,the underlying design and key implementation of the system were introduced,and innovative smart contracts in the blockchain were used to solve the complex logical decision-making problems of key businesses in the shared vehicle platform,including its registration,transaction upload and behavior monitoring process. And then,a reputation evaluation algorithm was proposed for malicious nodes in the system. Finally,the system test results show that the proposed system meets the actual requirements in terms of request latency and throughput performance,and can effectively inhibit the malicious behavior of a single node.

Key words: blockchain, smart contract, shared vehicle, reputation evaluation algorithm, data security

中图分类号: