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

A method and device for storing world state slices based on incremental buckets

An incremental and global technology, applied in the field of computer systems, can solve the problems of high computational cost, affect the processing performance of the blockchain system, data write amplification, etc., to achieve efficient query, reduce read and write amplification, and ensure consistency. Effect

Active Publication Date: 2022-05-24
CHINA ZHESHANG BANK +1
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the world state tree is mostly composed of Merkle bucket trees, which have the disadvantage of high computational cost, frequent hash calculations for Merkle bucket trees will greatly affect the processing performance of the blockchain system. At the same time, it will bring serious data write amplification phenomenon.

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
  • A method and device for storing world state slices based on incremental buckets
  • A method and device for storing world state slices based on incremental buckets
  • A method and device for storing world state slices based on incremental buckets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040]In order to better understand the technical solutions of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0041] It should be clear that the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0042] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. As used in the embodiments of this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.

[0043] The present inventio...

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 method and device for storing world state slices based on incremental buckets. The method slices the block data on the chain into several generations according to the generation division method. The method mainly includes generation management, data storage and data query Three parts; the generation management part is mainly responsible for the setting of the generation and the change of the generation, the distribution of the generation number and the effect of physical separation of the data; the data storage part is mainly responsible for the incremental storage of the data in the generation and the real-time update of the world state; the data query part It is mainly responsible for the data query between the current generation and the historical generation. Using the independent Bloom filter in the generation can achieve the purpose of fast data retrieval. The present invention can effectively disperse the storage pressure through the incremental storage method, and can also enrich the hot data into a newer generation, while reducing the data retrieval pressure, and improving the query efficiency of the hot data.

Description

technical field [0001] The invention belongs to the field of computer systems, relates to block chain technology, and in particular to a world state slice storage method and device based on incremental buckets. Background technique [0002] Blockchain technology, also known as distributed ledger technology, the blockchain system can safely store data, and the stored information cannot be forged and tampered with. The transaction confirmation on the blockchain is shared by all nodes on the blockchain. Complete, and its consistency is guaranteed by the consensus algorithm. [0003] The world state is the sum of the state information generated by the blockchain system based on the account model after the transaction is executed, including the status information of all accounts and smart contracts on the blockchain. Thus, almost all transaction requests will change the current world state. The world state generated after the transaction execution of each block is the execution...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/22G06F16/245G06F16/23G06F16/27
CPCG06F16/2255G06F16/245G06F16/2365G06F16/27
Inventor 陈权龚明杰臧铖陈嘉俊
Owner CHINA ZHESHANG BANK
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