北京邮电大学学报

  • EI核心期刊

北京邮电大学学报 ›› 2025, Vol. 48 ›› Issue (2): 1-7.

• 论文 •    下一篇

区块链预言机软件体系结构容错演化算法

孙晶, 孙林, 张龙隆, 宋雨伦, 赵会群   

  1. 1. 北方工业大学 信息学院 2. 联通数字科技有限公司
  • 收稿日期:2023-12-28 修回日期:2024-06-20 出版日期:2025-04-30 发布日期:2025-04-30
  • 通讯作者: 赵会群 E-mail:zhaohq6625@sina.com

Fault-Tolerant Evolution Algorithms for Blockchain Oracle Software Architecture

  • Received:2023-12-28 Revised:2024-06-20 Online:2025-04-30 Published:2025-04-30
  • Contact: Huiqun ZHAO E-mail:zhaohq6625@sina.com

摘要: 预言机是区块链系统与外部的接口,它负责对输入数据排序和数据事务一致性会话。然而,对于区块链系统中唯一具有中心化特点的预言机而言,其安全性没有受到区块链特有的安全机制保护;当预言机失败后,数据和数据处理事务都将丢失。为了避免有预言机因失败造成的数据丢失,提出了一个新奇的容错预言机软件体系结构, 设计了可靠性演化需求模型和具有智能特点的容错演化模型,通过调整上述模型,预言机的可靠性得到改善。在此基础上,提出了系列容错演化算法。算法实验中,通过模拟预言机受到病毒攻击场景,对提出容错演化算法执行代价和备用预言机替换时间复杂性进行了评估,验证了上述预言机软件体系结构和系列算法的有效性。

关键词: 区块链, 预言机, 容错, 神经元网络, 软件演化 

Abstract: The oracle is the interface between the blockchain and the external data exchange. It is responsible for the ordering of the input data and the data consistency transaction session. However, the security of oracle, a centralized blockchain system component, is not protected by the security mechanism of the blockchain system. After the oracle fails, its input data and transaction process will be lost. In order to avoid the loss caused by the failure of the oracle, in this paper, we propose a novel fault-tolerant oracle software architecture of blockchain. Specifically, we design the reliability evolution requirement model and the intelligent fault-tolerant evolution model. By leveraging these two models, the security mechanism of the oracle is improved. Furthermore, we propose the corresponding evolution algorithms to enable the automatic fault-tolerant evolution of the software architecture after the oracle fails. In experiments, we employ the virus attack case to verify the novel oracle reliability and also we evaluate the fault-tolerant evolution cost, backup oracle replacement timing respectively. Extensive experimental results show the practical value and effectiveness of the proposed fault-tolerant oracle software architecture and its evolution algorithms.

Key words: blockchain, oracle, fault tolerance, neural network, software evolution

中图分类号: