Smart contract data processing method and system

By preprocessing and analyzing state dependencies of the transactions to be executed, a new set of state dependencies is generated, which solves the EVM performance bottleneck problem, realizes efficient smart contract transaction processing, and avoids rewriting the EVM and increasing system complexity.

CN116302328BActive Publication Date: 2026-11-24SHANGHAI ENCRYPTION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310134946.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2026-11-24
Estimated Expiration
2043-02-17

AI Technical Summary

Technical Problem

In existing technologies, blockchain networks compatible with the Ethereum Virtual Machine (EVM) have performance bottlenecks in smart contract transaction efficiency. Rewriting the EVM involves a huge amount of engineering work, while off-chain scaling solutions increase system complexity and security risks.

Method used

By obtaining the transactions to be executed within the block, determining the initial state dependencies and preprocessing them, generating a new set of state dependencies, and re-executing the transactions to improve efficiency, the rewriting of the EVM and the introduction of an additional execution environment are avoided.

Benefits of technology

Without increasing the complexity of the blockchain system, it improves transaction execution efficiency, simplifies the implementation process, and is easy to adapt to the application layer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116302328B_ABST
    Figure CN116302328B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a smart contract data processing method and system, comprising: obtaining a plurality of to-be-executed transactions in a block; wherein the to-be-executed transactions contain first field content and second field content, and the to-be-executed transactions support cross-contract transactions; determining an initial state dependency corresponding to each of the to-be-executed transactions according to the first field content and the second field content; preprocessing the plurality of to-be-executed transactions according to the initial state dependency to obtain a preprocessing result, determining a new state dependency corresponding to a cross-contract transaction of each of the to-be-executed transactions, and generating a new state dependency set; and re-executing the to-be-executed transactions according to the new state dependency set. By preprocessing the transactions first, and then re-executing the transactions that need to be executed again according to the new state dependency corresponding to the cross-contract transaction, the efficiency of transaction execution is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain technology, and in particular to a smart contract data processing method, system, computer device, and computer-readable storage medium. Background Technology

[0002] With the proliferation of applications based on smart contracts, it has become increasingly apparent that the performance bottlenecks of blockchain are insufficient to support large-scale decentralized applications. Ethereum's smart contract execution environment is the Ethereum Virtual Machine (EVM), and its smart contract language is Solidity. Due to its first-mover advantage, the EVM boasts a large ecosystem of development tools and applications, increasingly becoming the de facto standard for smart contract execution. In current technologies, more and more blockchains are integrating the EVM to ensure compatibility with the Ethereum technology and application ecosystems. However, due to the EVM's relatively low execution efficiency and performance bottlenecks, Ethereum's low TPS (transactions per second) is largely attributed to the EVM's inefficient execution.

[0003] Currently, for EVM-compatible blockchain networks, the main solutions to address the execution efficiency issues of such virtual machines are rewriting the EVM and off-chain scaling. However, reimplementing the EVM involves a massive amount of engineering work, and since transactions are executed on-chain, the performance improvement is limited. Off-chain scaling, by moving transactions off-chain, reduces transaction security and requires additional components, increasing the overall system complexity. Summary of the Invention

[0004] The purpose of this application is to provide a smart contract data processing method, system, computer device, and computer-readable storage medium to solve the following problem: how to improve the efficiency of smart contract transactions in EVM-compatible blockchain networks.

[0005] One aspect of this application provides a smart contract data processing method, including:

[0006] Retrieve multiple pending transactions within a block; wherein, each pending transaction contains a first field and a second field, and the pending transaction supports cross-contract transactions;

[0007] The initial state dependency corresponding to each transaction to be executed is determined based on the content of the first field and the content of the second field.

[0008] The multiple transactions to be executed are preprocessed according to the initial state dependencies to obtain the preprocessing results, the new state dependencies corresponding to the cross-contract transactions of each transaction to be executed are determined, and a set of new state dependencies is generated.

[0009] The target transaction result is obtained by re-executing the pending transaction based on the newly added state dependency set.

[0010] Optionally, determining the new state dependency corresponding to each cross-contract transaction of the transaction to be executed includes:

[0011] Based on the preprocessing result of each transaction to be executed, determine the content of the third field corresponding to the cross-contract transaction of the transaction to be executed;

[0012] The new state dependency corresponding to the transaction to be executed is determined based on the content of the third field.

[0013] Optionally, the transaction to be executed includes an initial state and a latest state; determining the initial state dependency for each transaction to be executed based on the content of the first field and the content of the second field includes:

[0014] The initial state of each transaction to be executed is determined based on the content of the first field and the content of the second field;

[0015] The initial state dependency of the transaction to be executed in the preprocessing stage is determined based on the initial state.

[0016] Optionally, the step of preprocessing the plurality of transactions to be executed according to the initial state dependency to obtain a preprocessing result includes:

[0017] When there is a common initial state dependency among the multiple transactions to be executed, the preprocessed result is obtained by sequentially executing the transactions with the same state dependency.

[0018] When there is no common initial state dependency among the multiple transactions to be executed, the transactions that do not have the same state dependency are executed in parallel to obtain the preprocessed result.

[0019] Optionally, the step of re-executing the transaction to be executed based on the newly added state dependency set to obtain the target transaction result includes:

[0020] For each of the transactions to be executed, if the transaction does not depend on the newly added state dependency set, then the preprocessing result is directly output; or,

[0021] If the transaction to be executed depends on the newly added state dependency set, then the transaction to be executed is re-executed according to the newly added state dependency set to obtain the target transaction result, and the target transaction result is output.

[0022] Optionally, after the step of generating the new set of state dependencies, the method further includes:

[0023] Sequentially determine whether the initial state dependency and the new state dependency corresponding to the transaction to be executed exist in the set of new state dependencies;

[0024] If the initial state dependency and the new state dependency corresponding to the transaction to be executed exist in the set of new state dependencies, then it is determined that the transaction to be executed depends on the set of new state dependencies and needs to be re-executed;

