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

A processing method, device and electronic equipment for long time-consuming blockchain transactions

A processing method and technology of blockchain, applied in the field of blockchain, can solve the problems affecting the execution of blockchain transactions, complexity, time constraints, etc.

Active Publication Date: 2021-07-27
北京全息智信科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This also means that the execution of blockchain transactions that affect block generation and verification is also subject to direct or indirect time constraints
Many applications in reality, when implemented in the form of smart contracts on the blockchain, may cause their transaction execution time to greatly exceed the direct or indirect constraints imposed by the blockchain protocol stack on block generation and verification due to its complexity. time limit

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 processing method, device and electronic equipment for long time-consuming blockchain transactions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It can be understood that the specific implementation manners described here are only used to explain relevant content, rather than to limit the present invention. In addition, it should be noted that, for the convenience of description, only the parts related to the present invention are shown in the drawings.

[0056] It should be noted that, in the case of no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other. The following will describe in detail with reference to the accompanying drawings and in combination with implementation manners.

[0057] The present invention introduces a new parameter to the smart contract in the blockchain protocol stack, called the maximum execution time of the transaction (max_exec_time), which is represented by the number of blocks. That is to say, ...

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 present invention provides a processing method, device and electronic equipment for a long time-consuming blockchain transaction, by setting the maximum execution time of the smart contract transaction (indicated by max_exec_time, In the unit of the number of blocks), when the transaction of the long-time-consuming smart contract is executed during the generation and verification of the xth block, the transaction is sequentially submitted to the asynchronous execution thread created or allocated for the long-time-consuming smart contract for execution, And when the (x+max_exec_time)th block is generated, the transaction execution result is included in the world state, and the world state including the transaction execution result is verified when the (x+max_exec_time) block is verified, to achieve support for long-time-consuming smart contracts .

Description

technical field [0001] The present invention relates to blockchain technology, especially the technical field of execution of long time-consuming smart contract transactions. Background technique [0002] When the block chain is generated and verified, it calls the smart contract to execute the block chain transaction. In order to reduce latency and improve concurrency and throughput performance, blockchain protocol stacks usually directly or indirectly set time limits for block generation, verification, consensus, etc. This also means that the execution of blockchain transactions that affect block generation and verification is also subject to direct or indirect time constraints. Many applications in reality, when implemented in the form of smart contracts on the blockchain, may cause their transaction execution time to greatly exceed the direct or indirect constraints imposed by the blockchain protocol stack on block generation and verification due to its complexity. tim...

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/40G06Q40/04
CPCG06Q20/401G06Q40/04
Inventor 张建钢
Owner 北京全息智信科技有限公司