CN106445080A - Sleeping control method, control device and terminal equipment - Google Patents

Sleeping control method, control device and terminal equipment Download PDF

Info

Publication number
CN106445080A
CN106445080A CN201610952527.3A CN201610952527A CN106445080A CN 106445080 A CN106445080 A CN 106445080A CN 201610952527 A CN201610952527 A CN 201610952527A CN 106445080 A CN106445080 A CN 106445080A
Authority
CN
China
Prior art keywords
dormancy
option
time
application
setting
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
CN201610952527.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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201610952527.3A priority Critical patent/CN106445080A/en
Publication of CN106445080A publication Critical patent/CN106445080A/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/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • 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/329Power saving characterised by the action undertaken by task scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a sleeping control method, a control device and terminal equipment. The method comprises the following steps of: S1, determining whether the terminal equipment has application running or not, entering step S2 if so, otherwise controlling the terminal equipment to sleep when the terminal equipment is not operated at the system sleeping time; S2, acquiring non-operation time of currently running application; and S3, determining whether the non-operation time reaches the application sleeping time set by the currently running application or not, controlling the terminal equipment to sleep if so, otherwise controlling the terminal equipment to maintain the current state. From the content, by adopting the technical scheme, the terminal equipment is controlled to run on the system sleeping time when application is not started, and is controlled to run on the application sleeping time when the application is started, so that the problem that only a fixed sleeping time is set in the prior art can be solved, and the flexibility of the terminal equipment is improved.

Description