[0025] If the initial state dependency and the new state dependency corresponding to the transaction to be executed do not exist in the new state dependency set, then it is determined that the transaction to be executed does not depend on the new state dependency set and does not need to be re-executed.

[0026] Optionally, the step of re-executing the transaction to be executed based on the newly added state dependency set to obtain the target transaction result includes:

[0027] Merge pending transactions that have the same initial state dependency and / or newly added state dependency to obtain multiple transaction queues;

[0028] The transactions to be executed in each transaction queue are executed sequentially, and the transactions to be executed in different transaction queues are executed in parallel to obtain the target transaction result.

[0029] Optionally, merging transactions to be executed that share the same initial state dependency and / or newly added state dependency yields multiple transaction queues, including:

[0030] Generate an initial state dependency set based on the initial state dependencies;

[0031] The initial state dependency set and the newly added state dependency set are merged to obtain the third state dependency set;

[0032] Based on the third state dependency set, transactions with the same state dependency are merged to obtain multiple transaction queues.

[0033] Optionally, the method further includes:

[0034] The output target transaction result or preprocessing result is persistently stored.

[0035] Optionally, before the step of obtaining multiple transactions to be executed within a block, the method further includes:

[0036] Multiple transactions to be executed are obtained from a preset transaction pool, and the multiple transactions to be executed are packaged to generate a transaction block.

[0037] One aspect of this application provides a smart contract data processing system, including:

[0038] The transaction acquisition module is used to acquire multiple transactions to be executed within a block; wherein, the transactions to be executed include the content of a first field and the content of a second field, and the transactions to be executed support cross-contract transactions;

[0039] The initial state dependency determination module is used to determine the initial state dependency corresponding to each of the transactions to be executed based on the content of the first field and the content of the second field.

[0040] The preprocessing module is used to preprocess the multiple transactions to be executed according to the initial state dependencies to obtain preprocessing results, determine the new state dependencies corresponding to the cross-contract transactions of each transaction to be executed, and generate a set of new state dependencies.

[0041] The transaction processing module is used to re-execute the pending transaction based on the newly added state dependency set to obtain the target transaction result.

[0042] One aspect of this application provides a computer device, the computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the smart contract data processing method described above.

[0043] One aspect of this application provides a computer-readable storage medium storing a computer program that can be executed by at least one processor to implement the steps of the smart contract data processing method described above when the at least one processor executes the computer program.

[0044] The smart contract data processing method, system, device, and computer-readable storage medium provided in this application improve transaction execution efficiency by preprocessing the transactions to be executed, determining the set of new state dependencies based on the new state dependencies corresponding to cross-contract transactions, and re-executing transactions that need to be executed again based on the set of new state dependencies. This eliminates the need to reimplement the EVM, introduce other execution environments or dependencies, and does not increase the complexity of the blockchain system. It improves the transaction processing performance of the EVM with minimal invasive modifications to the original EVM implementation. At the same time, it does not require adaptation at the application layer and is easy to implement. Attached Figure Description

[0045] Figure 1 This diagram illustrates an application environment of the smart contract data processing method according to an embodiment of this application.

[0046] Figure 2 A flowchart illustrating a smart contract data processing method according to Embodiment 1 of this application is shown in the schematic diagram.

[0047] Figure 3 This illustration schematically shows a state machine diagram of a smart contract transaction according to Embodiment 1 of this application;

[0048] Figure 4 The flowchart illustrating the steps of another smart contract data processing method according to Embodiment 1 of this application is shown in the illustration.

[0049] Figure 5 A block diagram illustrating a smart contract data processing apparatus according to Embodiment 2 of this application is shown schematically; and

[0050] Figure 6 The illustration shows a schematic diagram of the hardware architecture of a computer device suitable for implementing a smart contract data processing method according to Embodiment 3 of this application. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0052] It should be noted that the descriptions involving "first," "second," etc., in the embodiments of this application are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

[0053] In existing technologies, since Satoshi Nakamoto first proposed the concept of blockchain in 2008, it has become a core component of the cryptocurrency Bitcoin in the following years: serving as a public ledger for all transactions. By utilizing peer-to-peer networks and distributed timestamp servers, blockchain databases can be self-managed. Subsequently, the Ethereum network and smart contracts emerged as Blockchain 2.0 solutions, addressing an increasing number of application problems. However, as numerous applications have been implemented based on smart contracts, it has become increasingly apparent that the performance bottlenecks of blockchain are insufficient to support large-scale decentralized applications. The Bitcoin network's TPS is approximately 7, while the Ethereum network's TPS is approximately 15-20.

[0054] Ethereum's smart contract execution environment is the Ethereum Virtual Machine (EVM), and its smart contract language is Solidity. Due to its first-mover advantage, the EVM boasts a large ecosystem of development tools and applications, increasingly becoming the de facto standard for smart contract execution. Currently, more and more blockchains are integrating the EVM to ensure compatibility with the Ethereum technology and application ecosystems.

[0055] However, the EVM suffers from performance bottlenecks due to its low execution efficiency. Ethereum's TPS of 15-20 is largely due to the inefficient execution of the EVM.

[0056] For EVM-compatible blockchain networks, there are several different optimization methods to address the execution efficiency issues of such virtual machines:

[0057] 1. Rewriting the EVM: The Ethereum Virtual Machine (EVM) is implemented based on the technical specifications outlined in the Ethereum Yellow Paper. Based on these specifications, it can be implemented using different programming languages, and even within the same language, there can be different implementations, such as go-ethereum, hyperledger / burrow, hyperledger / besu, and Parity. These are all different language and version implementations of the EVM, each with varying execution efficiencies. Reimplementing the EVM aims to improve execution efficiency.

