Distributed storage method, system and device

A technology of distributed storage and system table, applied in the direction of database distribution/replication, structured data retrieval, instruments, etc., can solve the problems of reducing the efficiency of MPT tree storage data and affecting the execution of blockchain network transactions.

Inactive Publication Date: 2019-02-19
WEBANK (CHINA)
View PDF2 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when the storage tree at the lower layer is updated, the state tree at the upper layer is also updated accordingly. As the transaction volume, smart contracts and accounts in the blockchain increase, the tree height of the MPT tree will increase synchronously, resulting in the loss of data stored in the MPT tree. The efficiency is reduced, and the time required for updating is increasing, which affects the execution of blockchain network transactions

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
  • Distributed storage method, system and device
  • Distributed storage method, system and device
  • Distributed storage method, system and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0054] The invention provides a distributed storage method.

[0055] refer to figure 1 , figure 1 It is a schematic flowchart of an embodiment of the distributed storage method of the present invention.

[0056] In this embodiment, the distributed storage method includes:

[0057] Step S101, when a block chain node in the block chain network initiates a transaction request, the block chain node performs a consensus operation on the block carrying the transaction request, and converts the block after the consensus operation The block is broadcast to the rest of the blockchain nodes in the blockchain network;

[0058] In this embodiment, the distributed storage method is applied to a blockchain network, and each blockchain node in the blockchain network is equipped with a smart contract, a key-value pair interface, ...

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 distributed storage method, which comprises the following steps: when a first block chain node in the block chain network initiates a transaction request, the first block chain node performs a consensus operation on the blocks carrying the transaction request, and broadcasts the blocks after the consensus operation to other block chain nodes in the block chain network; The remaining block chain nodes obtain transaction request data from the blocks after the common operation, and issues a creation, insertion or table query request through the intelligent contract initiation table to invoke the key-value pair interface and the storage engine to transmit the transaction request to the AMDB data proxy; The remaining block chain nodes execute corresponding database operation on the database according to the transaction request data through the AMDB data agent. The invention also discloses a distributed storage system and a device. The invention can improve the datastorage efficiency in the block chain and reduce the data update time.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a distributed storage method, system and equipment. Background technique [0002] The Ethereum-based blockchain uses an MPT (Merkle Patricia Tree) tree to store blockchain-related data. Specifically, the state tree is used to store contracts and state data in the blockchain, and the storage tree is used to store contract data and its change history. In the state tree or storage tree, when the data of the leaf node is updated, a new node will be inserted, and a series of paths from the new node to the root node will all regenerate new nodes. [0003] However, when the storage tree at the lower layer is updated, the state tree at the upper layer is also updated accordingly. As the transaction volume, smart contracts and accounts in the blockchain increase, the tree height of the MPT tree will increase synchronously, resulting in the loss of data stored in the MPT tree...

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 Applications(China)
IPC IPC(8): G06F16/27G06F16/2458G06F16/23G06Q40/04
CPCG06Q40/04
Inventor 莫楠张开翔范瑞彬廖飞强白兴强
Owner WEBANK (CHINA)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products