Blockchain network data request processing method
Blockchain network data request processing method
Glossary
Term definitionThe blockchain network is a network composed of multiple nodes, which uses blockchain technology to verify and store data.Business subnetworkThe network part in the blockchain network responsible for generating and processing specific business data.Consensus subnetworkThe network part in the blockchain network responsible for maintaining the consistency and security of blockchain data.The routing layerThe middle layer that isolates the business subnetwork and the consensus subnetwork, responsible for forwarding and verifying data requests.Consensus branch networkThe network part in the consensus subnetwork responsible for maintaining specific types of business data (sub-blockchains).Sub-blockchainAn independent blockchain divided according to business type or data type in the blockchain network.Sub-chain identifierThe unique identifier used to identify and distinguish different sub-blockchains.Business nodeThe node in the business subnetwork, responsible for generating and processing business data.Consensus nodeThe node in the consensus subnetwork, responsible for maintaining the consistency and security of blockchain data.Route nodeThe node in the routing layer, responsible for verifying the identity and authority of the business node, and forwarding data requests to the target consensus branch network.Identity certificateA digital certificate issued by the certificate authentication center to the business node, used to prove the identity and authority of the business node.Genesis blockThe first block in the blockchain, containing important information such as the sub-chain identifier. Available consensus branch network is a consensus branch network that can currently provide blockchain functions normally. Unavailable consensus branch network is a consensus branch network that is temporarily unable to provide services due to maintenance, upgrades, etc.
Short answer questions
Please briefly describe the relationship between the business subnetwork, routing layer, and consensus subnetwork.
What is a subchain identifier? What role does it play in a blockchain network?
How does a business node send a data request to a consensus subnetwork?
How does a routing node verify the identity of a business node?
How does a routing node determine which consensus branch network to forward a data request to?
What is an available consensus branch network? How does a routing node determine an available consensus branch network?
Why is it necessary to isolate the business subnetwork and the consensus subnetwork?
What information is included in the identity certificate? Who issues it?
When forwarding data requests, how does the routing node ensure the security of the request?
Please briefly describe the process of processing data requests in a blockchain network.
Short answer questions
The business subnetwork is responsible for generating business data, the consensus subnetwork is responsible for maintaining blockchain data, and the routing layer isolates the business subnetwork and the consensus subnetwork, and is responsible for forwarding and verifying data requests. Business nodes need to communicate with consensus nodes through the routing layer.
The subchain identifier is a unique identifier used to identify and distinguish different sub-blockchains. It can help routing nodes forward data requests to the correct consensus branch network to achieve separate management of different business data.
The business node needs to send the data request to the routing node, which verifies the identity and authority before forwarding it to the consensus node in the target consensus branch network.
The routing node verifies its identity by verifying the signature of the business node's identity certificate. The identity certificate is issued by a trusted certificate authentication center and contains information such as the public key of the business node.
The routing node determines the target consensus branch network based on the subchain identifier carried in the data request. The routing node maintains the correspondence between the subchain identifier and the consensus branch network.
The available consensus branch network refers to the consensus branch network that can currently provide blockchain functions normally. The routing node determines the available consensus branch network by verifying the configured subchain identifier and consensus node status at startup.
Isolating the business subnetwork and the consensus subnetwork can improve the security of the blockchain network, prevent malicious attacks from directly accessing the consensus subnetwork, and also improve the processing performance of the consensus subnetwork, preventing it from being directly exposed to high-frequency request pressure.
The identity certificate contains information such as the node ID of the business node, the subchain ID with access rights, and the public key. It is issued by the certificate authentication center to prove the identity and authority of the business node.
The routing node signs the original request with its own private key and sends the signature and the original request together to the target consensus node. The target consensus node can use the public key of the routing node to verify the validity of the signature, thereby confirming the reliability of the request source.
The business node sends a data request to the routing node. After the routing node verifies the identity and authority of the business node, it determines the target consensus branch network and forwards the request to the consensus node in the target consensus branch network for processing.
Discussion question
Please discuss in detail the advantages and disadvantages of introducing a routing layer in the blockchain network and analyze it in combination with specific application scenarios.
Please design a mechanism to achieve load balancing of the consensus branch network in the routing layer to improve the processing performance of the entire blockchain network.
Please explore how to enhance the security of the identity certificate to prevent identity forgery and abuse of authority.
Assuming that a malicious consensus node appears in the consensus subnetwork, it will return incorrect subchain identification information to the routing node. Please design a mechanism to detect and isolate this malicious node.
Discuss how to use smart contract technology to manage and control the access rights of different business nodes to sub-blockchains.