CN109195210A - A kind of electricity saving method, mobile terminal and computer readable storage medium - Google Patents
A kind of electricity saving method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109195210A CN109195210A CN201810989154.6A CN201810989154A CN109195210A CN 109195210 A CN109195210 A CN 109195210A CN 201810989154 A CN201810989154 A CN 201810989154A CN 109195210 A CN109195210 A CN 109195210A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- sensor
- screen
- interest
- trigger condition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/22—Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- 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
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of electricity saving methods, which comprises whether the screen for detecting the mobile terminal is in OFF state;If the screen of the mobile terminal is in OFF state, whether the trigger condition for judging that the screen of the mobile terminal extinguishes is preset trigger condition;If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, detect whether the mobile terminal receives calling application to sensor of interest;If the mobile terminal receives the calling application to sensor of interest, refuse the calling application to the sensor of interest.In addition, invention additionally discloses a kind of mobile terminal and computer readable storage mediums.In this way, electricity saving method provided by the invention can stop effectively reducing the power consumption of mobile terminal to the calling of sensor of interest, promoting the cruising ability of mobile terminal in the case where user actively or consciously allows the screen of the mobile terminal to extinguish.
Description
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of electricity saving methods, mobile terminal and computer-readable
Storage medium.
Background technique
With the continuous development of electronic technology, the function of mobile terminal (such as smart phone, tablet computer etc.) is increasingly
Powerful, mobile terminal realizes corresponding function by various application programs mounted thereto.Some application programs are executing one
When a little functions, need using the sensor senses user of mobile terminal whether close to mobile terminal, to control mobile terminal
Screen is lighted or is extinguished.Such as when making a phone call or carrying out voice communication using chat software, mobile terminal passes through biography
When sensor detects user close to the mobile terminal (such as the mobile terminal is placed on and carries out voice communication in one's ear by user
When), the screen for controlling the mobile terminal extinguishes, and avoids accidentally touching caused by the mobile terminal because of user;Detect user
When far from the mobile terminal, the screen for controlling the mobile terminal is lighted.
However, the case where being directed to user's active or the screen of the mobile terminal is allowed to extinguish consciously, some to apply journey
Sequence still will continue to the sensor detection data that the mobile terminal is called in application, to increase the power consumption of mobile terminal.
Summary of the invention
In view of this, the present invention proposes a kind of electricity saving method, mobile terminal and computer readable storage medium, on solving
State technical problem.
Firstly, to achieve the above object, the present invention proposes a kind of electricity saving method, it is applied to mobile terminal, the method packet
It includes:
Whether the screen for detecting the mobile terminal is in OFF state;
If the screen of the mobile terminal is in OFF state, the trigger condition that the screen of the mobile terminal extinguishes is judged
It whether is preset trigger condition;
If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, the mobile terminal is detected
Whether calling application to sensor of interest is received;
If the mobile terminal receives the calling application to sensor of interest, refuse the calling to the sensor of interest
Application.
Optionally, after the refusal is to the calling application of the sensor of interest, the method also includes:
Detect whether to receive the trigger action of the screen for lighting the mobile terminal;
If receiving the trigger action of the screen for lighting the mobile terminal, receive the tune to the sensor of interest
With application.
Optionally, calling application of the refusal to the sensor of interest, comprising:
Refuse the calling application to the sensor of interest, and controls the sensor of interest and stop working.
Optionally, calling application of the receiving to the sensor of interest, comprising:
Receive the calling application to the sensor of interest, and controls the sensor of interest and start to work.
Optionally, if the mobile terminal receives the calling application to sensor of interest, refuse to the target
The calling application of sensor, comprising:
If the mobile terminal receives the calling application to sensor of interest, judge to send the application for calling application
Whether program is default application program;
If sending the application program for calling application is default application program, refuse the application program to the target
The calling application of sensor.
Optionally, the default application program includes that the screen of the mobile terminal extinguishes under the preset trigger condition
In the case where, do not need the application program using sensor of interest.
Optionally, the preset trigger condition includes that power key triggering or the mobile terminal do not have more than preset duration
Receive user's operation.
Optionally, the sensor of interest includes range sensor and/or light sensor.
Further, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes storage
Device, at least one processor and at least one journey that is stored on the memory and can be executed at least one described processor
Sequence realizes the step in the above method when at least one described program is executed by least one described processor.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers
Readable storage medium storing program for executing is stored at least one executable program of computer, at least one described program is executed by the computer
When so that the computer is executed the step in the above method.
Compared to the prior art, whether the screen that electricity saving method proposed by the invention detects the mobile terminal, which is in, is put out
It goes out state;If the screen of the mobile terminal is in OFF state, the trigger condition that the screen of the mobile terminal extinguishes is judged
It whether is preset trigger condition;If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, detection
Whether the mobile terminal receives the calling application to sensor of interest;If the mobile terminal is received to sensor of interest
Calling application, refuse calling application to the sensor of interest.In this way, electricity saving method provided by the invention can be in movement
When the screen of terminal extinguishes under preset trigger condition, refuse calling application to the sensor of interest, so as to
In the case that householder moves or the screen of the mobile terminal is allowed to extinguish consciously, stop the calling to sensor of interest, effectively
The power consumption for reducing mobile terminal, promotes the cruising ability of mobile terminal.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing a kind of mobile terminal of each embodiment of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of electricity saving method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another electricity saving method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another electricity saving method provided in an embodiment of the present invention;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111, the number of the processor 110 are at least one.Ability
Field technique personnel are appreciated that mobile terminal structure shown in Fig. 1 does not constitute the restriction to mobile terminal, and mobile terminal can
To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and by least one element that the input received is transferred in mobile terminal 100 or can use
In transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include at least one processing unit;Preferably, processor 110 can integrate application processor and modulation /demodulation processing
Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located
Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned 100 hardware configuration of mobile terminal and communications network system, each embodiment of the method for the present invention is proposed.
It is a kind of step flow chart of electricity saving method provided in an embodiment of the present invention refering to Fig. 3, Fig. 3, as shown in figure 3, institute
Method is stated applied to a mobile terminal, which comprises
Whether step 301, the screen for detecting the mobile terminal are in OFF state.
In the step, whether the screen that the mobile terminal detects the mobile terminal is in OFF state, if the shifting
The screen of dynamic terminal is in OFF state, executes step 302;On the contrary, if the screen of the mobile terminal is not at extinguishing shape
State, process terminate, or continue to test the screen of the mobile terminal and whether be in OFF state, until detecting the movement
The screen of terminal is in OFF state, executes step 302, in present invention flow chart shown in Fig. 3 by taking process terminates as an example, but simultaneously
It is not limited.
Whether step 302, the trigger condition for judging that the screen of the mobile terminal extinguishes are preset trigger condition.
In the step, if the screen of the mobile terminal is in OFF state, judge that the screen of the mobile terminal extinguishes
Trigger condition whether be preset trigger condition, if the trigger condition extinguished of the screen of the mobile terminal is the default triggering
Condition executes step 303;On the contrary, if the trigger condition that the screen of the mobile terminal extinguishes is not the trigger condition, stream
Journey terminates.
It is understood that the reason of causing the screen of the mobile terminal to extinguish, it may be possible to because of the mobile terminal
Receive the trigger action to power key, it is also possible to since user is not for a long time to any behaviour of the mobile terminal execution
Make, it is also possible to because the data that sensor detects determine user close to the screen of the mobile terminal.If described mobile whole
The trigger condition that the screen at end extinguishes be determined according to the data that sensor detects user close to the screen of the mobile terminal,
Illustrate that the mobile terminal is calling the sensor, and performs corresponding behaviour according to the data that the sensor detects
Make.Therefore, the preset trigger condition can be in addition to the data that are detected according to sensor be by the screen of the mobile terminal
Other any trigger conditions except extinguishing.For example, the preset trigger condition may include power key triggering, also may include
The mobile terminal is more than that preset duration is not received by user's operation.
When the preset condition is in addition to the screen of the mobile terminal is extinguished it by the data detected according to sensor
Other outer any trigger conditions, whether the trigger condition that the mobile terminal judges that the screen of the mobile terminal extinguishes is pre-
If trigger condition, comprising: whether the trigger condition that the mobile terminal judges that the screen of the mobile terminal extinguishes is according to biography
The data that sensor detects determine user close to the screen of the mobile terminal.If the triggering that the screen of the mobile terminal extinguishes
Condition is to determine user close to the screen of the mobile terminal according to the data that sensor detects, the mobile terminal determines institute
The trigger condition for stating the screen extinguishing of mobile terminal is not the preset trigger condition;If what the screen of the mobile terminal extinguished
Trigger condition is not to be determined user close to the screen of the mobile terminal, the mobile terminal according to the data that sensor detects
Determine that the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition.
When the preset condition include power key triggering or the mobile terminal be more than preset duration be not received by use
When family operates, whether the trigger condition that the mobile terminal judges that the screen of the mobile terminal extinguishes is preset trigger condition,
Include: the mobile terminal judges whether the trigger condition that the screen of the mobile terminal extinguishes is power key triggering, either
It is no to be not received by user's operation more than preset duration for the mobile terminal.If the triggering that the screen of the mobile terminal extinguishes
Condition is the trigger condition that the screen of power key triggering or the mobile terminal extinguishes when to be the mobile terminal be more than default
Long to be not received by user's operation, the mobile terminal determines that the trigger condition that the screen of the mobile terminal extinguishes is described pre-
If trigger condition.If the trigger condition that the screen of the mobile terminal extinguishes is not power key triggering and is not the mobile terminal
It is not received by user's operation more than preset duration, the mobile terminal determines the triggering item that the screen of the mobile terminal extinguishes
Part is not the preset trigger condition.
Whether step 303, the detection mobile terminal receive the calling application to sensor of interest.
In the step, if the trigger condition that the screen of the mobile terminal extinguishes is the trigger condition, the shifting is detected
Whether dynamic terminal receives the calling application to sensor of interest, if the mobile terminal receives the calling to sensor of interest
Application executes step 304;On the contrary, if the mobile terminal is not received by the calling application to sensor of interest, process knot
Beam, or continue to test whether the mobile terminal receives calling application to sensor of interest, until detecting the shifting
Dynamic terminal receives the calling application to sensor of interest, executes step 304, with process in present invention flow chart shown in Fig. 3
For end, but it is not limited thereto.
In some embodiment of the invention, the mobile terminal can by user that range sensor detects with it is described
The distance between mobile terminal judge user whether close to the mobile terminal screen, can also be detected by light sensor
The light intensity arrived judge user whether close to the mobile terminal screen, can be combined with range sensor and light level
The data that device detects judge user whether close to the mobile terminal screen.Therefore, the sensor of interest may include
Range sensor and/or light sensor.
The calling application of step 304, refusal to the sensor of interest.
In the step, if the mobile terminal detects the calling application to sensor of interest, refusal passes the target
The calling application of sensor.In the embodiment of the present invention, the refusal may include: refusal to the calling application of the sensor of interest
Calling application to the sensor of interest, and control the sensor of interest and stop working.
In the present embodiment, whether the screen that the electricity saving method detects the mobile terminal is in OFF state;If described
The screen of mobile terminal is in OFF state, judges whether the trigger condition that the screen of the mobile terminal extinguishes is default triggering
Condition;If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, detecting the mobile terminal is
The no calling application received to sensor of interest;If the mobile terminal receives the calling application to sensor of interest, refuse
The calling application of the absolute sensor of interest.In this way, electricity saving method provided by the invention can exist in the screen of mobile terminal
When extinguishing under preset trigger condition, refuse calling application to the sensor of interest, so as to actively or have in user
In the case that consciousness allows the screen of the mobile terminal to extinguish, stop effectively reducing mobile terminal to the calling of sensor of interest
Power consumption, promote the cruising ability of mobile terminal.
Optionally, calling application of the refusal to the sensor of interest, comprising:
Refuse the calling application to the sensor of interest, and controls the sensor of interest and stop working.
Optionally, the preset trigger condition includes that power key triggering or the mobile terminal do not have more than preset duration
Receive user's operation.
Optionally, the sensor of interest includes range sensor and/or light sensor.
Referring to fig. 4, Fig. 4 is the flow diagram of another electricity saving method provided in an embodiment of the present invention, as shown in figure 4,
The described method includes:
Whether step 401, the screen for detecting the mobile terminal are in OFF state.
In the step, whether the screen that the mobile terminal detects the mobile terminal is in OFF state, if the shifting
The screen of dynamic terminal is in OFF state, executes step 402;On the contrary, if the screen of the mobile terminal is not at extinguishing shape
State, process terminate, or continue to test the screen of the mobile terminal and whether be in OFF state, until detecting the movement
The screen of terminal is in OFF state, executes step 402, in present invention flow chart shown in Fig. 4 by taking process terminates as an example, but simultaneously
It is not limited.
Whether step 402, the trigger condition for judging that the screen of the mobile terminal extinguishes are preset trigger condition.
In the step, if the screen of the mobile terminal is in OFF state, judge that the screen of the mobile terminal extinguishes
Trigger condition whether be preset trigger condition, if the trigger condition extinguished of the screen of the mobile terminal is the default triggering
Condition executes step 403;On the contrary, if the trigger condition that the screen of the mobile terminal extinguishes is not the trigger condition, stream
Journey terminates.
It is understood that the reason of causing the screen of the mobile terminal to extinguish, it may be possible to because of the mobile terminal
Receive the trigger action to power key, it is also possible to since user is not for a long time to any behaviour of the mobile terminal execution
Make, it is also possible to because the data that sensor detects determine user close to the screen of the mobile terminal.If described mobile whole
The trigger condition that the screen at end extinguishes be determined according to the data that sensor detects user close to the screen of the mobile terminal,
Illustrate that the mobile terminal is calling the sensor, and performs corresponding behaviour according to the data that the sensor detects
Make.Therefore, the preset trigger condition can be in addition to the data that are detected according to sensor be by the screen of the mobile terminal
Other any trigger conditions except extinguishing.For example, the preset trigger condition may include power key triggering, also may include
The mobile terminal is more than that preset duration is not received by user's operation.
When the preset condition is in addition to the screen of the mobile terminal is extinguished it by the data detected according to sensor
Other outer any trigger conditions, whether the trigger condition that the mobile terminal judges that the screen of the mobile terminal extinguishes is pre-
If trigger condition, comprising: whether the trigger condition that the mobile terminal judges that the screen of the mobile terminal extinguishes is according to biography
The data that sensor detects determine user close to the screen of the mobile terminal.If the triggering that the screen of the mobile terminal extinguishes
Condition is to determine user close to the screen of the mobile terminal according to the data that sensor detects, the mobile terminal determines institute
The trigger condition for stating the screen extinguishing of mobile terminal is not the preset trigger condition;If what the screen of the mobile terminal extinguished
Trigger condition is not to be determined user close to the screen of the mobile terminal, the mobile terminal according to the data that sensor detects
Determine that the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition.
When the preset condition include power key triggering or the mobile terminal be more than preset duration be not received by use
When family operates, whether the trigger condition that the mobile terminal judges that the screen of the mobile terminal extinguishes is preset trigger condition,
Include: the mobile terminal judges whether the trigger condition that the screen of the mobile terminal extinguishes is power key triggering, either
It is no to be not received by user's operation more than preset duration for the mobile terminal.If the triggering that the screen of the mobile terminal extinguishes
Condition is the trigger condition that the screen of power key triggering or the mobile terminal extinguishes when to be the mobile terminal be more than default
Long to be not received by user's operation, the mobile terminal determines that the trigger condition that the screen of the mobile terminal extinguishes is described pre-
If trigger condition.If the trigger condition that the screen of the mobile terminal extinguishes is not power key triggering and is not the mobile terminal
It is not received by user's operation more than preset duration, the mobile terminal determines the triggering item that the screen of the mobile terminal extinguishes
Part is not the preset trigger condition.
Whether step 403, the detection mobile terminal receive the calling application to sensor of interest.
In the step, if the trigger condition that the screen of the mobile terminal extinguishes is the trigger condition, the shifting is detected
Whether dynamic terminal receives the calling application to sensor of interest, if the mobile terminal receives the calling to sensor of interest
Application executes step 404;On the contrary, if the mobile terminal is not received by the calling application to sensor of interest, process knot
Beam, or continue to test whether the mobile terminal receives calling application to sensor of interest, until detecting the shifting
Dynamic terminal receives the calling application to sensor of interest, executes step 404, with process in present invention flow chart shown in Fig. 4
For end, but it is not limited thereto.
In some embodiment of the invention, the mobile terminal can by user that range sensor detects with it is described
The distance between mobile terminal judge user whether close to the mobile terminal screen, can also be detected by light sensor
The light intensity arrived judge user whether close to the mobile terminal screen, can be combined with range sensor and light level
The data that device detects judge user whether close to the mobile terminal screen.Therefore, the sensor of interest may include
Range sensor and/or light sensor.
The calling application of step 404, refusal to the sensor of interest.
In the step, if the mobile terminal detects the calling application to sensor of interest, refusal passes the target
The calling application of sensor.
Step 405 detects whether to receive the trigger action of the screen for lighting the mobile terminal.
In the step, the mobile terminal detects whether to receive the triggering behaviour of the screen for lighting the mobile terminal
Make, if the mobile terminal receives the trigger action of the screen for lighting the mobile terminal, executes step 406;On the contrary
Ground, if the mobile terminal is not received by the trigger action of the screen for lighting the mobile terminal, process terminates, or
The trigger action for whether receiving the screen for lighting the mobile terminal is continued to test, until detecting the mobile terminal
The trigger action of the screen for lighting the mobile terminal is received, step 406, present invention flow chart shown in Fig. 4 are executed
In by taking process terminates as an example, but be not limited thereto.
The calling application of step 406, receiving to the sensor of interest.
It is described if the mobile terminal receives the screen trigger action for lighting the mobile terminal in the step
Mobile terminal receives the calling application to the sensor of interest.After the screen of the i.e. described mobile terminal is lit, the movement
Terminal receives the calling application to the sensor of interest again.It is described to receive to sense the target in the embodiment of the present invention
The calling application of device may include: the calling application received to the sensor of interest, and controls the sensor of interest and start
Work.
In the present embodiment, whether the screen that the electricity saving method detects the mobile terminal is in OFF state;If described
The screen of mobile terminal is in OFF state, judges whether the trigger condition that the screen of the mobile terminal extinguishes is default triggering
Condition;If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, detecting the mobile terminal is
The no calling application received to sensor of interest;If the mobile terminal receives the calling application to sensor of interest, refuse
The calling application of the absolute sensor of interest;Detect whether that the triggering for receiving the screen for lighting the mobile terminal is grasped
Make;If receiving the trigger action of the screen for lighting the mobile terminal, receive the calling Shen to the sensor of interest
Please.In this way, electricity saving method provided by the invention when the screen of mobile terminal extinguishes under preset trigger condition, is refused to described
The calling application of sensor of interest, so as to the feelings for actively or consciously the screen of the mobile terminal being allowed to extinguish in user
Under condition, stop that the calling of sensor of interest is effectively reduced the power consumption of mobile terminal, promotes the cruising ability of mobile terminal.
Optionally, calling application of the receiving to the sensor of interest, comprising:
Receive the calling application to the sensor of interest, and controls the sensor of interest and start to work.
It is the flow diagram of another electricity saving method provided in an embodiment of the present invention referring to Fig. 5, Fig. 5, as shown in figure 5,
The described method includes:
Whether step 501, the screen for detecting the mobile terminal are in OFF state.
In the step, whether the screen that the mobile terminal detects the mobile terminal is in OFF state, if the shifting
The screen of dynamic terminal is in OFF state, executes step 502;On the contrary, if the screen of the mobile terminal is not at extinguishing shape
State, process terminate, or continue to test the screen of the mobile terminal and whether be in OFF state, until detecting the movement
The screen of terminal is in OFF state, executes step 502, in present invention flow chart shown in fig. 5 by taking process terminates as an example, but simultaneously
It is not limited.
Whether step 502, the trigger condition for judging that the screen of the mobile terminal extinguishes are preset trigger condition.
In the step, if the screen of the mobile terminal is in OFF state, judge that the screen of the mobile terminal extinguishes
Trigger condition whether be preset trigger condition, if the trigger condition extinguished of the screen of the mobile terminal is the default triggering
Condition executes step 503;On the contrary, if the trigger condition that the screen of the mobile terminal extinguishes is not the trigger condition, stream
Journey terminates.
It is understood that the reason of causing the screen of the mobile terminal to extinguish, it may be possible to because of the mobile terminal
Receive the trigger action to power key, it is also possible to since user is not for a long time to any behaviour of the mobile terminal execution
Make, it is also possible to because the data that sensor detects determine user close to the screen of the mobile terminal.If described mobile whole
The trigger condition that the screen at end extinguishes be determined according to the data that sensor detects user close to the screen of the mobile terminal,
Illustrate that the mobile terminal is calling the sensor, and performs corresponding behaviour according to the data that the sensor detects
Make.Therefore, the preset trigger condition can be in addition to the data that are detected according to sensor be by the screen of the mobile terminal
Other any trigger conditions except extinguishing.For example, the preset trigger condition may include power key triggering, also may include
The mobile terminal is more than that preset duration is not received by user's operation.
When the preset condition is in addition to the screen of the mobile terminal is extinguished it by the data detected according to sensor
Other outer any trigger conditions, whether the trigger condition that the mobile terminal judges that the screen of the mobile terminal extinguishes is pre-
If trigger condition, comprising: whether the trigger condition that the mobile terminal judges that the screen of the mobile terminal extinguishes is according to biography
The data that sensor detects determine user close to the screen of the mobile terminal.If the triggering that the screen of the mobile terminal extinguishes
Condition is to determine user close to the screen of the mobile terminal according to the data that sensor detects, the mobile terminal determines institute
The trigger condition for stating the screen extinguishing of mobile terminal is not the preset trigger condition;If what the screen of the mobile terminal extinguished
Trigger condition is not to be determined user close to the screen of the mobile terminal, the mobile terminal according to the data that sensor detects
Determine that the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition.
When the preset condition include power key triggering or the mobile terminal be more than preset duration be not received by use
When family operates, whether the trigger condition that the mobile terminal judges that the screen of the mobile terminal extinguishes is preset trigger condition,
Include: the mobile terminal judges whether the trigger condition that the screen of the mobile terminal extinguishes is power key triggering, either
It is no to be not received by user's operation more than preset duration for the mobile terminal.If the triggering that the screen of the mobile terminal extinguishes
Condition is the trigger condition that the screen of power key triggering or the mobile terminal extinguishes when to be the mobile terminal be more than default
Long to be not received by user's operation, the mobile terminal determines that the trigger condition that the screen of the mobile terminal extinguishes is described pre-
If trigger condition.If the trigger condition that the screen of the mobile terminal extinguishes is not power key triggering and is not the mobile terminal
It is not received by user's operation more than preset duration, the mobile terminal determines the triggering item that the screen of the mobile terminal extinguishes
Part is not the preset trigger condition.
Whether step 503, the detection mobile terminal receive the calling application to sensor of interest.
In the step, if the trigger condition that the screen of the mobile terminal extinguishes is the trigger condition, the shifting is detected
Whether dynamic terminal receives the calling application to sensor of interest, if the mobile terminal receives the calling to sensor of interest
Application executes step 504;On the contrary, if the mobile terminal is not received by the calling application to sensor of interest, process knot
Beam, or continue to test whether the mobile terminal receives calling application to sensor of interest, until detecting the shifting
Dynamic terminal receives the calling application to sensor of interest, executes step 504, with process in present invention flow chart shown in fig. 5
For end, but it is not limited thereto.
In some embodiment of the invention, the mobile terminal can by user that range sensor detects with it is described
The distance between mobile terminal judge user whether close to the mobile terminal screen, can also be detected by light sensor
The light intensity arrived judge user whether close to the mobile terminal screen, can be combined with range sensor and light level
The data that device detects judge user whether close to the mobile terminal screen.Therefore, the sensor of interest may include
Range sensor and/or light sensor.
Step 504 judges to send whether the application program for calling application is default application program.
In the step, if the mobile terminal receives the calling application to sensor of interest, the mobile terminal judgement
Send whether the application program for calling application is default application program, if sending the application program for calling application is institute
Default application program is stated, step 505 is executed;On the contrary, if sending the application program for calling application is not that described preset is answered
With program, process terminates.The default application program may include the screen of the mobile terminal in the preset trigger condition
In the case where lower extinguishing, the application program using sensor of interest is not needed.
The calling application of step 505, the refusal application program to the sensor of interest.
It is described mobile whole if sending the application program for calling application is not the default application program in the step
Refuse calling application of the application program to the sensor of interest in end.
In the present embodiment, whether the screen that the electricity saving method detects the mobile terminal is in OFF state;If described
The screen of mobile terminal is in OFF state, judges whether the trigger condition that the screen of the mobile terminal extinguishes is default triggering
Condition;If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, detecting the mobile terminal is
The no calling application received to sensor of interest;If the mobile terminal receives the calling application to sensor of interest, sentence
It is disconnected to send whether the application program for calling application is default application program;It is if sending the application program for calling application
Default application program, refuses calling application of the application program to the sensor of interest.In this way, power saving provided by the invention
Method can refuse the calling Shen to the sensor of interest when the screen of mobile terminal extinguishes under preset trigger condition
Please, so as to which in the case where user actively or consciously allows the screen of the mobile terminal to extinguish, stopping passes target
The calling of sensor effectively reduces the power consumption of mobile terminal, promotes the cruising ability of mobile terminal.
Optionally, the default application program includes that the screen of the mobile terminal extinguishes under the preset trigger condition
In the case where, do not need the application program using sensor of interest.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is
It is completed by the relevant hardware of at least one program instruction, at least one described program can store in shifting as shown in Figure 1
It in the memory 109 of dynamic terminal 100, and can be executed by the processor 110, at least one described program is by the processor
110 realize following steps when executing:
Whether the screen for detecting the mobile terminal is in OFF state;
If the screen of the mobile terminal is in OFF state, the trigger condition that the screen of the mobile terminal extinguishes is judged
It whether is preset trigger condition;
If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, the mobile terminal is detected
Whether calling application to sensor of interest is received;
If the mobile terminal receives the calling application to sensor of interest, refuse the calling to the sensor of interest
Application.
Optionally, after the refusal is to the calling application of the sensor of interest, the processor 110 be can also be achieved
Following steps:
Detect whether to receive the trigger action of the screen for lighting the mobile terminal;
If receiving the trigger action of the screen for lighting the mobile terminal, receive the tune to the sensor of interest
With application.
Optionally, calling application of the refusal to the sensor of interest, comprising:
Refuse the calling application to the sensor of interest, and controls the sensor of interest and stop working.
Optionally, calling application of the receiving to the sensor of interest, comprising:
Receive the calling application to the sensor of interest, and controls the sensor of interest and start to work.
Optionally, if the mobile terminal receives the calling application to sensor of interest, refuse to the target
The calling application of sensor, comprising:
If the mobile terminal receives the calling application to sensor of interest, judge to send the application for calling application
Whether program is default application program;
If sending the application program for calling application is default application program, refuse the application program to the target
The calling application of sensor.
Optionally, the default application program includes that the screen of the mobile terminal extinguishes under the preset trigger condition
In the case where, do not need the application program using sensor of interest.
Optionally, the preset trigger condition includes that power key triggering or the mobile terminal do not have more than preset duration
Receive user's operation.
Optionally, the sensor of interest includes range sensor and/or light sensor.
In the present embodiment, whether the screen that the mobile terminal detects the mobile terminal is in OFF state;If described
The screen of mobile terminal is in OFF state, judges whether the trigger condition that the screen of the mobile terminal extinguishes is default triggering
Condition;If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, detecting the mobile terminal is
The no calling application received to sensor of interest;If the mobile terminal receives the calling application to sensor of interest, refuse
The calling application of the absolute sensor of interest.In this way, mobile terminal provided by the invention can exist in the screen of mobile terminal
When extinguishing under preset trigger condition, refuse calling application to the sensor of interest, so as to actively or have in user
In the case that consciousness allows the screen of the mobile terminal to extinguish, stop effectively reducing mobile terminal to the calling of sensor of interest
Power consumption, promote the cruising ability of mobile terminal.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is
It is completed by the relevant hardware of at least one program instruction, at least one described program can store computer-readable deposits in one
In storage media, which is performed, comprising the following steps:
Whether the screen for detecting the mobile terminal is in OFF state;
If the screen of the mobile terminal is in OFF state, the trigger condition that the screen of the mobile terminal extinguishes is judged
It whether is preset trigger condition;
If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, the mobile terminal is detected
Whether calling application to sensor of interest is received;
If the mobile terminal receives the calling application to sensor of interest, refuse the calling to the sensor of interest
Application.
Optionally, after the refusal is to the calling application of the sensor of interest, at least one described program is performed
When, it can also be achieved following steps:
Detect whether to receive the trigger action of the screen for lighting the mobile terminal;
If receiving the trigger action of the screen for lighting the mobile terminal, receive the tune to the sensor of interest
With application.
Optionally, calling application of the refusal to the sensor of interest, comprising:
Refuse the calling application to the sensor of interest, and controls the sensor of interest and stop working.
Optionally, calling application of the receiving to the sensor of interest, comprising:
Receive the calling application to the sensor of interest, and controls the sensor of interest and start to work.
Optionally, if the mobile terminal receives the calling application to sensor of interest, refuse to the target
The calling application of sensor, comprising:
If the mobile terminal receives the calling application to sensor of interest, judge to send the application for calling application
Whether program is default application program;
If sending the application program for calling application is default application program, refuse the application program to the target
The calling application of sensor.
Optionally, the default application program includes that the screen of the mobile terminal extinguishes under the preset trigger condition
In the case where, do not need the application program using sensor of interest.
Optionally, the preset trigger condition includes that power key triggering or the mobile terminal do not have more than preset duration
Receive user's operation.
Optionally, the sensor of interest includes range sensor and/or light sensor.
In the present embodiment, at least one described program is performed, and whether the screen for detecting the mobile terminal, which is in, is put out
It goes out state;If the screen of the mobile terminal is in OFF state, the trigger condition that the screen of the mobile terminal extinguishes is judged
It whether is preset trigger condition;If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, detection
Whether the mobile terminal receives the calling application to sensor of interest;If the mobile terminal is received to sensor of interest
Calling application, refuse calling application to the sensor of interest.In this way, at least one described program is performed, it can
When the screen of mobile terminal extinguishes under preset trigger condition, refuse the calling application to the sensor of interest, so as to
Enough in the case where user actively or consciously allows the screen of the mobile terminal to extinguish, stop the tune to sensor of interest
With effectively reducing the power consumption of mobile terminal, promote the cruising ability of mobile terminal.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of electricity saving method is applied to mobile terminal, which is characterized in that the described method includes:
Whether the screen for detecting the mobile terminal is in OFF state;
If the screen of the mobile terminal is in OFF state, judge the mobile terminal screen extinguish trigger condition whether
For preset trigger condition;
If the trigger condition that the screen of the mobile terminal extinguishes is the preset trigger condition, whether the mobile terminal is detected
Receive the calling application to sensor of interest;
If the mobile terminal receives the calling application to sensor of interest, refuse the calling Shen to the sensor of interest
Please.
2. electricity saving method as described in claim 1, which is characterized in that calling application of the refusal to the sensor of interest
Later, the method also includes:
Detect whether to receive the trigger action of the screen for lighting the mobile terminal;
If receiving the trigger action of the screen for lighting the mobile terminal, receive the calling Shen to the sensor of interest
Please.
3. electricity saving method as described in claim 1, which is characterized in that calling Shen of the refusal to the sensor of interest
Please, comprising:
Refuse the calling application to the sensor of interest, and controls the sensor of interest and stop working.
4. electricity saving method as claimed in claim 2, which is characterized in that the calling Shen received to the sensor of interest
Please, comprising:
Receive the calling application to the sensor of interest, and controls the sensor of interest and start to work.
5. electricity saving method as described in claim 1, which is characterized in that sensed if the mobile terminal is received to target
The calling application to the sensor of interest is refused in the calling application of device, comprising:
If the mobile terminal receives the calling application to sensor of interest, judge to send the application program for calling application
It whether is default application program;
If sending the application program for calling application is default application program, refuses the application program and the target is sensed
The calling application of device.
6. electricity saving method as claimed in claim 5, which is characterized in that the default application program includes the mobile terminal
In the case that screen extinguishes under the preset trigger condition, the application program using sensor of interest is not needed.
7. such as electricity saving method as claimed in any one of claims 1 to 6, which is characterized in that the preset trigger condition includes power supply
Key triggering or the mobile terminal are more than that preset duration is not received by user's operation.
8. such as electricity saving method as claimed in any one of claims 1 to 6, which is characterized in that the sensor of interest includes that distance passes
Sensor and/or light sensor.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, at least one processor and is stored in institute
At least one program stated on memory and can executed at least one described processor, at least one described program by it is described extremely
A few processor realizes the step in the described in any item methods of the claims 1 to 8 when executing.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer executable at least
One program, which is characterized in that at least one described program makes the computer execute above-mentioned power when being executed by the computer
Benefit requires the step in 1~8 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810989154.6A CN109195210B (en) | 2018-08-28 | 2018-08-28 | Power saving method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810989154.6A CN109195210B (en) | 2018-08-28 | 2018-08-28 | Power saving method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109195210A true CN109195210A (en) | 2019-01-11 |
CN109195210B CN109195210B (en) | 2021-03-26 |
Family
ID=64916453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810989154.6A Active CN109195210B (en) | 2018-08-28 | 2018-08-28 | Power saving method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109195210B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572518A (en) * | 2019-09-18 | 2019-12-13 | 努比亚技术有限公司 | screen-off management and control method, mobile terminal and computer-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130281163A1 (en) * | 2011-02-16 | 2013-10-24 | Google Inc. | Mobile device display management |
CN103905640A (en) * | 2014-03-12 | 2014-07-02 | 惠州Tcl移动通信有限公司 | Mobile terminal and false-dialing preventing method thereof |
US20150123922A1 (en) * | 2013-11-04 | 2015-05-07 | Shenzhen Futaihong Precision Industry Co., Ltd. | Portable electronic device and method operating same |
CN106095051A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | The processing method of a kind of application program for mobile terminal, device and mobile terminal |
CN106095306A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | The sensor control method of a kind of mobile terminal, device and mobile terminal |
-
2018
- 2018-08-28 CN CN201810989154.6A patent/CN109195210B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130281163A1 (en) * | 2011-02-16 | 2013-10-24 | Google Inc. | Mobile device display management |
US20150123922A1 (en) * | 2013-11-04 | 2015-05-07 | Shenzhen Futaihong Precision Industry Co., Ltd. | Portable electronic device and method operating same |
CN103905640A (en) * | 2014-03-12 | 2014-07-02 | 惠州Tcl移动通信有限公司 | Mobile terminal and false-dialing preventing method thereof |
CN106095051A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | The processing method of a kind of application program for mobile terminal, device and mobile terminal |
CN106095306A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | The sensor control method of a kind of mobile terminal, device and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572518A (en) * | 2019-09-18 | 2019-12-13 | 努比亚技术有限公司 | screen-off management and control method, mobile terminal and computer-readable storage medium |
CN110572518B (en) * | 2019-09-18 | 2024-03-22 | 努比亚技术有限公司 | Screen-extinguishing control method, mobile terminal and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109195210B (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109407957A (en) | Screen touch control method, terminal and computer readable storage medium | |
CN108512991A (en) | A kind of based reminding method, mobile terminal and computer readable storage medium | |
CN109538538A (en) | A kind of processing method of fan noise, mobile terminal and storage medium | |
CN109525713A (en) | A kind of application control method, wearable device and mobile terminal | |
CN108965602A (en) | Application program display methods, mobile terminal and computer readable storage medium | |
CN109543474A (en) | A kind of method for controlling mobile terminal and mobile terminal | |
CN109462700A (en) | A kind of call method, mobile terminal and computer readable storage medium | |
CN109618049A (en) | Terminal screen method for handover control, terminal and computer readable storage medium | |
CN109739630A (en) | Game switching method, mobile terminal and computer readable storage medium | |
CN109587329A (en) | Screen lighting method, mobile terminal and computer readable storage medium | |
CN109144383A (en) | A kind of application control method, terminal and computer readable storage medium | |
CN109005288A (en) | Call processing method, double-sided screen terminal and computer readable storage medium | |
CN110064196A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109545120A (en) | Screen photosensitive sensors adjusting method, mobile terminal and computer readable storage medium | |
CN109445660A (en) | A kind of wearable device control method, mobile terminal and wearable device | |
CN109168189A (en) | A kind of electricity saving method, mobile terminal and computer readable storage medium | |
CN109101301A (en) | A kind of display control method, mobile terminal and computer readable storage medium | |
CN108958932A (en) | A kind of control method of background application, terminal and computer readable storage medium | |
CN108900765A (en) | A kind of shooting based reminding method, mobile terminal and computer readable storage medium | |
CN110096173A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN110099173A (en) | Method, terminal and the storage medium of touch experience pattern switching | |
CN109992156A (en) | A kind of false-touch prevention method, mobile terminal and computer readable storage medium | |
CN110167004A (en) | A kind of network registering method, mobile terminal and computer readable storage medium | |
CN110177206A (en) | Image pickup method, mobile terminal and computer readable storage medium | |
CN109683796A (en) | A kind of interaction control method, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |