Node Memory Cache for Faster Access in Bifurcated Blockchains

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In blockchain systems, simultaneous mining by multiple miner nodes can lead to blockchain bifurcation, resulting in reduced data access efficiency when querying or verifying transactions.

Innovation Solution

Implement a data processing method and apparatus using a node internal memory that includes acquiring transactions from a first block, invoking data reading contracts to access a write cache mapping table, and executing transactions based on target read data, storing results in a cache before writing to the bifurcated blockchain.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If multiple miner nodes simultaneously write blocks into the blockchain database, then the blockchain bifurcation phenomenon occurs, but the data access efficiency is reduced

Engineering Contradiction:
Improveblock production rateVSAvoiddata access time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent pre-loads transaction data from the blockchain database into the node's internal memory before actual query operations occur. This preliminary action stores frequently accessed transaction data in a cache structure, so when blocks are simultaneously written during bifurcation events, the data is already available in memory rather than requiring database access during the critical query phase, thus maintaining fast data access despite blockchain bifurcation

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediate cache layer (internal memory) between the blockchain database and the transaction query operations. This intermediary structure acts as a buffer that decouples the database from direct query access, allowing the system to handle blockchain bifurcation scenarios where multiple blocks are written simultaneously without impacting query performance, as the cache serves as a mediator that provides fast access independent of database write operations

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If transaction data is stored in the blockchain database, then the data is persistent and reliable, but the data access efficiency is reduced due to database access overhead

Engineering Contradiction:
Improvedata persistenceVSAvoiddata access efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent creates copies of transaction data from the blockchain database and stores them in the node's internal memory cache. These copies maintain data integrity and consistency with the original database records while providing significantly faster access speeds. The copy mechanism allows the system to preserve data reliability through database persistence while achieving high data access efficiency through in-memory retrieval of cached copies

Inventive Principle:
Principle #26Copying

3Speed

If the node maintains a cache of transaction data, then the data access speed is improved, but the memory consumption increases

Engineering Contradiction:
Improvedata access speedVSAvoidmemory consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent dynamically adjusts cache management parameters such as cache size limits, eviction policies, and data retention durations based on system conditions and access patterns. By changing these parameters, the system optimizes the balance between maintaining sufficient cached data for fast access and managing memory consumption within acceptable limits, allowing flexible adaptation to different operational scenarios

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20260065265A1Data processing method and apparatus based on node internal memory, device and medium
Publication Date: 2026.03.05 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US20260065265A1 patent drawing
  • US20260065265A1 patent drawing
  • US20260065265A1 patent drawing

AI summary

A data processing method and apparatus based on a node internal memory, a device and a computer readable storage medium are provided. The method includes: acquiring a data reading contract associated with a transaction in a first block from a chain reading cache of the node internal memory; invoking the data reading contract to acquire a write cache mapping table associated with the first block, and determining target read data associated with the transaction based on a first block cache of the first block in the write cache mapping table; and executing the transaction based on the target read data, storing target cached data, corresponding to a result of executing of the transaction, to the first block cache, and writing the first block into a bifurcated blockchain.