Blockchain Consensus Node Switching for Master Handover Delays
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing blockchain networks face inefficiencies in master node handover processes due to additional requests for handover and the need to broadcast state information among consensus nodes, leading to increased communication burden and low efficiency.
Innovation Solution
A method and apparatus for blockchain networks that integrate master node handover judgment into the block consensus service process, allowing for efficient and unified handover by generating and broadcasting node handover proposal and voting messages, and re-selecting a new master node based on consensus node agreements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If consensus nodes generate and broadcast master node handover requests with state information separately, then master node handover can be implemented, but communication burden increases and handover efficiency decreases
Solution Approach 1:
The patent merges the master node handover request generation and broadcasting process with the existing block consensus process. Instead of separately generating handover requests outside the consensus process, the handover requests are integrated into the block consensus messages, allowing both block consensus and master node handover to be accomplished through the same communication channels, thereby reducing communication burden and improving handover efficiency
Solution Approach 2:
The block consensus messages serve multiple functions: they simultaneously carry block consensus information and master node handover requests. This multi-functionality allows the same communication infrastructure to handle both block consensus and master node handover, eliminating the need for separate dedicated handover communication channels and reducing overall communication overhead
2Reliability
If consensus nodes broadcast handover requests including state information to each other, then handover can be achieved, but communication traffic increases
Solution Approach 1:
The patent combines handover request information with block consensus messages, so that the same network traffic carries both block consensus data and handover requests. This merging eliminates duplicate communication channels and reduces total communication traffic while ensuring handover completion
Data Source
Figure 1A
Figure 1B
Figure 2
AI summary
The present application discloses a data processing method and apparatus for a blockchain network, a computer device, a computer readable storage medium, and a computer program product. The method comprises: when any consensus node of a blockchain network does not acquire in a proposal stage a block proposal message of a first master node, generating node switching proposal message, and broadcasting the generated node switching proposal message to each consensus node in the blockchain network, wherein the first master node is used to package and propose blocks to be chained that are in the blockchain network; when a number not less than a target number of node switching proposal messages are acquired during a voting stage, generating node switching voting messages, and broadcasting the generated node switching voting messages to the consensus nodes in the blockchain network; and when a number not less than a target number of node switching voting messages are acquired during a submission stage, re-selecting a second master node for replacing the first master node from among the plurality of consensus nodes.