IP Library Granted Patent US 12681551
Granted Patent B2
US 12681551 · App. 18/722,453 · Granted Jul 14, 2026

Method and apparatus for executing computing task, and storage medium and electronic apparatus

Inventor: Zhicheng Qu (Shenzhen, CN)
Assignee: ZTE CORPORATION
G06F1/3228
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12681551
App. No.
18/722,453
Granted
Jul 14, 2026
Kind
B2
Abstract

Provided is a method and apparatus for executing a computing task. The method comprises: a target computing power node claiming a target computing task by querying a smart contract in a distributed ledger network, where the target computing power node is a node which completes computing power registration in the distributed ledger network in advance, and the target computing task is published by a target computing task publisher in the distributed ledger network; the target computing power node executing the target computing task based on task information of the target computing task, so as to obtain a target computing result; and the target computing power node submitting the target computing result to the smart contract, so as to instruct the smart contract to initiate a process of verifying the target computing result and to execute allocation of a computing power token corresponding to a verification result.

Claims (48)

1 . A method for executing a computing task, comprising:

a target computing power node claiming a target computing task by querying a smart contract in a distributed ledger network, wherein the target computing power node is a node which completes computing power registration in the distributed ledger network in advance, and the target computing task is published by a target computing task publisher in the distributed ledger network;

the target computing power node executing the target computing task based on task information of the target computing task, so as to obtain a target computing result; and

the target computing power node submitting the target computing result to the smart contract, so as to instruct the smart contract to initiate a process of verifying the target computing result and to execute allocation of a computing power token corresponding to a verification result.

2 . The method according to claim 1 , wherein after the target computing power node submitting the target computing result to the smart contract, the method further comprises:

the target computing power node acquiring first signature information from the smart contract, wherein the first signature information is information that is generated after the target computing power node verifies and signs the target computing result; and

the target computing power node signing the first signature information, then generating a target computing power transaction, and publishing the target computing power transaction to the distributed ledger network.

3 . The method according to claim 2 , wherein after the target computing power node generating the target computing power transaction, and publishing the target computing power transaction to the distributed ledger network, the method further comprises:

the target computing power node receiving the computing power token provided by the smart contract according to a target rule.

4 . The method according to claim 2 , further comprising:

when publishing the target computing power transaction, the target computing power node referencing a first transaction that is synchronized in the distributed ledger network by the target computing power node.

5 . The method according to claim 1 , wherein before the target computing power node claiming the target computing task by querying the smart contract in the distributed ledger network, the method further comprises:

the target computing power node executing computing power registration in the distributed ledger network.

6 . The method according to claim 5 , wherein, when the computing power registration transaction completes agreement, the target computing power node is allowed to provide computing power to a computing power network; the computing power network comprises the distributed ledger network; nominal computing power of the target computing power node is a ratio of a computing power reference time to a difference value between evaluation completion and issuance time stamps in a registration transaction, the evaluation completion is used for indicating that evaluation of a first node parameter local to the target computing power node is completed, and a correct execution result of the computing power evaluation task is able to be obtained through the first node parameter after the evaluation completion.

7 . The method according to claim 6 , further comprising:

when publishing the computing power registration transaction, the target computing power node referencing a second transaction that is synchronized in the distributed ledger network by the target computing power node.

8 . The method according to claim 7 , further comprising:

the target computing power node updating registered computing power in the distributed ledger network.

9 . The method according to claim 8 , wherein, when the computing power update transaction completes agreement, the target computing power node is allowed to provide updated computing power to a computing power network; the computing power network comprises the distributed ledger network; updated nominal computing power of the target computing power node is a ratio of a computing power reference time to a difference value between evaluation completion and issuance time stamps in an update transaction, the evaluation completion is used for indicating that evaluation of a second node parameter local to the target computing power node is completed, and a correct execution result of the update computing power evaluation task is able to be obtained through the second node parameter after the evaluation completion.

