Alliance chain fragmentation method and device

A technology of alliances and nodes, applied in the blockchain field, can solve the problems of low efficiency of alliance chain sharding, achieve the effects of reducing time consumption, avoiding sharding, and improving accuracy

Pending Publication Date: 2020-06-19
AEROSPACE INFORMATION
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a method and device for sharding the alliance chain to solve the technical problem of low efficiency of the sharding method of the alliance chain in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Alliance chain fragmentation method and device
  • Alliance chain fragmentation method and device
  • Alliance chain fragmentation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] A method for sharding the consortium chain provided by the embodiment of the present application will be described in further detail below in conjunction with the accompanying drawings. The specific implementation of the method may include the following steps (the method flow is as follows: figure 2 shown):

[0049]Step 201, the server sends fragmentation instructions to each node in the consortium chain, and receives the first hash value calculated by each node based on the fragmentation instruction, wherein the fragmentation instruction is used to indicate that each node The first hash value is calculated based on the identifier of the node and the data information of the node.

[0050] like image 3 As shown, the alliance chain network architecture includes application layer, contract layer, incentive layer, consensus layer, network layer and data layer. Among them, the application layer is mainly used to encapsulate various application scenarios and cases. For exa...

Embodiment 2

[0068] This application provides a device for alliance chain sharding, such as Figure 4 shown, the device includes:

[0069] The transceiver module 401 is configured to send fragmentation instructions to each node in the consortium chain, and receive the first hash value calculated by each node based on the fragmentation instruction, wherein the fragmentation instruction is used to indicate the Each node calculates the first hash value based on the identifier of the node and the data information of the node;

[0070] A judging module 402, configured to judge whether the first hash value of each node in the consortium chain is received;

[0071] The processing module 403 is configured to, if the first hash value of each node in the alliance chain is received, divide the nodes in the alliance chain based on the number of preset nodes and the first hash value A slice, wherein the preset number of nodes refers to the number of nodes contained in each slice preset in the slice, ...

Embodiment 3

[0083] This application provides a server, such as Figure 5 As shown, the server includes:

[0084] Memory 501, configured to store instructions executed by at least one processor;

[0085] The processor 502 is configured to execute instructions stored in the memory to execute the method described in Embodiment 1.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an alliance chain fragmentation method and device. The method comprises the following steps: sending a fragmentation instruction to each node in the alliance chain, receiving afirst hash value calculated by each node based on the fragmentation instruction, wherein the fragmentation instruction is used for indicating each node to calculate the first hash value based on theidentifier of the node and the data information of the node; judging whether a first hash value of each node in the alliance chain is received or not; if yes, the nodes in the alliance chain are fragmented based on the number of preset nodes and the first hash value, the number of the preset nodes refers to the number of the nodes contained in each preset fragment in the fragments, and each fragment at least comprises one node. The technical problem that an alliance chain fragmentation mode in the prior art is low in efficiency is solved.

Description

technical field [0001] The present application relates to the technical field of blockchain, and in particular to a method and device for sharding a consortium chain. Background technique [0002] At present, according to different application scenarios and user needs, blockchain can be divided into public chain, private chain and alliance chain. With the rapid development of blockchain technology, the transaction volume of blockchain is constantly increasing. The transaction throughput of the block chain cannot meet the existing needs. Therefore, in order to improve the throughput of the block chain, the idea of ​​fragmentation is adopted to divide the nodes in the block chain into different partitions, and each partition can process different transactions in parallel at the same time. transactions, increasing the throughput of the blockchain. [0003] There are many kinds of sharding technologies in the existing blockchain, for example, Proof-of-Work (POW) or Proof-of-Sta...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/27G06F16/22
Inventor 张猛何丽张盼王申
Owner AEROSPACE INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products