Blockchain Data Storage With TEE Erasure Coding for Node Equality
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Distributed ledger systems (DLSs) face challenges in efficiently storing blockchain data, leading to high consumption of technical resources and data inequality among nodes, which can compromise data security due to uneven data distribution.
Innovation Solution
Implementing error correction coding in trusted execution environments (TEEs) to identify infrequently accessed blocks, encode them, and divide the encoded blocks into datasets, which are then shared among blockchain nodes, reducing storage burden while ensuring data authenticity and security.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If every node stores an entire copy of the blockchain, then data completeness is improved, but storage resource consumption increases
Solution Approach 1:
The patent divides the blockchain data into multiple segments and distributes them across different nodes using erasure coding. Each node stores only a portion of the encoded data (e.g., k out of n segments), rather than storing complete copies. This segmentation allows the system to maintain data completeness through reconstruction while reducing individual node storage requirements.
Solution Approach 2:
The patent transforms the storage parameter from storing complete original data to storing encoded data segments. By applying erasure coding transformations, the system changes the data representation format, allowing efficient storage and retrieval while maintaining data integrity through mathematical reconstruction algorithms.
2Quantity of substance
If a few shared nodes store the entire copy of the blockchain, then storage resource consumption is reduced, but data security deteriorates due to data inequality
Solution Approach 1:
The patent segments blockchain data and distributes encoded segments across multiple nodes rather than concentrating all data on a few shared nodes. This segmentation strategy ensures that no single node or small group holds the complete dataset, thereby improving data security while maintaining efficient storage utilization across the network.
Solution Approach 2:
The patent implements local quality by having different nodes store different segments of encoded data based on their capabilities and roles. Each node has a specific storage responsibility (local quality) rather than all nodes having identical complete copies, which optimizes overall system storage while maintaining security through distributed redundancy.
3Reliability
If error correction coding is performed on all blocks, then data security is improved, but computational resource consumption increases
Solution Approach 1:
The patent applies error correction coding selectively rather than uniformly to all blockchain data. By performing erasure coding only on infrequently accessed blocks or specific data segments, the system achieves adequate data security and recovery capability while minimizing unnecessary computational overhead on frequently accessed data.
Solution Approach 2:
The patent changes the computational parameter by transforming data representation through erasure coding, which enables more efficient storage and retrieval operations. Although encoding requires computation, the transformed encoded format reduces long-term computational costs for data management, verification, and recovery operations.
Data Source
AI summary
Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage media, for processing blockchain data. One of the methods includes receiving a request from a blockchain node of the blockchain network to execute one or more software instructions in a trusted execution environment (TEE). One or more blocks infrequently accessed for executing the one or more software instructions are determined. Error correction coding of the one or more blocks in the TEE is performed to generate one or more encoded blocks. Each of the one or more encoded blocks are divided into a plurality of datasets based on the one or more software instructions. The plurality of datasets and a data storage arrangement are sent to blockchain network nodes, where the data storage arrangement indicates at least one of the plurality of datasets to be stored by each of the blockchain nodes.