10 . The method according to claim 8 , further comprising:

when publishing the computing power update transaction, the target computing power node referencing a third transaction that is synchronized in the distributed ledger network by the target computing power node.

11 . A non-transitory computer-readable storage medium, a computer program is stored therein, wherein, the computer program is configured to, when executed by a processor, implement steps of the method as claimed in claim 1 .

12 . An electronic apparatus, comprising a memory, a processor, and a computer program that is stored in the memory and executable on the processor, wherein the processor is configured to execute the computer program to implement steps of the method as claimed in claim 1 .

13 . A method for executing a computing task, comprising:

a smart contract in a distributed ledger network receiving a computing result that is submitted by a target computing power node after execution of a target computing task is completed, wherein the target computing power node is a node which completes computing power registration in the distributed ledger network in advance, the target computing task is a task that is published by a target computing task publisher in the distributed ledger network by calling the smart contract, the target computing power node claims and executes the target computing task by querying the smart contract;

the smart contract initiating a process of verifying the computing result, so as to obtain a verification result; and

the smart contract executing allocation of a computing power token corresponding to the verification result.

14 . The method according to claim 13 , wherein the smart contract initiating the process of verifying the computing result, so as to obtain the verification result comprises:

the smart contract saving the computing result in the form of privacy data; and

the smart contract informing the task publisher to verify the computing result saved in the smart contract, so as to obtain the verification result.

15 . The method according to claim 14 , wherein the smart contract informing the task publisher to verify the computing result saved in the smart contract comprises:

the smart contract informing the task publisher to execute the following operation to verify the computing result:

submitting, by the task publisher, a first smart contract for executing a verification operation, and operating the first smart contract in a smart contract operating environment in which the smart contract is located, so as to use the first smart contract to verify the computing result.

16 . The method according to claim 13 , wherein before the smart contract receiving the computing result that is submitted by the target computing power node after execution of the target computing task is completed, the method further comprises at least one of the following:

when the target computing task publisher publishes the target computing task, the smart contract freezing, in advance, a computing power token of the target computing task publisher that matches the target computing task; or

when the target computing power node claims the target computing task, the smart contract freezing, in advance, a computing power token of the target computing power node that is claimed for payment of a timeout penalty of the target computing task.

17 . The method according to claim 13 , further comprising:

the smart contract determining that the target computing power node claims the target computing task, and then locking identification information of the target computing power node and the target computing task, wherein the target computing power node during locking is not allowed to claim other computing tasks;

or, wherein the smart contract executing allocation of the computing power token corresponding to the verification result comprises:

when the verification result is used for indicating that the computing result is correct, the smart contract paying, to the target computing power node, a computing power token that is claimed by a remuneration for completing the target computing task; and

when the verification result is used for indicating that the computing result is incorrect, the smart contract deducting the computing power token of the target computing power node that is claimed for payment of the timeout penalty of the target computing task;

or, wherein after the smart contract initiating the process of verifying the computing result, the method further comprises:

when not receiving the verification result, the smart contract paying, to the target computing power node, a computing power token corresponding to computing power that is consumed by the target computing power node to execute the target computing task from the computing power tokens of the target computing task publisher; and

when determining that the target computing task publisher does not receive the computing result, the smart contract deducting the computing power token of the target computing power node that is claimed for payment of the timeout penalty of the target computing task.

18 . An apparatus for executing a computing task, applied to a target computing power node and comprising:

a claiming module, configured to claim a target computing task by querying a smart contract in a distributed ledger network, wherein the target computing power node is a node which completes computing power registration in the distributed ledger network in advance, and the target computing task is published by a target computing task publisher in the distributed ledger network;

an acquisition module, configured to execute the target computing task based on task information of the target computing task, so as to obtain a target computing result; and

a submission module, configured to submit the target computing result to the smart contract, so as to instruct the smart contract to initiate a process of verifying the target computing result and to execute allocation of a computing power token corresponding to a verification result.