Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Intelligent contract parallel execution method and device

A technology of smart contracts and execution methods, applied in the field of blockchain, can solve the problems of limiting the application scenarios of blockchain technology, unable to improve the transaction success rate, and unable to obtain further improvement, so as to improve the transaction success rate, reduce the execution cost, The effect of improving the success rate of processing

Pending Publication Date: 2020-08-21
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, it is difficult for the blockchain system to perform in high-concurrency and high-pressure scenarios, which greatly limits the application scenarios of blockchain technology
[0003] At present, there are many mature solutions in the parallel aspect of blockchain smart contracts in the industry, such as dividing multiple parallel chains at the granularity of business and DAG directed acyclic graph, etc. However, the way of dividing multiple parallel chains at the granularity of business varies from chain to The parallel processing method between the chain and the chain makes this method occupy more resources, which makes the parallel cost of this method higher; and no matter which method is used above, there is a bottleneck that the transaction success rate cannot be improved. For example, in the transaction In the application process of the DAG directed acyclic graph executed after sorting, the parallel execution success rate of the smart contract is equal to the execution success rate after the transaction sorting, which cannot be further improved

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
  • Intelligent contract parallel execution method and device
  • Intelligent contract parallel execution method and device
  • Intelligent contract parallel execution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0037] The current schemes for parallel execution of smart contracts in the blockchain include: traditional blockchain transactions, dividing multiple parallel chains with business as the granularity, and DAG directed acyclic graph, etc. These three methods are similar to those in the embodiment of this application The differences and comparisons between the i...

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 invention provides an intelligent contract parallel execution method and device, and the method comprises the steps: generating a weighted directed graph of a transaction corresponding to each intelligent contract belonging to an account transfer type when each preset coroutine is applied to concurrently execute the intelligent contracts, corresponding to transaction information in each contract channel, belonging to an evidence storage type, wherein the coroutines are in one-to-one correspondence with the contract channels, and each contract channel comprises multiple pieces of transaction information with the same intelligent contract chain code number; and generating an account transfer transaction parallel sequence according to the weighted directed graph, and executing each intelligent contract belonging to the account transfer type, so as to enable the intelligent contracts of which the transaction information in each contract channel belongs to the evidencestorage type and the account transfer type to be executed in parallel. According to the method, the concurrency of the smart contract in the block can be effectively improved, the transaction successrate in the block can be effectively improved on the basis of effectively ensuring the execution efficiency and reducing the execution cost, and particularly, the processing success rate of the transfer transaction can be improved.

Description

technical field [0001] This application relates to the technical field of block chain, and specifically relates to a method and device for parallel execution of smart contracts. Background technique [0002] Human pursuit of information processing has never stopped. In the field of computer communications, the industry has proposed Transactions Per Second (TPS, Transactions Per Second), that is, system throughput to evaluate the speed at which a system processes information. However, as a rising star, the blockchain system is far from the traditional centralized system in terms of TPS. The main reason is the impact of blockchain system security, consensus, smart contract execution and other mechanisms. Therefore, it is difficult for the blockchain system to perform in high-concurrency and high-pressure scenarios, which greatly limits the application scenarios of blockchain technology. [0003] At present, there are many mature solutions in the parallel aspect of blockchain...

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): G06Q40/04G06Q20/10
CPCG06Q40/04G06Q20/102
Inventor 钟亮陈杭刘刚刘朝伟
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products