Gao Ruiyang, Xue Yongtao, Wang Wei, Lu Yin, Gui Guan, Xu Shimin
Bell Honors School, Nanjing University of Posts and Telecommunications, Nanjing 210003, China.
School of Communication and Information Engineering, Nanjing University of Posts and Telecommunications, Nanjing 210003, China.
Sensors (Basel). 2024 Aug 30;24(17):5625. doi: 10.3390/s24175625.
Oracle is a data supply mechanism that provides real-world data for blockchain. It serves as a bridge between blockchain and the IoT world, playing a crucial role in solving problems such as data sharing and device management in the IoT field. The main challenge at this stage is determining how to achieve data privacy protection in distributed Oracle machines to safeguard the value hidden in data on the blockchain. In this paper, we propose an improved scheme for distributed Oracle data aggregation based on Paillier encryption algorithm, which achieves end-to-end data privacy protection from devices to users. To address the issue of dishonest distributed Oracle machines running out of funds, we have designed an algorithm called PICA (Paillier-based InChain Aggregation). Based on the aggregation on the Chainlink chain and the Paillier encryption algorithm, random numbers are introduced to avoid the problem of dishonest Oracle machines running out of funds. We use the traffic coverage method to solve the problem of exposed request paths in distributed Oracle machines. Simulation and experimental results show that in small and medium-sized IoT application scenarios with 10,000 data nodes, each additional false request in a single request will result in a delay of about 2 s in data acquisition and can achieve a request response time of 20 s. The proposed method can achieve user data privacy protection.
预言机是一种为区块链提供真实世界数据的数据供应机制。它充当区块链与物联网世界之间的桥梁,在解决物联网领域的数据共享和设备管理等问题方面发挥着关键作用。现阶段的主要挑战在于确定如何在分布式预言机中实现数据隐私保护,以保障区块链上数据所隐藏的价值。在本文中,我们提出了一种基于Paillier加密算法的分布式预言机数据聚合改进方案,该方案实现了从设备到用户的端到端数据隐私保护。为解决不诚实的分布式预言机资金耗尽的问题,我们设计了一种名为PICA(基于Paillier的链上聚合)的算法。基于Chainlink链上的聚合和Paillier加密算法,引入随机数以避免不诚实的预言机资金耗尽的问题。我们使用流量覆盖方法来解决分布式预言机中请求路径暴露的问题。仿真和实验结果表明,在具有10000个数据节点的中小型物联网应用场景中,单个请求中每增加一个虚假请求,数据采集将延迟约2秒,并且可以实现20秒的请求响应时间。所提出的方法能够实现用户数据隐私保护。