[0058] 2. Off-chain scaling: This involves using a Rollup solution, also known as a Layer 2 solution, with Layer 1 as the main chain. The goal is to address the performance issues of Layer 1. Layer 2 is a blockchain that resides on Layer 1, and its security depends on Layer 1. The two communicate via a cross-chain bridge, transferring a large number of transactions originally executed on Layer 1 to the Layer 2 chain for execution. The transaction state from Layer 2 is periodically written back to Layer 1. The execution environment for transactions in Layer 2 is not the on-chain EVM, but an off-chain EVM. The off-chain EVM is functionally equivalent to the Ethereum Virtual Machine (EVM) and is a smart contract execution environment similar to an EVM, including different implementations such as zkEVM and OVM (Optimism VM). By transferring transaction execution from the on-chain EVM to its equivalent off-chain EVM, transaction performance is improved.

[0059] Some of the solutions introduced in the background technology section have encountered various problems during implementation, as detailed below:

[0060] 1. Reimplementing the EVM according to the Ethereum Yellow Paper is a huge undertaking; in addition, since transactions are executed on-chain, the performance improvement is limited.

[0061] 2. Rollup Solutions for Off-Chain Scaling. Moving transactions from on-chain to off-chain, or from Layer 1 to Layer 2, requires addressing the issue of malicious transactions. This means the off-chain execution environment or Layer 2 may be malicious. This can be achieved through techniques such as secure multi-party computation, fraud proofs, or zero-knowledge proofs. However, scaling solutions based on secure multi-party computation and zero-knowledge proofs are currently progressing slowly; solutions based on fraud proofs lack usability. Furthermore, this approach relies on additional components, adding complexity to the original chain and increasing the overall system complexity. Additionally, an equivalent EVM needs to be implemented, including zkEVM and OVM. Currently, none are fully compatible with the native EVM, requiring extra attention from developers and application users.

[0062] In view of this, this application aims to propose a smart contract data processing method based on the Ethereum Virtual Machine (EVM), comprising: obtaining multiple transactions to be executed within a block; wherein the transactions to be executed contain a first field content and a second field content, and the transactions to be executed support cross-contract transactions; determining the initial state dependency corresponding to each transaction to be executed based on the first field content and the second field content; preprocessing the multiple transactions to be executed based on the initial state dependency to obtain a preprocessing result, determining the new state dependency corresponding to the cross-contract transactions of each transaction to be executed, and generating a new state dependency set; and re-executing the transactions to be executed based on the new state dependency set to obtain a target transaction result. By preprocessing the transactions to be executed, determining the new state dependency set based on the new state dependency corresponding to the cross-contract transactions, and re-executing the transactions that need to be executed again based on the new state dependency set, the efficiency of transaction execution is improved. This method avoids the need to reimplement the EVM, introduces other execution environments or dependencies, and does not increase the complexity of the blockchain system. It achieves improved transaction processing performance of the EVM with minimal invasive modifications to the original EVM implementation, and is easy to implement without requiring adaptation at the application layer.

[0063] This application provides several embodiments to further illustrate the smart contract data processing scheme, as detailed below.

[0064] In the description of this application, it should be understood that the numerical labels before the steps do not indicate the order of the steps, but are only used to facilitate the description of this application and to distinguish each step, and therefore should not be construed as a limitation of this application.

[0065] The following is a definition of the terminology used in this application:

[0066] TPS (Transactions Per Second): The number of transactions processed per second.

[0067] EVM (Ethereum Virtual Machine): The Ethereum Virtual Machine, used as the execution environment for Ethereum smart contract transactions.

[0068] Layer 1: Layer 1 blockchain networks are the underlying blockchain networks, including complete blockchain modules (consensus layer, network layer, ledger layer, execution layer, etc.), and have independent blockchain functions, such as the Bitcoin network and the Ethereum network.

[0069] Layer 2: A scaling solution for Layer 1 networks, whose consensus security relies on the Layer 1 network. For example, Ethereum's ZKSync is a Layer 2 scaling solution for the Ethereum network.

[0070] zkEVM: An equivalent EVM solution based on zero-knowledge proofs for Layer 2 solutions.

[0071] OVM: The equivalent EVM solution to the Optimism Layer2 solution.

[0072] Figure 1 A schematic diagram illustrating an environmental application according to an embodiment of this application is provided. Figure 1 As shown:

[0073] Computer device 10000 can connect to client 30000 via network 20000.

[0074] Computer device 10000 can provide services such as network debugging or returning smart contract data processing results to client 30000.

[0075] Computer equipment 10000 may be located in a data center, such as a single site, or distributed across different geographical locations (e.g., multiple sites). Computer equipment 10000 may provide services via one or more networks 20000. Network 20000 includes various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, agent devices, and / or similar devices. Network 20000 may include physical links, such as coaxial cable links, twisted-pair cable links, fiber optic links, combinations thereof, etc. Network 20000 may include wireless links, such as cellular links, satellite links, Wi-Fi links, etc.

[0076] Computer device 10000 can be implemented by one or more compute nodes. One or more compute nodes can include virtualized compute instances. Virtualized compute instances can include virtual machines, such as emulations of computer systems, operating systems, servers, etc. Compute nodes can load virtual machines based on virtual images and / or other data defining specific software used for emulation (e.g., operating systems, dedicated applications, servers). As the demand for different types of processing services changes, different virtual machines can be loaded and / or terminated on one or more compute nodes. A hypervisor can be implemented to manage the use of different virtual machines on the same compute node.

[0077] Client 30000 can be configured to access the content and services of computer device 10000. Client 30000 can include any type of electronic device, such as mobile devices, tablets, laptops, workstations, virtual reality devices, gaming devices, set-top boxes, digital streaming media devices, vehicle terminals, smart TVs, etc.

[0078] Client 30000 can output (e.g., display, render, present) the results of smart contract data processing to the user.

[0079] The following will describe a network debugging solution through several embodiments. This solution can be implemented using computer equipment 10000.

