A block chain fragmentation method and device
A blockchain and partitioning technology, applied in the blockchain field, can solve problems such as time increase and blockchain network throughput impact, and achieve the effects of improving concurrency, transaction processing efficiency, and throughput
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] see figure 1 , which is a flow chart of the block chain fragmentation method provided by the first method embodiment of the present application.
[0053] The block chain sharding method provided by the embodiment of this application includes:
[0054] S101: When a new node joins the blockchain network, the new node sends a partition acquisition request to the existing nodes in the blockchain network, so that the existing node sends the partition acquisition request to the new node according to the partition acquisition request The feedback partition informs the response.
[0055] S102: The new node receives K partition notification responses that arrive first according to the arrival time of the partition notification responses.
[0056] S103: The new node determines the target network partition by using the K-nearest neighbor classification algorithm according to the received partition notification response.
[0057] S104: The new node joins the target network parti...
Embodiment approach
[0062] As an implementation manner, S101 may specifically be:
[0063] S1011: When a new node joins the blockchain network, the new node sends partition acquisition requests to existing nodes in the blockchain network respectively.
[0064] The partition acquisition request is a request sent by a new node to be joined to the existing nodes in the blockchain network, and the partition acquisition request is used to request the existing nodes in the blockchain network to inform the network partition to which they belong.
[0065] The new node can send a partition acquisition request to all existing nodes in the blockchain network, so as to obtain the network partitions to which all existing nodes in the blockchain network belong. Therefore, as an implementation manner, when the block chain network includes N existing nodes, S1011 may specifically be: when a new node joins the block chain network, the new node sends N existing nodes send partition acquisition requests respective...
Embodiment 2
[0093] The second method embodiment is an improvement made on the basis of the first method embodiment. For the sake of brevity, the same content in the second method embodiment and the first method embodiment will not be repeated here.
[0094] see image 3 , which is a flow chart of the block chain fragmentation method provided by the second method embodiment of the present application.
[0095] The block chain sharding method provided by the embodiment of this application includes:
[0096] S301: When a new node joins the blockchain network, the new node sends a partition acquisition request to the existing nodes in the blockchain network, so that the existing node sends the partition acquisition request to the new node according to the partition acquisition request The feedback partition informs the response.
[0097] S302: The new node receives K partition notification responses that arrive first according to the arrival time of the partition notification responses.
...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com