作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2021, Vol. 47 ›› Issue (4): 32-39,47. doi: 10.19678/j.issn.1000-3428.0057729

• 热点与综述 • 上一篇    下一篇

基于以太坊的改进物联网设备访问控制机制研究

张建国, 胡晓辉   

  1. 兰州交通大学 电子与信息工程学院, 兰州 730070
  • 收稿日期:2020-03-16 修回日期:2020-04-22 发布日期:2020-04-22
  • 作者简介:张建国(1993-),男,硕士研究生,主研方向为分布式计算、区块链技术;胡晓辉(通信作者),教授、博士。
  • 基金资助:
    国家自然科学基金(11461038);甘肃省科技支撑计划项目(144NKCA040)。

Research on Improved Access Control Mechanism of Internet of Things Devices Based on Ethereum

ZHANG Jianguo, HU Xiaohui   

  1. School of Electronic and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China
  • Received:2020-03-16 Revised:2020-04-22 Published:2020-04-22

摘要: 当前物联网设备节点动态性强且计算能力弱,导致物联网中的传统访问控制机制存在策略判决与策略权限管理效率较低、安全性不足等问题。提出基于以太坊区块链的物联网设备访问控制机制,结合基于角色的访问控制(RBAC)模型设计智能合约。对以太坊相关特性进行分析,建立结合用户组的改进RBAC模型。设计基于以太坊区块链技术的物联网设备访问控制架构及算法,通过编写图灵完备的智能合约实现物联网设备访问控制,融合以太坊区块链MPT树存储结构与星际文件系统对访问控制策略进行存储管理。在以太坊测试链上的实验结果表明,该机制具有较高的策略判决性能与安全性。

关键词: 区块链, 以太坊, 智能合约, 基于角色的访问控制模型, 物联网设备, 访问控制

Abstract: The high mobility and weak computation capabilities of Internet of Things(IoT) device nodes lead to some problems in the traditional access control mechanism of IoT,including low security,and inefficient management of policy decision and policy permissions.To address the problems,this paper proposes an access control mechanism for IoT devices based on Ethereum blockchain,and a smart contract designed by using the Role-Based Access Control (RBAC) model.First,this paper expounds the features of Ethereum and proposes an improved RBAC access control model combined with user groups.Then it designs the access control architecture and algorithm for IoT devices based on Ethereum blockchain technology,and writes Turing-complete smart contracts to realize access control for IoT devices.The storage structure of Ethereum blockchain MPT tree and InterPlanetary File System(IPFS) are used to store and manage access control strategies.The test results on the Ethereum test chain verify high security and policy decision performance of the proposed mechanism.

Key words: blockchain, Ethereum, smart contract, Role-Based Access Control(RBAC) model, Internet of Things(IoT) devices, access control

中图分类号: