Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Consensus resource slicing method based on block chain

A block chain and consensus technology, which is applied in the branch office to provide special service devices, data exchange details, digital transmission systems, etc., can solve the problems of waste of resources in the consensus process and low throughput of the consensus process, so as to improve throughput and reduce Effects of Consensus Resource Waste

Active Publication Date: 2020-02-28
KUNMING UNIV OF SCI & TECH
View PDF13 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a block chain-based consensus resource slicing method, which mainly solves the phenomenon of low throughput and waste of consensus process resources

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
  • Consensus resource slicing method based on block chain
  • Consensus resource slicing method based on block chain
  • Consensus resource slicing method based on block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Embodiment 1: as attached figure 1 As shown, a blockchain-based consensus resource slicing method, the specific steps of the method are as follows:

[0026] Participants in the consensus resource slicing method include: consensus sets, consensus nodes, and master nodes;

[0027] The consensus nodes are divided into different consensus sets, and vote on their corresponding preparatory blocks and send them to the master node, and then store the official block generated by the master node. The consensus set refers to the division of many consensus nodes into individual groups, and different consensus sets vote on different preparatory blocks concurrently. The main node is mainly responsible for counting the voting content into different preparatory blocks, and then broadcasting to different consensus sets respectively, counting the voting results of each consensus set and writing the voted content into the official block and broadcasting to the nodes in the consensus set....

Embodiment 2

[0028] Embodiment 2: as attached figure 2 As shown, a blockchain-based consensus resource slicing method, the specific steps of the method are as follows:

[0029] The steps of generating a formal block by the consensus resource slicing method are as follows:

[0030] Step1. Select the main node: the stable value is randomly selected among the top 20% nodes of all nodes, and the main node=random{the top 20% node of the stable value}. Let the primary node be P.

[0031] Step2. Divide the consensus set: every four consensus nodes are divided into a consensus set. There are 4M consensus nodes, and each consensus set has 4 consensus nodes, then there should be M consensus sets{C 1 ,C 2 ,...C M}.

[0032] Step3. Master node generates preparatory blocks: master node P collects consensus content to generate M preparatory blocks {B 1 ,B 2 ,...B M}.

[0033] Step4. The master node broadcasts the preparatory block to each consensus set: the master node P sends the packaged pr...

Embodiment 3

[0038] Embodiment 3: as attached image 3 As shown, a blockchain-based consensus resource slicing method, the specific steps of the method are as follows:

[0039] Stable value rewards and punishments: The initial stable value of all nodes is 5, the highest is 10, and the lowest is 0. To prevent centralization, when the stable value of a certain node reaches 10, the next round will restore the initial value of all nodes with a stable value greater than 5 5. If during a certain round of consensus, the node goes offline, votes for malicious content, fails to record normal blocks or records abnormal blocks, it will be regarded as an abnormal node; is a normal node. Normal nodes reward a stable value of 1, and abnormal nodes reduce their stable value by 3.

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 provides a consensus resource slicing method based on a block chain, and relates to the technical field of block chains. The improved block chain consensus resource slicing method is based on a traditional practical Byzantine fault-tolerant algorithm (PBFT) consensus mechanism, and specifically comprises the steps of performing slicing management on consensus resources in a block chain system, dividing consensus nodes into a plurality of different consensus sets, and concurrently performing consensus on the plurality of consensus sets. Meanwhile, in order to ensure the stabilityof the consensus process, a main node with a high stability value is dynamically selected through the stability value, the main node generates a plurality of preparation blocks from the collected dataneeding consensus, each consensus set performs consensus on the corresponding preparation block, and finally, the main node generates a formal block from the data passing the consensus. Compared withthe prior art, the phenomena of low throughput in the consensus process and resource waste in the consensus process are mainly solved, the throughput of the blockchain system can be improved, and theconsensus resource waste is reduced.

Description

technical field [0001] The invention relates to a block chain-based consensus resource slicing method, which belongs to the technical field of block chains. Background technique [0002] Now the commonly used consensus mechanism of the alliance chain is PBFT, which is the Practical Byzantine Fault Tolerant Algorithm. PBFT is a state machine copy replication algorithm, that is, the service is modeled as a state machine, and the state machine performs copy replication on different nodes of the distributed system. In the common PBFT algorithm, all nodes participate in the consensus process, resulting in high consumption of communication resources and strong destructiveness of malicious nodes. In the patent "A Consensus Method Based on PBFT Improvement", nodes with high stability values ​​are selected to participate in the consensus, and the stability values ​​are dynamically adjusted. Although the communication consumption in the formula process is reduced, the consensus speed...

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): H04L12/24H04L12/18H04L29/08
CPCH04L41/30H04L12/18H04L67/1097
Inventor 沈韬胡梦刘英莉朱艳
Owner KUNMING UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products