Consensus system and method applied to block chain andcapable of preventing empty block in absence of transaction

A blockchain and transaction technology, applied in the blockchain field to achieve the effect of ensuring correctness, achieving consistency, and reducing data storage

Active Publication Date: 2021-04-09
SHANGHAI WANXIANG BLOCK CHAIN CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There is still room for improvement in the structure and performance of this patent

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 system and method applied to block chain andcapable of preventing empty block in absence of transaction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0026] Such as figure 1 As shown in Fig. 1, a consensus algorithm that can be used in the blockchain to avoid empty blocks when there is no transaction, including a Round management module, a block processing module, and a no-transaction processing module.

[0027] The Round management module includes functions such as validator management, Leader election, and Round state management;

[0028] The block processing module includes functions such as block proposal, voting, and confirmation;

[0029] The...

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 system and method applied to a block chain and capable of preventing empty block in the absence of a transaction. The consensus system comprises a transaction pool module, a Round management module, a block processing module and a transaction-free processing module; the transaction pool module is connected with the block processing module; the transaction pool module is connected with the transaction-free processing module; the Round management module is connected with the transaction pool module; the block processing module comprises a block proposal module, a block voting module and a block confirmation module; the block proposal module is connected with the block voting module; and the block confirmation module is connected with the block voting module. According to the method and the device, the problem that the block chain still needs to empty blocks and occupies extra storage space when no transaction exists is solved.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a consensus system and method applied in block chains that can produce empty blocks when there is no transaction. Background technique [0002] In scenarios with a large amount of blockchain business data, data storage resources are relatively tight. In the prior art, there is an urgent need for a consensus system and method that can be used in the blockchain to avoid empty blocks when there is no transaction. [0003] Patent document CN1936866A discloses a storage architecture and method with data restoration function. The method is as follows: the flash storage device reserves two areas when initializing data, one is a write-in area and the other is a protection area. When data is written, the system stores the data in the write-in area of ​​the flash memory without affecting the data in the protected area. When the flash memory storage device is restarted, the d...

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): G06Q20/38
CPCG06Q20/3827G06Q20/3829G06Q20/3825
Inventor 葛鑫
Owner SHANGHAI WANXIANG BLOCK CHAIN CO LTD
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