Patent ID: 11868485
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 7:
8. An operation apparatus, comprising:
a software processing circuit;
a hardware processing circuit communicatively coupled to the software processing circuit; and
a storage circuit, wherein the software processing circuit is configured to work by executing a software program, the storage circuit stores secret information, the software processing circuit is configured to:
obtain an operation task from the operation apparatus, wherein the operation task comprises performing one or more operations, and generate, based on the operation task, one or more scheduling instructions corresponding to the operation task, said scheduling instructions comprising instructions for controlling the hardware processing circuit to perform an operation on an operand in a corresponding register, wherein each scheduling instruction comprises an operation type of one operation and a flag bit; and
the hardware processing circuit is configured to:
receive the scheduling instructions on an instruction parsing circuit of the hardware processing circuit, and after receiving the one or more scheduling instructions, determine if the flag bit of the one or more scheduling instructions is a valid value or is an invalid value, and, based on a determination that the flag bit in the scheduling instruction is a valid value, obtain the secret information from the storage circuit,
determine, based on the secret information, data addresses of one or more pieces of operation data required for completing the operation corresponding to the scheduling instruction, and
obtain the one or more pieces of operation data based on the data addresses to complete the operation corresponding to each scheduling instruction, to complete the operation task.