CN106502371A - A kind of electricity-saving control method and device - Google Patents

A kind of electricity-saving control method and device Download PDF

Info

Publication number
CN106502371A
CN106502371A CN201610979691.3A CN201610979691A CN106502371A CN 106502371 A CN106502371 A CN 106502371A CN 201610979691 A CN201610979691 A CN 201610979691A CN 106502371 A CN106502371 A CN 106502371A
Authority
CN
China
Prior art keywords
mobile terminal
duration
moment
point
sleep
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.)
Pending
Application number
CN201610979691.3A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610979691.3A priority Critical patent/CN106502371A/en
Publication of CN106502371A publication Critical patent/CN106502371A/en
Pending legal-status Critical Current

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/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3256Power saving in optical drive
    • 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/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of electricity-saving control method, for reducing the electric quantity consumption of mobile terminal.Present invention method includes:Screen instruction is put out in reception;Screen is closed according to screen instruction is put out so that screen enters black state;Whether the first duration of detection black state is more than the first predetermined threshold value, and the first duration is calculated as starting point with the moment point for detecting black state for mobile terminal;If the first duration freezes the first background application of mobile terminal more than the first predetermined threshold value.The embodiment of the present invention additionally provides a kind of power-saving control device, to save the electricity of mobile terminal, increases the cruising time of mobile terminal.

Description

