Block chain consensus processing method, electronic device and computer readable storage medium

A processing method and technology of electronic devices, applied in the field of blockchain, can solve problems such as reduced consensus efficiency, reduced availability of blockchain, and inapplicability to large-scale distributed networks, so as to achieve the effect of improving usability and expanding the scope of application

Inactive Publication Date: 2018-11-13
SHENZHEN THUNDER NETWORK TECH +1
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And its disadvantage is that it is not suitable for large-scale distributed networks
When the node scale is large, the consensus efficiency decreases with the increase of the number of nodes at the square level of the number of nodes, which wil

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
  • Block chain consensus processing method, electronic device and computer readable storage medium
  • Block chain consensus processing method, electronic device and computer readable storage medium
  • Block chain consensus processing method, electronic device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0043] refer to figure 1 As shown, the first embodiment of the present invention proposes an electronic device 1 for implementing a block chain consensus processing method.

[0044] In this embodiment, the electronic device 1 may be a server, a smart phone, a tablet computer, a personal computer, a portable computer and other electronic devices with computing functions.

[0045] The electronic device 1 includes: a memory 11 , a processor 13 , a network interface 15 and a communication bus 17 . Wherein, the network interface 15 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The communication bus 17 is used to realize connection communication between these components.

[0046] The memory 11 includes at least one type of readable storage medium. The at least one type of readable storage medium may be a non-volatile storage medium such as a flash memory, a hard disk, a multimedia card, a memory card, and the like. In som...

no. 2 example

[0058] refer to figure 2 As shown, the second embodiment of the present invention proposes a blockchain consensus processing method. In this embodiment, according to different requirements, figure 2 The order of execution of the steps in the flowcharts shown may be changed, and certain steps may be omitted. In addition, conventional processing steps related to the blockchain system can be included in the present invention according to actual application scenarios. The method includes the following steps:

[0059] Step S10, select a preset number of high-quality nodes from the blockchain system according to the periodic rotation mechanism and the POW algorithm.

[0060] refer to image 3 Shown is a detailed flow chart of this step. In this embodiment, this step specifically includes:

[0061] Step S100, setting a rotation period.

[0062] Specifically, in order to ensure the fairness of the election and the high availability of nodes, the selected consensus nodes will ...

no. 3 example

[0090] The present invention also provides another implementation mode, which is to provide a computer-readable storage medium, the computer-readable storage medium stores a block chain consensus processing program 10, and the block chain consensus processing program 10 can be used by at least Execution by a processor, so that the at least one processor executes the steps of the above-mentioned block chain consensus processing method.

[0091] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software product...

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 a block chain consensus processing method. The method comprises the steps that a preset number of high-quality nodes are selected from a block chain system according to a periodic alternating mechanism and a POW algorithm; and transaction consensus processing is conducted among the selected nodes. The invention further provides an electronic device and a computer readable storage medium. According to the block chain consensus processing method, the electronic device and the computer readable storage medium, a hierarchical consensus mechanism can be achieved in the blockchain system, a probabilistic consistency consensus algorithm is combined with an absolute consistency consensus algorithm, a relatively small number of nodes are selected from a large number of network nodes through the probabilistic consistency consensus algorithm firstly, then high-efficiency consensus is conducted on consensus content in the selected nodes through the absolute consistency consensus algorithm, the availability of the block chain system is improved, and the application range of the block chain system is expanded.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a block chain consensus processing method, an electronic device, and a computer-readable storage medium. Background technique [0002] The current blockchain consensus mechanism can generally be divided into two categories, namely the probability consensus consensus mechanism and the absolute consensus consensus mechanism. [0003] The probabilistic consensus consensus mechanism is represented by the Proof of Work (POW) algorithm and the Proof of Stake (POS) algorithm. Its advantage is that it is suitable for large-scale distributed networks. The larger the network size, the blockchain consensus The process tends to be more stable. Its disadvantage is that the consensus efficiency is low, and the block generation speed is relatively slow, which will also affect the user experience in some high-frequency business fields. In addition, this mechanism has the risk of "...

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
IPC IPC(8): H04L29/08G06Q40/04
CPCH04L67/1048H04L67/1097G06Q40/04H04L67/1095H04L67/53
Inventor 张骁
Owner SHENZHEN THUNDER NETWORK TECH
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