Blockchain Node Selective Data Storage via Token Matching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current blockchain storage technologies face significant data storage pressure issues, especially in large data environments, as all block data are stored on each node, leading to increased network flow and potential tampering risks.
Innovation Solution
A blockchain-based data storage method where each node only stores part of the block data and the block head, using a token seed system to determine which data to store, thereby reducing storage pressure and maintaining tamper-proof traceability.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all block data are stored on each node in the blockchain system, then the tamper-proof traceability is maintained, but the data storage pressure on each node increases significantly
Solution Approach 1:
The patent divides the blockchain data into two segments: block heads and block data. Each node stores all block heads to maintain traceability, while only storing a subset of block data determined by token value matching. This segmentation allows nodes to maintain verification capability through block heads while reducing storage burden through selective block data retention.
2Loss of information
If all block data are stored on each node, then the complete blockchain history is preserved, but the network flow increases due to data redundancy
Solution Approach 1:
The patent implements local quality by making each node's data storage characteristic based on its unique token value. Nodes store block data locally only when their token value matches the block's token value, creating differentiated local storage patterns across the network. This reduces redundant data transmission while ensuring each node maintains relevant historical data for its specific role.
3Quantity of substance
If block data is selectively stored based on token value matching, then the storage pressure is reduced, but the complexity of determining what to store increases
Solution Approach 1:
The patent applies preliminary action by pre-assigning token values to nodes and pre-determining which blocks each node should store based on token value matching. When a new block is generated, nodes can immediately determine whether to store it by comparing their pre-assigned token values with the block's token value, eliminating the need for complex real-time decision algorithms.
4Quantity of substance
If nodes store only block heads and selected block data, then the storage pressure is alleviated, but the risk of data loss increases
Solution Approach 1:
The patent implements feedback through the token value matching mechanism that ensures data redundancy across the network. When a node needs block data it doesn't store, it can query other nodes whose token values indicate they possess the required data. This feedback loop maintains data completeness while allowing individual nodes to operate with reduced local storage.
Data Source
AI summary
A blockchain-based data storage method, comprising: a target node acquires the serial number of a newly generated first block broadcasted in a blockchain system, the target node is any one of a plurality of nodes, the first block comprises block data and a block head, and the block head comprises the serial number of the first block; the target node obtains a first token seed, the first token seed is generated according to the number of nodes of the blockchain system; the target node determines a first serial number range where the first block is located on the basis of the first token seed and the serial number of the first block; and the target node determines to store the first block or store the block head of the first block on the basis of the first serial number range and a first token value of the target node.


