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

Method and system for storing block chain data

A storage block and blockchain technology, applied in the blockchain field, can solve problems such as poor storage performance, and achieve the effect of improving storage performance and high data availability

Pending Publication Date: 2021-08-27
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present application provides a method and system for storing blockchain data, to at least solve the problem that the full nodes in the prior art store the block data in the form of local disk files according to certain file naming rules and storage structures. Technical issues with local disks, causing technical issues with poor storage performance

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
  • Method and system for storing block chain data
  • Method and system for storing block chain data
  • Method and system for storing block chain data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038]According to an embodiment of the present application, a method for storing blockchain data is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0039] The method embodiments provided in the embodiments of the present application may be executed in mobile terminals, computer terminals, servers or similar computing devices. figure 1 A block diagram of a hardware structure of a computer terminal (or mobile device) for implementing a method for storing blockchain data is shown. Such as figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102n in the figure) processor 102 (the processor 102 may include ...

Embodiment 2

[0068] According to an embodiment of the present application, a method for storing blockchain data is also provided.

[0069] image 3 is a flow chart of another method for storing blockchain data according to an embodiment of the present application. Such as image 3 As shown, the method includes the following steps:

[0070] Step S302, deploying the cloud full node deployed in the cloud in the object storage system, wherein the storage bucket in the object storage system is used to store the data of each block in the blockchain, and the blockchain is composed of multiple blocks A chain structure composed of each block corresponds to an object in the storage bucket.

[0071] The cloud full node (cloud_full_node) in the above steps can refer to the full node deployed in the cloud. Each cloud region can be deployed in a cluster, and even dozens of regions around the world can be deployed, so that there are dozens of clusters in the world It can provide powerful and stable b...

Embodiment 3

[0104] According to an embodiment of the present application, a device for storing blockchain data for implementing the above method for storing blockchain data is also provided, such as Figure 5 As shown, the apparatus 500 includes: an acquisition module 502 and a storage module 504 .

[0105] Wherein, the obtaining module 502 is used to obtain the data of each block in the block chain, wherein the block chain is a chain structure composed of multiple blocks; the storage module 504 is used to store the data of each block in the block chain The data of is stored in buckets in the object storage system, where each block corresponds to an object in the bucket.

[0106] It should be noted here that the acquisition module 502 and the storage module 504 correspond to steps S202 to S204 in Embodiment 1, and the examples and application scenarios implemented by the two modules are the same as those of the corresponding steps, but they are not limited to the above embodiments 1 What...

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 a system for storing block chain data. The method comprises the steps that data of each block in a block chain is acquired, and the block chain is of a chain type structure composed of a plurality of blocks; data of each block in the block chain is stored in a storage bucket in the object storage system, and each block corresponds to one object in the storage bucket. According to the method and the device, the technical problem of poor storage performance caused by the fact that all nodes store block data in a local disk in a local disk file form according to a certain file naming rule and a storage structure in the prior art is solved.

Description

technical field [0001] The present application relates to the field of blockchain, in particular, to a method and system for storing blockchain data. Background technique [0002] A blockchain network refers to a set of nodes that implement a given blockchain P2P (Peer to Peer, peer-to-peer network) protocol, and is a decentralized network structure. According to the functional division of blockchain network (P2P network) nodes, there is a class of nodes that store all blockchain account information, can independently verify all transactions on the blockchain and update block (transaction) data in real time. Class nodes are called full nodes. Because the full node needs to store all block (transaction) data, it requires a large storage space, and as time goes by, new block (transaction) data is continuously generated, and the required disk storage space will also increase. getting bigger. [0003] Traditional full nodes store block data (all bills and transactions) on the...

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): H04L29/08G06Q40/04
CPCH04L67/1097H04L67/10H04L67/1095G06Q40/04H04L9/50
Inventor 王涛伟
Owner ALIBABA GRP HLDG LTD
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