[0080] Example 1

[0081] Figure 2 A flowchart illustrating a smart contract data processing method according to Embodiment 1 of this application is shown. It includes steps S202-S206, wherein...

[0082] Step S202: Obtain multiple transactions to be executed within the block; wherein, the transactions to be executed include the content of a first field and the content of a second field, and the transactions to be executed support cross-contract transactions;

[0083] In this embodiment, the transaction to be executed is a smart contract transaction based on the Ethereum Virtual Machine that needs to be processed. The transaction to be executed includes a first field and a second field, and the transaction to be executed supports cross-contract transactions. The first field describes the sender of the transaction and can be denoted as "from"; the second field describes the receiver of the transaction and can be denoted as "to". For contract calls, "to" is the address of the smart contract being called.

[0084] In a preferred embodiment of this application, before the step of obtaining multiple transactions to be executed within a block, the method further includes:

[0085] Multiple transactions to be executed are obtained from a preset transaction pool, and the multiple transactions to be executed are packaged to generate a transaction block.

[0086] The preset transaction pool is a pre-maintained database used to store user-submitted EVM-based smart contract transactions. In this embodiment, a preset number (e.g., 1000) of transactions to be executed are selected from the preset transaction pool and packaged into blocks. During packaging, these transactions can also be sorted according to their generation time to facilitate sequential execution according to the order within the blocks when processed serially.

[0087] Step S204: Determine the initial state dependency corresponding to each of the transactions to be executed based on the content of the first field and the content of the second field;

[0088] Step S206: Preprocess the multiple transactions to be executed according to the initial state dependencies to obtain the preprocessing result, determine the new state dependencies corresponding to the cross-contract transactions of each transaction to be executed, and generate a set of new state dependencies.

[0089] For different transactions, if they have state dependencies on each other, such as all being update operations on the same state / value, then these transactions need to be executed sequentially; if the state dependencies between transactions are different, they can be executed in parallel.

[0090] In this embodiment, a preprocessing result is obtained by preprocessing multiple transactions to be executed based on initial state dependencies. During transaction execution, the new state dependencies corresponding to cross-contract transactions for each transaction to be executed are determined, and a set of new state dependencies is generated. Specifically, during preprocessing, for each transaction to be executed, it can be determined whether there are any shared state dependencies between it and other transactions to be executed based on the initial state dependencies. If shared state dependencies exist, these transactions to be executed are executed sequentially according to their state dependencies. If no shared state dependencies exist, these transactions to be executed can be executed in parallel.

[0091] Step S208: Re-execute the transaction to be executed according to the newly added state dependency set to obtain the target transaction result.

[0092] In this embodiment, smart contract transactions may involve cross-contract calls, which will generate new state dependencies. This may cause the results of executing multiple transactions to be executed based on the initial state dependencies during the preprocessing stage to be inaccurate, because the new state dependencies may affect the execution order of each transaction to be executed. Therefore, during the transaction execution stage, the transactions to be executed can be re-executed based on the new set of state dependencies to obtain the target transaction result.

[0093] Specifically, for each transaction to be executed, it is determined whether the transaction depends on the set of newly added state dependencies based on the initial state dependencies and the newly added state dependencies.

[0094] If the transaction to be executed does not depend on the newly added state dependency set, the transaction to be executed can be marked as a committable state after obtaining the preprocessing result in the preprocessing stage. Such transactions do not need to be executed again, and the preprocessing result is output.

[0095] If the transaction to be executed depends on the newly added set of state dependencies, it needs to be executed again. The target transaction result is obtained by re-executing multiple transactions based on their state dependencies, marking it as committable, and then outputting the target transaction result.

[0096] The following are several optional embodiments for optimizing the smart contract data processing method, as follows:

[0097] In a preferred embodiment of this application, step S206 may include the following steps:

[0098] Based on the preprocessing result of each transaction to be executed, determine the content of the third field corresponding to the cross-contract transaction of the transaction to be executed; determine the new state dependency corresponding to the transaction to be executed based on the content of the third field.

[0099] In this embodiment, the contents of the first and second fields can be discovered before the execution of the transaction to be executed. After preprocessing, when a cross-contract transaction occurs, the states that the cross-contract transaction depends on, such as from1 or to1, will be discovered. The contents of from1 or to1 are the newly added third field. By determining the third field content corresponding to the cross-contract transaction of each transaction to be executed based on the preprocessing result, the newly added state dependencies corresponding to the transaction to be executed are determined based on the third field content.

[0100] In a preferred embodiment of this application, the transaction to be executed includes an initial state and a latest state, including initial state dependencies and newly added state dependencies; step S202 may include the following steps:

[0101] The initial state of each transaction to be executed is determined based on the content of the first field and the content of the second field; the initial state dependency corresponding to the preprocessing stage of the transaction to be executed is determined based on the initial state.

[0102] In this embodiment, each transaction to be executed includes an initial state and a latest state, which includes initial state dependencies and new state dependencies. The initial state is the state of the ledger before the execution of the transaction to be executed, and the latest state is the state of the ledger after the execution of the transaction to be executed. The initial state dependencies are the state dependencies of the transaction in the pre-execution stage, and the new state dependencies are the state dependencies added after the pre-execution stage.

[0103] Specifically, for EVM smart contract transactions, from the perspective of the state machine, the transaction to be executed is used to transform the initial state of the ledger or smart contract to the latest state of the ledger during execution. Therefore, the state dependency of the execution of the transaction to be executed can be considered as the initial state, and the transaction result obtained is the latest state. As an example, such as... Figure 3 The diagram shows a state machine for a smart contract transaction. By executing "Contract Transaction 1", the "Contract State 1" of the smart contract transaction can be transformed into the "Contract State 2" of the smart contract transaction. It can be considered that the state dependency of the execution of "Contract Transaction 1" is "Contract State 1", and the transaction result obtained is "Contract State 2".

