CN107831885A - Doze mode switching methods, device, mobile terminal and readable storage medium storing program for executing - Google Patents

Doze mode switching methods, device, mobile terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107831885A
CN107831885A CN201711018697.5A CN201711018697A CN107831885A CN 107831885 A CN107831885 A CN 107831885A CN 201711018697 A CN201711018697 A CN 201711018697A CN 107831885 A CN107831885 A CN 107831885A
Authority
CN
China
Prior art keywords
mobile terminal
screen state
gps
state
doze
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
Application number
CN201711018697.5A
Other languages
Chinese (zh)
Other versions
CN107831885B (en
Inventor
刘惠盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201711018697.5A priority Critical patent/CN107831885B/en
Publication of CN107831885A publication Critical patent/CN107831885A/en
Application granted granted Critical
Publication of CN107831885B publication Critical patent/CN107831885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present invention provides a kind of Doze mode switching methods, device, mobile terminal and readable storage medium storing program for executing.Methods described is applied to mobile terminal, the Doze mode switching methods can be by checking the current screen state of mobile terminal, and when current screen state is to go out screen state, obtain the GPS states of the mobile terminal in the previous preset time at current time, when GPS states are without starlike state, the mobile terminal is controlled to be switched to Doze patterns.Relative to prior art, this method is switched to the time-consuming very short of Doze patterns from normal mode, and mobile terminal can be made to rapidly enter Doze patterns, reach the purpose of energy-conservation continuation of the journey.

Description

Doze mode switching methods, device, mobile terminal and readable storage medium storing program for executing
Technical field
The present invention relates to mobile terminal save continuation of the journey technical field, in particular to a kind of Doze mode switching methods, Device, mobile terminal and readable storage medium storing program for executing.
Background technology
Doze patterns are a kind of Android battery saving modes, and mobile terminal can close GPS (Global under Doze patterns Positioning System) positioning function, and the communication between third-party server is disconnected so that mobile terminal is in the mould It can not have to receive the pushed information sent from third-party server under formula.
Under general scenario, mobile terminal is only meeting that some specified conditions just can Doze pattern switchings.Mobile terminal is not The mode of specific Doze pattern switchings can be adjusted as the case may be so that the judgment mode of mobile terminal Doze pattern switchings It is excessively mechanical, while the deterministic process of above-mentioned Doze pattern switchings is time-consuming longer so that the mistake of mobile terminal Doze pattern switchings Journey is slow, it is impossible to realizes the energy-conservation of mobile terminal well.
The content of the invention
In order to overcome above-mentioned deficiency of the prior art, it is an object of the invention to provide a kind of Doze pattern switching sides Method, device, mobile terminal and readable storage medium storing program for executing.
For Doze mode switching methods, preferred embodiments of the present invention provide a kind of Doze mode switching methods, institute State method and be applied to mobile terminal, methods described includes:
Detect the current screen state of the mobile terminal;
When current screen state is to go out screen state, the mobile terminal in the previous preset time at current time is obtained GPS states;
When the GPS states of the mobile terminal in the previous preset time for getting current time are without starlike state, then The mobile terminal is controlled to be switched to Doze patterns.
For Doze mode-changeover devices, preferred embodiments of the present invention provide a kind of Doze mode-changeover devices, should For mobile terminal, described device includes:
Detection module, for detecting the mobile terminal current screen state;
Acquisition module, for current screen state for go out screen state when, obtain current time previous preset time in The GPS states of the mobile terminal;
Control module, for being when the GPS states for getting the mobile terminal in the previous preset time at current time During without starlike state, then the mobile terminal is controlled to be switched to Doze patterns.
For mobile terminal, preferred embodiments of the present invention provide a kind of mobile terminal.The mobile terminal includes:
Memory;
Processor;And
Doze mode-changeover devices, described device are installed in the memory and including one or more by described The software function module that device performs is managed, described device includes:
Detection module, for detecting the mobile terminal current screen state;
Acquisition module, for current screen state for go out screen state when, obtain current time previous preset time in The GPS states of the mobile terminal;
Control module, for being when the GPS states for getting the mobile terminal in the previous preset time at current time During without starlike state, then the mobile terminal is controlled to be switched to Doze patterns.For readable storage medium storing program for executing, the present invention is preferably real Apply example and a kind of readable storage medium storing program for executing is provided, the readable storage medium storing program for executing includes computer program, when the computer program is run Mobile terminal performs above-mentioned Doze mode switching methods where controlling the readable storage medium storing program for executing.
In terms of existing technologies, the Doze mode switching methods of preferred embodiments of the present invention offer, device, movement Terminal and readable storage medium storing program for executing have the advantages that:The Doze mode switching methods can be by checking mobile terminal Current screen state, and when current screen state is to go out screen state, obtain the shifting in the previous preset time at current time The GPS states of dynamic terminal, when GPS states are without starlike state, the mobile terminal is controlled to be switched to Doze patterns.Relative to existing There is technology, this method is switched to the time-consuming very short of Doze patterns from normal mode, can rapidly enter mobile terminal Doze patterns, reach the purpose of energy-conservation continuation of the journey.
To enable the above objects, features and advantages of the present invention to become apparent, present pre-ferred embodiments cited below particularly, And accompanying drawing appended by coordinating, it is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of the claims in the present invention protection domain, for those of ordinary skill in the art, do not paying creative work Under the premise of, other related accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of block diagram for the mobile terminal that preferred embodiments of the present invention provide.
Fig. 2 is one of schematic flow sheet of Doze mode switching methods that preferred embodiments of the present invention provide.
Fig. 3 is the two of the schematic flow sheet for the Doze mode switching methods that preferred embodiments of the present invention provide.
Fig. 4 is the three of the schematic flow sheet for the Doze mode switching methods that preferred embodiments of the present invention provide.
Fig. 5 is that a kind of square frame of the Doze mode-changeover devices shown in Fig. 1 that preferred embodiments of the present invention provide shows It is intended to.
Fig. 6 is another square frame of the Doze mode-changeover devices shown in Fig. 1 that preferred embodiments of the present invention provide Schematic diagram.
Icon:10- mobile terminals;11- memories;12- processors;13- communication units;100-Doze pattern switchings fill Put;110- detection modules;120- acquisition modules;130- control modules;140- monitoring modules.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.The present invention implementation being generally described and illustrated herein in the accompanying drawings The component of example can be configured to arrange and design with a variety of.
Therefore, below the detailed description of the embodiments of the invention to providing in the accompanying drawings be not intended to limit it is claimed The scope of the present invention, but be merely representative of the present invention selected embodiment.It is common based on the embodiment in the present invention, this area The every other embodiment that technical staff is obtained under the premise of creative work is not made, belong to the model that the present invention protects Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.
Below in conjunction with the accompanying drawings, some embodiments of the present invention are elaborated.It is following in the case where not conflicting Feature in embodiment and embodiment can be mutually combined.
Fig. 1 is refer to, is a kind of block diagram for the mobile terminal 10 that preferred embodiments of the present invention provide.In this reality Apply in example, the mobile terminal 10 may be, but not limited to, smart mobile phone, PC (personal computer, PC), Tablet personal computer, personal digital assistant (personal digital assistant, PDA), mobile internet surfing equipment (mobile Internet device, MID) etc..In an embodiment of the present embodiment, the mobile terminal 10 is preferably intelligent hand Machine.
In the present embodiment, the mobile terminal 10 includes Doze mode-changeover devices 100, memory 11, processor 12 And communication unit 13.The memory 11, processor 12 and 13 each element of communication unit are directly or indirectly electric between each other Property connection, to realize the transmission of data or interaction.For example, these elements between each other can by one or more communication bus or Signal wire, which is realized, to be electrically connected with.
Wherein, the memory 11 can be used for the GPS states for storing the mobile terminal 10, wherein, GPS states include nothing Starlike state and there is starlike state.The memory 11 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read-Only Memory, EPROM), Electrically Erasable Read Only Memory (Electric Erasable Programmable Read- Only Memory, EEPROM) etc..In the present embodiment, the memory 11 can be existed with storage program, the processor 12 After receiving execute instruction, described program can be correspondingly performed.
The processor 12 can be a kind of IC chip of the disposal ability with signal.The processor 12 can To be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc..It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention. General processor can be microprocessor or the processor can also be any conventional processor etc..
The communication unit 13 is used to establishing the mobile terminal 10 and other external equipments by network that (for example GPS to be defended Star, other-end) between communication connection, and pass through the network transceiving data.
The Doze mode-changeover devices 100 can be stored in described deposit including at least one in the form of software or firmware In reservoir 11 or the software function module that is solidificated in the operating system of the mobile terminal 10.The processor 12 can be used for holding The executable module that the row memory 11 stores, such as the software function mould included by the Doze mode-changeover devices 100 Block and computer program etc..In the present embodiment, the Doze mode-changeover devices 100 can be by the current of mobile terminal 10 The monitoring of the GPS states of the mobile terminal in screen state and preset time, enters to the power save mode of the mobile terminal 10 Row adjustment.
It is understood that the block diagram shown in Fig. 1 is only a kind of structure composition schematic diagram of mobile terminal 10, the movement Terminal 10 may also include more either less components than shown in Fig. 1 or have the configuration different from shown in Fig. 1.In Fig. 1 Shown each component can use hardware, software or its combination to realize.
Inventor has found:Android native systems may enter Doze patterns after the screen that goes out, and enter Doze patterns Need to carry out the judgement of specified conditions before, for example, can judge mobile terminal 10 it is current whether be and this judgement using GPS Process can typically continue about half an hour, and the Shi Caihui that do not changed in the position for judging mobile terminal 10 enters Doze moulds Formula, and mobile terminal 10 can be just closed GPS location function to realize energy-conservation after entering Doze patterns.Enter in the prior art Consumed energy is compared in the above-mentioned judgement of row.
But inventor studies and found, in the case where user is given tacit consent to without using GPS, for example be in can not for mobile terminal 10 Enter Doze patterns using the environment (such as indoor) of GPS location function, or using aforesaid way, can cause largely Kwh loss, be unfavorable for mobile terminal 10 and continue a journey.Do not make in user's acquiescence in consideration of it, offer of the embodiment of the present invention can solve the problem that During with GPS situation, mobile terminal 10 is quickly set to enter the technical scheme of Doze patterns, the detailed of concrete scheme is described as follows.
Fig. 2 is refer to, is a kind of schematic flow sheet for the Doze mode switching methods that preferred embodiments of the present invention provide. In embodiments of the present invention, the Doze mode switching methods are applied to mobile terminal 10.Below to the Doze patterns shown in Fig. 2 The idiographic flow and step of switching method are described in detail.
In embodiments of the present invention, the Doze mode switching methods comprise the following steps:
Step S210, detects the current screen state of the mobile terminal 10, and judges whether current screen state is to go out Screen state.
In the present embodiment, screen state includes go out screen state and bright screen state.
In an embodiment of the present embodiment, the mode for detecting the current screen state of the mobile terminal 10 can be with It is to be judged by detecting the opening of backlight in display module.When detecting in display module backlight to close When, the screen state is judged for screen state of going out;When detecting that backlight is opens in display module, the screen shape is judged State is bright screen state.
In the another embodiment of the present embodiment, the mode for detecting the current screen state of the mobile terminal 10 can Be by detect screen brightness realize.When the brightness for detecting screen is less than predetermined luminance threshold value, the screen is judged State is screen state of going out;When the brightness for detecting screen is more than predetermined luminance threshold value, judge the screen state for bright screen shape State.
Of course, it should be understood that other modes can also be used to carry out screen in the other embodiment of the present embodiment The judgement of state, then this just repeats no more.
Step S220, when the current screen state of detection is to go out screen state, obtain the previous preset time at current time The GPS states of the interior mobile terminal 10.
In the present embodiment, referring to Fig. 3, before step S220, methods described also includes:
Step S209, the GPS states of the mobile terminal 10 are monitored, and the GPS states of monitoring are stored.
The mobile terminal 10 can monitoring GPS state, and the GPS states of monitoring are stored in real time.Wherein, GPS State includes without starlike state and has starlike state.Refer to that mobile terminal 10 can not search gps satellite without starlike state, there is starlike state to be Refer to mobile terminal 10 and may search for gps satellite.
In the present embodiment, the mode being monitored in step S209 to the GPS states of the mobile terminal 10 can be:
The gps data received to the mobile terminal 10 is monitored, and when being not received by gps data, judges institute Mobile terminal 10 is stated to be in without starlike state;When receiving gps data, judge the mobile terminal 10 be in have starlike state.
Fig. 4 is refer to, in the present embodiment, step S220 can include sub-step S221 and sub-step S222.
Sub-step S221, detects whether the mobile terminal 10 is currently in Doze patterns.
Sub-step S222, detect the mobile terminal 10 currently be not in Doze patterns when, obtain current time it The GPS states of the mobile terminal 10 in previous preset time.
The movement in preset time is realized by way of searching the history GPS states stored in the mobile terminal 10 The GPS states of terminal 10 obtain.Wherein, could be arranged in the preset time 1 minute, 2 minutes or 5 minutes etc..At this In embodiment, user can be set accordingly according to the hobby of oneself to the preset time.
When the GPS states of the mobile terminal 10 in the previous preset time for detecting current time are without starlike state, Then enter step S230;Otherwise, flow is terminated.
In the present embodiment, in preset time the mobile terminal 10 GPS states, it is possible to can be not fully Without starlike state or there is starlike state.There is starlike state when the GPS states of the mobile terminal 10 in preset time had not only included but also wrap When including without starlike state, the GPS states of the mobile terminal 10 in preset time starlike state has been defaulted as.
Step S230, the mobile terminal 10 is controlled to be switched to Doze patterns.
In the present embodiment, the GPS states of the mobile terminal 10 are in the previous preset time for meet current time During without starlike state, then into Doze patterns.
Above-mentioned deterministic process need to only judge the mobile terminal 10 in preset time GPS states whether be without starlike state, Deterministic process is time-consuming very short, and the judgement of half an hour is up to relative to prior art, can be greatly reduced into Doze patterns when Between, realize the ability that energy-conservation increase is cruised.
Fig. 4 is refer to, in the present embodiment, after step S230, methods described can also include step S240.
Step S240, it is bright screen state when detecting the current screen state of the mobile terminal by screen Status Change of going out When, control the mobile terminal to be exited from Doze patterns.
Fig. 5 is refer to, the one of the Doze mode-changeover devices 100 shown in Fig. 1 that preferred embodiments of the present invention provide Kind block diagram.In embodiments of the present invention, the Doze mode-changeover devices 100 are applied to mobile terminal 10, described Doze mode-changeover devices 100 can include:Detection module 110, acquisition module 120 and control module 130.
The detection module 110, for detecting the current screen state of mobile terminal 10.
In the present embodiment, screen state includes go out screen state and bright screen state.
In an embodiment of the present embodiment, detection module 110 detects the current screen shape of the mobile terminal 10 The mode of state can be judged by detecting the opening of backlight in display module.When detecting in display module When backlight is closes, the screen state is judged for screen state of going out;When detecting that backlight is opens in display module, sentence The fixed screen state is bright screen state.
In the another embodiment of the present embodiment, detection module 110 detects the current screen of the mobile terminal 10 The mode of state can be realized by detecting the brightness of screen.When the brightness for detecting screen is less than predetermined luminance threshold value, The screen state is judged for screen state of going out;When the brightness for detecting screen is more than predetermined luminance threshold value, the screen is judged State is bright screen state.
Of course, it should be understood that detection module 110 can also use other in the other embodiment of the present embodiment Mode carries out the judgement of screen state, then this is just repeated no more.
In the present embodiment, the detection module 110 can perform the step S210 in Fig. 2, and specific description can refer to Above to step S210 detailed description.
The acquisition module 120, for when current screen state is to go out screen state, obtaining the previous default of current time The GPS states of the mobile terminal 10 in time.
The acquisition module 120 obtains the GPS states of the mobile terminal 10 in the previous preset time at current time Mode includes:
Detect whether the mobile terminal 10 is currently in Doze patterns;
When the mobile terminal 10 is not currently in Doze patterns, obtain described in the previous preset time at current time The GPS states of mobile terminal 10.
In the present embodiment, the acquisition module 120 can perform the step S220 in Fig. 2, and specific description can refer to Above to step S220 detailed description.
The control module 130, for as the GPS for getting the mobile terminal in the previous preset time at current time When state is without starlike state, then the mobile terminal is controlled to be switched to Doze patterns.
The control module 130, it is additionally operable to when the current screen state for detecting the mobile terminal is become by screen state of going out More bright screen state when, control the mobile terminal to be exited from Doze patterns.
In the present embodiment, the control module 130 can perform the step S230 and step S240 in Fig. 2, specifically Description can refer to above to step S230 and step S240 detailed description.
Fig. 6 is refer to, in the present embodiment, the Doze mode-changeover devices 100 also include monitoring module 140.
The monitoring module 140 is used to be monitored the GPS states of the mobile terminal, and by the GPS states of monitoring Stored.
In the present embodiment, the mode bag that the monitoring module 140 is monitored to the GPS states of the mobile terminal 10 Include:
The gps data whether mobile terminal 10 receives is monitored, when being not received by gps data, described in judgement Mobile terminal 10 is in without starlike state, when receiving gps data, judges that the mobile terminal 10 is in and has starlike state.
In the present embodiment, the monitoring module 140 can perform the step S209 in Fig. 2, and specific description can refer to Above to step S209 detailed description.
If function described above realized in the form of software function module and as independent production marketing or in use, It can be stored in a computer read/write memory medium.Based on such understanding, technical scheme substantially or Person says that the part of the part to be contributed to prior art or the technical scheme can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be with It is personal computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), deposit at random Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
In summary, preferred embodiments of the present invention provide Doze mode switching methods, device, mobile terminal and readable Storage medium.By checking the current screen state of mobile terminal, and when current screen state is to go out screen state, obtain current The GPS states of the mobile terminal in the previous preset time at moment, when GPS states are without starlike state, control the movement Terminal is switched to Doze patterns.Relative to prior art, this method is switched to the time-consuming unusual of Doze patterns from normal mode It is short, mobile terminal can be made to rapidly enter Doze patterns, reach the purpose of energy-conservation continuation of the journey.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (12)

