Unlock instant, AI-driven research and patent intelligence for your innovation.

Block chain storage method and system based on distributed index

A blockchain and distributed technology, applied in database indexing, database distribution/replication, structured data retrieval, etc., can solve the problem that data reading speed and timeliness cannot meet the growing scale of blockchain distributed ledgers, Unable to effectively deal with problems such as relational operations, to achieve the effect of speeding up access, improving read and write efficiency, and ensuring effectiveness

Active Publication Date: 2022-02-18
武汉研众科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, levelDB is a non-relational database, so it cannot effectively handle the relational operations between complex data, that is, the reading speed and timeliness of the data cannot meet the growing demand of the distributed ledger scale of the blockchain.

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 storage method and system based on distributed index
  • Block chain storage method and system based on distributed index
  • Block chain storage method and system based on distributed index

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0041] refer to Figure 5 , the second aspect of the present invention provides a blockchain storage system 1 based on a distributed index, including: a determination module 11, which is used to determine the minimum number of blocks and areas that cannot be tampered with according to the consensus protocol of the target blockchain block generation interval, and determine each round of fork verification cycle according to it; build module 12, for each round of fork verification cycle, dynamically divide multiple nodes on the block chain into multiple clusters based on the clustering algorithm, And according to the Dijkstra algorithm, a routing index is established on each node in each cluster; the read-write module 13 is used for each node in the target block chain to read or write according to its routing index and hash index data into the blockchain.

[0042] Further, the establishment module 12 includes a first determination unit and a second determination unit, the first ...

Embodiment 3

[0044] refer to Image 6 , the third aspect of the present invention provides an electronic device, including: one or more processors; storage means for storing one or more programs, when the one or more programs are used by the one or more executed by one or more processors, so that the one or more processors implement the method of the first aspect of the present invention.

[0045] The electronic device 500 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 501, which may be loaded into a random access memory (RAM) 503 according to a program stored in a read-only memory (ROM) 502 or loaded from a storage device 508 Various appropriate actions and processing are performed by the program. In the RAM 503, various programs and data necessary for the operation of the electronic device 500 are also stored. The processing device 501 , ROM 502 and RAM 503 are connected to each other through a bus 504 . An input / output (I / O) inte...

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 relates to a block chain storage method and system based on a distributed index, and the method comprises the steps: determining the number of non-tampered minimum cells and a block generation interval according to a consensus protocol of a target block chain, and determining each forked verification period according to the number of non-tampered minimum cells and the block generation interval; in each round of bifurcation verification period, dynamically dividing a plurality of nodes on the block chain into a plurality of clusters based on a clustering algorithm, and establishing a routing index on each node in each cluster according to a Dijkstra algorithm; and enabling that each node in the target block chain reads or writes data in the block chain according to the routing index and the hash index of the node. According to the method, the updating time and the updating mode of the block chain storage index are determined through bifurcation generation and the clustering algorithm, and then the distributed indexes are established according to different roles of the nodes in the block chain, so that the read-write efficiency of the block chain and the timeliness of the indexes are improved.

Description

technical field [0001] The invention belongs to the technical field of blockchain storage, and in particular relates to a distributed index-based blockchain storage method and system. Background technique [0002] A blockchain is essentially a public distributed ledger shared by all participants in the system. In the blockchain network, there are thousands of nodes, and each node saves all the blocks and transaction data of the entire network. Once a node joins the network, it will continuously receive and verify blocks, consuming computing resources and storage resources. [0003] Research on the current status of blockchain development has proposed four bottlenecks in the current blockchain development, namely insufficient storage space, slow transaction processing, bandwidth limitations, and endless ledger issues. And these four bottlenecks are also understood as the performance of the CAP theorem in the blockchain, that is, it is impossible to find a way to solve the a...

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/22G06F16/23G06F16/27
CPCG06F16/2246G06F16/2255G06F16/23G06F16/27
Inventor 李永胜李哲宇魏立佳李永泉
Owner 武汉研众科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More