[0104] In this embodiment, the initial state of each transaction to be executed is determined based on the content of the first field and the content of the second field corresponding to the transaction to be executed, and then the initial state dependency of the transaction to be executed in the preprocessing stage is determined based on the initial state.

[0105] like Figure 3 In the process, executing "Contract Transaction 1" can transform the "Contract State 1" of a smart contract transaction into the "Contract State 2" of a smart contract transaction. "Contract State 1" can contain initial state dependencies and new state dependencies. Initial state dependencies are state dependencies discovered before pre-execution, and new state dependencies are state dependencies discovered after pre-execution other than the initial state dependencies. The transaction result obtained after executing "Contract Transaction 1" is "Contract State 2".

[0106] In a preferred embodiment of this application, step S204 may include the following steps:

[0107] When there is a common initial state dependency among the multiple transactions to be executed, the preprocessed result is obtained by sequentially executing the transactions with the same state dependency.

[0108] When there is no common initial state dependency among the multiple transactions to be executed, the transactions that do not have the same state dependency are executed in parallel to obtain the preprocessed result.

[0109] In this embodiment, by determining whether there are common initial state dependencies among the transactions to be executed, if there are common initial state dependencies among the transactions to be executed, the preprocessing result is obtained by executing the transactions with common state dependencies sequentially. If there are no common initial state dependencies among the transactions to be executed, the preprocessing result is obtained by executing the transactions without common state dependencies in parallel.

[0110] As an example, the basic content of each transaction to be executed may include the following fields / parameters:

[0111] from: the sender of the transaction.

[0112] to: The transaction recipient. For contract calls, to is the address of the smart contract being called.

[0113] data: For contract calls, data is the ABI encoding of the contract method and contract parameters.

[0114] value: The number of native tokens passed in when the contract is invoked.

[0115] gasLimit and gasPrice: Used to pay for the gas consumed during contract execution.

[0116] In the specific implementation, the state indicated by the "from" and "to" fields can be determined as the initial state, which is the initial state dependency of the transactions to be executed. Based on the "from" and "to" fields of each transaction to be executed, i.e., the initial state dependency, the transactions to be executed are divided into different transaction queues. Transactions to be executed that have the same "from" or "to" fields are considered to have the same state dependency and are placed in the same transaction queue for sequential execution; transactions to be executed that do not have the same "from" and "to" fields are optimistically considered to have no state dependency and can be executed in parallel.

[0117] In a preferred embodiment of this application, step S208 may include the following steps:

[0118] For each of the transactions to be executed, if the transaction does not depend on the newly added state dependency set, then the preprocessing result is directly output; or,

[0119] If the transaction to be executed depends on the newly added state dependency set, then the transaction to be executed is re-executed according to the newly added state dependency set to obtain the target transaction result, and the target transaction result is output.

[0120] In this embodiment, when a transaction to be executed depends on a newly added set of state dependencies, the execution order of these transactions will change relative to the execution order of the pre-execution phase, requiring re-execution. When a transaction to be executed does not depend on a newly added set of state dependencies, re-execution is not required, and the results of the pre-execution phase can be directly output.

[0121] In a preferred embodiment of this application, after step S206, the following steps may also be included:

[0122] The system sequentially determines whether the initial state dependency and the new state dependency corresponding to the transaction to be executed exist in the set of new state dependencies. If the initial state dependency and the new state dependency corresponding to the transaction to be executed exist in the set of new state dependencies, the transaction to be executed is determined to depend on the set of new state dependencies and needs to be re-executed. If the initial state dependency and the new state dependency corresponding to the transaction to be executed do not exist in the set of new state dependencies, the transaction to be executed is determined not to depend on the set of new state dependencies and does not need to be re-executed.

[0123] Specifically, for each pending transaction, it is determined whether its initial state dependency and new state dependency exist in the new state dependency set. If they do, the transaction is considered dependent on the new state dependency set, and such transactions need to be re-executed. If neither exists, the transaction is considered independent and the preprocessing results can be directly output. This process is repeated for the next pending transaction until all pending transactions have been traversed, and the pending transactions that depend on the new state dependency set are output.

[0124] In a preferred embodiment of this application, the step of re-executing the transaction to be executed based on the newly added state dependency set to obtain the target transaction result may include the following steps:

[0125] Merge pending transactions that have the same initial state dependency and / or new state dependency to obtain multiple transaction queues; execute the pending transactions in each transaction queue serially, and execute the pending transactions in different transaction queues in parallel to obtain the target transaction result.

[0126] In this embodiment, when executing transactions that share the same initial state dependencies and / or new state dependencies, these transactions can be divided into multiple transaction queues based on their state dependencies and their order within the block. Transactions within the same transaction queue share the same initial state dependencies and / or new state dependencies; transactions in different transaction queues have different initial state dependencies and / or new state dependencies. For each transaction queue, transactions with the same state dependencies are grouped together and can be executed sequentially. Since different transaction queues have different state dependencies, to further accelerate transaction execution efficiency, transactions in different transaction queues can be executed in parallel.

[0127] In a preferred embodiment of this application, merging transactions to be executed that have the same initial state dependency and / or newly added state dependency to obtain multiple transaction queues includes:

[0128] An initial state dependency set is generated based on the initial state dependencies; the initial state dependency set and the newly added state dependency set are merged to obtain a third state dependency set; based on the third state dependency set, transactions with the same state dependencies are merged to obtain multiple transaction queues.

[0129] In this embodiment, an initial state dependency set is generated based on the initial state dependencies, and a new state dependency set is generated based on the new state dependencies added after transaction pre-execution. The initial state dependency set and the new state dependency set are then merged to obtain a third state dependency set. Therefore, the third state dependency set contains all state dependencies. Based on the third state dependency set, multiple transaction queues are obtained by merging transactions with the same state dependencies in the third state dependency set.

