Blockchain Data Storage With TEE Error-Correction Sharing

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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, as each node stores an entire copy of the blockchain, which results in storage inefficiencies and security risks due to uneven data distribution.

Innovation Solution

Implementing error correction coding (ECC) in trusted execution environments (TEEs) to encode blockchain data, allowing nodes to store a subset of encoded blocks and share the remainder, using hash values for authentication and data recovery, thereby reducing storage burden and maintaining data equality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If every node stores an entire copy of the blockchain, then data completeness is improved, but storage space consumption increases significantly

Engineering Contradiction:
Improvedata completenessVSAvoidstorage space consumption
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The blockchain data is divided into multiple segments or shards that can be distributed across different nodes. Each node stores only a portion of the total data rather than complete copies, reducing individual storage requirements while maintaining collective data completeness through the network.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of storing complete blockchain copies, nodes store cryptographic hashes and verification data that enable them to verify the integrity of data stored elsewhere in the network, reducing storage requirements while maintaining verification capability.

Inventive Principle:
Principle #26Copying

2Quantity of substance

If a few shared nodes store the entire copy of the blockchain, then storage efficiency is improved, but data security risk increases due to data inequality

Engineering Contradiction:
Improvestorage efficiencyVSAvoiddata security
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

By segmenting blockchain data and distributing it across multiple nodes rather than concentrating it on a few shared nodes, the system achieves both storage efficiency and enhanced security through decentralization, eliminating the single point of failure risk.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different nodes are assigned different data segments based on their capabilities and roles in the network, creating a heterogeneous distribution pattern that optimizes both storage efficiency and security by matching data placement with node characteristics.

Inventive Principle:
Principle #3Local quality

3Reliability

If error correction coding is performed on each node, then data recovery capability is improved, but computational overhead increases

Engineering Contradiction:
Improvedata recovery capabilityVSAvoidcomputational overhead
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

Error correction coding operations are consolidated and performed centrally or cooperatively by selected nodes rather than independently by each node. This merging of computational efforts maintains data recovery capability across the network while significantly reducing the total computational overhead by eliminating redundant processing.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11025410B2Shared blockchain data storage based on error correction coding in trusted execution environments
Publication Date: 2021.06.01 ANTCHAIN TECHNOLOGY PTE LTD
  • US11025410B2 patent drawing
  • US11025410B2 patent drawing
  • US11025410B2 patent drawing

AI summary

Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage media, for storing blockchain data. One method includes receiving a request from an application component of a blockchain node to execute one or more software instructions in a trusted execution environment (TEE); determining one or more blockchain node blocks for executing the one or more software instructions; performing error correction coding of the one or more blocks in the TEE to generate one or more encoded blocks; dividing each of the one or more encoded blocks into a plurality of datasets; selecting one or more datasets from each of the one or more encoded blocks; and hashing the one or more datasets to generate one or more hash values corresponding to the one or more datasets for use in replacing the one or more datasets to save storage space of the blockchain node.