Font Size: a A A

Design And Implementation Of Non-invasive Cross-consortium-chain Platform

Posted on:2023-02-15Degree:MasterType:Thesis
Country:ChinaCandidate:Y X ChenFull Text:PDF
GTID:2558306914483634Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Since Satoshi Nakamoto proposed the architecture of bitcoin,blockchain technology experienced performance optimization and technical breakthrough on a single chain in its early stage of development.But as blockchain becomes more widespread,it is increasingly difficult for a single blockchain to address the commercial usage problem as the blockchain market matures.The emphasis of blockchain development has gradually focused on multi-chain collaboration.In the multi-chain collaborative development stage,there are new technologies and new architectures that give rise to new thinking about blockchain.However,most of these technologies are geared towards public blockchain which has led to the focus of mainstream technology and architecture on the security of cross-chain technology and the way to break through the information silos between chains.This focal point is difficult to satisfy the requirements of high performance,high throughput and high scalability in commercial scenarios.This paper mainly studies the top architecture of traditional single consortium blockchain system in a non-invasive way and complete the inter-blockchain communication platform to solve the above problems.Firstly,this paper starts with the traditional blockchain model and analyzes the limitations brought by the model itself.According to this analyzation,the development process of blockchain from single-chain stage to multi-chain collaborative stage is combed out.Then this paper analyses the advantages and disadvantages of different blockchain top-level architecture schemes to define the characteristics of the non-invasive cross-consortium-chain platform.With the preliminary knowledge of the non-invasive cross-consortium-chain platform briefly introduced,this paper provides theoretical support for the algorithm and design of the following chapters.Secondly,a sharding scheme bases on the hybrid identifier of cross-chain and a inter-blockchain communication scheme bases on the hybrid logical relay-chain are proposed in this paper.Starting with the algorithm details and design ideas of the above two schemes,this paper breaks the solution into parts through deconstruction and is elaborated in the form of flowcharts,key codes,and state machines.Effective algorithm design,process and solutions are made for the problem of sharding error caused by inconsistency of node timestamp,the hot sharding problem and data migration problem caused by the immutability of blockchain,the asynchronous transaction processing problem caused by blockchain transaction ordering and delayed confirmation,the atomicity problem of cross-chain transaction and the problem of data persistence.Finally,the functional and non-functional requirements of the system are analyzed,and the roles and their positioning in the system are divided through methods of software engineering.Then this paper introduces the architecture between roles and the topology scheme of nodes corresponding to roles.After build the overall architecture of the system,the realization of the key module is described in detail in this paper,which contains the logical implementation scheme,the data structure and the transaction processing of the module.According to the system implementation and the requirement analysis,this paper does further software testing,which includes unit testing,functional testing,and stress testing,for the non-invasive cross-consortium-chain platform.Further more,the validity and correctness of functional and non-functional requirements are verified by comparing with traditional single blockchain.
Keywords/Search Tags:Blockchain, Relay-chain, Sharding Technology, Inter-blockchain Communication
PDF Full Text Request
Related items