Font Size: a A A

Design And Implementation Of Blockchain Storage System Supporting Rich Retrieval

Posted on:2021-01-23Degree:MasterType:Thesis
Country:ChinaCandidate:S D LiFull Text:PDF
GTID:2518306050969349Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
Blockchain system is considered to bring changes to traditional Internet applications and financial fields due to its decentralized,tamper-proof and data-sharing features.At present,blockchain system has been widely used in many fields,such as smart medicine,financial technology and e-government.However,in practical applications,many deficiencies of the blockchain system have been exposed in data query processing.The additive nature of blockchain data has led to the continuous expansion of its data.How to efficiently organize and use these massive data has become an urgent problem.Now,the blockchain system uses a coarse-grained organization method for increasing block data.It cannot support more complex queries,and it is impossible to perform data analysis and data mining on these block data.This is a great waste of data resources,and also prevents the further widespread application of blockchain technology.In this thesis,we conduct research over the organization and management of blockchain data,and proposes a design scheme for the underlying storage system of the blockchain that supports rich retrieval.The main tasks are as follows:1.Design of storage system based on My SQL.Aiming at the problems of low data query efficiency,limited query function,and lack of flexibility of data storage in the current blockchain system,this article analyzes its data storage model and data retrieval process based on the alliance chain Fabric,and redesigns the blockchain's storage system based on My SQL.new system has certain compatibility with the old system,that is,the nodes using the new system can coexist with the nodes using the old system in the same block chain,the existing block chain system can add new nodes in real time to provide new data services and support more complex data query and data analysis.2.Design of storage system based on Mongo DB.Similar to the first point,the system is designed to enrich the data query processing functions of the blockchain system and expand the application scenarios.This system is mainly for scenarios where the table structure is not clear and the data is constantly changing.The unstructured nature of Mongo DB makes it easy to extend fields without affecting the original data.When the system is facing a scenario with extremely high write load,Mongo DB's high write performance makes it more suitable for business systems where a large number of "low value" data is written.Compared with a My SQL-based storage system,in the scenario of increasing data volume,in order to avoid performance degradation,My SQL needs to perform horizontal or vertical splitting of the form,which is very inconvenient.The data sharding features of Mongo DB can make it Better to adapt to the massive growth of data.3.Based on the above two design schemes,detailed demand analysis and functional design are carried out for digital currency transaction scenarios,so as to realize a digital currency transaction system based on alliance chain fabric and supporting rich retrieval.
Keywords/Search Tags:Blockchain, Hyper Ledger Fabric, MySQL, MongoDB, Storage System, Data Query
PDF Full Text Request
Related items