Blockchain Data Migration for High-Concurrency Node Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

As the number of blocks in a blockchain system increases, the incremental block data storage affects the memory response speed and efficiency of node devices in processing high-concurrency consensus, verification, and read/write operations, leading to reduced performance and storage capacity in the first storage system.

Innovation Solution

A blockchain-based data migration method and apparatus that migrates historical block data from a centralized first storage system to a distributed second storage system, using a coordinator node and storage cluster nodes, and invoking smart contracts to manage data migration based on predetermined trigger rules, allowing the first storage system to optimize for high-concurrency operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If block data is stored in the first storage system, then data capacity increases, but memory response speed and processing efficiency deteriorate

Engineering Contradiction:
Improvedata capacityVSAvoidmemory response speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The patent divides the storage system into two separate storage systems: a first storage system for recent block data requiring fast access, and a second storage system for historical block data. This segmentation allows each storage system to be optimized for its specific function, resolving the contradiction between data capacity and response speed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts historical block data from the first storage system and stores it in a separate second storage system. This extraction removes the burden of storing large volumes of historical data from the first storage system, thereby improving its memory response speed and processing efficiency while maintaining overall data capacity through the second storage system.

Inventive Principle:
Principle #2Taking out (Extraction)

2Quantity of substance

If block data is stored in the first storage system, then data storage capacity increases, but processing efficiency deteriorates

Engineering Contradiction:
Improvedata storage capacityVSAvoidprocessing efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent segments the storage architecture into two distinct storage systems with different optimization goals. The first storage system is optimized for processing efficiency and speed, while the second storage system provides additional data storage capacity. This segmentation resolves the contradiction by allowing each system to specialize in one aspect.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

By extracting historical block data from the first storage system to the second storage system, the patent improves the processing efficiency of the first storage system while maintaining overall data storage capacity through the combined capacity of both storage systems.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If high-performance hardware is used in the first storage system, then processing efficiency improves, but system cost increases

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidsystem cost
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent segments the storage system into two parts with different performance requirements. The first storage system uses high-performance hardware optimized for fast processing of recent block data, while the second storage system uses lower-performance, more cost-effective hardware for storing historical data. This segmentation resolves the contradiction by allocating high-performance resources only where necessary.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by giving different hardware performance levels to different parts of the storage system based on their specific requirements. The first storage system receives high-performance hardware for fast access, while the second storage system uses standard hardware sufficient for its read-only historical data function, thereby optimizing overall system cost.

Inventive Principle:
Principle #3Local quality

Data Source

PatentEP3701706B1Blockchain-based data migration method and apparatus
Publication Date: 2021.11.17 ADVANCED NEW TECHNOLOGIES CO LTD
  • EP3701706B1 patent drawingFigure 1
  • EP3701706B1 patent drawingFigure 2
  • EP3701706B1 patent drawingFigure 3

AI summary

A block of a blockchain is received by a blockchain node, where the blockchain node stores data using a storage architecture including a first storage system and a second storage system interconnected with the first storage system. The block is stored in the first storage system. Whether a migration trigger event for block data stored in the first storage system is detected is determined. Block data that is stored in the first storage system and that exists before migration reference time to the second storage system is migrated in response to the migration trigger event.