Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Block chain data reading method, system and device and readable storage medium

A data reading and blockchain technology, applied in the blockchain field, can solve the problems affecting the overall performance of the blockchain process and the surge in LSMCompaction overhead, so as to improve LSM read performance, reduce time overhead, and reduce read and write slowness. Effect

Active Publication Date: 2019-12-03
SHENZHEN THUNDER NETWORK TECH +1
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, as the amount of data continues to increase and the level increases, the problem of LSM read amplification becomes more obvious, and the overhead of LSM Compaction increases sharply, especially in stressful environments, which affects the overall performance of the blockchain process

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Block chain data reading method, system and device and readable storage medium
  • Block chain data reading method, system and device and readable storage medium
  • Block chain data reading method, system and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The core of this application is to provide a method, system, device and computer-readable storage medium for reading blockchain data, which are used to improve the overall reading performance of blockchain.

[0053] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0054] Please refer to figure 1 , figure 1 It is a flow chart of a method for reading blockchain data provided by the embodiment of thi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a block chain data reading method. The method comprises the steps of receiving a data reading request; determining a keyword of the to-be-read data according to the data reading request; calling a bottom layer LSM storage engine to sequentially search data items corresponding to the keywords in the memory database and the temporary database; and if the data item corresponding to the keyword is not found, searching the data item corresponding to the keyword in parallel in each hierarchy of the file system. According to the method, when the data items corresponding to thekeywords are not found in the memory database and the temporary database; according to the method, the data items corresponding to the keywords are searched in parallel in each hierarchy of the filesystem, so that the time expenditure of block chain reading operation is reduced. The problem of slow reading and writing caused by too many LSM hierarchies is greatly reduced. The LSM reading performance is remarkably improved. The invention also provides a blockchain data reading system and device, and a computer readable storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of blockchain, in particular to a method, system, device and computer-readable storage medium for reading blockchain data. Background technique [0002] Blockchain stores data through LSM Tree (Log Structure Merge Tree, log structure merge tree) structure. Traditional LSM Tree can use level db (a very efficient kv database implemented by Google), rocksdb (embedded Key-value storage System) and so on to achieve data storage, its advantage is to achieve the best write performance by converting the random write of the disk into sequential write, so as to quickly build the index. [0003] However, as the amount of data continues to increase and the number of levels increases, the problem of LSM read amplification becomes more obvious, and the cost of LSM Compaction increases sharply, especially in stressful environments, which affects the overall performance of the blockchain process. [0004] Therefore, how to...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/13G06F16/14G06F16/17G06F16/18
CPCG06F16/13G06F16/148G06F16/1727G06F16/1815
Inventor 刘鹏程
Owner SHENZHEN THUNDER NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products