# US 10,955,904 B2 · Method, apparatus and storage medium for processing application of mobile terminal and electronic device

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

- Number: US 10,955,904 B2
- Document ID: US10955904B2
- Status: Granted
- Kind: B2
- Application number: 16/078,506
- Filed: 2017-05-29
- Published: 2019-04-18
- Granted: 2021-03-23
- Earliest claimed: 2016-05-31
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Jun Zhang; Bin Wang
- Web page: https://patentgrep.com/patent/US10955904B2

## CPC

- G06F 1/3287: by switching off individual functional units in the computer system
- G06F 1/28: Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
- G06F 1/32: Means for saving power
- G06F 9/4418: {Suspend and resume; Hibernate and awake}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method, an apparatus, a storage medium and an electronic device for processing an application of a mobile terminal are provided. The method includes the following acts. It is detected whether the mobile terminal is currently in standby state. All available sensor connection interfaces are traversed in responding to detecting that the mobile terminal is currently in standby state. It is determined whether an application corresponding to each of the available sensor connection interfaces is in accordance with a filtering condition. The application is exited in responding to determining that the application corresponding to each of the available sensor connection interfaces is not in accordance with the filtering condition, and the application is restrained from holding a corresponding sensor connection.

## Claims

### Claim 1

A method for processing an application of a mobile terminal, comprising:
detecting whether the mobile terminal is currently in standby state;
traversing all available sensor connection interfaces in responding to detecting that the mobile terminal is currently in standby state;
determining whether an application corresponding to each of the available sensor connection interfaces is in accordance with a filtering condition;
exiting the application in responding to determining that the application corresponding to each of the available sensor connection interfaces is not in accordance with the filtering condition, and restraining the application from holding a corresponding sensor connection.

### Claim 2 (depends on 1)

The method according to claim 1, wherein, detecting whether the mobile terminal is currently in standby state, comprising:
detecting whether one or more operation instructions on one or more physical buttons and a touch screen are received within a preset time period;
determining that the mobile terminal is currently in standby state in responding to detecting that the one or more operation instructions on the one or more physical buttons and the touch screen are not received within the preset time period; and
determining that the mobile terminal is currently in non-standby state in responding to detecting that the one or more operation instructions on the one or more physical buttons and the touch screen are received within the preset time period.

### Claim 3 (depends on 1)

The method according to claim 1, wherein, detecting whether mobile terminal is currently in standby state, comprising:
detecting whether a screen of the mobile terminal is in screen-off state;
determining that the mobile terminal is currently in standby state in responding to detecting that the screen of the mobile terminal is in screen-off state;
determining that the mobile terminal is currently in non-standby state in responding to detecting that the screen of the mobile terminal is in screen-on state.

### Claim 4 (depends on 1)

The method according to claim 1, after traversing all available sensor connection interfaces, further comprising:
obtaining the application corresponding to each of the available sensor connection interfaces and the sensor connection held by the application.

### Claim 5 (depends on 1)

The method according to claim 1, wherein, the method for processing the application of the mobile terminal further comprises:
holding the application to be turned on in responding to determining that the application corresponding to each of the available sensor connection interfaces is in accordance with the filtering condition, and permitting the application to hold the corresponding sensor connection.

### Claim 6 (depends on 1)

The method according to claim 1, before detecting whether the mobile terminal is currently in standby state, further comprising:
distributing a sensor connection interface to the application when the application needs to use a sensor, wherein the application is able to invoke the sensor to work based on the sensor connection interface.

### Claim 7 (depends on 1)

The method according to claim 1, after detecting whether the mobile terminal is currently in standby state, further comprising:
determining whether a power management function is turned on in responding to detecting that the mobile terminal is currently in standby state;
executing the step of traversing all available sensor connection interfaces in responding to determining that the power management function is turned on.

### Claim 8

A non-transitory computer-readable storage medium, wherein, the storage medium has stored a plurality of instructions, and the instructions are configured to be loaded by a processor to execute the following acts:
detecting whether a mobile terminal is currently in standby state;
traversing all available sensor connection interfaces in responding to detecting that the mobile terminal is currently in standby state;
determining whether an application corresponding to each of the available sensor connection interfaces is in accordance with a filtering condition;
exiting the application in responding to determining that the application corresponding to each of the available sensor connection interfaces is not in accordance with the filtering condition, and restraining the application from holding a corresponding sensor connection.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium according to claim 8, wherein the instructions are further configured to be loaded by a processor to execute the following acts:
after traversing all available sensor connection interfaces, obtaining the application corresponding to each of the available sensor connection interfaces and the sensor connection held by the application.

### Claim 10 (depends on 8)

