# US 2025/0159613 A1 · Terminal control method and apparatus, communication 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 2025/0159613 A1
- Document ID: US20250159613A1
- Status: Published application
- Kind: A1
- Application number: 18/834,004
- Filed: 2022-06-24
- Published: 2025-05-15
- Earliest claimed: 2022-06-24
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Zhongbo WANG; Shuai LIANG
- Web page: https://patentgrep.com/patent/US20250159613A1

## CPC

- H04W 52/0261: {managing power supply demand, e.g. depending on battery level}
- G06F 13/00: Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units (interface circuits for specific input/output devices G06F3/00 {; multiprogram control therefor G06F9/46}; multiprocessor systems G06F15/16 )
- H02J 50/40: using two or more transmitting or receiving devices (H02J50/50 takes precedence)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H02J: ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY

## Abstract

A terminal control method includes: obtaining multiple terminal functions supported by a target driver module in a terminal; determining, in response to detection of an operational command indicating at least two terminal functions, a priority relationship of the at least two terminal functions; and executing, based on the priority relationship, one terminal function out of the at least two terminal functions through the target driver module.

## Claims

### Claim 1

A terminal control method, comprising:
obtaining multiple terminal functions supported by a target driver module in a terminal;
determining, in response to detection of an operational command indicating at least two terminal functions, a priority relationship of the at least two terminal functions; and
executing, based on the priority relationship, one terminal function out of the at least two terminal functions through the target driver module.

### Claim 2 (depends on 1)

The method according to claim 1, wherein determining, in response to the detection of the operational command indicating the at least two terminal functions, the priority relationship of the at least two terminal functions, comprises:
determining, in response to the detection of the operational command indicating the at least two terminal functions when the target driver module is in an idle state, the priority relationship of the at least two terminal functions.

### Claim 3 (depends on 2)

The method according to claim 2, wherein determining, in response to the detection of the operational command indicating the at least two terminal functions when the target driver module is in the idle state, the priority relationship of the at least two terminal functions, comprises:
executing, in response to detection of a first operational command indicating a first terminal function when the target driver module is in the idle state, the first terminal function through the target driver module; and
determining, in response to detection of a second operational command indicating a second terminal function during execution of the first terminal function, the priority relationship of the first terminal function and the second terminal function.

### Claim 4 (depends on 3)

The method according to claim 3, wherein executing, based on the priority relationship, one terminal function out of the at least two terminal functions through the target driver module, comprises:
continuing, in response to a first priority of the first terminal function being higher than a second priority of the second terminal function, the execution of the first terminal function through the target driver module; or
stopping, in response to the second priority of the second terminal function being higher than the first priority of the first terminal function, the execution of the first terminal function, and executing the second terminal function through the target driver module.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
restoring, in response to execution of the second terminal function being completed, the execution of the first terminal function through the target driver module.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
obtaining an alternative execution mode corresponding to a terminal function that is not executed by the target driver module out of the at least two terminal functions; and
executing, based on the alternative execution mode, the terminal function that is not executed by the target driver module.

### Claim 7 (depends on 1)

The method according to claim 1, wherein determining the priority relationship of the at least two terminal functions, comprises one of:
obtaining the priority relationship of the at least two terminal functions preset in the terminal; or
determining the priority relationship of the at least two terminal functions based on historical execution records of the at least two terminal functions.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the terminal function comprises at least one of a wireless charging function, a motor driving function, or an On-The-Go (OTG) function for data exchange.

### Claim 9 (depends on 1)

The method according to claim 1, wherein executing one terminal function out of the at least two terminal functions through the target driver module, comprises:
outputting prompt information indicating execution of a target terminal function out of the at least two terminal functions; and
executing, in response to detection of a preset operation corresponding to the prompt information, the target terminal function through the target driver module.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the terminal function comprises a wireless charging function, a motor driving function, and an On-The-Go (OTG) function; and
when the target driver module is currently executing the wireless charging function, executing, based on the priority relationship, one terminal function out of the at least two terminal functions through the target driver module, comprises one of:
continuing execution of the wireless charging function, or
stopping the execution of the wireless charging function and executing the motor driving function or the OTG function through the target driver module.

### Claim at position 11

-19. (canceled)

### Claim 20

A communication device, comprising:
a processor; and
a memory storing a program executable by the processor,
wherein the processor is configured to:
obtain multiple terminal functions supported by a target driver module in a terminal;
determine, in response to detection of an operational command indicating at least two terminal functions, a priority relationship of the at least two terminal functions; and
execute, based on the priority relationship, one terminal function out of the at least two terminal functions through the target driver module.

### Claim 21

A non-transitory computer-readable storage medium having a program stored thereon, wherein when the program is executed by a processor, the processor is caused to perform a terminal control method comprising:
obtaining multiple terminal functions supported by a target driver module in a terminal;
determining, in response to detection of an operational command indicating at least two terminal functions, a priority relationship of the at least two terminal functions; and
executing, based on the priority relationship, one terminal function out of the at least two terminal functions through the target driver module.

### Claim 22 (depends on 3)

The method according to claim 3, wherein determining, in response to the detection of the second operational command indicating the second terminal function during the execution of the first terminal function, the priority relationship of the first terminal function and the second terminal function, comprises:
determining, in response to the detection of the second operational command indicating the second terminal function during the execution of the first terminal function, a remaining duration for completing the execution of the first terminal function execution; and
determining, in response to the remaining duration being greater than a preset threshold, the priority relationship of the first terminal function and the second terminal function.

### Claim 23 (depends on 22)

The method according to claim 22, further comprising:
executing, in response to the remaining duration being lower than or equal to the preset threshold, the second terminal function through the target driver module after the execution of the first terminal function is completed or after the remaining duration.

### Claim 24 (depends on 4)

The method according to claim 4, wherein executing the second terminal function through the target driver module, comprises:
determining a driving parameter corresponding to execution of the second terminal function; and
executing the second terminal function through the target driver module based on the driving parameter.

### Claim 25 (depends on 24)

The method according to claim 24, wherein the driving parameter comprises at least one of a voltage parameter, a current parameter, or a power parameter.

### Claim 26 (depends on 5)

The method according to claim 5, wherein restoring, in response to the execution of the second terminal function being completed, the execution of the first terminal function through the target driver module, comprises:
determining, in response to the execution of the second terminal function being completed, whether the first terminal function meets an execution condition; and
restoring, in response to the first terminal function meeting the execution condition, the execution of the first terminal function through the target driver module.

### Claim 27 (depends on 26)

The method according to claim 26, wherein restoring the execution of the first terminal function through the target driver module, comprises:
determining a driving parameter corresponding to the execution of the first terminal function; and
restoring the execution of the first terminal function through the target driver module based on the driving parameter.

### Claim 28 (depends on 1)

The method according to claim 1, wherein the terminal function comprises a wireless charging function, a motor driving function, and an On-The-Go (OTG) function; and
when the target driver module is currently executing the OTG function, executing, based on the priority relationship, one terminal function out of the at least two terminal functions through the target driver module, comprises one of:
continuing execution of the OTG function, or
stopping the execution of the OTG function and executing the wireless charging function or the motor driving function through the target driver module.

### Claim 29 (depends on 1)

The method according to claim 1, wherein the terminal function comprises a wireless charging function, a motor driving function, and an On-The-Go (OTG) function; and
when the target driver module is currently executing the motor driving function, executing, based on the priority relationship, one terminal function out of the at least two terminal functions through the target driver module, comprises one of:
continuing execution of the motor driving function, or
stopping the execution of the motor driving function and executing the wireless charging function or the OTG function through the target driver module.