A kind of control method of dormancy, control device and terminal unit
Technical field
The present invention relates to the control field of terminal unit, more specifically, is related to a kind of control method of dormancy, control Device and terminal unit.
Background technology
Now, the terminal unit such as smart mobile phone, panel computer has become than indispensable one in people's live and work Point.In order to avoid to the maloperation of terminal unit and the electricity of saving terminal unit, terminal unit typically can all set one and stop The dormancy time, when terminal unit is when the dormancy time is reached the time not being user-operably, terminal unit will extinguish screen entrance Resting state.But, in existing terminal unit, dormancy time is often a changeless time, such as 30s, and is used for When using terminal equipment is read, the dormancy time of 30s can not meet the reading demands of user at all, and user generally requires Longer dormancy time;And in yet some other cases, user then wishes to shorten dormancy time more effectively to avoid maloperation. Above-mentioned certain situation causes the motility of existing terminal unit poor.
Content of the invention
In view of this, the invention provides a kind of control method of dormancy, control device and terminal unit, control terminal sets Run with system dormancy time for when application is not turned on, and control terminal equipment is when application is opened to apply dormancy time fortune OK, to solve the problems, such as to arrange fixing dormancy time in prior art, the motility of terminal unit is improved.
For achieving the above object, the technical scheme that the present invention is provided is as follows:
A kind of control method of dormancy, is applied to terminal unit, including:
S1, judge the terminal unit currently whether have application operation, if so, then enter step S2, if it is not, then to be achieved When system dormancy time does not operate the terminal unit, control the terminal unit dormancy;
S2, the non-operating time of the current operation application of acquisition;
Whether S3, the judgement non-operating time reach the application dormancy time of the current operation application settings, if so, Then control the terminal unit dormancy, if it is not, then controlling the terminal unit to maintain current state.
Optionally, the setting of the system dormancy time includes:
Detect the switching command of the system dormancy time;
By the system dormancy time by the standard sleep time of the first snooze option of system, the second dormancy of system is switched to The standard sleep time of option;
Wherein, the first snooze option of the system be to there is multiple different dormancy times, and during one of dormancy Between be selected as standard sleep time of the first snooze option of the system;The second snooze option of the system to should have multiple not Same dormancy time, and one of dormancy time is selected as the standard sleep time of the second snooze option of the system.
Optionally, the switching command is generated by key control by prompt operation.
Optionally, the setting of the standard sleep time of the first snooze option of the system includes:
Transfer system dormancy and interface is set, the system dormancy arranges interface includes that the first dormancy sets option;
Selecting first dormancy and option being set so that the first dormancy setting interface is transferred, first dormancy sets interface bag The multiple first setting options are included, the plurality of first sets option corresponding difference dormancy time respectively;
Select wherein described in one first sets option for target first set option, with determine the target first setting select The corresponding dormancy time of item is the standard sleep time of the first snooze option of the system;
And, the setting of the standard sleep time of the second snooze option of the system includes:
Transfer the system dormancy and interface is set, the system dormancy arranges interface includes that the second dormancy sets option;
Selecting second dormancy and option being set so that the second dormancy setting interface is transferred, second dormancy sets interface bag The multiple second setting options are included, the plurality of second sets option corresponding difference dormancy time respectively;
Select wherein described in one second sets option for target second set option, with determine the target second setting select The corresponding dormancy time of item is the standard sleep time of the second snooze option of the system.
Optionally, the setting of the application dormancy time includes:
Transfer application dormancy and interface is set, the application dormancy time arranges interface and includes all of the terminal unit The corresponding definition option of application difference;
Selected wherein described in one, defined item is to transfer corresponding adjustment interface, and the adjustment interface includes multiple adjustment choosings , the plurality of adjustment option corresponds to difference dormancy time respectively;
It is target adjustment option to select wherein one adjustment option, to determine the corresponding dormancy time of the target adjustment option For the application dormancy time.
Accordingly, present invention also offers a kind of control device of dormancy, is applied to terminal unit, including:First is processed Module, acquisition module and Second processing module;
The first processing module is used for judging whether the terminal unit currently has application operation, if so, then obtains mould Block runs, if it is not, when then system dormancy time to be achieved does not operate the terminal unit, controlling the terminal unit dormancy;
The acquisition module is used for obtaining the non-operating time of current operation application;
And, the Second processing module is used for judging whether the non-operating time reaches the current operation application and set Fixed application dormancy time, if so, then controls the terminal unit dormancy, if it is not, then controlling the terminal unit to remain current State.
Optionally, the control device includes:
Detection module, the detection module is used for detecting the switching command of the system dormancy time;
And, performing module, the performing module is used for by the system dormancy time by the first snooze option of system The standard sleep time, switch to the standard sleep time of the second snooze option of system;
Wherein, the first snooze option of the system be to there is multiple different dormancy times, and during one of dormancy Between be selected as standard sleep time of the first snooze option of the system;The second snooze option of the system to should have multiple not Same dormancy time, and one of dormancy time is selected as the standard sleep time of the second snooze option of the system.
Optionally, the switching command is generated by key control by prompt operation.
Optionally, the control device includes:
System dormancy setup module, the system dormancy setup module is used for transferring system dormancy setting interface, the system System dormancy arranges interface includes that the first dormancy sets option and the second dormancy sets option;
First transfers module, and described first transfers module transfers when the first dormancy setting option is selected for basis First dormancy sets interface, and first dormancy sets interface includes the multiple first setting options, and the plurality of first sets choosing Item corresponds to difference dormancy time respectively;
First determining module, first determining module is used for setting option as target the selecting wherein described in one first During one setting option, determine that the target first sets the corresponding dormancy time of option as the mark of the first snooze option of the system Quasi- dormancy time;
Second transfers module, and described second transfers module transfers when the second dormancy setting option is selected for basis Second dormancy sets interface, and second dormancy sets interface includes the multiple second setting options, and the plurality of second sets choosing Item corresponds to difference dormancy time respectively;
And, the second determining module, second determining module be used for select wherein described in one second set option as When target second sets option, determine that the target second sets the corresponding dormancy time of option and selects as the second dormancy of the system The standard sleep time of item.
Optionally, the control device includes:
Application dormancy setup module, the application dormancy setup module be used for transfer application dormancy arrange interface, described should Corresponding definition option is distinguished in all applications for the terminal unit being included with dormancy time setting interface;
3rd transfers module, and the described 3rd transfers module for transferring corresponding tune when wherein defined item described in is selected Whole interface, the adjustment interface includes multiple adjustment options, and the plurality of adjustment option corresponds to difference dormancy time respectively;
And, the 3rd determining module, it is target adjustment that the 3rd determining module is used for wherein one adjustment option is selected During option, determine the corresponding dormancy time of the target adjustment option for the application dormancy time.
Accordingly, present invention also offers a kind of terminal unit, the terminal unit includes the control dress of above-mentioned dormancy Put.
Compared to prior art, the technical scheme that the present invention is provided at least has advantages below:
The invention provides a kind of control method of dormancy, control device and terminal unit, including:S1, judge the end Whether end equipment currently has application operation, if so, then enters step S2, if it is not, then system dormancy time to be achieved does not operate institute When terminal unit is stated, control the terminal unit dormancy;S2, the non-operating time of the current operation application of acquisition;S3, judgement are described Whether the non-operating time reaches the application dormancy time of the current operation application settings, if so, then controls the terminal unit Dormancy, if it is not, then control the terminal unit to maintain current state.As shown in the above, the technical scheme that the present invention is provided, Control terminal equipment is run with system dormancy time when application is not turned on, and control terminal equipment is when application is opened to apply Dormancy time runs, and to solve the problems, such as to arrange fixing dormancy time in prior art, improves the flexible of terminal unit Property.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for technology description is had to be briefly described, it should be apparent that, drawings in the following description are only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
A kind of flow chart of the control method of dormancy that Fig. 1 is provided for the embodiment of the present application;
A kind of flow chart of the establishing method of system dormancy time that Fig. 2 is provided for the embodiment of the present application;
The stream of the establishing method of the standard sleep time of first, second snooze option that Fig. 3 is provided for the embodiment of the present application Cheng Tu;
A kind of flow chart of the establishing method of application dormancy time that Fig. 4 is provided for the embodiment of the present application;
A kind of structural representation of the control device of dormancy that Fig. 5 is provided for the embodiment of the present application;
The structural representation of the control device of another kind of dormancy that Fig. 6 is provided for the embodiment of the present application;
The structural representation of the control device of another dormancy that Fig. 7 is provided for the embodiment of the present application;
The structural representation of the control device of another dormancy that Fig. 8 is provided for the embodiment of the present application.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
As described in background, in existing terminal unit, dormancy time is often the changeless time, such as 30s, and be used for when using terminal equipment is read, the dormancy time of 30s can not meet the reading demands of user at all, and User generally requires longer dormancy time;And in yet some other cases, user then wishes to shorten dormancy time with more effective Avoid maloperation.Above-mentioned certain situation causes the motility of existing terminal unit poor.
Based on this, the embodiment of the present application provides a kind of control method of dormancy, control device and terminal unit, and control is eventually End equipment be not turned on application when with system dormancy time run, and control terminal equipment open application when to apply dormancy when Between run, to solve the problems, such as to arrange fixing dormancy time in prior art, improve terminal unit motility.For reality Existing above-mentioned purpose, the technical scheme that the embodiment of the present application is provided is as follows, specifically combines shown in Fig. 1 to Fig. 8, to the embodiment of the present application The technical scheme of offer is described in detail.
With reference to shown in Fig. 1, it is a kind of flow chart of the control method of dormancy that the embodiment of the present application is provided, wherein, control Method is applied to terminal unit, and which includes:
S1, judge the terminal unit currently whether have application operation, if so, then enter step S2, if it is not, then to be achieved When system dormancy time does not operate the terminal unit, control the terminal unit dormancy;
S2, the non-operating time of the current operation application of acquisition;
Whether S3, the judgement non-operating time reach the application dormancy time of the current operation application settings, if so, Then control the terminal unit dormancy, if it is not, then controlling the terminal unit to maintain current state.
As shown in the above, the technical scheme that the embodiment of the present application is provided, control terminal equipment is when application is not turned on Run with system dormancy time, and control terminal equipment is when application is opened to apply dormancy time to run, to solve existing skill The problem of fixing dormancy time can only be set in art, improves the motility of terminal unit.
The system dormancy time that the embodiment of the present application is provided can be the standard sleep time of the first snooze option of system, also Can be the standard sleep time of the second snooze option of system, wherein, the standard sleep time of the first snooze option of system and be Unite standard sleep time of the second snooze option can switch over, so that system dormancy time enters line translation, improve further The motility of terminal unit.With specific reference to the setting side for shown in Fig. 2, being a kind of system dormancy time that the embodiment of the present application is provided The flow chart of method, wherein, the setting of the system dormancy time includes:
S101, the switching command of the detection system dormancy time;
S102, by the system dormancy time by the standard sleep time of the first snooze option of system, switch to system The standard sleep time of two snooze options;
Wherein, the first snooze option of the system be to there is multiple different dormancy times, and during one of dormancy Between be selected as standard sleep time of the first snooze option of the system;The second snooze option of the system to should have multiple not Same dormancy time, and one of dormancy time is selected as the standard sleep time of the second snooze option of the system.
For the ease of operation, a prompt operation button can be set in terminal unit, to press by choosing prompt operation Key generates switching command, i.e. the switching command is generated by key control by prompt operation.Specifically can by prompt operation button with The form of switching push button is added in the drop-down menu of terminal unit, and user is changeable different by clicking on the switching push button Dormancy time, to determine that current system dormancy time is that standard sleep time of the first snooze option of system or system second are stopped The standard sleep time of dormancy option, in the embodiment of the present application, two switchable dormancy times can be 30s and 5min, Huo Zhewei Other times, are not particularly limited to this application.
Additionally, the standard sleep time of first snooze option of system of the embodiment of the present application offer and the second dormancy of system choosing The standard sleep time can equally be changed setting, i.e. the standard sleep time of the first snooze option of system and system the The standard sleep time of two snooze options carries out User Defined setting.With reference to shown in Fig. 3, be the embodiment of the present application provide the First, the flow chart of the establishing method of the standard sleep time of the second snooze option, wherein, the mark of the first snooze option of the system The setting of quasi- dormancy time includes:
S20, transfer system dormancy interface is set, the system dormancy arranges interface includes that the first dormancy sets option;
S201, selected first dormancy set option and set interface to transfer the first dormancy, and first dormancy sets Interface includes the multiple first setting options, and the plurality of first sets option corresponding difference dormancy time respectively;
S202, select wherein described in one first sets option as target first setting option, to determine the target first The corresponding dormancy time of option is set as the standard sleep time of the first snooze option of the system;
And, the setting of the standard sleep time of the second snooze option of the system includes:
S20, transfer the system dormancy interface is set, the system dormancy arranges interface includes that the second dormancy sets choosing ?;
S201 ', selected second dormancy set option and set interface to transfer the second dormancy, and second dormancy sets Interface includes the multiple second setting options, and the plurality of second sets option corresponding difference dormancy time respectively;
S202 ', select wherein described in one second sets option as target second setting option, to determine the target second The corresponding dormancy time of option is set as the standard sleep time of the second snooze option of the system.
Specifically, click on the system dormancy that chooses in terminal unit and the page is set, the page includes the first dormancy setting Option and the second dormancy set option, and each dormancy sets option and corresponds to multiple setting options respectively, and each sets option pair Answer a dormancy time, wherein, dormancy time can be 30s, 1min, 2min, never 5min, dormancy, self-defined setting time etc., This application is not particularly limited, and needs specific design to be carried out according to practical application.
Further, in order that terminal unit is more intelligent, using the dormancy that more flexibly, the embodiment of the present application is provided Control method, can also set different dormancy times according to different application, so that in application operation, terminal unit is right with the application The application dormancy time that answers is operated, wherein, with reference to shown in Fig. 4, when being a kind of application dormancy that the embodiment of the present application is provided Between establishing method flow chart, wherein, described application dormancy time setting include:
S301, transfer application dormancy interface is set, the application dormancy time arranges interface and includes the terminal unit All applications corresponding definition option of difference;
S302, select wherein described in one, defined item is to transfer corresponding adjustment interface, the adjustment interface includes multiple tune Whole option, the plurality of adjustment option corresponds to difference dormancy time respectively;
S303, selected wherein one adjustment option are to stop target adjustment option, with determine that the target adjustment option is corresponding The dormancy time is the application dormancy time.
Specifically, user can click on the respective selection entrance application dormancy setting interface of terminal unit, the application dormancy Set of time interface includes the corresponding definition option of all applications, and which can be icon options, or other form options, right This embodiment of the present application is not particularly limited.Then, user can put the definition option entrance adjustment for taking the application for needing to arrange Interface, the adjustment interface includes multiple adjustment options, and each adjustment option corresponds to a dormancy time, and wherein, dormancy time can Think 1min, 2min, 5min, self-defined setting time etc., this application is not particularly limited, need to be entered according to practical application Row specific design.
Accordingly, the embodiment of the present application additionally provides a kind of control device of dormancy, with reference to shown in Fig. 5, is the application reality A kind of structural representation of the control device of dormancy of example offer is applied, wherein, control device is applied to terminal unit, including:The One processing module 10, acquisition module 20 and Second processing module 30;
The first processing module 10 is used for judging whether the terminal unit currently has application operation, if so, then obtains Module 20 is run, if it is not, when then system dormancy time to be achieved does not operate the terminal unit, controlling the terminal unit to stop Sleep;
The acquisition module 20 is used for obtaining the non-operating time of current operation application;
And, the Second processing module 30 is used for judging whether the non-operating time reaches the current operation application The application dormancy time of setting, if so, then controls the terminal unit dormancy, if it is not, then control the terminal unit to maintain working as Front state.
Wherein, the system dormancy time of the terminal unit that the embodiment of the present application is provided can switch over setting, to change The size of system dormancy time, with specific reference to the control device for shown in Fig. 6, being another kind of dormancy that the embodiment of the present application is provided Structural representation, wherein, the control device includes:
Detection module 40, the detection module 40 is used for detecting the switching command of the system dormancy time;
And, performing module 50, the performing module 50 is used for being selected the system dormancy time by the first dormancy of system The standard sleep time of item, switch to the standard sleep time of the second snooze option of system;
Wherein, the first snooze option of the system be to there is multiple different dormancy times, and during one of dormancy Between be selected as standard sleep time of the first snooze option of the system;The second snooze option of the system to should have multiple not Same dormancy time, and one of dormancy time is selected as the standard sleep time of the second snooze option of the system.
For the ease of operation, a prompt operation button can be set in terminal unit, to press by choosing prompt operation Key generates switching command, i.e. the switching command is generated by key control by prompt operation.Specifically can by prompt operation button with The form of switching push button is added in the drop-down menu of terminal unit, and user is changeable different by clicking on the switching push button Dormancy time, to determine that current system dormancy time is that standard sleep time of the first snooze option of system or system second are stopped The standard sleep time of dormancy option, in the embodiment of the present application, two switchable dormancy times can be 30s and 5min, Huo Zhewei Other times, are not particularly limited to this application.
Additionally, the standard sleep time of first snooze option of system of the embodiment of the present application offer and the second dormancy of system choosing The standard sleep time can equally be changed setting, i.e. the standard sleep time of the first snooze option of system and system the The standard sleep time of two snooze options carries out User Defined setting.With reference to shown in Fig. 7, it is that the embodiment of the present application is provided again A kind of structural representation of the control device of dormancy, the control device includes:
System dormancy setup module 100, the system dormancy setup module 100 is used for transferring system dormancy setting interface, The system dormancy arranges interface includes that the first dormancy sets option and the second dormancy sets option;
First transfers module 200, and described first transfers module 200 for setting option according in selected first dormancy When transfer the first dormancy and set interface, first dormancy sets interface includes the multiple first setting options, the plurality of first Set option corresponding difference dormancy time respectively;
First determining module 300, first determining module 300 be used for select wherein described in one first set option as When target first sets option, determine that the target first sets the corresponding dormancy time of option and selects as the first dormancy of the system The standard sleep time of item;
Second transfers module 400, and described second transfers module 400 for setting option according in selected second dormancy When transfer the second dormancy and set interface, second dormancy sets interface includes the multiple second setting options, the plurality of second Set option corresponding difference dormancy time respectively;
And, the second determining module 500, second determining module 500 is used for selecting the second setting wherein described in When option is that target second sets option, determine that the target second sets the corresponding dormancy time of option as the system second The standard sleep time of snooze option.
Specifically, click on the system dormancy that chooses in terminal unit and the page is set, the page includes the first dormancy setting Option and the second dormancy set option, and each dormancy sets option and corresponds to multiple setting options respectively, and each sets option pair Answer a dormancy time, wherein, dormancy time can be 30s, 1min, 2min, never 5min, dormancy, self-defined setting time etc., This application is not particularly limited, and needs specific design to be carried out according to practical application.
Further, in order that terminal unit is more intelligent, using the dormancy that more flexibly, the embodiment of the present application is provided Control method, can also set different dormancy times according to different application, so that in application operation, terminal unit is right with the application The application dormancy time that answers is operated, and wherein, with reference to shown in Fig. 8, is the control of another dormancy that the embodiment of the present application is provided The structural representation of device processed, wherein, the control device includes:
Application dormancy setup module 600, the application dormancy setup module 600 is used for transferring application dormancy setting interface, Corresponding definition option is distinguished in all applications that the application dormancy time setting interface includes the terminal unit;
3rd transfers module 700, and the described 3rd transfers module 700 for transferring phase when wherein defined item described in is selected The adjustment interface that answers, the adjustment interface includes multiple adjustment options, when the plurality of adjustment option corresponds to difference dormancy respectively Between;
And, the 3rd determining module 800, it is mesh that the 3rd determining module 800 is used for wherein one adjustment option is selected During mark adjustment option, determine the corresponding dormancy time of the target adjustment option for the application dormancy time.
Specifically, user can click on the respective selection entrance application dormancy setting interface of terminal unit, the application dormancy Set of time interface includes the corresponding definition option of all applications, and which can be icon options, or other form options, right This embodiment of the present application is not particularly limited.Then, user can put the definition option entrance adjustment for taking the application for needing to arrange Interface, the adjustment interface includes multiple adjustment options, and each adjustment option corresponds to a dormancy time, and wherein, dormancy time can Think 1min, 2min, 5min, self-defined setting time etc., this application is not particularly limited, need to be entered according to practical application Row specific design.
Accordingly, the embodiment of the present application additionally provides a kind of terminal unit, and the terminal unit includes above-mentioned any one reality The control device of the dormancy of example offer is provided.
The embodiment of the present application provides a kind of control method of dormancy, control device and terminal unit, including:S1, judgement Whether the terminal unit currently has application operation, if so, then enters step S2, if it is not, then system dormancy time to be achieved is not When the terminal unit is operated, control the terminal unit dormancy;S2, the non-operating time of the current operation application of acquisition;S3, sentence Whether the disconnected non-operating time reaches the application dormancy time of the current operation application settings, if so, then controls the end End equipment dormancy, if it is not, then control the terminal unit to maintain current state.As shown in the above, the embodiment of the present application is carried For technical scheme, control terminal equipment is run with system dormancy time when application is not turned on, and control terminal equipment opening To apply dormancy time to run when opening application, to solve the problems, such as to arrange fixing dormancy time in prior art, improve The motility of terminal unit.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the present invention. Multiple modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope for causing.