The non-transitory computer-readable storage medium according to claim 8, wherein the instructions are further configured to be loaded by a processor to execute the following acts:
holding the application to be turned on in responding to determining that the application corresponding to each of the available sensor connection interfaces is in accordance with the filtering condition, and permitting the application to hold the corresponding sensor connection.

### Claim 11 (depends on 8)

The non-transitory computer-readable storage medium according to claim 8, wherein the instructions are further configured to be loaded by a processor to execute the following acts:
before detecting whether the electronic device is currently in standby state, distributing a sensor connection interface to the application when the application needs to use a sensor, wherein the application is able to invoke the sensor to work based on the sensor connection interface.

### Claim 12 (depends on 8)

The non-transitory computer-readable storage medium according to claim 8, wherein the instructions are further configured to be loaded by a processor to execute the following acts:
after detecting whether the electronic device is currently in standby state, determining whether a power management function is turned on in responding to detecting that the electronic device is currently in standby state;
executing the act of traversing all available sensor connection interfaces in responding to determining that the power management function is turned on.

### Claim 13 (depends on 8)

The non-transitory computer-readable storage medium according to claim 8, wherein the instructions are configured to be loaded by a processor to detect whether the mobile terminal is currently in standby state by following acts of:
detecting whether one or more operation instructions on one or more physical buttons and a touch screen are received within a preset time period;
determining that the mobile terminal is currently in standby state in responding to detecting that the one or more operation instructions on the one or more physical buttons and the touch screen are not received within the preset time period; and
determining that the mobile terminal is currently in non-standby state in responding to detecting that the one or more operation instructions on the one or more physical buttons and the touch screen are received within the preset time period,
or
detecting whether a screen of the mobile terminal is in screen-off state;
determining that the mobile terminal is currently in standby state in responding to detecting that the screen of the mobile terminal is in screen-off state;
determining that the mobile terminal is currently in non-standby state in responding to detecting that the screen of the mobile terminal is in screen-on state.

### Claim 14

An electronic device, comprising a processor and a memory, wherein the memory has stored a plurality of instructions, the processor is configured to load the instructions of the memory to execute the following acts of:
detecting whether the electronic device is currently in standby state;
traversing all available sensor connection interfaces in responding to detecting that the electronic device is currently in standby state;
determining whether an application corresponding to each of the available sensor connection interfaces is in accordance with a filtering condition;
exiting the application in responding to determining that the application corresponding to each of the available sensor connection interfaces is not in accordance with the filtering condition, and restraining the application from holding a corresponding sensor connection.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein, the processor is further configured to execute the following acts of:
after traversing all available sensor connection interfaces, obtaining the application corresponding to each of the available sensor connection interfaces and the sensor connection held by the application.

### Claim 16 (depends on 14)

The electronic device according to claim 14, wherein, the processor is further configured to execute the following acts of:
holding the application to be turned on in responding to determining that the application corresponding to each of the available sensor connection interfaces is in accordance with the filtering condition, and permitting the application to hold the corresponding sensor connection.

### Claim 17 (depends on 14)

The electronic device according to claim 14, wherein, the processor is further configured to execute the following acts of:
before detecting whether the electronic device is currently in standby state, distributing a sensor connection interface to the application when the application needs to use a sensor, wherein the application is able to invoke the sensor to work based on the sensor connection interface.

### Claim 18 (depends on 14)

The electronic device according to claim 14, wherein, the processor is further configured to execute the following acts of:
after detecting whether the electronic device is currently in standby state, determining whether a power management function is turned on in responding to detecting that the electronic device is currently in standby state;
executing the act of traversing all available sensor connection interfaces in responding to determining that the power management function is turned on.

### Claim 19 (depends on 14)

The electronic device according to claim 14, wherein, the processor is configured to detect whether the mobile terminal is currently in standby state by following acts of:
detecting whether one or more operation instructions on one or more physical buttons and a touch screen are received within a preset time period;
determining that the mobile terminal is currently in standby state in responding to detecting that the one or more operation instructions on the one or more physical buttons and the touch screen are not received within the preset time period; and
determining that the mobile terminal is currently in non-standby state in responding to detecting that the one or more operation instructions on the one or more physical buttons and the touch screen are received within the preset time period.

### Claim 20 (depends on 14)

The electronic device according to claim 14, wherein, the processor is configured to detect whether the mobile terminal is currently in standby state by following acts of:
detecting whether a screen of the mobile terminal is in screen-off state;
determining that the mobile terminal is currently in standby state in responding to detecting that the screen of the mobile terminal is in screen-off state;
determining that the mobile terminal is currently in non-standby state in responding to detecting that the screen of the mobile terminal is in screen-on state.
