计算机工程2024,Vol.50Issue(1):39-49,11.DOI:10.19678/j.issn.1000-3428.0067004
基于Fabric的海量交易数据上链预处理机制
Fabric-based Up-chain Preprocessing Mechanism for Mass Transaction Data
摘要
Abstract
Hyperledger Fabric is an alliance chain framework widely adopted both domestically and internationally.It exhibits characteristics such as numerous participating organizations,frequent transaction operations,and increased transaction conflicts in certain businesses based on Fabric technology.The multi-version concurrency control technology used in Fabric can partially resolve transaction conflicts as well as enhance system concurrency.However,this mechanism is imperfect and certain transaction data cannot be properly stored on the chain.To achieve complete,efficient,and trustworthy up-chain storage of massive transaction data,a data preprocessing mechanism based on the Fabric oracle machine is proposed.The Massive Conflict Preprocessing(MCPP)method is designed to ensure the integrity of transaction data with primary key conflicts through techniques including detection,monitoring,delayed submission,transaction locking,and reordering caching.Data transmission protection measures are introduced to utilize asymmetric encryption technology during transmission,preventing malicious nodes from forging authentication information and ensuring consistency before and after off-chain processing of transaction data.Theoretical analysis and experimental results demonstrate that this mechanism can effectively address concurrent conflict issues regarding up-chain massive transaction data in alliance chain platforms.When the transaction data scales reach 1 000 and 10 000,the MCPP method achieves time efficiency improvements of 38%and 21.4%,respectively,compared with the LMLS algorithm,with a success rate close to 100%.Thus,the proposed method exhibits efficiency and security,and does not impact Fabric system performance when concurrent conflicts do not occur.关键词
联盟链/Hyperledger Fabric平台/预言机/海量交易数据/并发冲突/数据传输Key words
alliance chain/Hyperledger Fabric platform/oracle machine/massive transaction data/concurrency conflict/data transmission分类
信息技术与安全科学引用本文复制引用
刘颖,马玉鹏,赵凡,王轶,蒋同海..基于Fabric的海量交易数据上链预处理机制[J].计算机工程,2024,50(1):39-49,11.基金项目
新疆维吾尔自治区自然科学基金面上项目(2022D01A338) (2022D01A338)
天山创新团队计划项目(2022D14019) (2022D14019)
新疆维吾尔自治区重点研发计划项目(2022B01005) (2022B01005)
新疆维吾尔自治区重大科技专项(2020A02001). (2020A02001)