US 12,008,556 B2
Method and apparatus for executing smart contract
Zhuguang Shao, Beijing (CN)
Assigned to JINGDONG TECHNOLOGY INFORMATION TECHNOLOGY CO., LTD., Beijing (CN)
Appl. No. 17/630,647
Filed by Jingdong Technology Information Technology Co., Ltd., Beijing (CN)
PCT Filed Mar. 3, 2020, PCT No. PCT/CN2020/077569
§ 371(c)(1), (2) Date Jan. 27, 2022,
PCT Pub. No. WO2021/056968, PCT Pub. Date Apr. 1, 2021.
Claims priority of application No. 201910904191.7 (CN), filed on Sep. 24, 2019.
Prior Publication US 2022/0261797 A1, Aug. 18, 2022
Int. Cl. G06Q 20/00 (2012.01); G06Q 20/06 (2012.01); G06Q 20/38 (2012.01); G06Q 20/40 (2012.01); H04L 9/00 (2022.01)
CPC G06Q 20/3825 (2013.01) [G06Q 20/065 (2013.01); G06Q 20/401 (2013.01); H04L 9/50 (2022.05); G06Q 2220/00 (2013.01); H04L 2209/463 (2013.01); H04L 2209/56 (2013.01)] 13 Claims
OG exemplary drawing
 
1. A method for executing a smart contract, wherein the method is performed by a node in a blockchain system and the method comprises:
determining whether the node belongs to a preset permission node of the smart contract;
determining, in response to determining that the node belongs to the preset permission node of the smart contract, whether a preset executing moment for executing the smart contract is reached;
determining, in response to determining that the preset executing moment for executing the smart contract is reached, whether a to-be-executed transaction sent by another node in the blockchain system and used for executing the smart contract has been received;
in response to determining that the to-be-executed transaction submitted by the another node has not been received, generating a to-be-executed transaction corresponding to the node, and sending the generated to-be-executed transaction to the blockchain system;
performing consensus with the another node on the to-be-executed transaction corresponding to the smart contract; and
obtaining and executing the smart contract according to the to-be-executed transaction on which the consensus is performed.