A sensor processing method and device based on a mobile terminal

A mobile terminal and processing method technology, applied in power management, advanced technology, electrical components, etc., can solve the problems of power consumption of sensor equipment, sensors not released, and the system cannot sleep, so as to increase standby power consumption and reduce power consumption. , the effect of improving battery life

Active Publication Date: 2017-09-01
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the object of the present invention is to provide a sensor processing method and device based on a mobile terminal, which aims to solve the problem in the prior art that the sensor is still held and not released during the standby period, resulting in the inability of the system to sleep and continuous power consumption of sensor equipment. , which significantly increases the standby power consumption of the smart terminal, which is not conducive to improving the battery life of the smart terminal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A sensor processing method and device based on a mobile terminal
  • A sensor processing method and device based on a mobile terminal
  • A sensor processing method and device based on a mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] see figure 1 , shows the sensor processing method based on the mobile terminal provided by the embodiment of the present invention.

[0057] The sensor processing method based on the mobile terminal is applied in the mobile terminal, and specifically includes the following steps:

[0058] In step S101, detect whether the mobile terminal is currently in a standby state;

[0059] Wherein, the implementation scheme of detecting whether the mobile terminal is currently in the standby state can be: detecting whether the screen of the mobile terminal is in the off-screen state, and if so, it can be determined that the mobile terminal is currently in the standby state; if the screen of the mobile terminal is detected to be on state, it can be determined that the mobile terminal is currently in a non-standby state.

[0060] However, it is also possible to determine whether the mobile terminal is currently in the standby state in the following manner: for example, detect wheth...

Embodiment 2

[0088] see figure 2 , shows the implementation flow of the release sensor connection provided by the embodiment of the present invention.

[0089] The implementation process of the release sensor connection is applied to the mobile terminal, and specifically includes the following steps:

[0090] In step S201, the mobile phone automatically detects whether the screen is off;

[0091] In step S202, if it is detected that the screen of the mobile phone is turned off, it is further judged whether the power consumption management function is enabled;

[0092] In step S203, if it is judged that the power consumption management function is turned on, then traverse the current active connection interface queue of the mActiveConnections sensor;

[0093] In step S204, it is judged whether the application program corresponding to the connection interface in the queue meets the filter condition; wherein, the filter condition is: when the mobile terminal is in the standby state, the ap...

Embodiment 3

[0102] see image 3 , shows the implementation process of restoring the sensor connection provided by the embodiment of the present invention.

[0103] The implementation process of restoring the sensor connection is applied to the mobile terminal, and specifically includes the following steps:

[0104] In step S301, the mobile phone automatically detects whether the screen is on;

[0105] In step S302, if it is detected that the screen of the mobile phone is on, traverse the queue mSavedConnections to be restored;

[0106] In step S303, obtain the setting parameter information of the sensor from the parameter queue mSavedParams to be restored;

[0107] In step S304, call the enable method to restore the corresponding sensor connection, and re-add the connection interface to the current active connection interface queue of mActiveConnections;

[0108] In step S305, it is judged whether all the connection interfaces in the mSavedConnections to-be-restored connection queue ha...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Provided is a sensor processing method, comprising the following steps: detecting whether a mobile terminal is currently in a standby state; if yes, traversing a sensor current active connection interface queue; determining whether an application program corresponding to a connection interface in the current active connection interface queue meets a condition; if no, moving the connection interface out of the current active connection interface queue. Also provided are a sensor processing apparatus, a storage medium, and an electronic device.

Description

technical field [0001] The present invention relates to the technical field of power consumption processing, in particular to a sensor processing method and device based on a mobile terminal. Background technique [0002] At present, the intelligent system is already the operating system platform of the intelligent terminal with the largest user group. The intelligent terminal is the most commonly used and most important electronic device for many users. Various sensor devices in the intelligent terminal provide hardware for the application of diversified functions. Base. However, non-standard sensor usage methods, such as holding the sensor and not releasing it during the standby period, will cause the system to fail to sleep, and the sensor device will continue to consume power, which will significantly increase the standby power consumption of the smart terminal. In the existing smart terminal power consumption optimization scheme, there is a lack of a method for limitin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04W52/02
CPCH04W52/028H04W52/02Y02D30/70
Inventor 张俊王彬
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products