The private chain-based Internet of Things (IoT) system ensures the security of cross-organizational data sharing. As a widely used consensus model in private chains, the leader-based state-machine replication (SMR) model meets the performance bottleneck in IoT blockchain applications, where nontransactional sensor data are generated on a scale. We analyzed IoT private chain systems and found that the leader maintains too many connections due to high latency and client request frequency, which results in lower consensus performance and efficiency. To meet this challenge, we propose a novel solution for maintaining low request latency and high transactions per second (TPS): replicate nontransactional data by followers and confirm by the leader to achieve nonconfliction SMR, rather than all by the leader. Our solution, named Leader Confirmation Replication (LCR), uses the newly proposed future log and confirmation signal to achieve nontransactional data replication on the followers, thereby reducing the leader's network traffic and the request latency of transactional data. In addition, the generation replication strategy is designed to ensure the reliability and consistency of LCR when meeting membership changes. We evaluated LCR with various cluster sizes and network latencies. Experimental results show that in ms-network latency (2-30) environments, the TPS of LCR is 1.4X-1.9X higher than Raft, the transactional data response time is reduced by 40%-60%, and the network traffic is reduced by 20%-30% with acceptable network traffic and CPU cost on the followers. In addition, LCR shows high portability and availability since it does not change the number of leaders or the election process.
翻译:基于私人链路的Tings Internet(IoT)系统确保跨组织数据共享的安全。作为私人链路广泛使用的协商一致模式,基于领导人的州机器复制(SMR)模式符合IoT 区块应用程序的性瓶颈,因为非交易传感器数据是大规模生成的。我们分析了IoT 私人链路系统,发现由于高潜值和客户要求频率导致高潜值和客户要求频度,导致共识性和效率降低,导致跨组织数据共享的安全性。为了应对这一挑战,我们提出了一个新颖的解决方案,用于维持每秒(TPS)的低要求延缓度和高交易量交易(TPS):由追随者复制非交易性供应数据,并由领导者确认实现非冲突性SMRR(SMR),而不是全部由领导者确认。我们的解决方案,名为CRCR(LCR),使用新提出的未来日志和确认信号在追随者身上复制数据,从而减少了领导者的网络网络的不透明性和一致性。此外,在达到 Transal-CR-lex(LCR) IM) 的运行流程中, 显示LCRCR-lCR-lex-lex-lex-lex-xx-xxxxxx) 的延迟运行中, 运行中, 以显示了L-lentral-ral-lentral-l-lal-ex 20-l-l-l-x-l-l) 的系统运行系统运行的运行速度为低时程。