Abstract

Blockchain is also known as distributed ledger. All full nodes connected to the blockchain network participate in the maintenance of the data in the ledger. It is a technology in many fields such as computer science, cryptography, distributed storage, and finance. Industrial and academic research on blockchain technology has achieved great results, including research on blockchain networks, consensus mechanisms, and smart contracts. However, limited by the data storage mode and the characteristics of distributed storage at the bottom of the blockchain, there are still problems that need to be solved urgently, such as the single retrieval function and the low retrieval rate of the data retrieval on the blockchain. We focused on this problem, and based on the built-in index and external data warehouse method, we proposed a high-speed data retrieval model on blockchain. The model consists of three parts: a blockchain network with improved index storage, a data processing cluster, and application layer services. The new blockchain network improves the organization of transaction data in the traditional blockchain system, and designs a data structure suitable for high-speed retrieval to organize transaction data; the data processing cluster is responsible for ensuring data consistency and in accordance with high efficiency The synchronization strategy is to synchronize the data on the chain to the relational data warehouse under the chain; the application layer service encapsulates the rich query functions supported by the relational database, and finally provides services to the outside in the form of HTTP, RPC, etc. Experimental results show that the model can effectively expand the blockchain system in terms of query efficiency and query functions, improve the query rate of data on the blockchain, and meet people's needs for blockchain query functions.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.