IEEE Internet of Things Journal · 2021 · 17 citations · 38 references
ComputingComputer EngineeringComputer ScienceEmbedded SystemsInternet Of ThingsVirtualizationApplication ArchitectureApplication Programming InterfacesInstruction Set ArchitectureIot ArchitectureIot Data ManagementSmart ContractsDispatchingDistributed Iot SystemsIot Application ArchitectureIot Security ArchitectureIot Software EngineeringSecurity MechanismsSmart Contract Execution ModelsStack-based Virtual Machines
Blockchain-based Internet of Things (BC-IoT) brings the advantages of blockchain into traditional IoT systems. In BC-IoT, the smart contract has been widely used for automatic, trusted, and decentralized applications. Smart contracts require frequent adjust and fast update due to various reasons, such as inevitable code bugs, changes of applications, or security requirements. However, previous smart contract architecture and updating mechanism are low speed and cause high overhead, because they are based on recompilation and redeployment in BC-IoT. Meanwhile, smart contract execution is so time consuming due to contract instruction dispatching and operand loading in the stack-based Ethereum virtual machine (EVM). To address these issues, we propose a new smart contract architecture and optimization mechanism for BC-IoTs, ATOM, which provides architectural supports to update contract economically and fast executing in instructionwise for the first time, to the best of our knowledge. We design a compact Application-oriented Instruction (AoI) set to describe application operations. We can construct the bytecode of smart contract from application by directly assembling templates prebuilt upon the AoIs rather than by compilation. We also present an optimized mechanism for AoI execution to enable access addressable storage place rather than the indirect access through stack. We perform ATOM on a BC-IoT testbed based on private Ethereum and Hyperledger Burrow. The experimental results highlight that ATOM is more efficient than state-of-the-art approaches. ATOM can reduce update latency by 62.7%, ledger size by 70%, and gas usage by 90% on average, respectively. Compared with the traditional smart contract architecture, ATOM can improve EVM Memory access efficiency significantly by up to <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$10\times $ </tex-math></inline-formula> and achieve improvement of execution efficiency with up to <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$1.6\times $ </tex-math></inline-formula> .
38
Ethereum: A Secure Decentralised Generalised Transaction Ledger
Gavin Wood · 2013 · 5.3K citations
Making Smart Contracts Smarter
Loi Luu, Duc-Hiep Chu, Hrishi Olickel et al. · 2016 · 2.2K citations
An overview on smart contracts: Challenges, advances and platforms
Zibin Zheng, Shaoan Xie, Hong‐Ning Dai et al. · Future Generation Computer Systems · 2019 · 1.2K citations · Full text
Law, Contract Law, Contracts +8
Blockchain for Internet of Things: A Survey
IEEE Internet of Things Journal · 2019 · 1.1K citations · Full text
Smart Contract-Based Access Control for the Internet of Things
Yuanyu Zhang, Shoji Kasahara, Yulong Shen et al. · IEEE Internet of Things Journal · 2018 · 769 citations