首页> 外文期刊>Progress in Artificial Intelligence >A Cost Analysis of Internet of Things Sensor Data Storage on Blockchain via Smart Contracts
【24h】

A Cost Analysis of Internet of Things Sensor Data Storage on Blockchain via Smart Contracts

机译:通过智能合同对SlockChain中的东西传感器数据存储互联网的成本分析

获取原文
获取原文并翻译 | 示例
           

摘要

Blockchain is a developing technology that can be utilized for secure data storage and sharing. In this work, we examine the cost of Blockchain-based data storage for constrained Internet of Things (IoT) devices. We had two phases in the study. In the first phase, we stored data retrieved from a temperature/humidity sensor connected to an Ethereum testnet blockchain using smart contracts in two different ways: first, appending the new data to the existing data, storing all sensor data; and second, overwriting the new data onto the existing data, storing only a recent portion of the data. In the second phase, we stored simulated data from several sensors on the blockchain assuming sensor data is numeric. We proposed a method for encoding the data from the sensors in one variable and compared the costs of storing the data in an array versus storing the encoded data from all sensors in one variable. We also compared the costs of carrying out the encoding within the smart contract versus outside the smart contract. In the first phase, our results indicate that overwriting data points is more cost-efficient than appending them. In the second phase, using the proposed encoding method to store the data from several sensors costs significantly less than storing the data in an array, if the encoding is done outside the smart contract. If the encoding is carried out in the smart contract, the cost is still less than storing the data in an array, however, the difference is not significant. The study shows that even though expensive, for applications where the integrity and transparency of data are crucial, storing IoT sensor data on Ethereum could be a reliable solution.
机译:BlockChain是一种开发技术,可用于安全数据存储和共享。在这项工作中,我们检查基于区块链的数据存储成本,用于约束的物联网(物联网)设备。我们在研究中有两个阶段。在第一阶段,我们使用智能合同以两种不同的方式存储从连接到Etereum TestNet区块链的温度/湿度传感器中检索的数据:首先,将新数据附加到现有数据,存储所有传感器数据;其次,将新数据覆盖到现有数据,仅存储最近的数据。在第二阶段,我们假设传感器数据是数字的区块链上的几个传感器的模拟数据。我们提出了一种用于在一个变量中从传感器编码数据的方法,并比较将数据存储在阵列中的成本与一个变量中的所有传感器存储在阵列中。我们还比较了在智能合同之外开展智能合同与智能合同的编码的成本。在第一阶段,我们的结果表明,覆盖数据点比附加对象更具成本效益。在第二阶段,使用所提出的编码方法将数据存储来自几个传感器的成本明显小于在阵列中存储数据,如果编码在智能合同之外完成。如果在智能合同中执行编码,则成本仍然小于将数据存储在阵列中,但是,差异不显着。该研究表明,即使是数据的完整性和透明度至关重要的应用,即使是昂贵的应用,在以外um上存储IoT传感器数据可能是可靠的解决方案。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号