Blockchain Secondary-Node Processing: Parallel Execution, Serial Writing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The transaction processing efficiency of secondary nodes in a blockchain is low due to the need to execute transactions in series to maintain consistency with primary nodes, despite the primary nodes being able to process transactions in parallel.

Innovation Solution

Generate execution information indicating parallel execution of transactions and a write order for the secondary node to sequentially write execution results, ensuring consistency and improving efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the secondary node executes transactions in series to ensure consistency with the primary node, then the consistency between execution results is maintained, but the transaction processing efficiency of the secondary node decreases

Engineering Contradiction:
Improveconsistency between execution resultsVSAvoidtransaction processing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent divides the transaction execution process into two independent segments: transaction execution (which can be done in parallel) and result writing (which must be done in series according to write order). This segmentation allows the secondary node to execute transactions in parallel for efficiency while maintaining serial writing for consistency, resolving the contradiction between productivity and reliability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The primary node performs preliminary actions by generating execution information and write order information before transmitting to the secondary node. The write order information pre-establishes the sequence in which results should be written, allowing the secondary node to execute transactions in parallel while ensuring consistent result writing without needing to execute transactions serially.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If the primary node executes transactions in parallel to improve processing speed, then the transaction processing efficiency increases, but the hardware configuration and resource allocation requirements become more complex

Engineering Contradiction:
Improvetransaction processing efficiencyVSAvoidhardware configuration differences
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces execution information and write order information as intermediary data structures that mediate between the primary node's parallel execution capability and the secondary node's execution requirements. These intermediaries allow the system to achieve parallel processing efficiency without requiring complex hardware configurations at each node, as the coordination logic is encapsulated in the transmitted information rather than in the nodes' hardware architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20250278291A1Transaction processing method and apparatus, device, and medium
Publication Date: 2025.09.04 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US20250278291A1 patent drawing
  • US20250278291A1 patent drawing
  • US20250278291A1 patent drawing

AI summary

A transaction processing method includes: receiving, by a secondary node, execution information including transaction identification information and write information including a write order of execution results that are transmitted by a primary node; then executing, in parallel, a plurality of transactions corresponding to the transaction identification information, to obtain execution results of the plurality of transactions; and then sequentially writing the execution results of the plurality of transactions into a transaction snapshot of the secondary node in the write order.