[0130] Specifically, when dividing the transaction queues, for each pending transaction, it is determined whether it shares the same initial state dependency and / or new state dependency with other pending transactions. Transactions with the same initial state dependency and / or new state dependency are merged into one transaction queue. This process continues until all pending transactions are completed, resulting in multiple transaction queues. In a practical implementation, a disjoint-set data structure combined with a Directed Acyclic Graph (DAG) can be used, along with the order of the pending transactions within a block, to merge transactions with the same initial state dependency and / or new state dependency into one transaction queue.

[0131] In a preferred embodiment of this application, the method may further include the following steps:

[0132] The output target transaction result or preprocessing result is persistently stored.

[0133] Specifically, each transaction to be executed is marked as committable after execution is completed, and the target transaction result or preprocessing result output by the transaction to be executed in the committable state is persistently stored.

[0134] The following further explains the smart contract data processing method of Embodiment 1 of this application. The method mainly includes two stages: transaction preprocessing and transaction execution.

[0135] Phase 1, Transaction Preprocessing Phase:

[0136] Each transaction to be executed includes two fields: "from" and "to". The states indicated by these fields are the initial state dependencies, which are the initial state dependencies of the transaction to be executed. During preprocessing, transactions to be executed are divided into different transaction queues based on the "from" and "to" fields. Transactions with the same "from" or "to" field are considered to have the same state dependency and are placed in the same transaction queue for sequential execution. Transactions without the same "from" and "to" fields are optimistically considered to have no state dependency and can be executed in parallel. The "from" and "to" values ​​of all transactions constitute the state dependency Library1, which is a set. This stage is a simulation execution, and the simulation execution environment is exactly the same as the transaction execution stage. During transaction execution, the state dependencies corresponding to these transactions need to be recorded and returned, and the transaction execution results are cached.

[0137] The second stage, the transaction execution stage, involves obtaining the state dependencies of each transaction to be executed during the preprocessing stage. Since cross-contract calls may be involved, the number of state dependencies increases. Here, in addition to "from" and "to", the additional state dependencies of each transaction to be executed are recorded and denoted as Library2, which is a set. Each transaction to be executed is checked one by one. If its state dependencies are in Library2, these transactions need to be re-executed. Library3 is obtained by calculating the union of Library1 and Library2. All state dependencies of these transactions to be executed are stored in Library3. Based on Library3, using a disjoint-set data structure and a Directed Acyclic Graph (DAG), and considering the order of the transactions within a block, these transactions to be executed are divided into several transaction queues. Transactions within the same transaction queue have the same state dependencies; transactions between different transaction queues have different state dependencies. Transactions within the same transaction queue are executed sequentially according to their order; transactions between different transaction queues are executed in parallel. Finally, the transaction results are cached and marked as committable.

[0138] Each pending transaction is examined individually. If its dependencies are not in the collection Library2, these transactions do not need to be executed again. The preprocessing result of the pending transaction in the preprocessing stage is updated to the committable state. Finally, after all pending transactions have been executed, the execution results of the pending transactions in the committable state in the cache are persisted.

[0139] like Figure 4 A flowchart illustrating the steps of a smart contract data processing method is shown, specifically including the following steps:

[0140] Step S401: Packaging Blocks. A preset number of transactions to be executed are selected from the preset transaction pool and packaged into blocks by the block-producing node.

[0141] Step S402: Transaction preprocessing, generating the Library1 set. Transactions within a block are preprocessed, and the "from" and "to" fields of each transaction form the state dependency set Library1. Transactions with the same "from" or "to" fields are considered to have a state dependency and are placed in the same transaction queue for sequential execution. Transactions without the same "from" and "to" fields are optimistically considered to have no state dependency and can be executed in parallel.

[0142] Step S403: Obtain the transaction preprocessing results and generate the Library2 set. Obtain the execution results of all transactions to be executed during the preprocessing stage. For each transaction, record its newly added state dependencies in the Library2 set. Library3 is the union of Library1 and Library2.

[0143] Step S404: Determine if any of the transactions to be executed have the same state dependency in Library2. Check each transaction one by one. If its state dependency does not exist in Library2, execution is not required again; proceed to step S406. If any of the transactions to be executed have the same state dependency in Library2, the dependency relationship needs to be recalculated before execution; proceed to step S405.

[0144] Step S405: Transactions are divided into several independent transaction queues based on their state dependencies. The state dependencies of these transactions to be executed are located in set Library3. For transactions with the same state dependency, data structures such as disjoint-set data structures and direct algebra (DAG) are used, combined with the order of the transactions within the block, to divide them into several transaction queues. Transactions within the same transaction queue have the same state dependency; the state dependencies between different transaction queues are different. Transactions within the same transaction queue are executed sequentially according to their order; transactions between different transaction queues are executed in parallel. The number of transaction queues that execute in parallel is related to the number of CPU cores in the computer of the execution environment.

[0145] Step S406: Wait for all pending transactions to complete. Listen and wait for all pending transactions to complete.

[0146] Step S407, State Commit and Block Persistence. This involves committing the state of the transaction to be executed and persistently storing the state and block data.

[0147] Example 2

[0148] Figure 5 The diagram illustrates a block diagram of a smart contract data processing system according to Embodiment 2 of this application. This smart contract data processing device can be divided into one or more program modules. One or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiments of this application. The program modules referred to in the embodiments of this application are a series of computer program instruction segments capable of performing specific functions. The following description will specifically introduce the functions of each program module in the embodiments of this application.

[0149] like Figure 5 As shown, the smart contract data processing system 500 may include the following modules:

[0150] The transaction acquisition module 510 is used to acquire multiple transactions to be executed within a block; wherein, the transactions to be executed include a first field content and a second field content, and the transactions to be executed support cross-contract transactions;

[0151] The initial state dependency determination module 520 is used to determine the initial state dependency corresponding to each of the transactions to be executed based on the content of the first field and the content of the second field.

