Two-Layer Blockchain Database for Indexed Anti-Tampering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional blockchain-based databases face issues such as sequential storage structure leading to inefficient data retrieval, lack of data indexing, and difficulty in customization for existing business systems, resulting in high application costs and deployment challenges.

Innovation Solution

A two-layered database architecture is implemented, with a blockchain-based bottom layer for data consistency and a relational database layer for indexing, incorporating periodic self-checks and mutual-checks to ensure data reliability and availability, and supporting modular consensus mechanisms for flexibility.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a sequential storage structure is adopted in blockchain-based databases, then data consistency and anti-tampering are improved, but data retrieval efficiency deteriorates

Engineering Contradiction:
Improvedata consistencyVSAvoiddata retrieval efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The database is segmented into two layers: a bottom layer using blockchain for sequential storage of change increment information to ensure consistency, and a top layer using a relational database for storing resultant data information with indexing capabilities for efficient retrieval. This segmentation allows each layer to optimize for its specific function without compromising the other.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a vertical dimension by adding a top-layer relational database structure above the bottom-layer blockchain storage. This dimensional expansion enables simultaneous access to both the immutable blockchain ledger and the efficiently queryable relational database, resolving the trade-off between consistency and retrieval speed.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If a conventional blockchain-based database structure is used, then data security is improved, but adaptability to existing business systems deteriorates

Engineering Contradiction:
Improvedata securityVSAvoidcustomization capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The database system is divided into independent modular layers: the bottom layer handles blockchain-based security and consensus, while the top layer provides customizable relational database functionality. This modular segmentation allows each layer to be independently configured and adapted to different business requirements without affecting the core security mechanisms.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The two-layer architecture provides universal adaptability by combining the security benefits of blockchain with the flexibility of relational databases. The system can serve multiple business functions and integrate with various existing systems while maintaining a unified security framework, making it versatile across different application scenarios.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Productivity

If a two-layered database architecture is implemented, then data retrieval efficiency and customization are improved, but system complexity increases

Engineering Contradiction:
Improvedata retrieval efficiencyVSAvoidsystem architecture complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

By segmenting the database into distinct bottom and top layers with clearly defined interfaces and responsibilities, the patent manages complexity through modular design. Each layer can be developed, maintained, and scaled independently, reducing the overall system complexity despite the multi-layer architecture.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12353578B2Method of constructing high-performance anti-tampering database based on blockchain
Publication Date: 2025.07.08 XIDIAN UNIV
  • US12353578B2 patent drawing
  • US12353578B2 patent drawing
  • US12353578B2 patent drawing

AI summary

A method of constructing a high-performance anti-tampering database based on blockchain includes: acquiring change increment information corresponding to data to-be-stored through at least one of database nodes and storing the change increment information as bottom-layer data of all the database nodes based on a blockchain data structure; determining resultant data information based on the change increment information, indexing and then storing the resultant data information as top-layer data of all the database nodes; performing mutual-checks on stored top-layer data as per a predetermined mutual-checking period and performing self-checks on stored bottom-layer data as per a predetermined self-checking period, by the database nodes; and restoring the bottom-layer and/or top-layer data of the database nodes according to results of mutual-checks and self-checks, to realize database construction. Based on the two-layered database architecture, high reliability and high availability of data can be ensured, and anti-tampering performance can be improved.