Claims (11)

1. a kind of control method of dormancy, is applied to terminal unit, it is characterised in that include:
S1, judge the terminal unit currently whether have application operation, if so, then enter step S2, if it is not, then system to be achieved When dormancy time does not operate the terminal unit, control the terminal unit dormancy;
S2, the non-operating time of the current operation application of acquisition;
Whether S3, the judgement non-operating time reach the application dormancy time of the current operation application settings, if so, then control The terminal unit dormancy is made, if it is not, then controlling the terminal unit to maintain current state.
2. the control method of dormancy according to claim 1, it is characterised in that the setting bag of the system dormancy time Include:
Detect the switching command of the system dormancy time;
By the system dormancy time by the standard sleep time of the first snooze option of system, the second snooze option of system is switched to The standard sleep time;
Wherein, the first snooze option of the system is to having multiple different dormancy times, and one of dormancy time quilt It is chosen as the standard sleep time of the first snooze option of the system;The second snooze option of the system is multiple different to having Dormancy time, and one of dormancy time is selected as the standard sleep time of the second snooze option of the system.
3. the control method of dormancy according to claim 2, it is characterised in that the switching command is by prompt operation button Control is generated.
4. the control method of dormancy according to claim 2, it is characterised in that the standard of the first snooze option of the system The setting of dormancy time includes:
Transfer system dormancy and interface is set, the system dormancy arranges interface includes that the first dormancy sets option;
Selecting first dormancy and option being set so that the first dormancy setting interface is transferred, the first dormancy setting interface includes many Individual first sets option, and the plurality of first sets option corresponding difference dormancy time respectively;
Select wherein described in one first sets option for target first setting option, with determine the target first setting option pair The dormancy time that answers is the standard sleep time of the first snooze option of the system;
And, the setting of the standard sleep time of the second snooze option of the system includes:
Transfer the system dormancy and interface is set, the system dormancy arranges interface includes that the second dormancy sets option;
Selecting second dormancy and option being set so that the second dormancy setting interface is transferred, the second dormancy setting interface includes many Individual second sets option, and the plurality of second sets option corresponding difference dormancy time respectively;
Select wherein described in one second sets option for target second setting option, with determine the target second setting option pair The dormancy time that answers is the standard sleep time of the second snooze option of the system.
5. the control method of dormancy according to claim 1, it is characterised in that the setting bag of the application dormancy time Include:
Transfer application dormancy and interface is set, the application dormancy time arranges all applications that interface includes the terminal unit The corresponding definition option of difference;
Selected wherein described in one, defined item is to transfer corresponding adjustment interface, and the adjustment interface includes multiple adjustment options, institute State multiple adjustment options corresponding difference dormancy time respectively;
It is target adjustment option to select wherein one adjustment option, to determine the corresponding dormancy time of the target adjustment option as institute State application dormancy time.
6. a kind of control device of dormancy, is applied to terminal unit, it is characterised in that include:First processing module, acquisition module And Second processing module;
The first processing module is used for judging whether the terminal unit currently has application operation, if so, then acquisition module to be transported OK, if it is not, when then system dormancy time to be achieved does not operate the terminal unit, controlling the terminal unit dormancy;
The acquisition module is used for obtaining the non-operating time of current operation application;
And, the Second processing module is used for judging whether the non-operating time reaches the current operation application settings Application dormancy time, if so, then controls the terminal unit dormancy, if it is not, then controlling the terminal unit to maintain current state.
7. the control device of dormancy according to claim 6, it is characterised in that the control device includes:
Detection module, the detection module is used for detecting the switching command of the system dormancy time;
And, performing module, the performing module be used for by the system dormancy time by the first snooze option of system standard Dormancy time, switches to the standard sleep time of the second snooze option of system;
Wherein, the first snooze option of the system is to having multiple different dormancy times, and one of dormancy time quilt It is chosen as the standard sleep time of the first snooze option of the system;The second snooze option of the system is multiple different to having Dormancy time, and one of dormancy time is selected as the standard sleep time of the second snooze option of the system.
8. the control device of dormancy according to claim 7, it is characterised in that the switching command is by prompt operation button Control is generated.
9. the control device of dormancy according to claim 7, it is characterised in that the control device includes:
System dormancy setup module, the system dormancy setup module is used for transferring system dormancy setting interface, and the system is stopped Dormancy arranges interface includes that the first dormancy sets option and the second dormancy sets option;
First transfers module, and described first transfers module for transferring first according to when the first dormancy setting option is selected Dormancy sets interface, and first dormancy sets interface includes the multiple first setting options, and the plurality of first setting option divides Dui Ying not different dormancy times;
First determining module, first determining module is used for setting option and setting as target first selecting wherein described in one first When determining option, determine that the target first sets the corresponding dormancy time of option and stops as the standard of the first snooze option of the system The dormancy time;
Second transfers module, and described second transfers module for transferring second according to when the second dormancy setting option is selected Dormancy sets interface, and second dormancy sets interface includes the multiple second setting options, and the plurality of second setting option divides Dui Ying not different dormancy times;
And, the second determining module, second determining module is used for second setting option as target selecting wherein described in one During the second setting option, determine that the target second sets the corresponding dormancy time of option as the second snooze option of the system The standard sleep time.
10. the control device of dormancy according to claim 6, it is characterised in that the control device includes:
Application dormancy setup module, the application dormancy setup module is used for transferring application dormancy setting interface, and the application is stopped Dormancy set of time interface includes all applications of the terminal unit and distinguishes corresponding definition option;
3rd transfers module, and the described 3rd transfers module for transferring corresponding adjustment circle when wherein defined item described in is selected Face, the adjustment interface includes multiple adjustment options, and the plurality of adjustment option corresponds to difference dormancy time respectively;
And, the 3rd determining module, it is target adjustment option that the 3rd determining module is used for wherein one adjustment option is selected When, determine the corresponding dormancy time of the target adjustment option for the application dormancy time.
11. a kind of terminal units, it is characterised in that the terminal unit includes stopping described in claim 6~10 any one The control device of dormancy.
CN201610952527.3A 2016-11-02 2016-11-02 Sleeping control method, control device and terminal equipment Pending CN106445080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610952527.3A CN106445080A (en) 2016-11-02 2016-11-02 Sleeping control method, control device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610952527.3A CN106445080A (en) 2016-11-02 2016-11-02 Sleeping control method, control device and terminal equipment

