Blockchain Node Pre-execution for Data Timeliness
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing blockchain technologies face challenges in ensuring timely data processing and storage across multiple data centers due to network communication issues, leading to delays and conflicts in data summarization and reporting, which affects the timeliness of both individual and summarized data.
Innovation Solution
A blockchain-based data processing method where a blockchain node pre-executes data processing transaction requests, updates local databases with unconfirmed data, and then transmits the results to the blockchain network for verification, allowing for immediate local data usage and marking data as confirmed or invalid based on network processing outcomes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If blockchain nodes wait for network verification before processing data transactions, then data consistency and reliability are ensured, but data processing timeliness deteriorates
Solution Approach 1:
The patent applies preliminary action by allowing blockchain nodes to pre-execute data transactions and update local databases before receiving network verification. The node performs the data processing operation in advance, stores the result locally, and only later submits it for network validation. This resolves the contradiction by ensuring data consistency through subsequent verification while improving timeliness through advance execution.
Solution Approach 2:
The patent segments the data processing workflow into two independent phases: local pre-execution phase and network verification phase. The local node can independently complete the pre-execution phase without waiting for the network, and the verification phase validates results afterward. This segmentation allows the system to achieve both fast local response and reliable consensus.
2Manufacturing precision
If blockchain nodes process transactions sequentially to ensure correctness, then processing accuracy is maintained, but processing speed deteriorates
Solution Approach 1:
The patent enables preliminary execution of transactions at local nodes before network verification. Multiple transactions can be pre-executed in parallel at different nodes, and then verified collectively by the network. This maintains processing accuracy through verification while improving speed through parallel pre-execution.
3Speed
If multiple data centers report data simultaneously to achieve real-time summarization, then data freshness is improved, but network conflicts and delays increase
Solution Approach 1:
The patent segments the centralized data reporting process into distributed local pre-execution operations at multiple data centers. Each data center independently processes and summarizes its own data locally without waiting for network coordination, then submits results to the blockchain network for verification. This reduces network conflicts while maintaining real-time data freshness.
Solution Approach 2:
Each data center performs self-service by autonomously executing data summarization and validation locally before submitting to the network. The local nodes independently manage their own data processing workflows without requiring centralized coordination, reducing network traffic and conflict management complexity.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A blockchain-based data processing method and apparatus, a device and a medium are provided, which are related to a blockchain technology. The method includes: acquiring a locally generated data processing transaction request; pre-executing the data processing transaction request, to determine a pre-execution result including write data; updating a data object in a local database according to the write data, and marking updated data of the data object as data with an unconfirmed state; encapsulating the pre-execution result into the request, and transmitting an encapsulated data processing transaction request to a blockchain network, to request other blockchain nodes to process it; and determining updated data associated with the encapsulated request as invalid data, in response to determining that the blockchain network refuses to execute it, or marking the updated data associated with the encapsulated request as data with a confirmed state, in response to determining that the blockchain network executes it.