A kind of electricity-saving control method and device
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of electricity-saving control method and device.
Background technology
As the function of the mobile terminals such as the fast development of electronic technology, mobile phone, panel computer is more and more extensive, use Can realize listening music, see video, Internet chat etc. by the application program on these mobile terminals, bring to life in family Increasing enjoyment.
For existing fast pace with high efficiency life, most of user has the habit before sleeping using mobile terminal Used, for example to see video, play game, see novel etc. by mobile phone, these application programs can correspondingly consume the electricity of mobile terminal, And in actual applications, after mobile terminal installs certain application program, this application program may affect mobile whole user End waiting electric quantity in a sleep state, for example, after mobile phone is mounted with the application programs such as wechat, microblogging, QQ, even if be not used When these application programs, mobile phone also periodically can be waken up, and carry out data cube computation and exchange, i.e., this application program is being closed Also it is possible to continue to run with the backstage of mobile terminal, this will accelerate the electric quantity consumption of mobile terminal in the case of closing, from And cause the endurance of mobile terminal to be deteriorated.
However, user can't operate mobile terminal during sleep, also without the need for using the more multi-functional of mobile terminal. Therefore, in view of the foregoing, it is necessary to mobile terminal is correspondingly processed in the sleep procedure of user, to save electricity Amount, increases the cruising time of mobile terminal.
Content of the invention
A kind of electricity-saving control method and device is embodiments provided, to save the electricity of mobile terminal, is increased The cruising time of mobile terminal.
In view of this, first aspect present invention provides a kind of electricity-saving control method, is applied to mobile terminal, including:
Screen instruction is put out in reception;
Screen is closed according to screen instruction is put out so that screen enters black state;
Whether the first duration of detection black state is more than the first predetermined threshold value, and the first duration is mobile terminal It is calculated with detecting the moment point of black state as starting point;
If the first duration freezes the first background application of mobile terminal more than the first predetermined threshold value.
Wherein, after according to screen instruction closing screen is put out, the method also includes:
Judge whether current time reached for the first moment;
If so, the step of then whether the first duration of detection trigger black state is more than the first predetermined threshold value;Wherein, The step of whether the first duration of detection black state is more than the first predetermined threshold value includes detecting that the first of black state holds Whether continuous duration is more than the first predetermined threshold value, and detect whether mobile terminal produces displacement in the first duration.
A kind of electricity-saving control method is also proposed, mobile terminal is applied to, it may include:
Screen instruction is put out in reception;
Screen is closed according to screen instruction is put out so that screen enters black state;
Whether the first duration of detection black state is more than the first predetermined threshold value, and detect that mobile terminal is held first Whether displacement is produced in continuous duration, and the first duration is that mobile terminal is calculated with the moment point for detecting black state as starting point Obtain;
If the first duration is more than the first predetermined threshold value, and mobile terminal is not subjected to displacement in the first duration, Then freeze the first background application of mobile terminal.
In conjunction with the embodiment of the present invention in a first aspect, the first embodiment of first aspect in the embodiment of the present invention In, after the first background application for freezing mobile terminal, the method also includes:
Whether the second duration of detection black state is more than the second predetermined threshold value, and the second duration is mobile terminal It is calculated as starting point with detecting the moment point of black state, or is counted as starting point with detecting the moment point of the first predetermined threshold value Obtain;
If the second duration freezes the second background application of mobile terminal, the second backstage more than the second predetermined threshold value The usage frequency of application is more than the first background application.
In conjunction with the embodiment of the present invention in a first aspect, or the embodiment of the present invention first aspect the first embodiment, In second embodiment of the first aspect of the embodiment of the present invention, judge current time whether reach the first moment it Before, the method also includes:
First moment was arranged in mobile terminal according to historical sleep record;
Historical sleep record includes:
The statistics point length of one's sleep of all working day at least one period before current time;Or,
The statistics point length of one's sleep on all day offs at least one period before current time;Or,
The dated statistics point length of one's sleep of institute at least one period before current time.
In conjunction with second embodiment of the first aspect of the embodiment of the present invention, in the first aspect of the embodiment of the present invention In the third embodiment, included at mobile terminal the first moment of setting according to historical sleep record:
It is weighted to counting the point length of one's sleep, obtains the point length of one's sleep;
It was set to for the first moment by the time point of the first duration is shifted to an earlier date than the point length of one's sleep.
In conjunction with the first embodiment of the first aspect of the embodiment of the present invention, in the first aspect of the embodiment of the present invention In 4th kind of embodiment, the method also includes:
Judge whether current time reached for the second moment;
If so, then the first background application and the second background application are thawed;
Before judging whether current time reached for the second moment, the method also includes:
Record is got up at mobile terminal the second moment of setting according to history;
History record of getting up includes:
In at least one period before current time, the statistics of all working day is got up time point;Or,
In at least one period before current time, the statistics on all day offs is got up time point;Or,
In at least one period before current time, institute is dated counts time point of getting up.
In conjunction with the 4th kind of embodiment of the first aspect of the embodiment of the present invention, in the first aspect of the embodiment of the present invention In 5th kind of embodiment, being got up to record according to history included at mobile terminal the second moment of setting:
Time point that statistics is got up is weighted, and obtains time point of getting up;
The time point for shifting to an earlier date the second duration compared with bed point was set to for the second moment.
Second aspect present invention provides a kind of power-saving control device, is applied to mobile terminal, including:
Receiver module, puts out screen instruction for receiving;
Closedown module, puts out screen instruction for basis and closes screen so that screen enters black state;
First detection module, for detecting the first duration of black state whether more than the first predetermined threshold value, first Duration is calculated as starting point with the moment point for detecting black state for mobile terminal;
First freezes module, for when the first duration is more than the first predetermined threshold value, then freezing the first of mobile terminal Background application.
Wherein, device also includes:
First judge module, for judging whether current time reached for the first moment;
Second detection module, for detecting whether mobile terminal produces displacement in the first duration;
Trigger module, for when reaching for the first moment at current time, then triggering first detection module detects black state The first duration whether be more than the first predetermined threshold value, and the second detection module detection mobile terminal is in the first duration Whether displacement is produced.
A kind of power-saving control device is also proposed, mobile terminal is applied to, it may include:
Receiver module, puts out screen instruction for receiving;
Closedown module, puts out screen instruction for basis and closes screen so that screen enters black state;
First detection module, for detecting the first duration of black state whether more than the first predetermined threshold value, first Duration is calculated as starting point with the moment point for detecting black state for mobile terminal;
Second detection module, for detecting whether mobile terminal produces displacement in the first duration;
First freezes module, and for being more than the first predetermined threshold value when the first duration, and mobile terminal continues first When not being subjected to displacement in duration, then freeze the first background application of mobile terminal.
In conjunction with the second aspect of the embodiment of the present invention, in the first embodiment of the second aspect of the embodiment of the present invention In, device also includes:
3rd detection module, for detecting the second duration of black state whether more than the second predetermined threshold value, second Duration is calculated as starting point with the moment point for detecting black state for mobile terminal, or presets threshold to detect first The moment point of value is calculated for starting point;
Second freezes module, for when the second duration is more than the second predetermined threshold value, then freezing the second of mobile terminal Background application, the usage frequency of the second background application are more than the first background application.
In conjunction with the second aspect of the embodiment of the present invention, or the first embodiment of the second aspect of the embodiment of the present invention, In second embodiment of the second aspect of the embodiment of the present invention, device also includes:
First setup module, for arranging for the first moment according to historical sleep record in mobile terminal;
Historical sleep record includes:
The statistics point length of one's sleep of all working day at least one period before current time;Or,
The statistics point length of one's sleep on all day offs at least one period before current time;Or,
The dated statistics point length of one's sleep of institute at least one period before current time.
In conjunction with second embodiment of the second aspect of the embodiment of the present invention, in the second aspect of the embodiment of the present invention In the third embodiment, the first setup module includes:
First computing unit, for being weighted to counting the point length of one's sleep, obtains the point length of one's sleep;
First arranging unit, was set to for the first moment for will shift to an earlier date the time point of the first duration than the point length of one's sleep.
In conjunction with the third embodiment of the second aspect of the embodiment of the present invention, in the second aspect of the embodiment of the present invention In 4th kind of embodiment, device also includes:
Second judge module, for judging whether current time reached for the second moment;
Defrosting module, for when reaching for the second moment at current time, then to the first background application and the second background application Thawed;
Device also includes:
Second setup module, for getting up record at mobile terminal the second moment of setting according to history;
History record of getting up includes:
In at least one period before current time, the statistics of all working day is got up time point;Or,
In at least one period before current time, the statistics on all day offs is got up time point;Or,
In at least one period before current time, institute is dated counts time point of getting up.
In conjunction with the 4th kind of embodiment of the second aspect of the embodiment of the present invention, in the second aspect of the embodiment of the present invention In 5th kind of embodiment, the second setup module includes:
Second computing unit, for getting up to statistics, time point is weighted, and obtains time point of getting up;
Second arranging unit, for being set to for the second moment by the time point for shifting to an earlier date the second duration compared with bed point.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the present embodiment, in mobile terminal after black state, when mobile terminal continues in the first of black state Duration is more than the first predetermined threshold value, and mobile terminal is not when being subjected to displacement in the first duration, can be defaulted as mobile eventually End is currently at idle state, and user is also possible to have been enter into sleep state, then can be by the first background application of mobile terminal Freezed, it follows that by being detected to the state of mobile terminal accordingly, can be likely to be in mobile terminal Under static idle state, corresponding function restriction is carried out to the first background application of mobile terminal, such that it is able to be prevented effectively from Electric quantity consumption of first background application to mobile terminal, and then the cruising time for being conducive to increasing mobile terminal.
Description of the drawings
Fig. 1 is electricity-saving control method one embodiment schematic diagram in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of electricity-saving control method in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of electricity-saving control method in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of electricity-saving control method in the embodiment of the present invention;
Fig. 5 is power-saving control device one embodiment schematic diagram in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of power-saving control device in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of power-saving control device in the embodiment of the present invention;
Fig. 8 is another embodiment schematic diagram of power-saving control device in the embodiment of the present invention.
Specific embodiment
A kind of electricity-saving control method and device is embodiments provided, to save the electricity of mobile terminal, is increased The cruising time of mobile terminal.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention in Accompanying drawing, to the embodiment of the present invention in technical scheme be clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Embodiment in based on the present invention, ordinary skill people The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection Enclose.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing, " Four " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.Should manage The data that solution is so used can be exchanged in the appropriate case, so that the embodiments described herein can be with except illustrating here Or the order beyond the content of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that Covering is non-exclusive to be included, and for example, the process, method, system, product or the equipment that contain series of steps or unit need not be limited In those steps or unit for clearly listing, but may include clearly not list or for these processes, method, product Other intrinsic steps of product or equipment or unit.
In order to be best understood from a kind of electricity-saving control method disclosed in the embodiment of the present invention, first the embodiment of the present invention is suitable for Mobile terminal is described.Mobile terminal described by the embodiment of the present invention can include any possess display screen and communication and The equipment of store function, for example:The smart machines such as panel computer, mobile phone, the mobile terminal can be provided with including following operation system System:Android, Linux, IOS, Windows etc., mobile terminal can be further fitted with some based on the operating system that is installed Application program, the application program can be the system applications that pre-installs before mobile terminal is dispatched from the factory, such as mailbox application, setting application, music The third-party application that application, browser application, take pictures application etc., or user oneself install, such as QQ applications, wechat should With, Alipay application, microblogging application etc., specifically do not limit herein.
In actual applications, due to the impact of the different living habit of user or work habit, when mobile terminal has a lot Wait be in static idle state, but user working time or time of having a rest in static and idle state mobile end End carries out corresponding operation and processes to save electricity, will be unfavorable for that user is operated with to mobile terminal, and therefore, the present invention is real The application scenarios for applying example depend on a period of time before user may fall asleep, or when may get up with reference to user this section Between illustrated accordingly, processed to the background application of mobile terminal accordingly in the possible sleep procedure of user, Fully to reduce energy consumption of the background application to mobile terminal, increase the cruising time of mobile terminal as much as possible.
For ease of understanding, below to the embodiment of the present invention in idiographic flow be described, refer to Fig. 1, the present invention is real Applying electricity-saving control method one embodiment in example includes:
101st, receive and put out screen instruction;
In the present embodiment, mobile terminal can be received and put out screen instruction, and this puts out screen instruction and refers to so that mobile terminal entrance is black The instruction of screen state.
It is understood that in actual applications, it can be by user input, or mobile terminal that this puts out screen instruction The instruction automatically initiated after there is no default trigger event in preset duration, for example, it is assumed that user is arranged in mobile terminal Automatic locking time be 1 minute, then reach 1 minute when mobile terminal will receive put out screen instruction, specifically do not limit herein Fixed.
102nd, basis puts out screen instruction closing screen so that screen enters black state;
In the present embodiment, after mobile terminal is received puts out screen instruction, screen instruction turning-off mobile terminal can be put out according to this Screen so that screen enter black state.
It is understood that the screen of mobile terminal enters black state, not equivalent to mobile terminal in the present embodiment For lock-out state, for example, it is assumed that mobile terminal is provided with unlocking pin, then when user is input into unlocking pin in mobile terminal, Now the screen of mobile terminal can be bright screen state, but not be input into completely or in the case of input error in unlocking pin, move Dynamic terminal is still in lock-out state.
103rd, whether the first duration of detection black state is more than the first predetermined threshold value, if so, then execution step 104, if it is not, then execution step 106;
In the present embodiment, according to the screen for putting out screen instruction turning-off mobile terminal so that after screen enters black state, can To detect that whether the first duration of black state is more than the first predetermined threshold value, the first duration is mobile terminal detecting Moment point to black state is calculated for starting point.
Specifically, the first predetermined threshold value can be pre-set in the terminal, in actual applications, can by with The self-defined setting in family, or the statistical data obtained based on mobile terminal are configured, and such as general user is from fall asleep to entering Enter dormant duration, specifically do not limit herein.
Based on the setting of the first predetermined threshold value, when the screen of mobile terminal enters black state, can be entering blank screen Zequin of this moment of state as the duration of black state, for example, it is assumed that the screen of mobile terminal is 22:00 Enter black state, then can be with 22:00 this moment calculated the duration of black state as starting point, so as to work as first When predetermined threshold value is 30 minutes, the first duration of black state can be detected whether more than 30 minutes, if 22:Move after 30 Dynamic terminal does not have bright screen state to occur, then it is considered that the first duration of black state is more than the first predetermined threshold value, if 22:30 and 22:Before 30, mobile terminal has bright screen state to occur, then it is considered that the first duration of black state is little In the first predetermined threshold value.
It should be noted that the bright screen state in the present embodiment refers to a kind of state contrary with black state, herein After explanation, it is not repeated later to illustrate.
104th, whether detection mobile terminal produces displacement in the first duration, if so, then execution step 105, if it is not, Then execution step 106;
In the present embodiment, if the first duration of detection black state is more than the first predetermined threshold value, further, at this In first duration, it is possible to use such as whether pedometer detection mobile terminal is subjected to displacement, and judges mobile terminal with this Whether remain static in the first duration, the resting state refers to that mobile terminal is not any in the X, Y, Z direction Movement.
In actual applications, as user will not be operated to mobile terminal in sleep procedure, then by step 103 with two kinds of detection meanss to mobile terminal in step 104, can judge whether user is in sleep state at night.Need It is noted that dormant to user in the present embodiment judge to be not limited to night, but can be dependent on user's Concrete sleep habit, simultaneously for mobile terminal is placed in user, and is possible to slight in sleep procedure with user Exclusion is should give in the displacement for overturning and producing, i.e., in this case, should be defaulted as mobile terminal and will not produce displacement.
It is understood that the step 104 in the present embodiment can be executed with step 103 simultaneously, it is also possible in step 103 Execute before, specifically do not limit herein.
It is appreciated that for the step of producing displacement is detected whether, in the present embodiment and other embodiments This step can not included, it is also possible to realize the purpose of power saving.For apparatus described below embodiment, which can also equally have Other are not wrapped in the embodiment of the function of detection displacement, and equally, which can realize the purpose of power saving, also in the protection model of the present invention In enclosing.
105th, freeze the first background application of mobile terminal;
In the present embodiment, if the first duration of black state is more than the first predetermined threshold value, and mobile terminal is first It is not subjected to displacement in duration, then the first background application of mobile terminal can be freezed.
Specifically, in the first duration, in the case that only mobile terminal does not occur bright screen and is not subjected to displacement, It is considered that mobile terminal is in static idle state, and then it is considered that user is in sleep state, then user's In sleep procedure, the first background application of mobile terminal can be freezed, first background application can be made in terminal With the relatively low background application of frequency, such as recording application, this certain applications is freezed, can effectively be saved mobile terminal Electricity, meanwhile, under special circumstances, such as user wakes up from sleep state, and user can as usual using the conventional of mobile terminal Application, so that be conducive to improving operating experience of the user to mobile terminal.
It is understood that the usage frequency in the present embodiment can use frequency at total usage frequency, or night Rate, and if the sleep habit of user is contrary with common people, then the usage frequency can also be usage frequency on daytime, specifically can root Selected according to practical situation, do not limited herein.
In the present embodiment, freeze application program and refer to application program is changed into torpor, after torpor refers to and freezes Application program can not start, also will not carry out again backstage startup etc. operation, so as to exist such that it is able to reduce by the first background application The electric quantity consumption of mobile terminal, it is also possible to reduce the consumption of terminal operating memory source, but still is present in terminal, meeting The built-in storage in part of terminal is occupied, if the application program for freezing does not thaw, torpor is will always be in.Corresponding, if using Family needs, using the application program for freezing, also to thaw the application program that this freezes, and thaws and refers to the application after freezing Program is waken up from torpor, is recovered normal and is used, can consume the electricity of mobile terminal, it is possible to occupy terminal on backstage Running memory resource.
106th, other flow processs are executed.
In the present embodiment, if the first duration of black state is not more than the first predetermined threshold value, or mobile terminal is the It is subjected to displacement in one duration, then mean that user is also introduced into sleep state, mobile terminal has the possibility for using, then Other operations can not be carried out so that mobile terminal keeps current state, but still can be examined according to described above accordingly Survey, do not limit herein.
In the present embodiment, by the state-detection to mobile terminal, can estimate whether user enters sleep state, when pre- When estimating user's entrance sleep state, the first background application of mobile terminal can be freezed, so as to avoid the first background application pair The electric quantity consumption of mobile terminal, is conducive to the cruising time for increasing mobile terminal.
It should be noted that the embodiment of the present invention is on the basis of the first duration, can continue to enter black state Row detection, further to process to the background application of mobile terminal, refers to Fig. 2, power-saving control in the embodiment of the present invention Another embodiment of method includes:
Step 201 in the present embodiment is identical to step 102 with the step 101 in embodiment illustrated in fig. 1 to step 202, Here is omitted.
203rd, whether the first duration of detection black state is more than the first predetermined threshold value, if so, then execution step 204, if it is not, then execution step 208;
204th, whether detection mobile terminal produces displacement in the first duration, if so, then execution step 205, if it is not, Then execution step 208;
Step 203 in the present embodiment is identical to step 105 with the step 103 in embodiment illustrated in fig. 1 to step 205, Here is omitted.
206th, whether the second duration of detection black state is more than the second predetermined threshold value, if so, then execution step 207, if it is not, then execution step 208;
In the present embodiment, based on the first duration, after the first background application for freezing mobile terminal, can detect black Whether second duration of screen state is more than the second predetermined threshold value, and the second duration is mobile terminal detecting blank screen shape The moment point of state is calculated for starting point, or is calculated with detecting the moment point of the first predetermined threshold value as starting point.
Specifically, the sleep state of people has dividing for stage, and such as either shallow is slept and deep sleep, and different Sleep stages wake up The complexity of people is different, and, it is considered that user can enter into either shallow sleep in the first duration, second when continuing for that Long then it is considered that user enters into deep sleep, accordingly, the sleep of the either shallow of user and deep sleep can also correspond to move The either shallow sleep of dynamic terminal and deep sleep, to indicate the idle state of the different durations of mobile terminal, to be conducive to movement The different application of terminal is processed respectively.In order to further save the electricity of mobile terminal after user enters deep sleep Amount, can detect to the second duration of black state, for example, it is assumed that 22:00 detects mobile terminal enters blank screen State, the first predetermined threshold value are 30 minutes, and 22:First background application is freezed after 30, hereafter, on the one hand, can With same with 22:00 this moment calculated the second duration as starting point, then in the condition that the second predetermined threshold value is 1 hour Under, if 23:After 00, mobile terminal does not have bright screen state to occur, then it is considered that the second duration of black state is more than the Two predetermined threshold values, mobile terminal are not used by, and user enters deep sleep, if 23:00 or 23:Before 00, mobile terminal has Bright screen state occurs, then it is considered that the second duration of black state is not more than the second predetermined threshold value, mobile terminal occurs Bright screen, and user wakes up from sleep state, on the other hand, it is also possible to detect the moment point of the first predetermined threshold value as rising Point calculates the second duration, i.e., with 22:30 for the second duration starting point, then be 30 minutes in the second predetermined threshold value Under the conditions of, above-mentioned same testing result can be obtained.
Described above is based on, the second predetermined threshold value can be arranged accordingly according to the starting point of the second duration, equally , such as the first predetermined threshold value, second predetermined threshold value can also be pre-set in the terminal, in actual applications, The statistical data that can be arranged by User Defined, or be obtained based on mobile terminal is configured, such as general user from Fall asleep to the duration for entering deep sleep, specifically do not limit herein.
After the first duration meets the first predetermined threshold value, if user's possibility for using mobile terminal in need, move Dynamic terminal can occur bright screen, so as to the second duration according to black state may determine that the sleep state of user, but In actual applications, however not excluded that have the situation for just occurring bright screen after mobile terminal is subjected to displacement, then further, this reality Apply in example, can also detect whether mobile terminal is subjected to displacement in the second duration, since confirm user whether enter depth Degree sleep, so as in this case, when in the second duration, mobile terminal is subjected to displacement, it is also possible to think that user does not have There is entrance deep sleep, conversely, when mobile terminal is not subjected to displacement in the second duration and the second duration is more than the During two predetermined threshold values, it is believed that mobile terminal is not used by, and user enters deep sleep.
207th, freeze the second background application of mobile terminal;
In the present embodiment, if the second duration of detection black state is more than the second predetermined threshold value, then can freeze Second background application of mobile terminal, the usage frequency of the second background application are more than the first background application.
Specifically, when the second duration for further detecting black state is more than the second predetermined threshold value, can recognize It is mobile terminal still in static idle state, user has been enter into deep sleep, thereby it is assumed that, even with frequency Higher background application also would be possible to be used, then on the basis of the first background application, can be by using frequency Rate is freezed more than the second background application of the first background application, further to reduce the electric quantity consumption of mobile terminal, such as only Retain the application with communication function.In actual applications, can obtain mobile terminal currently all background applications using frequency Rate, it is possible to the usage frequency of target background application in all background applications and the 3rd predetermined threshold value are compared, if target Usage frequency is not more than the 3rd predetermined threshold value, then the target background application can be categorized as the first background application, conversely, then may be used So that the target background application is categorized as the second background application, such that it is able to the different time stage to the first background application and Second background application is freezed, and is conducive to making a distinction background application management with reference to the sleep state of user, to avoid spy The appearance of different situation and affect Consumer's Experience.Simultaneously for the classification of background application, just in target background application, i.e., such as This kind of altofrequency of note, phone using application can not be classified, i.e., will not be freezed accordingly, ensure that The basic function of mobile terminal.
208th, other flow processs are executed.
In the present embodiment, if the first duration of black state is not more than the first predetermined threshold value, or mobile terminal is the It is subjected to displacement in one duration, then mean that user is also introduced into sleep state, mobile terminal has the possibility for using, then Other operations can not be carried out so that mobile terminal keeps current state, but in the case where mobile terminal is in black state, Still can be detected according to described above accordingly, not limited herein.
Further, in the present embodiment, if the second duration of black state is not more than the second predetermined threshold value, then meaning Taste mobile terminal and occurs in that bright screen, and user may be introduced into deep sleep and wake up from sleep state, and mobile terminal meeting There is the possibility for using, then can not carry out other operations so that mobile terminal keeps the frozen state of the first background application, but In the case where mobile terminal is in black state, still can be detected according to described above accordingly, not limited herein.
The beneficial effect illustrated based on embodiment illustrated in fig. 1, in the present embodiment, on the basis for freezing the first background application On, the second background application of mobile terminal can be freezed, further save the electricity of mobile terminal.
It should be noted that in order to be conducive at the background application according to the sleep habit of user to mobile terminal Manage, the embodiment of the present invention can be detected to the state of mobile terminal accordingly at the first moment, refer to Fig. 3, the present invention In embodiment, another embodiment of electricity-saving control method includes:
Step 301 in the present embodiment is identical to step 202 with the step 201 in embodiment illustrated in fig. 2 to step 302, Here is omitted.
303rd, judge whether current time reached for the first moment, if so, then execution step 304, if it is not, then execution step 309;
In the present embodiment, when mobile terminal closes screen according to screen instruction is put out so that after screen enters black state, can be with Judging whether current time reaches can the moment.
Specifically, as each user has different sleep habits, to there is different time for falling asleep, such as 22:00、 23:00 or morning 1:00 etc., then probably there is mobile terminal and have been enter into black state, but the unsleeping situation of user, such as User leaves unused mobile terminal on desk, but user is being washed one's face and rinsed one's mouth or read a book or other activities, and mobile terminal is not entered Any operation of row also non-mobile terminal, then if carrying out corresponding detection before the time for falling asleep of user to mobile terminal simultaneously Background application is processed, the operation that user will be affected to there is mobile terminal is unfavorable for the raising of Consumer's Experience.Cause This, in actual applications, can be configured to the first moment according to the sleep habit of user, and such as the first moment is 22:00, that In the case where mobile terminal enters black state, it can be determined that whether current time reached for the first moment, such as reached, then may be used To think user possibly into sleep state, it is possible to trigger the execution of following step 304 and following action, if not up to, that It is considered that now user may also be introduced into sleep state, the execution of step following 304 and following action is not triggered.
In the present embodiment, the first moment can be arranged by User Defined, you can carried out with the time for falling asleep according to oneself Arrange, such as the time for falling asleep than oneself anticipation shifts to an earlier date half an hour, or the historical sleep record according to mobile terminal storage It is configured, does not specifically limit herein.
Based on the situation for recording the first moment of setting according to historical sleep, historical sleep record can include:When current Between before at least one period in all working day the statistics point length of one's sleep;Or, at least one before current time The statistics point length of one's sleep on all day offs in period;Or, at least one period before current time, institute is dated The statistics point length of one's sleep.For example, it is assumed that current time is on October 26th, 2016, a length of 1 month during statistics, then can be right The dated point length of one's sleep that counts of the institute of the previous moon on October 26th, 2016 is recorded, it is also possible to according to user's need Will, all working day of the previous moon on October 26th, 2016 or the statistics point length of one's sleep of all rests are recorded. Further, the statistics point length of one's sleep for recording can be weighted, obtains the point length of one's sleep, it is possible to will be than sleep Time point shifts to an earlier date the time point of the first duration and was set to for the first moment, for example, it is assumed that the point length of one's sleep is the average point length of one's sleep, A length of 1 hour when first, historical sleep record includes 22:00、22:30、23:00、22:20、0:00 this five nearly five days The statistics point length of one's sleep, then the average point length of one's sleep can be obtained for 22:46, it is possible to by 21:46 were set to for the first moment.
It is understood that in actual applications, based on embodiment illustrated in fig. 1 or embodiment illustrated in fig. 2, first is being arranged Before moment, may rely on user and enter the time point of hypophypnosis or deep sleep as the statistics point length of one's sleep, i.e., right When freezing to the first background application or the second background application before current time, the starting point of the first duration to record Or to detect the moment point of the first predetermined threshold value as the statistics point length of one's sleep, for example, it is assumed that on October 26th, 2016 it Before, in past 5 days, such as 23 are respectively to the starting point that the first background application carries out freezing corresponding first duration:10、 23:15、22:45、22:16、22:50, then can be using this five times as the statistics point length of one's sleep, and using this data as the The installation warrants at one moment.
Further, the first duration can also be set automatically according to the first predetermined threshold value or the second predetermined threshold value, such as First duration is the twice of the first predetermined threshold value or the second predetermined threshold value, or is set by User Defined, and in view of goes through The content of history hypnograph, the first moment corresponding with working day on day off can be with different, with sleeping for the user that fully fits Sleep and be accustomed to, preferably use feeling is brought to user.
If it should be noted that the first moment is configured according to the historical sleep record of mobile terminal storage, then In actual applications, the first moment can automatically update change, you can be fitted with the actual time for falling asleep according to user Adjust to answering property.
304th, whether the first duration of detection black state is more than the first predetermined threshold value, if so, then execution step 305, if it is not, then execution step 309;
305th, whether detection mobile terminal produces displacement in the first duration, if so, then execution step 306, if it is not, Then execution step 309;
Step 304 in the present embodiment is identical to step 205 with the step 203 in embodiment illustrated in fig. 2 to step 306, this Place repeats no more.
307th, whether the second duration of detection black state is more than the second predetermined threshold value, if so, then execution step 308, if it is not, then execution step 309;
Step 307 in the present embodiment is identical with 206 to the step 207 in embodiment illustrated in fig. 2 to step 308, herein Repeat no more.
309th, other flow processs are executed.
In the present embodiment, if detecting current time was not up to for the first moment, then other operations can not be carried out so that Mobile terminal keeps current state, but in the case where mobile terminal is in black state, still the current time can be carried out Detection, once the current time reached for the first moment, then specifically can not limited with execution step 303 herein.
Based on step 304, step 305 and the detection of step 307, implement shown in the partial content in the present embodiment and Fig. 2 Step 208 in example is identical, and here is omitted.
Based on the beneficial effect of embodiment illustrated in fig. 2, in the present embodiment, phase can be carried out to mobile terminal at the first moment The detection that answers, is conducive to background application being carried out freezing to process according to the sleep habit of user, effectively can prevent from entering in user Background application is carried out freezing to process the situation for causing Consumer's Experience not good before sleeping, while the process of mobile terminal can also be reduced Load.
It is understood that in order to be conducive to the experience for improving user, should the first background application and the second backstage is freezed With rear, can be thawed with the custom of getting up according to user accordingly, referred to Fig. 4, embodiment of the present invention power-saving control side Another embodiment of method includes:
Step 401 in the present embodiment is identical to step 302 with the step 301 in embodiment illustrated in fig. 3 to step 402, Here is omitted.
403rd, judge whether current time reached for the first moment, if so, then execution step 404, if it is not, then execution step 411;
404th, whether the first duration of detection black state is more than the first predetermined threshold value, if so, then execution step 405, if it is not, then execution step 411;
405th, whether detection mobile terminal produces displacement in the first duration, if so, then execution step 406, if it is not, Then execution step 411;
Step 403 in the present embodiment is identical to step 306 with the step 303 in embodiment illustrated in fig. 3 to step 406, this Place repeats no more.
407th, whether the second duration of detection black state is more than the second predetermined threshold value, if so, then execution step 408, if it is not, then execution step 411;
Step 407 in the present embodiment is identical with 307 to the step 308 in embodiment illustrated in fig. 3 to step 408, herein Repeat no more.
409th, judge whether current time reached for the second moment, if so, then execution step 410, if it is not, then execution step 411;
In the present embodiment, after the second background application is freezed, can detect whether current time reached for the second moment.
Specifically, corresponding with the time for falling asleep of user, each user can have different get up the time, such as 6:30、7: 30、7:45 etc., in order to avoid user got up but mobile terminal the first background application and the second background application still in jelly Knot state, affect user using mobile terminal the occurrence of, whether can reach for the second moment to current time sentences Disconnected, the first background application and the second background application are freezed with releasing before user gets up as much as possible, prevent user voluntarily Effect to poor user experience that the first background application and the second background application are thawed and caused, meanwhile, it is also beneficial to carry High mobile terminal intelligent.
In the present embodiment, the second moment can be arranged by User Defined, you can carried out with the time of getting up according to oneself Arrange, such as than oneself anticipation getting up time advance half an hour, it is also possible to according to mobile terminal store history get up record into Row is arranged, and is not specifically limited herein.
The situation at the second moment is set based on according to history record of getting up, history record of getting up can include:When current Between before at least one period in the statistics of all working day get up time point;Or, at least one before current time In period, the statistics on all day offs is got up time point;Or, at least one period before current time, institute is dated Count time point of getting up.For example, it is assumed that current time is on October 26th, 2016, a length of 1 month during statistics, then can be right The dated time point of getting up that counts of the institute of the previous moon on October 26th, 2016 is recorded, it is also possible to according to user's need Will, time point that all working day of the previous moon on October 26th, 2016 or the statistics of all rests are got up is recorded. Further, time point of the statistics that recorded being got up is weighted, and obtains time point of getting up, it is possible to will be compared with bed Time point shifts to an earlier date the time point of the second duration and was set to for the second moment, for example, it is assumed that time point of getting up is for time point of averagely getting up, A length of 30 minutes when second, history record of getting up includes 7:10、7:25、6:50、7:15、7:30 this five nearly statistics of five days Get up time point, then time point of averagely being got up is 7:14, it is possible to by 6:44 were set to for the second moment.
It is understood that in actual applications, before current time, may rely on be defaulted as that user gets up when Between put and get up time point as statistics, i.e., before current time, detect after a period of time for freezing the second background application Bright screen mobile terminal occurs and bright screen duration is more than the 3rd predetermined threshold value, then can be with the bright screen moment point or mobile whole End starts to produce the moment point of displacement and gets up time point as statistics.For example, it is assumed that before 26 days October in 2016, in the past In 5 days, mobile terminal generation bright screen is detected after a period of time for freezing the second background application and bright screen duration is more than Bright screen moment point during three predetermined threshold values is 7:12、7:20、7:30、7:15、7:00, then can be using this five times as system Time point of getting up is counted, and using this data as the installation warrants at the second moment.
Further, the second duration can also be set automatically according to corresponding 3rd predetermined threshold value of bright screen, and such as first Duration is the twice of the 3rd predetermined threshold value, or set by User Defined, and in view of history is got up record content, not The second moment corresponding with working day breath day can be with different, with the custom of getting up of the user that fully fits, to bring to user Preferably use feeling.
If it should be noted that the second moment is configured according to the history record of getting up of mobile terminal storage, then In actual applications, the second moment was also to automatically update change, you can carried out with the actually time of getting up according to user Adaptively adjust.
410th, the first background application and the second background application are thawed;
In the present embodiment, if judging, current time reached for the second moment, can be to the first background application and the second backstage Application is thawed, to recover the normal use of the first background application and the second background application.
It is understood that in the present embodiment, if being not carried out step 409 to step 410, the first background application and the The defrosting of two background applications needs user to be operated accordingly, and in actual applications, if not carrying out the second background application Freeze, the present embodiment can also thaw to the first background application when reaching for the second moment at current time, specifically can be according to Corresponding operation is executed according to practical situation control mobile terminal, is not specifically limited herein.
411st, other flow processs are executed.
Based on the detection of step 403, step 404, step 405 and step 407, the partial content and Fig. 3 in the present embodiment Step 309 in illustrated embodiment is identical, and here is omitted.
In the present embodiment, if detecting current time was not up to for the second moment, then other operations can not be carried out so that Mobile terminal keeps current state, but still the current time can be detected, once the current time reached for the second moment, Then specifically can not limited herein with execution step 410.
The beneficial effect illustrated based on embodiment illustrated in fig. 3, in the present embodiment, can be according to the time point pair of getting up of user First background application and the second background application are thawed automatically, to have recovered the first backstage as much as possible before user gets up Application and the normal use of the second background application, without the defrosting operation that user carries out correlation, are conducive to improving user's body Test.
Above to the embodiment of the present invention in electricity-saving control method be described, below to the embodiment of the present invention in province Controller for electric consumption is described, and the power-saving control device can apply to mobile terminal, refers to Fig. 5, in the embodiment of the present invention Power-saving control device one embodiment includes:
Receiver module 501, puts out screen instruction for receiving;
Closedown module 502, puts out screen instruction for basis and closes screen so that screen enters black state;
First detection module 503, for whether detecting the first duration of black state more than the first predetermined threshold value, the One duration is calculated as starting point with the moment point for detecting black state for mobile terminal;
Second detection module 504, for detecting whether mobile terminal produces displacement in the first duration;
First freezes module 505, and for being more than the first predetermined threshold value when the first duration, and mobile terminal is held first When not being subjected to displacement in continuous duration, then freeze the first background application of mobile terminal.
In the present embodiment, closing screen is referred to according to the screen that puts out that receiver module 501 is received in closedown module 502 so that screen After curtain enters black state, first detection module 503 and the second detection module 504 can be passed through the state of mobile terminal is examined Survey, estimate whether user enters sleep state, when user's entrance sleep state is estimated, it is possible to use first freezes module 505 Freeze the first background application of mobile terminal, so as to avoid electric quantity consumption of first background application to mobile terminal, be conducive to Increase the cruising time of mobile terminal.
Fig. 6 is referred to, another embodiment of power-saving control device includes in the embodiment of the present invention:
Module 601 in the present embodiment is identical with the module 501 in embodiment illustrated in fig. 5, and module 602 is real with shown in Fig. 5 The module 502 that applies in example is identical, and module 603 is identical with the module 503 in embodiment illustrated in fig. 5, and module 604 is real with shown in Fig. 5 The module 504 that applies in example is identical, and module 605 is identical with the module 505 in embodiment illustrated in fig. 5, and here is omitted.
3rd detection module 606, for whether detecting the second duration of black state more than the second predetermined threshold value, the Two durations are calculated as starting point with the moment point for detecting black state for mobile terminal, or are preset with detecting first The moment point of threshold value is calculated for starting point;
Second freezes module 607, for when the second duration is more than the second predetermined threshold value, then freezing the of mobile terminal Two background applications, the usage frequency of the second background application are more than the first background application.
Fig. 7 is referred to, another embodiment of power-saving control device includes in the embodiment of the present invention:
Module 701 in the present embodiment is identical with the module 601 in embodiment illustrated in fig. 6, and module 702 is real with shown in Fig. 6 The module 602 that applies in example is identical, and here is omitted.
First judge module 703, for judging whether current time reached for the first moment;
Module 704 in the present embodiment is identical with the module 603 in embodiment illustrated in fig. 6, and module 705 is real with shown in Fig. 6 The module 604 that applies in example is identical, and here is omitted.
Trigger module 706, for when reaching for the first moment at current time, then triggering first detection module detects blank screen shape Whether the first duration of state is more than the first predetermined threshold value, and the second detection module detection mobile terminal is in the first duration Whether inside displacement is produced;
Module 707 in the present embodiment is identical with the module 605 in embodiment illustrated in fig. 6, and module 708 is real with shown in Fig. 6 The module 606 that applies in example is identical, and module 709 is identical with the module 607 in embodiment illustrated in fig. 6, and here is omitted.
First setup module 710, for arranging for the first moment according to historical sleep record in mobile terminal.
In the present embodiment, the first setup module 710 may further include:
First computing unit 7101, for being weighted to counting the point length of one's sleep, obtains the point length of one's sleep;
First arranging unit 7102, when being set to first for will shift to an earlier date the time point of the first duration than the point length of one's sleep Carve.
Fig. 8 is referred to, another embodiment of power-saving control device includes in the embodiment of the present invention:
Module 801 in the present embodiment is identical with the module 701 in embodiment illustrated in fig. 7, and module 802 is real with shown in Fig. 7 The module 702 that applies in example is identical, and module 803 is identical with the module 703 in embodiment illustrated in fig. 7, and module 804 is real with shown in Fig. 7 The module 704 that applies in example is identical, and module 805 is identical with the module 705 in embodiment illustrated in fig. 7, and module 806 is real with shown in Fig. 7 The module 706 that applies in example is identical, and module 807 is identical with the module 707 in embodiment illustrated in fig. 7, and module 808 is real with shown in Fig. 7 The module 708 that applies in example is identical, and module 809 is identical with the module 709 in embodiment illustrated in fig. 7, and module 810 is real with shown in Fig. 7 The module 710 that applies in example is identical, and here is omitted.
Second judge module 811, for judging whether current time reached for the second moment;
Defrosting module 812, for when reaching for the second moment at current time, then answering to the first background application and the second backstage With being thawed;
Second setup module 813, for getting up record at mobile terminal the second moment of setting according to history.
In the present embodiment, the second setup module 813 may further include:
Second computing unit 8131, for getting up to statistics, time point is weighted, and obtains time point of getting up;
Second arranging unit 8132, for being set to for the second moment by the time point for shifting to an earlier date the second duration compared with bed point.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematic, for example, the unit Divide, only a kind of division of logic function can have other dividing mode, for example multiple units or component when actually realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.Another, shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Such understanding is based on, technical scheme is substantially The part that in other words prior art is contributed or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions Equipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the invention Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, above example only in order to technical scheme to be described, rather than a limitation;Although with reference to front State embodiment to be described in detail the present invention, it will be understood by those within the art that:Which still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification is replaced, and does not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. a kind of electricity-saving control method, is applied to mobile terminal, it is characterised in that include:
Screen instruction is put out in reception;
Screen instruction closing screen is put out according to described so that the screen enters black state;
The first duration of the black state is detected whether more than the first predetermined threshold value, first duration is described Mobile terminal is calculated with the moment point for detecting the black state as starting point;
If first duration freezes the first background application of the mobile terminal more than first predetermined threshold value.
2. electricity-saving control method according to claim 1, it is characterised in that freeze the first of the mobile terminal described After background application, methods described also includes:
The second duration of the black state is detected whether more than the second predetermined threshold value, second duration is described Mobile terminal is calculated with the moment point for detecting the black state as starting point, or detecting first predetermined threshold value Moment point be calculated for starting point;
If second duration freezes the second background application of the mobile terminal more than the second predetermined threshold value, described The usage frequency of the second background application is more than first background application.
3. electricity-saving control method according to claim 1 and 2, it is characterised in that close screen instruction is being put out described in the basis After closing screen, methods described also includes:
Judge whether current time reached for the first moment;
If so, the step of whether then triggering the first duration of the detection black state more than the first predetermined threshold value; Wherein, the step of whether the first duration of the detection black state is more than the first predetermined threshold value includes that detection is described Whether the first duration of black state is more than the first predetermined threshold value, and detects the mobile terminal when described first continues Whether displacement is produced in long.
4. electricity-saving control method according to claim 3, it is characterised in that when judging whether current time reaches first Before quarter, methods described also includes:
First moment is arranged in the mobile terminal according to historical sleep record;
The historical sleep record includes:
The statistics point length of one's sleep of all working day at least one period before current time;Or,
The statistics point length of one's sleep on all day offs at least one period before current time;Or,
The dated statistics point length of one's sleep of institute at least one period before current time.
5. electricity-saving control method according to claim 4, it is characterised in that described recorded in the shifting according to historical sleep Dynamic terminal arranges first moment to be included:
The statistics point length of one's sleep is weighted, the point length of one's sleep is obtained;
The time point for shifting to an earlier date the first duration than the point length of one's sleep is set to first moment.
6. electricity-saving control method according to claim 2, it is characterised in that methods described also includes:
Judge whether current time reached for the second moment;
If so, then first background application and second background application are thawed;
Described judge whether current time reached for the second moment before, methods described also includes:
Record is got up at mobile terminal setting second moment according to history;
History record of getting up includes:
In at least one period before current time, the statistics of all working day is got up time point;Or,
In at least one period before current time, the statistics on all day offs is got up time point;Or,
In at least one period before current time, institute is dated counts time point of getting up.
7. electricity-saving control method according to claim 6, it is characterised in that described record is got up in the shifting according to history Dynamic terminal arranges second moment to be included:
Time point that the statistics is got up is weighted, and obtains time point of getting up;
By than described get up a little shift to an earlier date the second duration time point be set to second moment.
8. a kind of power-saving control device, is applied to mobile terminal, it is characterised in that include:
Receiver module, puts out screen instruction for receiving;
Closedown module, for putting out screen instruction closing screen according to described so that the screen enters black state;
First detection module, for whether detecting the first duration of the black state more than the first predetermined threshold value, described First duration is that the mobile terminal is calculated with the moment point for detecting the black state as starting point;
First freezes module, described mobile whole for when first duration is more than first predetermined threshold value, then freezing First background application at end.
9. power-saving control device according to claim 8, it is characterised in that described device also includes:
3rd detection module, for whether detecting the second duration of the black state more than the second predetermined threshold value, described Second duration is that the mobile terminal is calculated with the moment point for detecting the black state as starting point, or with detection Moment point to first predetermined threshold value is calculated for starting point;
Second freezes module, for when second duration is more than the second predetermined threshold value, then freezing the mobile terminal Second background application, the usage frequency of second background application are more than first background application.
10. power-saving control device according to claim 8 or claim 9, it is characterised in that described device also includes:
First judge module, for judging whether current time reached for the first moment;
Second detection module, for detecting whether the mobile terminal produces displacement in first duration;
Trigger module, for when first moment is reached at the current time, then triggering the first detection module detection Whether the first duration of the black state is more than the first predetermined threshold value, and the second detection module detects the mobile terminal Whether displacement is produced in first duration.
11. power-saving control devices according to claim 10, it is characterised in that described device also includes:
First setup module, for arranging first moment according to historical sleep record in the mobile terminal;
The historical sleep record includes:
The statistics point length of one's sleep of all working day at least one period before current time;Or,
The statistics point length of one's sleep on all day offs at least one period before current time;Or,
The dated statistics point length of one's sleep of institute at least one period before current time.
12. power-saving control devices according to claim 11, it is characterised in that first setup module includes:
First computing unit, for being weighted to the statistics point length of one's sleep, obtains the point length of one's sleep;
First arranging unit, during for being set to described first by the time point for shifting to an earlier date the first duration than the point length of one's sleep Carve.
13. power-saving control devices according to claim 9, it is characterised in that described device also includes:
Second judge module, for judging whether current time reached for the second moment;
Defrosting module, for when second moment is reached at the current time, then to first background application and described Second background application is thawed;
Described device also includes:
Second setup module, for getting up record at mobile terminal setting second moment according to history;
History record of getting up includes:
In at least one period before current time, the statistics of all working day is got up time point;Or,
In at least one period before current time, the statistics on all day offs is got up time point;Or,
In at least one period before current time, institute is dated counts time point of getting up.
14. power-saving control devices according to claim 13, it is characterised in that second setup module includes:
Second computing unit, for getting up to the statistics, time point is weighted, and obtains time point of getting up;
Second arranging unit, for by than described get up a little shift to an earlier date the second duration time point be set to second moment.
CN201610979691.3A 2016-11-08 2016-11-08 A kind of electricity-saving control method and device Pending CN106502371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610979691.3A CN106502371A (en) 2016-11-08 2016-11-08 A kind of electricity-saving control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610979691.3A CN106502371A (en) 2016-11-08 2016-11-08 A kind of electricity-saving control method and device

