一种区块链智能合约的并行执行方法及系统

By using a phased parallel execution method with a global scheduling queue, the problems of long parallel execution time and development complexity of smart contracts in existing technologies are solved, achieving high throughput and execution efficiency of the blockchain system.

CN116149807BActive Publication Date: 2026-07-17SHANDONG UNIV +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANDONG UNIV
Filing Date
2022-11-25
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing parallel execution solutions for blockchain smart contracts based on DAGs increase execution time and the burden on developers. They also rely on specific parallel frameworks to determine dependencies, which consumes bandwidth and affects the throughput and execution efficiency of the blockchain system.

Method used

By establishing a global scheduling queue, it is possible to determine whether there are conflicts in smart contracts, ensuring that multiple calls to the same smart contract are executed serially from a global perspective. The global scheduling queue is used to execute in stages in parallel, avoiding the generation of DAG, and achieving parallel execution while ensuring the consistency of execution results.

Benefits of technology

Without generating a DAG, parallel execution of smart contracts is achieved, reducing execution time and development complexity, improving the throughput and execution efficiency of the blockchain system, and ensuring the consistency of execution results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116149807B_ABST
    Figure CN116149807B_ABST
Patent Text Reader

Abstract

本公开提供了一种区块链智能合约的并行执行方法及系统,所述方案包括:获取区块链中所有合约交易,并生成初始化全局调度队列;根据全局调度队列,基于预设调度规则确定当前可并行执行的智能合约数量,并初始化对应数量的智能合约虚拟机实例进行智能合约的执行;其中,所述全局调度队列用于保证智能合约执行过程中对同一智能合约的多次调用在全局视角下串行执行,对于不同智能合约的调用并行执行。
Need to check novelty before this filing date? Find Prior Art