Smart contracts, (blockchains, distributed ledgers) and rights management broadly construed are the themes of today's Spotlight Patents. This week's Spotlight Patents are all assigned to Alipay (CN), and all address aspects of smart contacts and blockchains. The first Alipay patent addresses techniques for starting a smart contract, electronic device, and storage medium. The second patent addresses techniques for blockchain nodes and storage media for executing smart contracts. The third patent addresses blockchain nodes and storage media for deploying smart contracts.
11514446, “Method and apparatus for starting smart contract, electronic device, and storage medium,” assigned to Alipay (CN).
Abstract
One or more implementations of the present specification provide a method and apparatus for starting a smart contract, an electronic device, and a storage medium. The method is applied in a blockchain node, and can include: running a timing start logic defined in a chain code, the timing start logic configured to determine a start moment of a target smart contract, and start the target smart contract when a current moment reaches the start moment.
11513827, “Blockchain nodes and storage media for executing smart contracts,” assigned to Alipay (CN)Abstract
A computer-implemented method, non-transitory, computer-readable medium, and computer-implemented system are provided for executing a smart contract in a blockchain network. The computer-implemented method includes, in response to determining that a smart contract is deployed on a blockchain node in a blockchain network comprising a plurality of blockchain nodes, starting, by the blockchain node, to turn a bytecode of the smart contract into a machine code of the smart contract through Just-In-Time (JIT) compilation; storing, by the blockchain node, the machine code of the smart contract locally; performing a determination of whether the machine code of the smart contract is stored locally by the blockchain node and a number of blockchain nodes storing the machine code of the smart contract in the blockchain network is not less than a predetermined number; and executing, by the blockchain node, the smart contract based on the determination.
11513780, “Methods, blockchain nodes and storage media for deploying smart contract,” assigned to Alipay (CN).
Abstract
A computer-implemented method, non-transitory, computer-readable medium, and computer-implemented system are provided for deploying a smart contract in a blockchain network. The computer-implemented method includes: receiving, by a blockchain node in a blockchain network, a transaction for creating a smart contract, wherein the transaction comprises a machine code of the smart contract, and the machine code of the smart contract is obtained by Ahead of Time (AoT) compilation of a bytecode of the smart contract in a first trusted execution environment (TEE); determining, by the blockchain node, that the machine code of the smart contract is obtained in a trusted TEE; and in response to determining that the machine code of the smart contract is obtained by the trusted TEE, completing, by the blockchain node, a deployment of the smart contract.