石油化工设备技术 ›› 2024, Vol. 45 ›› Issue (2): 61-66.doi: 10.3969/j.issn.1006-8805.2024.02.015

• 状态监测与分析 • 上一篇    

基于改进PBFT算法的腐蚀监测数据共享系统

杨 阳,邢 涛,赵 亮,杨 禹   

  1. 东北林业大学机电工程学院,黑龙江 哈尔滨 150040
  • 收稿日期:2023-12-27 接受日期:2024-02-29 出版日期:2024-03-15 发布日期:2024-03-22
  • 作者简介:杨阳,女,现为东北林业大学材料与化工林业工程专业在读硕士研究生,主要从事石油管道腐蚀检测系统数据传输数据安全方面的研究工作。
  • 基金资助:
    哈尔滨长川超声仪器科技有限公司(批准号:HKF230400016)资助的课题

Corrosion Monitoring Data Sharing System Based on Improved PBFT Algorithm

Yang Yang, Xing Tao, Zhao Liang, Yang Yu   

  1. College of Mechanical and Electrical Engineering, Northeast Fore-stry University, Harbin, Heilongjiang, 150040
  • Received:2023-12-27 Accepted:2024-02-29 Online:2024-03-15 Published:2024-03-22

摘要: 在石化运输的腐蚀监测系统中,数据一般采用分布式存储,虽然目前存在多种基于云端的数据托管方案,但数据保密方式大多仅依靠算法加密,如何确保第三方的可信性是十分令人困扰的问题。为此,在腐蚀监测数据共享系统中,设计了结合信任机制与数据交互系统的改进的PBFT实用拜占庭容错协议(Practical Byzantine Fault Tolerance)共识算法(简称改进PBFT算法)。该系统可不依托第三方平台进行可靠的数据交付,从而确保了数据的可追溯性。在仿真测试实验中,对改进PBFT算法和传统的PBFT共识算法(简称传统PBFT算法)进行对比,结果显示,改进PBFT算法在数据稳定性和可靠性测试中优于传统PBFT算法。该系统解决了监测数据共享中不可追溯和易受攻击等难点问题,为进一步推动区块链技术在石化运输腐蚀监测信息化行业的发展奠定了基础。

关键词: 区块链, 腐蚀监测, 拜占庭容错, 共识算法, 分布式存储, 数据共享

Abstract: Data in corrosion monitoring systems for petrochemical transportation is generally in distributed storage. Although there exist a variety of cloud-based data hosting solutions, most of the data confidentiality methods rely only on algorithmic encryption. And how to ensure the credibility of the third party is a very worrying problem. Therefore, an improved Practical Byzantine Fault Tolerance (PBFT) consensus algorithm (referred to as improved PBFT algorithm) that combines trust mechanism with data interaction system is designed in the corrosion monitoring data sharing system. The system ensures data traceability by providing reliable data delivery without relying on third-party platforms. In the simulation test experiments, the improved PBFT algorithm and the traditional PBFT consensus algorithm (referred to as the traditional PBFT algorithm) are compared, and the results show that the improved PBFT algorithm outperforms the traditional PBFT algorithm in data stability and reliability tests. The system solves the difficult problems of non-traceability and vulnerability to attacks in monitoring data sharing, and lays the foundation for further promoting the development of block chain technology in the corrosion monitoring informatization of petrochemical transportation.

Key words: block chain, corrosion monitoring, Byzantine fault tolerance, consensus algorithm, distributed storage, data sharing