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

Distributed storage method and system, storage medium and information data processing terminal

A technology for distributed storage and processing terminals, which is applied in distributed storage technology and blockchain application fields, and can solve problems such as blockchain storage performance limitations

Active Publication Date: 2021-07-16
XIDIAN UNIV +1
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, under the current blockchain system, since each node needs to store a ledger, the actual storage performance of the blockchain is limited

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 and system, storage medium and information data processing terminal
  • Distributed storage method and system, storage medium and information data processing terminal
  • Distributed storage method and system, storage medium and information data processing terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] In the distributed storage system provided by the embodiment of the present invention, all nodes are both nodes of the blockchain system and nodes of the distributed storage system, and all blocks on the blockchain system only store hash values ​​and Merkle hashes. tree, and the rest of the data are all stored on the distributed storage system. This system solves the problem of the actual storage performance limitation of the blockchain system, and also adds an incentive mechanism to the distributed storage system, realizing data collaboration on and off the chain. In this system, a maximum of 264 nodes is supported by default, so there is no need to consider the issue of horizontal expansion of nodes.

[0063] During the consensus process, the complete block data is generated as the miner nodes package the data, and is stored by the storage nodes and read when needed. Therefore, the solution of the present invention mainly consists of three parts: consensus, data stor...

Embodiment 2

[0083] User Alice needs to store a piece of data in the distributed storage system, so he sends a transaction and pays the fee, then the system packages the transaction and saves the data. Three days later, if Alice needs to read the data, the entire data is read from the system, and the data remains intact during this period.

[0084] Assumption: The hash value of the transaction data is 1ddabe There are four nodes in the system, the IDs are 2aed12, 115add, 5e123a, 42e341, and the k value of this transaction is 2.

[0085] The following is the process of data storage:

[0086] Step 1: Alice sends this transaction, and the system selects miner nodes according to the consensus process, and packages the transaction;

[0087] Step 2: The miner node calculates the hash value of the data and obtains the result 1ddabe. According to the result, the two nodes whose IDs are 2aed12 and 115add become the storage nodes of the data;

[0088] Step 3: The miner node sends data to the 115ad...

Embodiment 3

[0097] Embodiment 3, if Alice and Bob want to conduct a transaction on the blockchain, they send the transaction content to the transaction pool and wait for the nodes to process it. Nodes A, B, and C on the existing three blockchains need to determine the packager and distributor of the next stage of data through the consensus process.

[0098] Step 1: Each node discloses its own credit value, assuming that they are a, b, and c respectively, and the total credit value of the system (a+b+c) can be obtained. At this point, each node generates its own random number r. There are no rules for generating random numbers, and each node can design its own.

[0099] Step 2: Each node calculates whether its own random number r satisfies the formula. Assuming that A is satisfied, but B and C are not, A needs to send its own random number to B and C for verification.

[0100] Step 3: B and C verify whether A's random number satisfies the formula, and confirm after the verification is c...

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 belongs to the technical field of distributed storage technology and block chain application, and discloses a distributed storage method and system, a storage medium and an information data processing terminal, and the distributed storage method is composed of transaction data storage, transaction data reading and consensus. The distributed storage system comprises a data storage module, a data reading module, a consensus module, a data encryption and decryption module and a data verification module. According to the method, the content on the block chain can be stored, the problem of limitation of actual storage performance of a block chain system is solved, an incentive mechanism is added for a distributed storage system, and on-chain and off-chain data collaboration is realized. According to the method, at most 264 nodes are supported by default, and the transverse expansion problem of the nodes does not need to be considered. Meanwhile, according to the consensus process, it can be guaranteed that the probability that each node becomes a miner node is proportional to the credit value of the miner node, and meanwhile the process is open, transparent and verifiable.

Description

technical field [0001] The invention belongs to the field of distributed storage technology and block chain application technology, and in particular relates to a distributed storage method, system, storage medium, and information data processing terminal. Background technique [0002] At present, blockchain technology is a chain structure that combines data blocks sequentially in chronological order, and uses cryptography to ensure a non-tamperable and non-forgeable distributed ledger. The blockchain-based file storage system uses this chained data structure to verify and store transaction data, and uses the distributed node consensus algorithm to update transaction data. [0003] In the traditional blockchain system, because the ledger is decentralized, each node stores an identical ledger, which limits the actual storage capacity of the blockchain system. Taking Bitcoin as an example, the block The maximum block size is only 1MB, but the ledger size of the entire Bitcoin...

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/08H04L9/06H04L9/32H04L29/06G06Q40/04
CPCH04L67/1097H04L9/0631H04L9/3239H04L63/123G06Q40/04H04L9/50
Inventor 裴庆祺雷昊
Owner XIDIAN UNIV