1. a kind of Doze mode switching methods, it is characterised in that applied to mobile terminal, methods described includes:
Detect the current screen state of the mobile terminal;
When current screen state is to go out screen state, the GPS of the mobile terminal in the previous preset time at current time is obtained State;
When the GPS states of the mobile terminal in the previous preset time for getting current time are without starlike state, then control The mobile terminal is switched to Doze patterns.
2. the method as described in claim 1, it is characterised in that it is described when current screen state is to go out screen state, obtain and work as Include in the previous preset time at preceding moment the step of the GPS states of the mobile terminal:
When current screen state is to go out screen state, detect whether the mobile terminal is currently in Doze patterns;
When the mobile terminal is not currently in Doze patterns, then obtain the movement in the previous preset time at current time The GPS states of terminal.
3. the method as described in claim 1, it is characterised in that the shifting in the previous preset time for obtaining current time Before the step of GPS states of dynamic terminal, methods described also includes:
The GPS states of the mobile terminal are monitored, and the GPS states of monitoring are stored.
4. method as claimed in claim 3, it is characterised in that what the GPS states to the mobile terminal were monitored Mode includes:
The gps data received to the mobile terminal is monitored, and when being not received by gps data, judges the movement Terminal is in without starlike state, when receiving gps data, judges that the mobile terminal is in and has starlike state.
5. the method as described in claim 1, it is characterised in that when the mobile terminal is in Doze patterns, methods described Also include:
When it is bright screen state to detect the current screen state of the mobile terminal by screen Status Change of going out, the movement is controlled Terminal exits from Doze patterns.
6. a kind of Doze mode-changeover devices, it is characterised in that described device is applied to mobile terminal, and described device includes:
Detection module, for detecting the mobile terminal current screen state;
Acquisition module, for when current screen state is to go out screen state, obtaining described in the previous preset time at current time The GPS states of mobile terminal;
Control module, for being without star when the GPS states for getting the mobile terminal in the previous preset time at current time During state, then the mobile terminal is controlled to be switched to Doze patterns.
7. device as claimed in claim 6, it is characterised in that the acquisition module is screen state of going out in current screen state When, obtaining the method for the GPS states of the mobile terminal in the previous preset time at current time includes:
When current screen state is to go out screen state, detect whether the mobile terminal is currently in Doze patterns;
When the mobile terminal is not currently in Doze patterns, obtain described mobile whole in the previous preset time at current time The GPS states at end.
8. device as claimed in claim 6, it is characterised in that described device also includes:
Monitoring module, for being monitored to the GPS states of the mobile terminal, and the GPS states of monitoring are stored.
9. device as claimed in claim 8, it is characterised in that the monitoring module enters to the GPS states of the mobile terminal The mode of row monitoring includes:
The gps data whether mobile terminal receives is monitored, when being not received by gps data, is judged described mobile whole End is in without starlike state, when receiving gps data, judges that the mobile terminal is in and has starlike state.
10. device as claimed in claim 6, it is characterised in that:
The control module, it is bright screen to be additionally operable to work as the current screen state for detecting the mobile terminal by screen Status Change of going out During state, the mobile terminal is controlled to be exited from Doze patterns.
11. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Memory;
Processor;And
Doze mode-changeover devices, described device are installed in the memory and including one or more by the processor The software function module of execution, described device include:
Detection module, for detecting the mobile terminal current screen state;
Acquisition module, for when current screen state is to go out screen state, obtaining described in the previous preset time at current time The GPS states of mobile terminal;
Control module, for being without star when the GPS states for getting the mobile terminal in the previous preset time at current time During state, then the mobile terminal is controlled to be switched to Doze patterns.
12. a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing includes computer program, it is characterised in that:
Mobile terminal perform claim where controlling the readable storage medium storing program for executing during computer program operation requires any in 1-5 Doze mode switching methods described in one.
CN201711018697.5A 2017-10-27 2017-10-27 Doze mode switching method and device, mobile terminal and readable storage medium Active CN107831885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711018697.5A CN107831885B (en) 2017-10-27 2017-10-27 Doze mode switching method and device, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711018697.5A CN107831885B (en) 2017-10-27 2017-10-27 Doze mode switching method and device, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN107831885A true CN107831885A (en) 2018-03-23
CN107831885B CN107831885B (en) 2021-03-26

