Smart contracts (blockchains, distributed ledgers) and rights management broadly construed are the themes of today's Spotlight Patents. Assigned to Alipay (CN), the first patent addresses techniques for executing smart contract, blockchain node, and storage medium. Assigned to ANT, the second patent addresses techniques for parallel execution of transactions in a blockchain network based on smart contract whitelists.
11,379,830, "Method for executing smart contract, blockchain node, and storage medium," assigned to Alipay (CN).
Abstract
The present specification provides a method for executing a smart contract, a blockchain node, and a storage medium. An implementation of a method for executing a smart contract includes: receiving, by a blockchain node, a request for creating a smart contract, the request including a bytecode of the smart contract; starting, by the blockchain node after completing deployment of the smart contract, to compile the bytecode of the smart contract into a first machine code by using ahead-of-time compilation and storing the machine code; and performing, by the blockchain node in execution of the deployed smart contract and in response to the first machine code of the smart contract not being locally stored, JIT compilation on the bytecode of the smart contract to obtain a second machine code and storing the second machine code, and executing the second machine code.
11,381,573, "Parallel execution of transactions in a blockchain network based on smart contract whitelists," assigned to Advanced New Technologies Co., Ltd. (KY)
Abstract
Implementations of this specification include identifying a plurality of transactions to be executed in the blockchain, wherein the transactions are arranged in an execution order, wherein the transactions include one or more smart contract calls to smart contracts each having a whitelist identifying one or more accounts that are authorized to execute the smart contract, and wherein the execution order includes a smart contract call to a smart contract that does not have a whitelist arranged after the plurality of transactions; identifying groups of transactions within the plurality of transactions; instructing nodes of the blockchain network to execute each of the groups of transactions in parallel; determining that the nodes of the blockchain network have completed executing all of the groups of transactions; and in response, instructing the nodes of the blockchain network to execute the smart contract call that does not