Publications (1)

Publication Number Publication Date
CN106502371A true CN106502371A (en) 2017-03-15

Family

ID=58324006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610979691.3A Pending CN106502371A (en) 2016-11-08 2016-11-08 A kind of electricity-saving control method and device

Country Status (1)

Country Link
CN (1) CN106502371A (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402783A (en) * 2017-07-04 2017-11-28 广东小天才科技有限公司 The management control method and user terminal of a kind of background application
CN107659727A (en) * 2017-09-29 2018-02-02 北京小米移动软件有限公司 Control method, device and the storage medium of terminal
CN107708191A (en) * 2017-09-30 2018-02-16 北京小米移动软件有限公司 Terminal control method, device and computer-readable recording medium
CN107734578A (en) * 2017-09-26 2018-02-23 奇酷互联网络科技(深圳)有限公司 Standby optimization method, device and the mobile terminal of mobile terminal
CN107943265A (en) * 2017-11-07 2018-04-20 北京金山安全软件有限公司 Electronic equipment control method and device and electronic equipment
CN107943266A (en) * 2017-11-20 2018-04-20 北京小米移动软件有限公司 power consumption control method, device and equipment
CN108012082A (en) * 2017-12-12 2018-05-08 青岛海信移动通信技术股份有限公司 A kind of terminal reduces the method and terminal of power consumption
CN108012027A (en) * 2017-11-28 2018-05-08 北京小米移动软件有限公司 The method and apparatus for managing application program
CN108111683A (en) * 2017-12-20 2018-06-01 广东欧珀移动通信有限公司 The control method of mobile terminal and its operating mode, device, storage medium
CN108984214A (en) * 2018-06-12 2018-12-11 Oppo广东移动通信有限公司 terminal state control method, device, mobile terminal and storage medium
CN109101326A (en) * 2018-06-06 2018-12-28 三星电子(中国)研发中心 A kind of background process management method and device
CN109302737A (en) * 2018-08-29 2019-02-01 硕诺科技(深圳)有限公司 A kind of method of night network unaware intelligent power saving
CN109343690A (en) * 2018-11-08 2019-02-15 平安科技(深圳)有限公司 APP is from start and stop electricity saving method, system, terminal device and can storage medium
WO2019037085A1 (en) * 2017-08-25 2019-02-28 深圳传音通讯有限公司 Method and system for controlling automatic hibernation of mobile terminal
CN109992395A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Using freezing method, device, terminal and computer readable storage medium
CN110032266A (en) * 2018-01-10 2019-07-19 广东欧珀移动通信有限公司 Information processing method, device, computer equipment and computer readable storage medium
CN110198558A (en) * 2019-05-09 2019-09-03 深圳市万普拉斯科技有限公司 Standby optimization method, device, computer equipment and storage medium
CN110691401A (en) * 2019-08-28 2020-01-14 华为技术有限公司 System application management method and device
CN110709801A (en) * 2017-12-06 2020-01-17 华为技术有限公司 Method and equipment for reducing power consumption
CN110742580A (en) * 2019-09-18 2020-02-04 华为技术有限公司 Sleep state identification method and device
WO2020093888A1 (en) * 2018-11-09 2020-05-14 中兴通讯股份有限公司 Power saving method and apparatus, and storage medium
CN112020732A (en) * 2018-04-04 2020-12-01 捷豹路虎有限公司 Control method and apparatus
CN112153210A (en) * 2019-06-28 2020-12-29 北京智明星通科技股份有限公司 Automatic closing method and system of game APP
CN113050783A (en) * 2019-12-26 2021-06-29 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN116795196A (en) * 2023-08-25 2023-09-22 深圳市德航智能技术有限公司 Implementation method for reinforcing ultra-long standby of handheld tablet computer
CN117154872A (en) * 2023-08-01 2023-12-01 南京汤峰机电有限公司 Lithium battery charging control method and system
US11993227B2 (en) 2018-04-04 2024-05-28 Jaguar Land Rover Limited Control method and apparatus for controlling operation of an access control device for a vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140302839A1 (en) * 2011-12-23 2014-10-09 Huawei Device Co., Ltd. Power Saving Method, Apparatus and Communication Terminal
CN105141761A (en) * 2015-08-10 2015-12-09 努比亚技术有限公司 State switching device of mobile terminal, mobile terminal and state switching method
CN105227784A (en) * 2014-06-19 2016-01-06 中兴通讯股份有限公司 A kind of power-saving processing method of mobile terminal and mobile terminal
CN105373210A (en) * 2015-12-18 2016-03-02 北京金山安全软件有限公司 Power saving method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140302839A1 (en) * 2011-12-23 2014-10-09 Huawei Device Co., Ltd. Power Saving Method, Apparatus and Communication Terminal
CN105227784A (en) * 2014-06-19 2016-01-06 中兴通讯股份有限公司 A kind of power-saving processing method of mobile terminal and mobile terminal
CN105141761A (en) * 2015-08-10 2015-12-09 努比亚技术有限公司 State switching device of mobile terminal, mobile terminal and state switching method
CN105373210A (en) * 2015-12-18 2016-03-02 北京金山安全软件有限公司 Power saving method and device and electronic equipment

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402783A (en) * 2017-07-04 2017-11-28 广东小天才科技有限公司 The management control method and user terminal of a kind of background application
WO2019037085A1 (en) * 2017-08-25 2019-02-28 深圳传音通讯有限公司 Method and system for controlling automatic hibernation of mobile terminal
CN107734578A (en) * 2017-09-26 2018-02-23 奇酷互联网络科技(深圳)有限公司 Standby optimization method, device and the mobile terminal of mobile terminal
CN107734578B (en) * 2017-09-26 2020-10-09 奇酷互联网络科技(深圳)有限公司 Standby optimization method and device of mobile terminal and mobile terminal
CN107659727A (en) * 2017-09-29 2018-02-02 北京小米移动软件有限公司 Control method, device and the storage medium of terminal
CN107659727B (en) * 2017-09-29 2020-06-19 北京小米移动软件有限公司 Terminal control method, device and storage medium
CN107708191A (en) * 2017-09-30 2018-02-16 北京小米移动软件有限公司 Terminal control method, device and computer-readable recording medium
CN107943265A (en) * 2017-11-07 2018-04-20 北京金山安全软件有限公司 Electronic equipment control method and device and electronic equipment
CN107943266A (en) * 2017-11-20 2018-04-20 北京小米移动软件有限公司 power consumption control method, device and equipment
CN108012027A (en) * 2017-11-28 2018-05-08 北京小米移动软件有限公司 The method and apparatus for managing application program
US11405271B2 (en) 2017-12-06 2022-08-02 Honor Device Co., Ltd. Method for reducing power consumption and device
CN114928877B (en) * 2017-12-06 2024-04-16 荣耀终端有限公司 Method and equipment for reducing power consumption
CN110709801B (en) * 2017-12-06 2022-05-27 荣耀终端有限公司 Method and equipment for reducing power consumption
US11665057B2 (en) 2017-12-06 2023-05-30 Honor Device Co., Ltd. Method for reducing power consumption and device
CN114928877A (en) * 2017-12-06 2022-08-19 荣耀终端有限公司 Method and equipment for reducing power consumption
CN110709801A (en) * 2017-12-06 2020-01-17 华为技术有限公司 Method and equipment for reducing power consumption
CN108012082A (en) * 2017-12-12 2018-05-08 青岛海信移动通信技术股份有限公司 A kind of terminal reduces the method and terminal of power consumption
CN108111683A (en) * 2017-12-20 2018-06-01 广东欧珀移动通信有限公司 The control method of mobile terminal and its operating mode, device, storage medium
CN109992395A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Using freezing method, device, terminal and computer readable storage medium
CN110032266A (en) * 2018-01-10 2019-07-19 广东欧珀移动通信有限公司 Information processing method, device, computer equipment and computer readable storage medium
US11993227B2 (en) 2018-04-04 2024-05-28 Jaguar Land Rover Limited Control method and apparatus for controlling operation of an access control device for a vehicle
CN112020732A (en) * 2018-04-04 2020-12-01 捷豹路虎有限公司 Control method and apparatus
CN112020732B (en) * 2018-04-04 2023-11-24 捷豹路虎有限公司 Control method and apparatus
CN109101326A (en) * 2018-06-06 2018-12-28 三星电子(中国)研发中心 A kind of background process management method and device
CN108984214A (en) * 2018-06-12 2018-12-11 Oppo广东移动通信有限公司 terminal state control method, device, mobile terminal and storage medium
CN109302737A (en) * 2018-08-29 2019-02-01 硕诺科技(深圳)有限公司 A kind of method of night network unaware intelligent power saving
CN109343690A (en) * 2018-11-08 2019-02-15 平安科技(深圳)有限公司 APP is from start and stop electricity saving method, system, terminal device and can storage medium
WO2020093888A1 (en) * 2018-11-09 2020-05-14 中兴通讯股份有限公司 Power saving method and apparatus, and storage medium
CN111176420A (en) * 2018-11-09 2020-05-19 中兴通讯股份有限公司 Power saving method, device and storage medium
CN110198558A (en) * 2019-05-09 2019-09-03 深圳市万普拉斯科技有限公司 Standby optimization method, device, computer equipment and storage medium
CN112153210A (en) * 2019-06-28 2020-12-29 北京智明星通科技股份有限公司 Automatic closing method and system of game APP
CN110691401B (en) * 2019-08-28 2021-04-09 华为技术有限公司 System application management method and device
CN110691401A (en) * 2019-08-28 2020-01-14 华为技术有限公司 System application management method and device
CN110742580A (en) * 2019-09-18 2020-02-04 华为技术有限公司 Sleep state identification method and device
CN113050783B (en) * 2019-12-26 2023-08-08 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN113050783A (en) * 2019-12-26 2021-06-29 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN117154872A (en) * 2023-08-01 2023-12-01 南京汤峰机电有限公司 Lithium battery charging control method and system
CN117154872B (en) * 2023-08-01 2023-12-29 南京汤峰机电有限公司 Lithium battery charging control method and system
CN116795196B (en) * 2023-08-25 2023-11-17 深圳市德航智能技术有限公司 Implementation method for reinforcing ultra-long standby of handheld tablet computer
CN116795196A (en) * 2023-08-25 2023-09-22 深圳市德航智能技术有限公司 Implementation method for reinforcing ultra-long standby of handheld tablet computer

Similar Documents

Publication Publication Date Title
CN106502371A (en) A kind of electricity-saving control method and device
CN105045386B (en) Sleep state monitoring method and terminal, air-conditioner system
CN103324549B (en) The implementation method of sleep standby and communication terminal
CN102594999A (en) Method and system for performing adaptive mobile phone energy conservation through face identification
CN103118188A (en) Application heartbeat cycle adjusting method and device, and terminal
CN104125077B (en) The communication means and device of a kind of network-termination device
CN107247516A (en) Alarm clock starts method, device, Wearable and storage medium
CN110424831B (en) Low-power consumption intelligence lock
CN106020428A (en) Screen locking method and terminal
CN104765269A (en) Method and device for controlling power consumption of intelligent watch and intelligent watch
CN110268754A (en) A kind of method, smart machine and storage medium adjusting wakeup frequency
CN109144232A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN110505679B (en) Power consumption control method and device of communication terminal and storage medium
CN109388225A (en) Key triggers energy-saving control method, storage medium, control device and its terminal
CN110166870A (en) A kind of earphone charging base and wireless headset awakening method with arousal function
CN105895126A (en) Method and apparatus for indicating and controlling playing audio/audio and video data
US9417679B2 (en) Adaptive connected standby for a computing device
CN109887143A (en) For the control method of intelligent door lock, device and intelligent door lock
CN107729062A (en) Using freezing method and related product
CN103150246A (en) Electronic device and method for setting time of timer
CN106991770A (en) The synchronous low power consumption method of intelligent POS Androids based on dual-CPU architecture
CN105721671A (en) Portable terminal sleeping method of mis-awakening and portable terminal
CN104052861A (en) Terminal and wake-up method thereof
CN103365754B (en) Method and device of updating nonvolatile memory item information
CN116061850A (en) Vehicle control method and device, vehicle and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication