A block chain consensus method, device and electronic equipment for parallel execution

A blockchain and execution module technology, applied in the network field, can solve problems such as reducing system work efficiency, and achieve the effect of improving work efficiency and reducing idle waiting time.

Active Publication Date: 2022-03-11
杭州秘猿科技有限公司
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When some transactions are packaged and proposed, these proposals are likely to be successfully consensused. However, during the consensus process, the execution module is idle, which reduces the work efficiency of the entire system.

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
  • A block chain consensus method, device and electronic equipment for parallel execution
  • A block chain consensus method, device and electronic equipment for parallel execution
  • A block chain consensus method, device and electronic equipment for parallel execution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] figure 2 A flow chart of a parallel execution block chain consensus method provided by the embodiment of this application includes the following steps:

[0061] S201. Package the transaction into a proposal and send it to the consensus module.

[0062] S202. The consensus module receives the proposal and performs consensus.

[0063] In the practical application of the BFT consensus algorithm, when some transactions are packaged and proposed, these proposals are likely to be successfully consensused. Therefore, in the proposal node, the transaction is packaged and sent to the consensus module, and the consensus module broadcasts The transaction area receives the proposal and proceeds to consensus.

[0064] S203. Send the block formed by the transaction to the execution module.

[0065] While the consensus module is performing consensus, the blocks formed by the transactions in step 201 are also sent to the execution module.

[0066] S204. The executing module execut...

Embodiment 2

[0077] Refer below image 3 The electronic equipment of the embodiment of this specification is introduced in detail. Please refer to image 3 , at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Wherein, the memory may include a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (Non-Volatile Memory), such as at least one disk memory. Of course, the electronic device may also include hardware required by other services.

[0078] The processor, network interface, and memory may be interconnected via an internal bus, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an extended industry standard Structure (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For convenience,...

Embodiment 3

[0085] The embodiment of this specification also provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the The electronic device executes the method described in the first embodiment. I won't repeat them here.

[0086] Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

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 embodiment of the present application discloses a block chain consensus method, device and electronic equipment executed in parallel, including: packaging the transaction into a proposal and sending it to the consensus module; the consensus module receives the proposal and performs consensus; The block is sent to the execution module; the execution module executes the transactions in the block; wherein, the consensus module and the execution module are executed in parallel. The method provided by the embodiment of the present application reduces the idle time of the execution module and improves the working efficiency of the system.

Description

technical field [0001] The present application relates to the field of network technology, and in particular to a block chain consensus method, device and electronic equipment executed in parallel. Background technique [0002] Blockchain is a new distributed technology and a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. A network using blockchain technology architecture can be regarded as a blockchain network, which contains multiple blockchain nodes, any blockchain node can correspond to at least one blockchain, and any blockchain can Contains at least one block. [0003] In blockchain technology, the consensus algorithm is an important method to establish trust and obtain rights and interests between different blockchain nodes in the blockchain network. At present, in blockchains that use consensus algorithms such as Byzantine Fault Tolerance (BFT), the underly...

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): G06Q20/38H04L12/18
CPCG06Q20/3829H04L12/18
Inventor 谢晗剑张亚宁
Owner 杭州秘猿科技有限公司
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