Font Size: a A A

Design And Implementation Of Asset Trading System Based On Hyperledger Fabric

Posted on:2023-07-21Degree:MasterType:Thesis
Country:ChinaCandidate:R J WangFull Text:PDF
GTID:2558306914983629Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the Internet and the continuous advancement of the digital process,digital products and digital assets have gradually entered people’s lives.Various platforms have launched their own digital assets,such as virtual game currency,user points,etc.At the same time,physical assets are also being digitally registered on a large scale.However,there are many problems in the traditional asset trading system:First,the existing asset trading systems are mostly centralized systems,and the systems are independent of each other,lacking a unified interface and specification,and it is difficult for users’ digital assets to circulate efficiently and Circulation across institutions.Second,in the existing asset trading system,user data is mostly stored in a centralized database,and there is a risk of data tampering and malicious destruction of digital assets.The blockchain technology has the characteristics of decentralization,non-tampering,openness and transparency,and can better solve the above problems.Therefore,this paper designs and implements an asset trading system based on Hyperledger Fabric based on blockchain technology.Transactions have strong practical significance.This paper analyzes the problems existing in the traditional asset trading system and investigates related technologies,and proposes an asset trading blockchain system architecture based on microservices to cope with the growing system demand,decouple the service functions of the system background,and realize Multi-service plugging and unplugging mechanism in the system.Among them:the whole system is built based on the Spring Cloud framework,each service completes multi-node and multiinstance deployment,completes the gateway design based on Zuul components and Nginx,realizes the separation of front and back ends,designs service registration and service discovery center based on Eureka components,and is based on Feign and Ribbon components.It completes message forwarding and load balancing on the basis to improve system availability.At the same time,through the Hystrix component,the function of downgrading and fusing the crashed service is completed to prevent the occurrence of service avalanches.The blockchain subsystem uses Fabric to build the basic platform,and designs smart contracts according to asset transaction requirements.The system realizes automatic execution and automatic reconciliation through the designed smart contracts.In addition,in view of the low data retrieval efficiency of the blockchain system and the difficulty of data synchronization in multi-party data storage centers,a high-concurrency data synchronization retrieval optimization mechanism is designed and implemented to improve the retrieval efficiency of the asset transaction blockchain system in high-concurrency scenarios and solve the problem.Data synchronization consistency problem.Then,through the three aspects of security interception design,stability design and data management visualization design,the security mechanism of asset transaction blockchain system is proposed and realized.This paper firstly introduces the background and related technologies of the asset trading system based on Hyperledger Fabric.Second,a detailed analysis of system stakeholders and functional and non-functional requirements is performed.Then,analyze and design the key problems of the system,and on this basis,carry out the overall design of the system architecture,functional modules,data models and system interfaces.Then,the paper elaborates the detailed design and realization of the system function module.Finally,the functional test and performance test of the system are carried out through the V model to confirm that the system meets the design goals.
Keywords/Search Tags:Blockchain, Hyperledger Fabric, Microservice, Asset Transaction, Smart Contract
PDF Full Text Request
Related items