Method and system of generating blocks on basis of block chain

A block chain and block technology, applied in the field of data processing, can solve the problem that the block chain system cannot be effectively used, and achieve the effect of improving processing efficiency

Inactive Publication Date: 2018-02-16
BANK OF CHINA
View PDF7 Cites 45 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Such a serial architecture makes the blockchain system unable to effectively take advantage of the current multi-threaded computing

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
  • Method and system of generating blocks on basis of block chain
  • Method and system of generating blocks on basis of block chain
  • Method and system of generating blocks on basis of block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach 2

[0125] Figure 8 For the flow chart of the second implementation mode of a method for generating blocks based on blockchain provided by the embodiment of the present invention, please refer to Figure 8 , in Embodiment 2, the method includes:

[0126] S301: The consensus node receives multiple transaction information sent by the transaction sending node and puts them into the transaction pool;

[0127] S302: Obtain the multiple transaction information from the transaction pool, and package the multiple transaction information into multiple packages;

[0128] S303: Start multi-threads to perform parallel processing packet by packet, and obtain transaction processing results;

[0129] S304: Check the transaction processing result;

[0130] S305: Generate a block according to the transaction processing result;

[0131] S306: Broadcast the block.

[0132] Figure 9 For the specific flowchart of step S304, please refer to Figure 9 , S304 includes:

[0133] S401: Check 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 method and a system of generating blocks on the basis of a block chain and computer equipment and a computer-readable storage medium, and relates to the technical field of data processing. The method includes: receiving multiple-piece transaction information, which is sent by a transaction sending node, by a consensus node, and putting the same into a transaction pool; acquiring the multiple-piece transaction information from the transaction pool, and packaging the multiple-piece transaction information as multiple packets; starting multiple threads to carry out parallel processing packet by packet to obtain transaction processing results; and generating the blocks according to the transaction processing results. According to the method, processing efficiency of ablock-chain system is greatly improved, and a single-thread running speed is enabled to no longer be a performance bottleneck of the block-chain system.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to the generation technology of the blockchain system, specifically a method for generating blocks based on the blockchain, a system for generating blocks based on the blockchain, computer equipment, and computer-based Read storage media. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] At present, performance is a major weakness of the blockchain system. The main reason is that there are often many critical paths that affect the overall performance in the blockchain system. Serial architecture is adopted, such as the block generation process. [0004] Under different consensus mechanisms, the block generation process will be slightly different. But in general, ...

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): G06F9/38G06F9/46G06F9/52G06Q40/04
CPCG06F9/3885G06F9/466G06F9/524G06Q40/04
Inventor 张航王继武张国华
Owner BANK OF CHINA
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