论文标题
在嵌入式IoT设备上实施以太坊帐户和交易
Implementation of Ethereum Accounts and Transactions on Embedded IoT Devices
论文作者
论文摘要
人们对物联网(IoT)和工业物联网(IIT)的兴趣日益增长的兴趣提出了为嵌入式设备生成和收集的数据认证和公证的强大解决方案的挑战。区块链和分布式分类帐技术代表了解决这些问题的有前途的解决方案,但会提出其他问题,例如关于它们的实际可行性。实际上,物联网设备的资源有限,因此,可能无法轻松执行参与区块链所需的所有操作。在本文中,我们提出了一个最小的体系结构,以允许在以太坊区块链上执行数据认证和公证化的IoT设备。我们开发了一个硬件软件平台,通过该平台,使用秘密密钥和相关的公共地址的轻量级设备(例如,IoT传感器)生产签名的交易,然后将其提交给区块链网络。这保证了数据完整性和真实性,另一方面,可以最大程度地减少轻量级设备上的计算负担。为了显示所提出方法的实用性,我们报告并讨论了在ARM Cortex-M4硬件架构上执行的基准的结果,并通过Ropsten TestNet发送交易。我们的结果表明,所有必要的操作都可以用较小的延迟执行,因此证明物联网设备可以直接与区块链相互作用,而无需明显的瓶颈。
The growing interest in Internet of Things (IoT) and Industrial IoT (IIoT) poses the challenge of finding robust solutions for the certification and notarization of data produced and collected by embedded devices. The blockchain and distributed ledger technologies represent a promising solution to address these issues, but rise other questions, for example regarding their practical feasibility. In fact, IoT devices have limited resources and, consequently, may not be able to easily perform all the operations required to participate in a blockchain. In this paper we propose a minimal architecture to allow IoT devices performing data certification and notarization on the Ethereum blockchain. We develop a hardware-software platform through which a lightweight device (e.g., an IoT sensor), holding a secret key and the associated public address, produces signed transactions, which are then submitted to the blockchain network. This guarantees data integrity and authenticity and, on the other hand, minimizes the computational burden on the lightweight device. To show the practicality of the proposed approach, we report and discuss the results of benchmarks performed on ARM Cortex-M4 hardware architectures, sending transactions over the Ropsten testnet. Our results show that all the necessary operations can be performed with small latency, thus proving that an IoT device can directly interact with the blockchain, without apparent bottlenecks.