Publications (1)

Publication Number Publication Date
CN106445080A true CN106445080A (en) 2017-02-22

Family

ID=58180829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610952527.3A Pending CN106445080A (en) 2016-11-02 2016-11-02 Sleeping control method, control device and terminal equipment

Country Status (1)

Country Link
CN (1) CN106445080A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741260A (en) * 2021-08-26 2021-12-03 珠海格力电器股份有限公司 Equipment sleep control method and device
CN114040349A (en) * 2020-07-21 2022-02-11 华为技术有限公司 Electronic equipment and distributed system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1707398A (en) * 2004-06-09 2005-12-14 宏碁股份有限公司 Electric power management system and method for computer system
CN104331146A (en) * 2014-12-02 2015-02-04 上海斐讯数据通信技术有限公司 Electricity saving control method
CN107102799A (en) * 2017-04-27 2017-08-29 深圳天珑无线科技有限公司 A kind of method and its intelligent terminal for adjusting the screen time of going out

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1707398A (en) * 2004-06-09 2005-12-14 宏碁股份有限公司 Electric power management system and method for computer system
CN104331146A (en) * 2014-12-02 2015-02-04 上海斐讯数据通信技术有限公司 Electricity saving control method
CN107102799A (en) * 2017-04-27 2017-08-29 深圳天珑无线科技有限公司 A kind of method and its intelligent terminal for adjusting the screen time of going out

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040349A (en) * 2020-07-21 2022-02-11 华为技术有限公司 Electronic equipment and distributed system
CN114040349B (en) * 2020-07-21 2024-04-09 华为技术有限公司 Electronic equipment and distributed system
CN113741260A (en) * 2021-08-26 2021-12-03 珠海格力电器股份有限公司 Equipment sleep control method and device

