# US 2026/0064423 A1 · Instruction execution method, electronic device, and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0064423 A1
- Document ID: US20260064423A1
- Status: Published application
- Kind: A1
- Application number: 19/315,815
- Filed: 2025-09-01
- Published: 2026-03-05
- Earliest claimed: 2023-06-30
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Shufan DENG; Zhiqiang DONG; Bin LI
- Web page: https://patentgrep.com/patent/US20260064423A1

## CPC

- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/30: Arrangements for executing machine instructions, e.g. instruction decode (for executing microinstructions G06F9/22)
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

An instruction execution method includes: receiving demand information of a target object; executing at least one round of target operation until a candidate execution instruction passing executability verification is obtained; in a first round of target operation, invoking the language model to perform instruction recognition on the demand information, and performing executability verification to determine whether the candidate execution instruction of the first round passes executability verification; in an ith round of target operation, invoking the language model to perform the instruction recognition according to a candidate execution instruction of an (i−1)th round of target operation and a guidance prompt information, followed by executability verification on the candidate execution instruction of the ith round of target operation; and using the candidate execution instruction passing executability verification as a target execution instruction, and controlling a terminal to execute an operation task corresponding to the demand information.

## Claims

### Claim 1

An instruction execution method based on a language model, performed by a computer device and comprising:
receiving demand information of a target object;
executing at least one round of target operation until a candidate execution instruction passing executability verification is obtained; in a first round of target operation, invoking the language model to perform instruction recognition on the demand information according to preset guidance prompt information, to obtain a candidate execution instruction of the first round of target operation, and performing the executability verification on the candidate execution instruction of the first round of target operation to determine whether the candidate execution instruction of the first round of target operation passes the executability verification; in an ith round of target operation, invoking the language model to perform the instruction recognition on the demand information according to a candidate execution instruction of an (i−1)th round of target operation and the guidance prompt information, to obtain a candidate execution instruction of the ith round of target operation, and performing the executability verification on the candidate execution instruction of the ith round of target operation to determine whether the candidate execution instruction of the ith round of target operation passes the executability verification, i being an integer greater than 1; and
using the candidate execution instruction passing the executability verification as a target execution instruction, and controlling, according to the target execution instruction, a terminal to execute an operation task corresponding to the demand information.

### Claim 2 (depends on 1)

The method according to claim 1, wherein an operation of the executability verification comprises:
replacing an instruction functional function in the candidate execution instruction with a target empty function, to obtain a first execution instruction for verification;
invoking an instruction execution engine to perform simulative execution on the first execution instruction for verification, to obtain a simulative execution result; and
determining, according to the simulative execution result, whether the candidate execution instruction passes the executability verification.

### Claim 3 (depends on 2)

The method according to claim 2, wherein determining, according to the simulative execution result, whether the candidate execution instruction passes the executability verification comprises:
determining that the candidate execution instruction passes the executability verification when the simulative execution result indicates a successful execution of the first execution instruction; or
determining that the candidate execution instruction fails to pass the executability verification when the simulative execution result indicates an unsuccessful execution of the first execution instruction.

### Claim 4 (depends on 3)

The method according to claim 3, wherein controlling, according to the target execution instruction, the terminal to execute the operation task corresponding to the demand information comprises:
obtaining an instruction execution code according to the target execution instruction; and
running the instruction execution code in a virtual environment and controlling the terminal to execute the operation task corresponding to the demand information.

### Claim 5 (depends on 4)

The method according to claim 4, wherein running the instruction execution code in the virtual environment and controlling the terminal to execute the operation task corresponding to the demand information comprises:
running an instruction execution process in the virtual environment; and
invoking the instruction execution process to run the instruction execution code, and controlling the terminal to execute the operation task corresponding to the demand information.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the terminal comprises a display module, and the display module is configured to display an operation cursor; and
controlling the terminal to execute the operation task corresponding to the demand information comprises:
obtaining initial coordinates of the operation cursor;
determining target coordinates, the target coordinates being coordinates for executing the operation task corresponding to the demand information;
controlling the operation cursor to move from the initial coordinates to the target coordinates; and
controlling, at the target coordinates, the terminal to execute the operation task corresponding to the demand information.

### Claim 7 (depends on 6)

The method according to claim 6, wherein obtaining the initial coordinates of the operation cursor comprises:
invoking an application programming interface to obtain screen resolution of the display module; and
obtaining the initial coordinates of the operation cursor according to the screen resolution.

### Claim 8 (depends on 4)

The method according to claim 4, further comprising:
creating an execution record table comprising the target execution instruction and the instruction execution code, the execution record table further comprising an execution status entry and an execution result entry; and
updating, after controlling the terminal to complete the operation task corresponding to the demand information, content of the execution status entry in the execution record table to “Completed”, and writing an execution result into the execution result entry.

### Claim 9 (depends on 1)

The method according to claim 1, wherein invoking the language model to perform instruction recognition on the demand information according to the preset guidance prompt information, to obtain the candidate execution instruction of the first round of target operation comprises:
generating model-invoking request information according to the demand information and the guidance prompt information; and
transmitting the model-invoking request information to an invoking interface of the language model, and invoking the language model to perform the instruction recognition on the demand information according to the guidance prompt information, to obtain the candidate execution instruction.

### Claim 10 (depends on 1)

