Blockchain Routing Layer for Identity Verification and Load Balancing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional blockchain networks lack robust security measures against external attacks, particularly when handling confidential data, and suffer from performance issues due to uneven distribution of data processing requests.
Innovation Solution
Implement a routing node that isolates a service sub-network from a consensus sub-network, performs identity verification on service nodes, distributes data processing requests based on consensus node load, and limits persistent connections and data rates to ensure security and performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a conventional blockchain network is used without strong isolation measures, then the network structure is simple and easy to operate, but the network security is poor and vulnerable to external attacks
Solution Approach 1:
The blockchain network is segmented into multiple isolated sub-networks (confidential sub-network and public sub-network) with different security levels. The confidential sub-network handles sensitive transactions while the public sub-network handles general operations, preventing external attacks from propagating to critical areas.
Solution Approach 2:
A gateway node is introduced as an intermediary between the confidential sub-network and public sub-network. This gateway controls and monitors all communications between the two networks, filtering malicious traffic while allowing legitimate data exchange, thus enhancing security without completely isolating the networks.
2Productivity
If data processing requests are distributed without load consideration, then the system is simple to implement, but the processing performance is uneven and some nodes are overwhelmed
Solution Approach 1:
The system implements a load-aware request distribution mechanism where the gateway node continuously monitors the load status of consensus nodes and dynamically adjusts request routing. Nodes with higher load receive fewer requests while under-loaded nodes receive more, balancing the workload and preventing any single node from being overwhelmed.
Solution Approach 2:
The request distribution strategy is made dynamic rather than static. The gateway node adapts its routing decisions based on real-time network conditions, node availability, and load metrics, allowing the system to efficiently handle varying transaction volumes and node capacities.
Data Source
Figure 1~2
Figure 3~4
Figure 5
AI summary
A data processing method and apparatus in a blockchain network, the blockchain network comprising a service sub-network, a consensus sub-network, and a routing layer for separating the service sub-network from the consensus sub-network, and the method comprising: receiving a data processing request sent by a service node in the service sub-network; performing identity verification for the service node according to the data processing request; upon successful verification, obtaining operating loads of respective consensus nodes in the consensus sub-network; determining from the consensus sub-network, according to the operating loads, a target consensus node for processing the data processing request; and forwarding the data processing request to the target consensus node, and performing data processing corresponding to the data processing request via the target consensus node.