Off-chain Data Management via Hash-based Shard Verification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing blockchain technologies face challenges in managing off-chain data, balancing scalability and security, and ensuring data integrity and persistence.
Innovation Solution
A method and device for managing off-chain data in a blockchain network, involving generating a hash value for unit data, determining a target shard for storage, transmitting requests to store or retrieve data, and obtaining a changed root value to verify data integrity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data is stored on-chain in a blockchain network, then data integrity is guaranteed, but network capacity and data processing speed deteriorate
Solution Approach 1:
The patent segments data storage by dividing data into unit data stored off-chain in a data lake, with only hash values and metadata stored on-chain in the blockchain. This segmentation allows the blockchain to maintain integrity verification capabilities while the off-chain storage handles bulk data, resolving the contradiction between data integrity and processing speed.
2Productivity
If data is stored off-chain, then scalability and flexibility improve, but security vulnerabilities and data integrity issues arise
Solution Approach 1:
The patent implements a feedback mechanism where the system continuously verifies off-chain data integrity by comparing hash values of stored unit data against hash values recorded on-chain. This feedback loop ensures that even though data is stored off-chain for scalability, the blockchain network can detect and prevent data corruption or tampering, thus maintaining data integrity.
3Quantity of substance
If off-chain data storage is implemented, then storage expansion effectiveness improves, but data persistence and availability become problematic
Solution Approach 1:
The patent introduces an intermediary verification layer consisting of hash values and metadata that bridge off-chain storage and on-chain blockchain. This intermediary mechanism allows the system to expand storage capacity off-chain while the blockchain serves as a trusted intermediary that can verify and ensure the persistence and availability of stored data through hash value verification.
Data Source
AI summary
Provided are a method of managing off-chain data and a device therefor. A method of operating a device that constitutes a blockchain network includes generating a first hash value regarding unit data using a first hash function and determining a target shard to store the unit data from among a plurality of shards based on the first hash value, transmitting a first request to store the unit data in the target shard to an external device, and obtaining a changed root value of the target shard changed as the unit data is stored from the external device, wherein the root value represents entire data stored in the target shard.


