Novel alliance chain based on distributed storage

A distributed storage and alliance technology, applied in the blockchain field, can solve problems such as limited expandable hard disk space and limited ledger size, and achieve the effect of reducing storage space requirements and reducing network resources

Active Publication Date: 2020-10-13
JIANGSU RONGZE INFORMATION TECH CO LTD
View PDF12 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, the underlying account book storage of the alliance chain uses the same account book for each node, and the book size is limited by the hard disk space of a single node device. As the size of the ledger continues to grow, the existing solutions can only be realized by expanding the hard disk of a single node device. Since the expandable space of the hard disk of each node device is limited after all, it cannot fundamentally solve the above problems

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
  • Novel alliance chain based on distributed storage
  • Novel alliance chain based on distributed storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] like figure 1As shown, this new type of alliance chain based on distributed storage includes consensus nodes running on the underlying blockchain platform. Each consensus node is equipped with a node mapping module, a block mapping module, and a block data storage node search module. and block data storage module.

[0041] The specific introduction of each module is as follows.

[0042] The node mapping module is used to follow the addresses of each consensus node in the consortium chain, such as figure 2 As shown, each consensus node is mapped to the hash ring.

[0043] Specifically, before mapping the consensus node to the hash ring in the node mapping module, the hash value of the address of the consensus node needs to be obtained first, and then the hash value of the address of the consensus node is mapped to the hash ring.

[0044] In addition, usually the address of the above-mentioned consensus node can refer to the network IP address, of course, it can also ...

Embodiment 2

[0056] The difference between this embodiment and Embodiment 1 is that each consensus node is also equipped with a virtual node mapping module, which is used to add a certain number of virtual nodes to each consensus node. According to the address of the virtual node, such as figure 2 As shown, each virtual node is mapped to the hash ring. When the number of consensus nodes in the system is less than the set minimum number of nodes, the system will automatically call this module.

[0057] Specifically, if the minimum number of nodes is 3, and the distance between nodes is relatively large at this time, it may be considered to add a certain number of virtual nodes between the nodes. The virtual nodes here all belong to a consensus node. In this way, by increasing The number of nodes on the hash ring is to make the number of blocks between each node as balanced as possible.

[0058] Preferably, the number of virtual nodes between adjacent consensus nodes can be determined accor...

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 provides a novel alliance chain based on distributed storage, and belongs to the technical field of block chains. The problem that in the prior art, the hard disk space of each node mustbe expanded along with the increase of blockchain data is solved. The novel alliance chain based on distributed storage comprises consensus nodes of a block chain platform running on the bottom layer, and each consensus node is provided with the following modules: a node mapping module used for mapping each consensus node to a hash ring according to the address of each consensus node in the alliance chain; and a block mapping module which is used for mapping according to the height of the block. The novel alliance chain based on distributed storage has the advantages that the novel alliance chain based on distributed storage is provided; the hash ring is introduced to realize that the block data on the alliance chain is not stored in each consensus node, but only needs to be stored in oneconsensus node, so that the requirement of the block data on the storage space is reduced, and the network resources consumed for transmitting the block data are also reduced.

Description

technical field [0001] The invention belongs to the technical field of block chains, and in particular relates to a novel alliance chain based on distributed storage. Background technique [0002] Blockchain is a new type of decentralized distributed ledger technology that can safely store transactions or other data. It is characterized by the fact that the information stored on the blockchain cannot be forged and tampered with. Each node participates in the transaction verification process to ensure that the transactions on the blockchain are confirmed and credible. Each node on the blockchain maintains a public ledger, and any node maintains a public ledger. Any modification will not be recognized by other nodes, thus ensuring that the public ledger cannot be forged and tampered with. [0003] According to the degree of openness, the blockchain can be divided into public chain, alliance chain, and private chain. Specifically, the public chain system here is the most open....

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/08G06Q20/38G06F16/27
CPCH04L67/1097G06F16/27H04L67/1065G06Q20/382H04L67/1001
Inventor 蔡潇王剑
Owner JIANGSU RONGZE INFORMATION TECH CO LTD
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