[0152] The preprocessing module 530 is used to preprocess the multiple transactions to be executed according to the initial state dependencies to obtain preprocessing results, determine the new state dependencies corresponding to the cross-contract transactions of each transaction to be executed, and generate a set of new state dependencies.

[0153] The transaction processing module 540 is used to re-execute the transaction to be executed based on the newly added state dependency set to obtain the target transaction result.

[0154] In a preferred embodiment of this application, the preprocessing module 530 includes:

[0155] The third field content determination submodule is used to determine the third field content corresponding to the cross-contract transaction of each transaction to be executed based on the preprocessing result of each transaction to be executed.

[0156] A new state dependency determination submodule is added, which is used to determine the new state dependency corresponding to the transaction to be executed based on the content of the third field.

[0157] In a preferred embodiment of this application, the transaction to be executed includes an initial state and a latest state, including initial state dependencies and new state dependencies; the initial state dependency determination module 520520 includes:

[0158] The initial state determination submodule is used to determine the initial state of each of the transactions to be executed based on the content of the first field and the content of the second field.

[0159] The initial state dependency determination submodule is used to determine the initial state dependency of the transaction to be executed in the preprocessing stage based on the initial state.

[0160] In a preferred embodiment of this application, the preprocessing module 530 includes:

[0161] The first execution submodule is used to serially execute the transactions with the same initial state dependency to obtain preprocessing results when there is the same initial state dependency among the multiple transactions to be executed;

[0162] The second execution submodule is used to execute the transactions that do not have the same initial state dependency in parallel when there is no common initial state dependency among the multiple transactions to be executed, and to obtain the preprocessed result.

[0163] In a preferred embodiment of this application, the transaction processing module 540 includes:

[0164] The preprocessing result output submodule is used to directly output the preprocessing result for each of the transactions to be executed if the transaction does not depend on the newly added state dependency set; or,

[0165] The re-execution submodule is used to re-execute the transaction to be executed according to the newly added state dependency set if the transaction to be executed depends on the newly added state dependency set, so as to obtain the target transaction result and output the target transaction result.

[0166] In a preferred embodiment of this application, the device further includes:

[0167] The judgment module is used to sequentially determine whether the initial state dependency and the new state dependency corresponding to the transaction to be executed exist in the set of new state dependencies;

[0168] The first determination module is used to determine that if the initial state dependency and the new state dependency corresponding to the transaction to be executed exist in the new state dependency set, the transaction to be executed depends on the new state dependency set and needs to be re-executed.

[0169] The second determination module is used to determine that the transaction to be executed does not depend on the set of newly added state dependencies and does not need to be re-executed if the initial state dependency and the newly added state dependency corresponding to the transaction to be executed do not exist in the set of newly added state dependencies.

[0170] In a preferred embodiment of this application, the re-execution of the submodule includes:

[0171] A transaction queue partitioning unit is used to merge pending transactions that have the same initial state dependency and / or new state dependency to obtain multiple transaction queues;

[0172] The first transaction execution unit is used to execute the transactions to be executed in each transaction queue in sequence, and to execute the transactions to be executed in different transaction queues in parallel, so as to obtain the target transaction result.

[0173] In a preferred embodiment of this application, the transaction queue partitioning unit includes:

[0174] The first set generation unit is used to generate an initial state dependency set based on the initial state dependency; the third set generation unit is used to merge the initial state dependency set and the newly added state dependency set to obtain a third state dependency set.

[0175] The queue generation unit is used to merge transactions that have the same initial state dependency and / or newly added state dependency to obtain multiple transaction queues based on the third state dependency set.

[0176] In a preferred embodiment of this application, the system further includes:

[0177] The transaction result storage module is used to persistently store the output target transaction result or preprocessing result.

[0178] In a preferred embodiment of this application, it further includes:

[0179] The block packaging module is used to obtain multiple transactions to be executed from a preset transaction pool and package the multiple transactions to be executed to generate a transaction block.

[0180] Example 3

[0181] Figure 6 This illustration schematically shows a hardware architecture diagram of a computer device 10000 suitable for implementing a smart contract data processing method according to Embodiment 3 of this application. In this embodiment, the computer device 10000 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. For example, it can be a smartphone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server, or cabinet server (including independent FEN servers, or server clusters composed of multiple servers), etc. Figure 6 As shown, the computer device 10000 includes, but is not limited to, at least the following: a memory 10010, a processor 10020, and a network interface 10030 that can communicate and be linked to each other via a system bus. Wherein:

[0182] The memory 10010 includes at least one type of computer-readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 10010 may be an internal storage module of the computer device 10000, such as the hard disk or memory of the computer device 10000. In other embodiments, the memory 10010 may also be an external storage device of the computer device 10000, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 10000. Of course, the memory 10010 may also include both the internal storage module and the external storage device of the computer device 10000. In this embodiment, the memory 10010 is typically used to store the operating system and various application software installed on the computer device 10000, such as program code for smart contract data processing methods. In addition, the memory 10010 can also be used to temporarily store various types of data that have been output or will be output.

[0183] In some embodiments, processor 10020 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. Processor 10020 is typically used to control the overall operation of computer device 10000, such as performing control and processing related to data interaction or communication with computer device 10000. In this embodiment, processor 10020 is used to run program code stored in memory 10010 or process data.

[0184] Network interface 10030 may include a wireless network interface or a wired network interface, which is typically used to establish a communication link between computer device 10000 and other computer devices. For example, network interface 10030 is used to connect computer device 10000 to an external terminal via a network, establishing a data transmission channel and communication link between computer device 10000 and the external terminal. The network may be an intranet, the Internet, Global System for Mobile Communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, or other wireless or wired networks.

[0185] It should be pointed out that, Figure 6 Only computer devices with components 10010-10030 are shown; however, it should be understood that it is not required to implement all of the shown components, and more or fewer components may be implemented instead.

