Font Size: a A A

Research And Implementation Of Blockchain Hierarchical Cross-chain Model

Posted on:2022-11-03Degree:MasterType:Thesis
Country:ChinaCandidate:S T GuoFull Text:PDF
GTID:2518306764480374Subject:Automation Technology
Abstract/Summary:PDF Full Text Request
As people turn their attention from digital cryptocurrency to its underlying supporting technology——blockchain technology,people find that its inherent decentralization,distributed access,tamper-proof and other characteristics are closely related to many industries and fields such as finance and cloud computing.However,the limitations of the existing blockchain technology in terms of consensus efficiency,privacy protection,and data cross-chain are still the key factors restricting its development.Therefore,this thesis conducts some research on the cross-border settlement of digital RMB on the basis of solving the cross-chain data of blockchain.The main research contents and results are as follows:Firstly,a consensus algorithm based on the credit voting mechanism is proposed as the sub-chain consensus algorithm.On the basis of the Po S algorithm,the impact of equity on the system is reduced by introducing the credit value.By combining the credit value with the difficulty of nodes participating in the consensus,at the same time,a credit value update and punishment mechanism is designed to further restrict the malicious behavior of nodes;by designing a voting mechanism,the block generation process is divided into packaging and voting to improve the security of the system;by generating random numbers to select packaging nodes and representative nodes increase the fairness of the consensus and also improve the enthusiasm of nodes to participate in the consensus.Through the above design,the efficiency of the consensus algorithm is improved,and the defense capability of attack methods such as double-spending attack,selfish mining,collusion attack,and rights smashing attack is improved to a certain extent.Secondly,a hierarchical cross-chain model based on master-slave multi-chain is proposed,and the blockchain structure is divided into two layers.The first layer is a plurality of parallel independent sub-chains,and the second layer is selected by each sub-chain.The main chain composed of representative nodes,the representative node acts as a relay node,first uploads the data on its own sub-chain to the main chain,and saves the data on other sub-chains for other nodes on its sub-chain to query and synchronize,so as to realize data cross-chain on different sub-chains.Finally,starting from the cross-border settlement of digital RMB,a hierarchical cross-chain settlement system based on master-slave multi-chain is designed and implemented.The system treats commercial banks as parallel and independent sub-chains.And security considerations,a total of two main chains are formed on the basis of the sub-chain,one domestic cross-chain settlement main chain,and one cross-border settlement main chain;In order to achieve the purpose of protecting transaction privacy data,this thesis used improved homomorphic encryption,the transaction data is encrypted and then uploaded to the main chain;finally,the realization steps of cross-chain settlement are completed by designing smart contracts,while ensuring the validity and security of transactions.
Keywords/Search Tags:Cross-Chain, Consensus Algorithm, Homomorphic Encryption, Smart Contract, Cross-border Settlement
PDF Full Text Request
Related items