Family

ID=61650647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711018697.5A Active CN107831885B (en) 2017-10-27 2017-10-27 Doze mode switching method and device, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN107831885B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462699A (en) * 2018-12-26 2019-03-12 惠州Tcl移动通信有限公司 The control method of the Doze mode of mobile terminal
CN110618747A (en) * 2019-09-17 2019-12-27 北京字节跳动网络技术有限公司 Method and device for low-power operation of terminal, terminal and storage medium
CN111290565A (en) * 2020-01-13 2020-06-16 Oppo广东移动通信有限公司 Doze mode control method, device, terminal and storage medium
CN111913553A (en) * 2019-05-07 2020-11-10 中兴通讯股份有限公司 Method and device for controlling power consumption of terminal, terminal and computer readable storage medium
CN113965984A (en) * 2021-10-19 2022-01-21 闻泰通讯股份有限公司 Communication equipment control method and device, communication equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100162021A1 (en) * 2008-12-08 2010-06-24 Kennard Peter System and method for extending the battery life of a mobile device
CN102938925A (en) * 2011-08-15 2013-02-20 张晨 Energy consumption control method and device and mobile terminal device
CN104767874A (en) * 2014-01-06 2015-07-08 Lg电子株式会社 Mobile terminal and control method thereof
CN106095059A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of method reducing mobile terminal power consumption and mobile terminal
CN106791101A (en) * 2016-12-22 2017-05-31 上海斐讯数据通信技术有限公司 A kind of electricity saving method based on Android M Doze patterns
CN107145214A (en) * 2017-04-28 2017-09-08 努比亚技术有限公司 The method and mobile terminal of application program power consumption management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100162021A1 (en) * 2008-12-08 2010-06-24 Kennard Peter System and method for extending the battery life of a mobile device
CN102938925A (en) * 2011-08-15 2013-02-20 张晨 Energy consumption control method and device and mobile terminal device
CN104767874A (en) * 2014-01-06 2015-07-08 Lg电子株式会社 Mobile terminal and control method thereof
CN106095059A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of method reducing mobile terminal power consumption and mobile terminal
CN106791101A (en) * 2016-12-22 2017-05-31 上海斐讯数据通信技术有限公司 A kind of electricity saving method based on Android M Doze patterns
CN107145214A (en) * 2017-04-28 2017-09-08 努比亚技术有限公司 The method and mobile terminal of application program power consumption management

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗布·佩格拉诺: "安卓系统手机六大变化", 《中国翻译》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462699A (en) * 2018-12-26 2019-03-12 惠州Tcl移动通信有限公司 The control method of the Doze mode of mobile terminal
CN109462699B (en) * 2018-12-26 2020-10-23 惠州Tcl移动通信有限公司 Method for controlling Doze mode of mobile terminal
CN111913553A (en) * 2019-05-07 2020-11-10 中兴通讯股份有限公司 Method and device for controlling power consumption of terminal, terminal and computer readable storage medium
CN110618747A (en) * 2019-09-17 2019-12-27 北京字节跳动网络技术有限公司 Method and device for low-power operation of terminal, terminal and storage medium
CN111290565A (en) * 2020-01-13 2020-06-16 Oppo广东移动通信有限公司 Doze mode control method, device, terminal and storage medium
CN113965984A (en) * 2021-10-19 2022-01-21 闻泰通讯股份有限公司 Communication equipment control method and device, communication equipment and storage medium