[0186] In this embodiment, the smart contract data processing method stored in the memory 10010 can also be divided into one or more program modules and executed by one or more processors (processor 10020 in this embodiment) to complete the embodiment of this application.

[0187] Example 4

[0188] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the smart contract data processing method in the embodiments.

[0189] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device. Of course, the computer-readable storage medium can also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the computer device, such as the program code of the smart contract data processing method in the embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.

[0190] Obviously, those skilled in the art should understand that the modules or steps of the embodiments of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the embodiments of this application are not limited to any particular combination of hardware and software.

[0191] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A smart contract data processing method, characterized in that, include: Retrieve multiple pending transactions within a block; wherein, each pending transaction contains a first field and a second field, and the pending transaction supports cross-contract transactions; The initial state dependency corresponding to each transaction to be executed is determined based on the content of the first field and the content of the second field. The multiple transactions to be executed are preprocessed according to the initial state dependencies to obtain the preprocessing results, the new state dependencies corresponding to the cross-contract transactions of each transaction to be executed are determined, and a set of new state dependencies is generated. Based on the newly added state dependency set, the transaction to be executed is re-executed to obtain the target transaction result; The step of re-executing the transaction to be executed based on the newly added state dependency set to obtain the target transaction result includes: For each of the transactions to be executed, if the transaction does not depend on the newly added state dependency set, then the preprocessing result is directly output; or, If the transaction to be executed depends on the newly added state dependency set, then the transaction to be executed is re-executed according to the newly added state dependency set to obtain the target transaction result, and the target transaction result is output.

2. The smart contract data processing method according to claim 1, characterized in that, The process of determining the new state dependency corresponding to each cross-contract transaction of the pending transaction includes: Based on the preprocessing result of each transaction to be executed, determine the content of the third field corresponding to the cross-contract transaction of the transaction to be executed; The new state dependency corresponding to the transaction to be executed is determined based on the content of the third field.

3. The smart contract data processing method according to claim 1, characterized in that, The transaction to be executed includes an initial state and a latest state; determining the initial state dependency for each transaction to be executed based on the content of the first field and the content of the second field includes: The initial state of each transaction to be executed is determined based on the content of the first field and the content of the second field; The initial state dependency of the transaction to be executed in the preprocessing stage is determined based on the initial state.

4. The smart contract data processing method according to claim 1 or 3, characterized in that, The step of preprocessing the plurality of transactions to be executed according to the initial state dependency to obtain the preprocessing result includes: When there is a common initial state dependency among the multiple transactions to be executed, the preprocessed result is obtained by executing the transactions with the same initial state dependency in sequence. When there is no common initial state dependency among the multiple transactions to be executed, the transactions that do not have the same state dependency are executed in parallel to obtain the preprocessed result.

5. The smart contract data processing method according to claim 1, characterized in that, Following the step of generating the new state dependency set, the method further includes: Sequentially determine whether the initial state dependency and the new state dependency corresponding to the transaction to be executed exist in the set of new state dependencies; If the initial state dependency and the new state dependency corresponding to the transaction to be executed exist in the set of new state dependencies, then it is determined that the transaction to be executed depends on the set of new state dependencies and needs to be re-executed; If the initial state dependency and the new state dependency corresponding to the transaction to be executed do not exist in the new state dependency set, then it is determined that the transaction to be executed does not depend on the new state dependency set and does not need to be re-executed.

6. The smart contract data processing method according to claim 1, characterized in that, The step of re-executing the transaction to be executed based on the newly added state dependency set to obtain the target transaction result includes: Merge pending transactions that have the same initial state dependency and / or newly added state dependency to obtain multiple transaction queues; The transactions to be executed in each transaction queue are executed sequentially, and the transactions to be executed in different transaction queues are executed in parallel to obtain the target transaction result.

7. The smart contract data processing method according to claim 6, characterized in that, The merging of pending transactions that share the same initial state dependency and / or newly added state dependency yields multiple transaction queues, including: Generate an initial state dependency set based on the initial state dependencies; The initial state dependency set and the newly added state dependency set are merged to obtain the third state dependency set; Based on the third state dependency set, transactions that have the same initial state dependency and / or newly added state dependency are merged to obtain multiple transaction queues.

8. The smart contract data processing method according to claim 1, characterized in that, The method further includes: The output target transaction result or preprocessing result is persistently stored.

9. The smart contract data processing method according to claim 1, characterized in that, Before the step of retrieving multiple transactions to be executed within the block, the following is also included: Multiple transactions to be executed are obtained from a preset transaction pool, and the multiple transactions to be executed are packaged to generate a transaction block.

10. A smart contract data processing system, characterized in that, include: The transaction acquisition module is used to acquire multiple transactions to be executed within a block; wherein, the transactions to be executed include the content of a first field and the content of a second field, and the transactions to be executed support cross-contract transactions; The initial state dependency determination module is used to determine the initial state dependency corresponding to each of the transactions to be executed based on the contents of the first field and the second field. The preprocessing module is used to preprocess the multiple transactions to be executed according to the initial state dependencies to obtain preprocessing results, determine the new state dependencies corresponding to the cross-contract transactions of each transaction to be executed, and generate a set of new state dependencies. The transaction processing module is used to re-execute the transaction to be executed based on the newly added state dependency set to obtain the target transaction result; The transaction processing module is also used for: For each of the transactions to be executed, if the transaction does not depend on the newly added state dependency set, then the preprocessing result is directly output; or, If the transaction to be executed depends on the newly added state dependency set, then the transaction to be executed is re-executed according to the newly added state dependency set to obtain the target transaction result, and the target transaction result is output.

11. A computer device, the computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the smart contract data processing method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that can be executed by at least one processor to cause the at least one processor to perform the steps of the smart contract data processing method according to any one of claims 1 to 9.

13. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the smart contract data processing method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Performing parallel execution of transactions in a distributed ledger system

    US20200328898A1