Block processing method and device, computer device and storage medium

A processing method and computer program technology, applied in the blockchain field, can solve problems such as reducing block processing efficiency, reducing block transaction submission efficiency, and wasting computer resources

Pending Publication Date: 2019-09-17
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the data node executes the transaction submission process of the block through a single thread, it can usually only process fewer transactions, which reduces the overall throughput of the blockchain system and wastes the computer resources of the server where the data node is located.
Especially when the block contains only a few transactions, it further reduces the overall throughput of the blockchain system, reduces the submission efficiency of block transactions, and thus reduces the efficiency of block processing

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0050] The block processing method provided by this application can be applied to such as figure 1shown in the application environment. Among them, the data node 102 communicates with the consensus node 104 through the network. The data node 102 obtains the transaction submission instruction, and queries the configuration block in the current cached block sequence according to the obtained transaction submission instruction; when the configuration block is queried, based on the query configuration block, the current cached block sequence It is divided into a configuratio...

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 relates to a block chain technology, and provides a block processing method and device, a computer device and a storage medium. The method comprises the steps of obtaining a transaction submission instruction; querying a configuration block in a currently cached block sequence according to the transaction submission instruction; when the configuration block is queried, dividing the block sequence into a configuration block and a transaction block sequence based on the queried configuration block; executing the transaction submitting operation on the configuration block and the transaction blocks in the transaction block sequence according to the sequence of the block sequence, wherein the transaction submitting operation executed for the plurality of transaction blocks in the transaction block sequence comprises the steps of performing transaction signature verification on the plurality of transaction blocks in parallel; carrying out transaction multi-version check on each transaction block in series; and writing the plurality of transaction blocks into a disk at the same time. By adopting the method, the block processing efficiency can be improved.

Description

technical field [0001] The present application relates to the technical field of block chain, in particular to a block processing method, device, computer equipment and storage medium. Background technique [0002] Blockchain is generally understood as a distributed ledger, which is essentially a block-based distributed database. The blockchain includes consortium chains used between institutions, usually based on signature encryption and signature verification decoding in cryptography to implement the privacy protection mechanism of the consortium chain, so that only members of specific groups and limited third parties can view the area according to authority block transactions. The block transaction submission process of the consortium chain includes three steps: signature verification, multi-version checking, and transaction persistence. [0003] At present, for one or more blocks generated and sent by the consensus node, the data node usually executes the transaction s...

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): G06F16/21G06F16/2455G06F3/06H04L9/32
CPCG06F3/0607G06F3/0631G06F3/067G06F16/219G06F16/24552G06F16/24554H04L9/3247
Inventor 褚镇飞冯世伟张培培
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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