The method according to claim 1, wherein receiving the demand information of the target object comprises:
receiving voice information inputted by the target object;
invoking a pre-trained voice recognition model to perform voice recognition on the voice information, to obtain text information; and
performing at least one processing of adding punctuations, correcting spelling errors, or correcting word order errors for the text information, to obtain the demand information.

### Claim 11 (depends on 10)

The method according to claim 10, wherein invoking the pre-trained voice recognition model to perform the voice recognition on the voice information, to obtain the text information comprises:
performing at least one processing of noise removal and voice segmentation on the voice information, to obtain preprocessed voice information;
invoking a voice feature extraction model to perform voice feature extraction on the preprocessed voice information, to obtain voice feature information; and
invoking the pre-trained voice recognition model to perform the voice recognition on the voice feature information, to obtain the text information.

### Claim 12

A computer device, comprising:
one or more processors; and
at least one memory, configured to store at least one program that, when being executed causes the one or more processors to perform:
receiving demand information of a target object;
executing at least one round of target operation until a candidate execution instruction passing executability verification is obtained; in a first round of target operation, invoking the language model to perform instruction recognition on the demand information according to preset guidance prompt information, to obtain a candidate execution instruction of the first round of target operation, and performing the executability verification on the candidate execution instruction of the first round of target operation to determine whether the candidate execution instruction of the first round of target operation passes the executability verification; in an ith round of target operation, invoking the language model to perform the instruction recognition on the demand information according to a candidate execution instruction of an (i−1)th round of target operation and the guidance prompt information, to obtain a candidate execution instruction of the ith round of target operation, and performing the executability verification on the candidate execution instruction of the ith round of target operation to determine whether the candidate execution instruction of the ith round of target operation passes the executability verification, i being an integer greater than 1; and
using the candidate execution instruction passing the executability verification as a target execution instruction, and controlling, according to the target execution instruction, a terminal to execute an operation task corresponding to the demand information.

### Claim 13 (depends on 12)

The device according to claim 12, wherein the one or more processors are further configured to perform an operation of the executability verification comprising:
replacing an instruction functional function in the candidate execution instruction with a target empty function, to obtain a first execution instruction for verification;
invoking an instruction execution engine to perform simulative execution on the first execution instruction for verification, to obtain a simulative execution result; and
determining, according to the simulative execution result, whether the candidate execution instruction passes the executability verification.

### Claim 14 (depends on 13)

The device according to claim 13, wherein the one or more processors are further configured to perform:
determining that the candidate execution instruction passes the executability verification when the simulative execution result indicates a successful execution of the first execution instruction; or
determining that the candidate execution instruction fails to pass the executability verification when the simulative execution result indicates an unsuccessful execution of the first execution instruction.

### Claim 15 (depends on 14)

The device according to claim 14, wherein the one or more processors are further configured to perform:
obtaining an instruction execution code according to the target execution instruction; and
running the instruction execution code in a virtual environment and controlling the terminal to execute the operation task corresponding to the demand information.

### Claim 16 (depends on 15)

The device according to claim 15, wherein the one or more processors are further configured to perform:
running an instruction execution process in the virtual environment; and
invoking the instruction execution process to run the instruction execution code, and controlling the terminal to execute the operation task corresponding to the demand information.

### Claim 17 (depends on 15)

The device according to claim 15, wherein the terminal comprises a display module, and the display module is configured to display an operation cursor; and
the one or more processors are further configured to perform:
obtaining initial coordinates of the operation cursor;
determining target coordinates, the target coordinates being coordinates for executing the operation task corresponding to the demand information;
controlling the operation cursor to move from the initial coordinates to the target coordinates; and
controlling, at the target coordinates, the terminal to execute the operation task corresponding to the demand information.

### Claim 18 (depends on 17)

The device according to claim 17, wherein the one or more processors are further configured to perform:
invoking an application programming interface to obtain screen resolution of the display module; and
obtaining the initial coordinates of the operation cursor according to the screen resolution.

### Claim 19 (depends on 15)

The device according to claim 15, wherein the one or more processors are further configured to perform:
creating an execution record table comprising the target execution instruction and the instruction execution code, the execution record table further comprising an execution status entry and an execution result entry; and
updating, after controlling the terminal to complete the operation task corresponding to the demand information, content of the execution status entry in the execution record table to “Completed”, and writing an execution result into the execution result entry.

### Claim 20

A non-transitory computer-readable storage medium containing a computer program that, when being executed causes at least one processor to perform:
receiving demand information of a target object;
executing at least one round of target operation until a candidate execution instruction passing executability verification is obtained; in a first round of target operation, invoking the language model to perform instruction recognition on the demand information according to preset guidance prompt information, to obtain a candidate execution instruction of the first round of target operation, and performing the executability verification on the candidate execution instruction of the first round of target operation to determine whether the candidate execution instruction of the first round of target operation passes the executability verification; in an ith round of target operation, invoking the language model to perform the instruction recognition on the demand information according to a candidate execution instruction of an (i−1)th round of target operation and the guidance prompt information, to obtain a candidate execution instruction of the ith round of target operation, and performing the executability verification on the candidate execution instruction of the ith round of target operation to determine whether the candidate execution instruction of the ith round of target operation passes the executability verification, i being an integer greater than 1; and
using the candidate execution instruction passing the executability verification as a target execution instruction, and controlling, according to the target execution instruction, a terminal to execute an operation task corresponding to the demand information.