Similar Documents

Publication Publication Date Title
CN102999251B (en) Terminal and equipment connection management method
CN101739137B (en) KVM device for realizing quick switching
JP5518173B2 (en) Computer for controlling touch screen type mobile communication terminal by computer and method for managing screen state of mobile communication terminal
CN105786485A (en) Mobile terminal and background display method for applications thereof
CN106462313A (en) Method and electronic device for managing display objects
CN103167179A (en) Method for rapidly starting photographing function and mobile device
CN103744729B (en) The computer system of system capable of switching operation
CN105791560A (en) Data network access control method and user terminal
CN103648040A (en) Fast switching method and apparatus for application program option of intelligent television
CN105068745A (en) Method and system for operating display screen of mobile phone by pressure touch and rotation detection
CN104093220B (en) The mobile terminal and its implementation of a kind of dual system
CN103942002A (en) Method and device for controlling virtual mouse based on mobile terminal
CN106598467A (en) Mobile terminal and screen control method and system thereof
CN106445080A (en) Sleeping control method, control device and terminal equipment
CN103677239A (en) Wireless display terminal control method and device
CN103379131A (en) Control system terminal and interaction method therefor
CN103777863A (en) Mobile terminal and display method of application program
CN107967098A (en) A kind of button exchange method and device
CN103916545A (en) Status switching method and electronic device
CN102880413B (en) The method of the mobile terminal control display touching control screen for having and mobile terminal
CN104202484B (en) Method and system for operating dial pad of smart large-screen mobile terminal with single hand
CN105491242A (en) Mobile communication terminal, control method and control device thereof
CN102685314B (en) Mobile device and control method thereof
CN104881222B (en) Man-machine interaction method and device
CN103686285A (en) Touch terminal and method for switching between Android system and Windows system

Legal Events

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

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication