CN102339118B - Terminal shutdown control method and system - Google Patents

Terminal shutdown control method and system Download PDF

Info

Publication number
CN102339118B
CN102339118B CN201110272367.5A CN201110272367A CN102339118B CN 102339118 B CN102339118 B CN 102339118B CN 201110272367 A CN201110272367 A CN 201110272367A CN 102339118 B CN102339118 B CN 102339118B
Authority
CN
China
Prior art keywords
mode
shut
moment
terminal
time
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.)
Active
Application number
CN201110272367.5A
Other languages
Chinese (zh)
Other versions
CN102339118A (en
Inventor
刘航
周鸿祎
吴华恺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Qizhi Software Beijing 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 Qizhi Software Beijing Co Ltd filed Critical Qizhi Software Beijing Co Ltd
Priority to CN201110272367.5A priority Critical patent/CN102339118B/en
Publication of CN102339118A publication Critical patent/CN102339118A/en
Application granted granted Critical
Publication of CN102339118B publication Critical patent/CN102339118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a terminal shutdown control method and a terminal shutdown control system. The method comprises the following steps of: firstly, when detecting that a user wants to shut down a terminal, acquiring current state information of the terminal according to a preset strategy; and then comparing the current state information of the terminal with a corresponding condition set by the preset strategy and executing a corresponding shutdown mode according to a comparison result. The system comprises a state acquisition module and a mode execution module, wherein the state acquisition module is used for acquiring the current state information of the terminal according to the preset strategy when detecting that the user wants to shut down the terminal; and the mode execution module is used for comparing the current state information of the terminal with the corresponding condition set by the preset strategy and executing the corresponding shutdown mode according to the comparison result. Due to the adoption of the terminal shutdown control method and the terminal shutdown control system, the shutdown mode which is the most suitable for a current state can be provided for the user to execute according to the current state of the terminal when the user executes shutdown operation, so that the user experience is greatly improved.

Description

A kind of terminal shutdown control method and system
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of terminal shutdown control method and system.
Background technology
Existing terminal device, for computing machine, generally all provides multiple " shut " mode" and selects for user.Such as, existing computing machine, when user wants to shut down computer, according to the difference of operating system, generally can provide standby, sleep, several different option such as dormancy or shutdown, select suitable " shut " mode" for user needs according to difference.
Between different " shut " mode"s, topmost difference is that power supply mode is different, therefore, has influence on the time of closing process itself, and also different from the slewing rate being closed to unlatching, and the difference of this respect has larger impact to economize on electricity and Consumer's Experience.
But, in prior art, given user by this right to choose completely, and do not provide any significant foundation to this selection, but under many circumstances, user is not too many concept clearly to which kind of " shut " mode" of selection in fact, the difference of different " shut " mode" and feature are not also understood, therefore, the " shut " mode" selected by it is not probably mate most with his demand.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of terminal shutdown control method and system, fails terminal current state considered from different " shut " mode" and provide the problem of the shutdown strategy of coupling to solve in prior art.
For solving the problems of the technologies described above, the invention provides a kind of terminal shutdown control method, comprising:
When detecting user for closing described terminal, according to preset strategy, obtain described terminal current state information;
The corresponding conditions that described terminal current state information and described preset strategy set is compared, and performs corresponding " shut " mode" according to comparative result.
The present invention and then provide a kind of terminal closing control system, comprising:
State obtains module, for when detecting user for closing described terminal, according to preset strategy, obtains described terminal current state information;
Pattern execution module, compares for the corresponding conditions described terminal current state information and described preset strategy set, and performs corresponding " shut " mode" according to comparative result.
Application the present invention, can when user performs power-off operation, and according to the current state of terminal, the " shut " mode" of the most applicable current state is supplied to user and performs, fabulous improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the terminal shutdown control method process flow diagram according to the embodiment of the present invention.
Fig. 2 is the prediction process flow diagram to the moment of starting shooting next time according to the embodiment of the present invention.
Fig. 3 is another prediction mode process flow diagram according to the embodiment of the present invention.
Fig. 4 is the terminal closing control system architecture schematic diagram according to the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described in detail.
As shown in Figure 1, being the terminal shutdown control method process flow diagram according to the embodiment of the present invention, first, when detecting user for closing described terminal, according to preset strategy, obtaining described terminal current state information (step 101); Then, the corresponding conditions that described terminal current state information and described preset strategy set is compared, and perform corresponding " shut " mode" (step 102) according to comparative result.
Wherein, the preset strategy described in step 101 can be the Current hardware parameter information collecting described terminal, such as, can be temperature information or the occupancy rate information of hardware; And in step 102, then the corresponding hardware parameter condition that the Current hardware parameter information of described terminal and described preset strategy set can be compared, and perform corresponding " shut " mode" according to comparative result.
The Current Temperatures of hardware may produce a very large impact the runnability of terminal device, if such as CPU heats up too fast, may cause damage to hardware itself, also the faults such as deadlock can be caused time serious, therefore, if the temperature of Current hardware meets or exceeds threshold value, and at this moment user when carrying out the selection of " shut " mode", then can pay the utmost attention to the " shut " mode" of park mode or thoroughly shutdown, obtain to allow terminal device relatively having a rest thoroughly; And if Current hardware temperature not yet reaches threshold value, then illustrate that terminal runs well, that can also continue to bear the long period powers up operation, at this moment can consider to perform " shut " mode" with standby or sleep mode, so that terminal device can be waken up rapidly when next time is used by user, can greatly shorten compared to from being thoroughly closed to the switching time of having started shooting.
According to embodiments of the invention, can also be more careful consider " shut " mode" according to different hardware temperature.Such as, except investigation cpu temperature, it is also conceivable to hard disk temperature and internal memory temperature etc., because the power supply mode of different " shut " mode" is different with power supply object, therefore, the " shut " mode" matched can be performed more targetedly.
Hardware occupancy also can as measurement index, and such as memory usage has exceeded 70%, then can think that this equipment needs shutdown to have a rest, or there is some fault, now should thoroughly shut down; If lower than threshold value index, then can perform the " shut " mode" such as dormancy or sleep.
Preset strategy described in step 101 can also be the time gap obtaining the moment of next time starting shooting that described terminal current time distance is predicted; And in step 102, then the corresponding time conditions that can set according to described time gap and described preset strategy compares, and perform corresponding " shut " mode" according to comparative result.
As shown in Figure 2, be the prediction process flow diagram to the moment of starting shooting next time according to the embodiment of the present invention, first record the start moment (step 201) of described terminal in preset time range; Then when detecting user for closing a terminal, according to the start moment in the preset time range of described record, the time gap (step 202) of prediction start next time moment distance current time.
Such as, this terminal is within the time of the last week, every day is all start shooting once at 10 in the morning, 2 pm start once, according to embodiments of the invention, the start moment in this Preset Time (the last week) is recorded, when this afternoon 1, user clicks the option of " shutting down computer " in the terminal, namely user is detected for closing a terminal, at this moment, according to the start moment before this terminal of described record, can predict and also can again start shooting this afternoon 2, and the time gap of moment distance current time of next time starting shooting only has 1 hour.
If perform the " shut " mode" of sleep mode when described preset strategy is within 2 hours, so, according to current prediction, the distance of the current time of start distance next time only has 1 hour, therefore, then the operation of shutting down computer can be performed according to sleep mode.
In addition, in above-mentioned steps 201, the close moment of described terminal in preset time range can also be recorded further; And in step 202, can according to the start in the preset time range of described record and close moment, the time gap of prediction start next time moment distance current time.
Such as, be recorded to this terminal within the time of the previous day, start at 10 in the morning, 12 noon shuts down, and then, at 1 in afternoon starts shooting again, and at 5 in afternoon shuts down again, that is, can again start shooting after 12 noon shutdown after 1 hour.And today, shutdown at 11 in the morning, according to the statistics of the use habit that noon can start shooting in interval after 1 hour again, can start shooting after predicting 1 hour again.
If perform the " shut " mode" of sleep mode when described preset strategy is within 2 hours, so, according to current prediction, the distance of the current time of start distance next time only has 1 hour, therefore, then the operation of shutting down computer can be performed according to sleep mode.
Previous embodiment is using one day as record statistics duration, in fact, can also using a period of time as statistics duration, then the switching on and shutting down moment is done an average statistics to calculate, as shown in Figure 3, for another prediction mode process flow diagram according to the embodiment of the present invention, first calculate the mistiming (step 301) between the average moment to the average moment of next time starting shooting that the current time immediate last time closes; Then according to the described mistiming, the time gap (step 302) of prediction start next time moment distance current time.
In addition, the corresponding conditions of described preset strategy setting, can comprise multiple threshold interval, different threshold interval mates different " shut " mode"s.Such as, be apart standby " shut " mode" within 30 minutes; More than 30 minutes less than 1 hour for sleep " shut " mode"; More than 1 hour less than 2 hours for dormancy " shut " mode", be the " shut " mode" thoroughly shut down more than 2 hours.
In above-described embodiment, the described start moment comprises terminal transfers open state to moment from shutdown, dormancy, sleep and/or holding state; And described close moment comprises terminal transfers shutdown, dormancy, sleep and/or holding state to moment from open state.
The " shut " mode" that all right recording user further of the embodiment of the present invention is selected, and close moment; Then according to the closedown of recording in preset time range and start shooting moment and " shut " mode", predetermined threshold value described in dynamic conditioning.
And in order to protect the private file of user; the embodiment of the present invention is when performing the " shut " mode" except shutdown; the private file opened whether can be had to judge to current; whether such as current have the file of picture format to be opened; if had, then perform corresponding " shut " mode" again after closing corresponding private file.
Interactive for what strengthen with user further, the embodiment of the present invention can be first that user points out corresponding " shut " mode" according to comparative result, then selects to perform corresponding " shut " mode" according to user.Such as, corresponding " shut " mode" is pointed out in highlighted or acquiescence or dialog box mode.
As shown in Figure 4, be the terminal closing control system architecture schematic diagram according to the embodiment of the present invention, comprise: state obtains module 401, and pattern execution module 402, wherein:
State obtains module 401, for when detecting user for closing described terminal, according to preset strategy, obtains described terminal current state information;
Pattern execution module 402, compares for the corresponding conditions described terminal current state information and described preset strategy set, and performs corresponding " shut " mode" according to comparative result.
Similar with above-mentioned embodiment of the method, described terminal current state information comprises the Current hardware parameter information of described terminal; And the corresponding hardware parameter condition that the Current hardware parameter information of described terminal and described preset strategy set can compare by described pattern execution module 402, and perform corresponding " shut " mode" according to comparative result.
Wherein, described hardware parameter information can comprise hardware temperatures information or occupancy rate information.
Equally, described terminal current state information can also comprise the time gap in the moment of next time starting shooting that described terminal current time distance is predicted; And the corresponding time conditions that described pattern execution module 402 can set according to described time gap and described preset strategy compares, and perform corresponding " shut " mode" according to comparative result.
The running example of each module described in present system embodiment, identical with said method embodiment, can reference be combined at this, therefore not repeat.
The application embodiment of the present invention, can when user perform the selection of shutdown options, according to the current state of terminal, the states such as the time gap that such as hardware temperatures and distance are started shooting next time, the " shut " mode" of the most applicable current state is supplied to user to perform, improves Consumer's Experience.

Claims (16)

1. a terminal shutdown control method, is characterized in that, comprising:
When detecting user for closing described terminal, according to preset strategy, obtain described terminal current state information;
The corresponding conditions that described terminal current state information and described preset strategy set is compared, and performs corresponding " shut " mode" according to comparative result;
When detecting user for closing described terminal, according to preset strategy, obtaining described terminal current state information and comprising further: recording the start moment of described terminal in preset time range; When detecting user for closing a terminal, according to the start moment in the preset time range of described record, the time gap of prediction start next time moment distance current time;
Described terminal current state information, comprising: the time gap of moment distance current time of next time starting shooting;
When performing the " shut " mode" except shutdown, judging currently whether have the private file opened, if had, then performing corresponding " shut " mode" after closing the private file of correspondence.
2. the method for claim 1, is characterized in that, described according to preset strategy, obtains the step of described terminal current state information, comprising: the Current hardware parameter information collecting described terminal;
Described comparison step, comprising: the corresponding hardware parameter condition Current hardware parameter information of described terminal and described preset strategy set compares, and performs corresponding " shut " mode" according to comparative result.
3. method as claimed in claim 2, it is characterized in that, described hardware parameter information comprises hardware temperatures information or occupancy rate information.
4. the method for claim 1, is characterized in that, described according to preset strategy, obtains the step of described terminal current state information, comprising: the time gap obtaining the moment of next time starting shooting that described terminal current time distance is predicted;
Described comparison step, comprising: compare according to the corresponding time conditions that described time gap and described preset strategy set, and perform corresponding " shut " mode" according to comparative result.
5. the method for claim 1, is characterized in that,
Described recording step, comprises further: record the close moment of described terminal in preset time range;
Described prediction steps, comprising: according to the start in the preset time range of described record and close moment, the time gap of prediction start next time moment distance current time.
6. method as claimed in claim 5, it is characterized in that, described prediction steps, comprising:
Calculate the mistiming between the average moment to the average moment of next time starting shooting that the current time immediate last time closes;
According to the described mistiming, the time gap of prediction start next time moment distance current time.
7. the method for claim 1, is characterized in that, the corresponding conditions of described preset strategy setting, comprise multiple threshold interval, different threshold interval mates different " shut " mode"s.
8. the method for claim 1, is characterized in that, it is one or more that described " shut " mode" comprises in standby, dormancy, sleep and shutdown.
9. the method for claim 1, is characterized in that, the described start moment comprises terminal transfers open state to moment from shutdown, dormancy, sleep and/or holding state; Described close moment comprises terminal transfers shutdown, dormancy, sleep and/or holding state to moment from open state.
10. method as claimed in claim 5, is characterized in that, comprise step further:
The " shut " mode" that recording user is selected, and close moment;
According to the closedown of recording in preset time range and start shooting moment and " shut " mode", predetermined threshold value described in dynamic conditioning.
11. the method for claim 1, is characterized in that, the described step performing corresponding " shut " mode" according to comparative result, comprising: be that user points out corresponding " shut " mode" according to comparative result, and select to perform corresponding " shut " mode" according to user.
12. the method for claim 1, is characterized in that, described prompting step, comprising: point out corresponding " shut " mode" in highlighted or acquiescence or dialog box mode.
13. 1 kinds of terminal closing control systems, is characterized in that, comprising:
State obtains module, and for when detecting user for closing described terminal, according to preset strategy, obtain described terminal current state information, described terminal current state information, comprising: the time gap of moment distance current time of next time starting shooting;
Pattern execution module, compares for the corresponding conditions described terminal current state information and described preset strategy set, and performs corresponding " shut " mode" according to comparative result; Also for when performing the " shut " mode" except shutdown, judging currently whether have the private file opened, if had, then performing corresponding " shut " mode" after closing the private file of correspondence;
Described state obtains module, is further used for recording the start moment of described terminal in preset time range; When detecting user for closing a terminal, according to the start moment in the preset time range of described record, the time gap of prediction start next time moment distance current time.
14. systems as claimed in claim 13, it is characterized in that, described terminal current state information comprises the Current hardware parameter information of described terminal;
Described pattern execution module, the corresponding hardware parameter condition Current hardware parameter information of described terminal and described preset strategy set compares, and performs corresponding " shut " mode" according to comparative result.
15. systems as claimed in claim 15, it is characterized in that, described hardware parameter information comprises hardware temperatures information or occupancy rate information.
16. systems as claimed in claim 15, is characterized in that, described terminal current state information comprises the time gap in the moment of next time starting shooting that described terminal current time distance is predicted;
Described pattern execution module, compares according to the corresponding time conditions that described time gap and described preset strategy set, and performs corresponding " shut " mode" according to comparative result.
CN201110272367.5A 2011-09-14 2011-09-14 Terminal shutdown control method and system Active CN102339118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110272367.5A CN102339118B (en) 2011-09-14 2011-09-14 Terminal shutdown control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110272367.5A CN102339118B (en) 2011-09-14 2011-09-14 Terminal shutdown control method and system

Publications (2)

Publication Number Publication Date
CN102339118A CN102339118A (en) 2012-02-01
CN102339118B true CN102339118B (en) 2015-02-18

Family

ID=45514886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110272367.5A Active CN102339118B (en) 2011-09-14 2011-09-14 Terminal shutdown control method and system

Country Status (1)

Country Link
CN (1) CN102339118B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468498A (en) * 2014-09-03 2016-04-06 中兴通讯股份有限公司 Heat treatment method and apparatus
CN106060668B (en) * 2016-07-12 2020-03-17 深圳Tcl新技术有限公司 Intelligent television setting method and device
CN106331863A (en) * 2016-08-16 2017-01-11 Tcl集团股份有限公司 Turn-off control method and device for Android system television, and the Android system television
CN107948681A (en) * 2016-10-12 2018-04-20 中国海洋大学 A kind of startup advertisement jettison system based on big data
CN106604131A (en) * 2016-12-08 2017-04-26 微鲸科技有限公司 Intelligent standby method based on user standby habits
JP6577542B2 (en) 2017-09-05 2019-09-18 ファナック株式会社 Control device
CN108990029B (en) 2018-05-29 2020-08-04 阿里巴巴集团控股有限公司 Scanning start-stop method of wireless equipment and wireless equipment
CN111273567B (en) * 2018-12-04 2022-11-18 深圳迈瑞生物医疗电子股份有限公司 Device on-off control method, in-vitro diagnosis device, assembly line and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163073A (en) * 2010-02-23 2011-08-24 华为终端有限公司 Terminal power consumption optimization processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952846A (en) * 2005-10-17 2007-04-25 鸿富锦精密工业(深圳)有限公司 Passive cooling control system and method of central processing unit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163073A (en) * 2010-02-23 2011-08-24 华为终端有限公司 Terminal power consumption optimization processing method and device

Also Published As

Publication number Publication date
CN102339118A (en) 2012-02-01

Similar Documents

Publication Publication Date Title
CN102339118B (en) Terminal shutdown control method and system
US20220111732A1 (en) Safety monitoring method and system for vehicle, and device
US10811892B2 (en) Source management for a power transformation system
CN112152224B (en) Voltage sag treatment optimization method and system
US9153965B2 (en) System and method for energy storage management
US9292803B2 (en) Apparatus and method for privacy-driven moderation of metering data
CN104781751B (en) Method and apparatus for managing computing system power
CN103699406A (en) Method and device for intelligently freezing long-term unused applications
TW201312831A (en) System and method for managing battery charge/discharge
WO2014105612A1 (en) Method and apparatus for power resource protection
CN106814324B (en) Method and device for monitoring the operating state of a battery pack
CN103313359A (en) Power saving method and power saving device for mobile terminal and mobile terminal
CN101694580A (en) Monitoring method and system for production line equipment
CN104933272A (en) Power-stealing prevention analysis method and apparatus
CN101943942B (en) Electronic device with sleep function and method for wakening same
JPWO2018096727A1 (en) Monitoring system, server, terminal device, monitoring method, and program
CN105914873B (en) Double loop power supply automatic transfer equipment and conversion method
CN103378986A (en) System event log recording system and method
CN111198553B (en) Load fault detection method and device
CN107139740B (en) Power regulating method and device
CN107017767B (en) A kind of method and device of solar battery array open circuit overvoltage protection, inverter
CN106060668B (en) Intelligent television setting method and device
CN105893867A (en) Terminal equipment operation method and terminal equipment
CN105700656A (en) Standby abnormal power consumption detection system and method
CN103365762A (en) Server and environment parameter recording method of server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING QIHU TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20150907

Owner name: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20150907

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150907

Address after: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Qizhi software (Beijing) Co.,Ltd.

Address before: The 4 layer 100016 unit of Beijing city Chaoyang District Jiuxianqiao Road No. 14 Building C

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240112

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.