Also Published As

Publication number Publication date
CN107831885B (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN107831885A (en) Doze mode switching methods, device, mobile terminal and readable storage medium storing program for executing
CN106507445B (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
CN103401991B (en) A kind of method and apparatus that the communication event of terminal unit is pointed out
CN106020990A (en) Control method for central processing unit and terminal equipment
CN105828424B (en) Intelligent terminal and energy consumption quantitative control method thereof
CN110166994B (en) Data time-sharing transmission interoperability method, system, mobile terminal and storage medium
CN103823546B (en) Information control method and electronic equipment
CN106412293B (en) Foreign matter detection method and device and terminal equipment
CN105224439A (en) Method and device for detecting CPU occupancy rate of terminal APP and terminal
EP2629499B1 (en) Battery management scheme for NFC
CN103827820A (en) Managing data usage of a computing device
CN109462699A (en) The control method of the Doze mode of mobile terminal
CN103605591A (en) Method and device for controlling memory initialization of terminal system
US11816200B2 (en) Terminal and method for managing launch of an application of a terminal
CN105744034A (en) Screen brightness output method and device
CN107908271A (en) Prophylactic applications influence the method, apparatus and intelligent terminal of intelligent terminal power consumption
CN110800277B (en) Call processing method and related product
CN111654899B (en) Wearable device control method and device, electronic device and storage medium
CN113608684A (en) Memory information acquisition method, device and system, electronic equipment and storage medium
CN105204954A (en) Method and terminal for processing dead halt state
EP2618259B1 (en) Data erasable method of memory in smart card and smart card thereof
CN204968201U (en) LED asynchronous control ware
CN110109529A (en) SD card method for controlling power supply, device, storage medium and electronic equipment
CN111897252B (en) Load detection method, system and equipment
CN112688379A (en) Charging method, device, equipment and 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