Font Size: a A A

Design And Implementation Of Cross-chain Interactive Device In Anti-counterfeit Authentication

Posted on:2024-09-11Degree:MasterType:Thesis
Country:ChinaCandidate:W B MuFull Text:PDF
GTID:2568307061469354Subject:Electronic information
Abstract/Summary:PDF Full Text Request
Blockchain is an important technology in the development of the digital economy and has been included in the 14 th Five-Year Plan of the national economy.The application scope of blockchain technology is rapidly expanding and has been extended from virtual currency to combine with various industries such as finance,logistics,government,and healthcare.However,with the rapid development of blockchain technology,the demand for data collaboration among blockchain networks is also increasing.Due to the differences in the underlying architecture,consensus mechanisms,and message protocols of different blockchains,the blockchain ecology has formed a situation of "data silos",and data interaction is impossible.In a large number of federation chain application scenarios,the main and most direct purpose of cross-chain interaction is to break the data barriers between different blockchain networks.In this thesis,based on the analysis of the future development needs of blockchain and crosschain difficulties,firstly,the system architecture of the cross-chain interactor is studied and designed.Secondly,the key issues such as the digital identity authentication mechanism of the application chain,data atomicity interoperability,and reliable off-chain deposition in the crosschain interactor are studied and optimized.Finally,the cross-chain interactor is applied among heterogeneous achievement deposition systems,and experiments and validations are conducted.The main research contents and innovations include the following aspects.(1)A system architecture for a generic cross-chain interactor is studied and designed in three aspects: first,it proposes to use relay chains as hubs for data interaction to solve the interaction trust problem between different application chains.Secondly,a custom cross-chain protocol CCI is designed to encapsulate and parse cross-chain messages using a unified message body to facilitate message transmission in the network.Finally,a cross-chain gateway is designed to capture,verify and forward messages,and is responsible for bridging application chains with relay chains.(2)The study solves the critical problems of cross-chain interactions in the process of data interaction.First,to address the problem that the application chain identity cannot be trusted and identified in the current cross-chain interactor architecture,this thesis introduces the traditional Internet digital identity authentication mechanism and proposes an ECC-based digital identity authentication strategy,which is applied to the unified management stage of application chain identity in the cross-chain interactor and solves the identity identification problem of the application chain.Secondly,to address the tampering problem of the original image in the current cross-chain technology HTLC,this thesis proposes the atomic operation of HTLC data based on DH after an in-depth analysis of the technical principle of hash time locking mechanism to improve the defect of its original image being tampered and realize the safe and reliable interaction of data.Finally,to address the problem that large files other than characters cannot be stored on the application chain in this certificate cross-chain,this thesis optimizes on-chain storage by using off-chain storage after analyzing a large number of technical documents.To guarantee the safe and reliable storage of data under the chain,this thesis proposes a reliable storage scheme based on IPFS off-chain and proves through experiments that it can optimize the on-chain storage problem.(3)Completed the application and performance testing of cross-chain interactors among achievement anti-counterfeit authentication systems.First,this thesis constructs a relay chain inspired by Hyperledger Fabric 2.2,which completes the application chain access operation via the ECC authentication mechanism,which encapsulates and parses cross-chain messages using CCI developed on the basis of Netty and implements the cross-chain interactor.Second,we completed the test of data interaction between Hyperledger Fabric 1.4 and FSICO BCOS 2.6.0heterogeneous realisation anti-forgery authentication application chain,and cross-chain data query processing throughput is stable between 35~40/sec,and the response time of the crosschain data queries is stable between 70~180ms,with good performance on the test set.The results of the test are satisfactory.
Keywords/Search Tags:Blockchain, Cross-chain Interaction, Relay Chain, Cross-chain Protocol, Digital Identity, Down Chain Storage
PDF Full Text Request
Related items