Unlock instant, AI-driven research and patent intelligence for your innovation.

Consensus method, electronic device and storage medium of blockchain

A storage medium and blockchain technology, applied in the blockchain field, can solve problems such as the waste of computing resources of blockchain nodes, restricting the performance of blockchain systems, etc., and achieve the effect of improving security and credibility

Active Publication Date: 2022-05-27
YGSOFT INC
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This single-threaded transaction verification restricts the performance of the blockchain system and easily causes a waste of computing resources for blockchain nodes

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 method, electronic device and storage medium of blockchain
  • Consensus method, electronic device and storage medium of blockchain
  • Consensus method, electronic device and storage medium of blockchain

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0042] see figure 1 , the first embodiment of the consensus method of the blockchain of the present application includes:

[0043] S101: Detect whether there are multiple branch chains in the blockchain.

[0044] In this embodiment, multiple means more than one. Detecting whether a blockchain has multiple forks can be done by blockchain nodes. The node is, for example, an accounting node, which detects whether there are multiple branch chains in the blockchain before each time the transaction information is packaged into a block for uploading on the chain. For example, blockchain nodes can detect whether the blockchain has generated multiple blocks by exchanging the block height of the latest block, confirming whether the random number or root hash value of the block with the same block height is the same, etc. Branched.

[0045] In this embodiment, if multiple branch chains are not detected, the detection may be continued, or other operations may not be performed. If it ...

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

This application discloses a block chain consensus method, electronic equipment and storage media, wherein the method includes detecting whether the block chain has multiple branch chains; The first candidate main chain; respectively calculate the sum of the number of witness nodes of each first candidate main chain; determine the blockchain main chain based on the sum of the number of witness nodes. Through the above method, the application can timely and accurately confirm the most credible blockchain main chain, and improve the security and credibility of the data stored on the blockchain.

Description

technical field [0001] This application relates to the field of blockchain technology, in particular to a consensus method, electronic device and storage medium for blockchain. Background technique [0002] Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm, emphasizing decentralization, openness, independence, security, and anonymity. Blockchain technology is under research and development, and its technology itself is not yet fully mature. It is difficult to fully balance performance, security and expansion. The improvement of performance directly determines the system throughput and transaction processing efficiency. One of the main means to improve the performance of the blockchain is to improve the consensus mechanism. [0003] The consensus mechanism refers to that in the distributed system of the blockchain, multiple nodes that do not trust each othe...

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 Patents(China)
IPC IPC(8): H04L67/1097H04L9/40
CPCH04L67/1097H04L63/12H04L9/50
Inventor 程晗蕾向智宇王超黄昭慈鲁静
Owner YGSOFT INC