CN106292948A - Application control method and device and terminal - Google Patents

Application control method and device and terminal Download PDF

Info

Publication number
CN106292948A
CN106292948A CN201610601832.8A CN201610601832A CN106292948A CN 106292948 A CN106292948 A CN 106292948A CN 201610601832 A CN201610601832 A CN 201610601832A CN 106292948 A CN106292948 A CN 106292948A
Authority
CN
China
Prior art keywords
application
terminal
temperature value
difference
value
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
CN201610601832.8A
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610601832.8A priority Critical patent/CN106292948A/en
Publication of CN106292948A publication Critical patent/CN106292948A/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/16Constructional details or arrangements
    • G06F1/20Cooling means
    • G06F1/206Cooling means comprising thermal management

Abstract

The application provides an application control method, an application control device and a terminal, wherein the method comprises the following steps: after determining that a first application in the terminal is started, recording a current first time value and a current first temperature value of the terminal; after the first application is determined to be quit and the terminal returns to the system desktop, recording a current second time value and a current second temperature value of the terminal; calculating a first difference between the second time value and the first time value, and a second difference between the second temperature value and the first temperature value; judging whether the first difference value and the second difference value meet a preset relation or not; and if so, controlling to close the process corresponding to the first application. By the application control method, the application control device and the terminal, the application can be controlled according to the change conditions of the terminal temperature before and after the application is used, the terminal can work within a reasonable temperature range, and the reliability and the service life of the terminal are improved.

Description

Application controls method, device and terminal
Technical field
The application relates to communication technical field, particularly relates to a kind of application controls method, device and terminal.
Background technology
Along with the fast development of communication technology, and the popularization of various network application APP, user can be according to self Demand oneself application interested is installed on the terminal device, such that it is able to acquisition information, carry out chat etc..
Along with the application installed on terminal unit gets more and more, different application has different features, has plenty of especially Power consumption, such as game class, have plenty of special privacy, such as social class.
As a example by the application of special power consumption, this kind of application is serious due to power consumption, it is easy to cause terminal cpu temperature too high, And affect the normal use of terminal.
Summary of the invention
One of technical problem that the application is intended to solve in correlation technique the most to a certain extent.
To this end, the first of the application purpose is to propose a kind of application controls method, the method achieve according to application Before and after use, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works, in the range of reasonable temperature, carries The reliability of high terminal and service life.
Second purpose of the application is to propose another kind of application controls method.
3rd purpose of the application is to propose a kind of application controls square law device;.
4th purpose of the application is to propose another kind of application controls square law device.
5th purpose of the application is to propose a kind of terminal unit.
6th purpose of the application is to propose another kind of terminal unit.
For reaching above-mentioned purpose, the application first aspect embodiment proposes a kind of application controls method, including: determining After stating the first application startup in terminal, record the current very first time value of described terminal and the first temperature value;Described determining After first application is exited, it is judged that whether described terminal returns to system desktop;If described terminal returns to system desktop, then remember Record the second current time value of described terminal and the second temperature value;Calculate between described second time value and described very first time value First difference, the second difference between described second temperature value and described first temperature value;Judge that described first difference is poor with second Whether the relation preset is met between value;The most then control to close the process that described first application is corresponding.
In a kind of possible way of realization of first aspect, between described first difference of described judgement and the second difference it is The no satisfied relation preset, including:
Judge the ratio of described second difference and described first difference, if more than the value preset.
In the alternatively possible way of realization of first aspect, described control closes the process that described first application is corresponding Before, also include:
Prompt the user whether to close described first application by prompt window;
Receive user by described prompt window and close the instruction of described first application.
The application controls method of the embodiment of the present application, when in determining terminal, the first application is activated, record terminal is current The very first time value and the first temperature value, then after determining that the first application is exited, and when terminal returns to system desktop, record Second time value of described terminal and the second temperature value, then calculate first between described second time value and described very first time value Difference, the second difference between described second temperature value and described first temperature value;Then judge the first difference, with the second difference it Between whether meet the relation preset, the most then control to close the process that described first application is corresponding.Hereby it is achieved that according to answering With use before and after, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works in the range of reasonable temperature, Improve reliability and the service life of terminal.
For reaching above-mentioned purpose, the application second aspect embodiment proposes a kind of application controls method, including: determining After stating the second application startup in terminal, record the 3rd temperature value that described terminal is current;Determining that described second application is exited After, it is judged that whether described terminal returns to system desktop;If described terminal returns to system desktop, then record described terminal and work as Front 4th temperature value;Judge whether described 4th temperature value meets the condition preset with described 3rd temperature value;If it is, control System closes the process that described second application is corresponding.
In a kind of possible way of realization of second aspect, described 4th temperature value of described judgement and described 3rd temperature Whether value meets the condition preset, including:
Calculate the difference between described 4th temperature value and described 3rd temperature value, it is judged that whether described difference meets default Condition.
The application controls method of the embodiment of the present application, after in determining terminal, the second application is activated, record terminal is current The 3rd temperature value, then after determining that the second application is exited, it is judged that whether described terminal returns to system desktop;If it is described Terminal returns to system desktop, then record the 4th temperature value of described terminal, then judge the 4th temperature value and the 3rd temperature value it Between whether meet the condition preset, the most then control to close the process that described second application is corresponding.Hereby it is achieved that according to answering With use before and after, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works in the range of reasonable temperature, Improve reliability and the service life of terminal.
For reaching above-mentioned purpose, the application third aspect embodiment proposes a kind of application controls device, including: the first record Module, after the first application in determining described terminal starts, records the very first time value and first that described terminal is current Temperature value;First judge module, for after determining that described first application is exited, it is judged that whether described terminal returns to system table Face;Second logging modle, for determining that described terminal returns to system desktop, then records the second time that described terminal is current Value and the second temperature value;Computing module, for calculating the first difference between described second time value and described very first time value, institute State the second difference between the second temperature value and described first temperature value;Second judge module, be used for judging described first difference with Whether the relation preset is met between second difference;Control module, if meeting with described second difference for described first difference The relation preset, then control to close the process that described first application is corresponding.
In a kind of possible way of realization of the third aspect, described second judge module, specifically for:
Judge the ratio of described second difference and described first difference, if more than the value preset.
In the alternatively possible way of realization of the third aspect, this application controls device, also include:
Reminding module, for prompting the user whether to close described first application by prompt window;
Receiver module, for receiving, by described prompt window, the instruction closing described first application that user returns.
The application controls device of the embodiment of the present application, when in determining terminal, the first application is activated, record terminal is current The very first time value and the first temperature value, then after determining that the first application is exited, and when terminal returns to system desktop, record Second time value of described terminal and the second temperature value, then calculate first between described second time value and described very first time value Difference, the second difference between described second temperature value and described first temperature value;Then the first difference is judged, and the second difference, Whether meet the relation preset, the most then control to close the process that described first application is corresponding.Hereby it is achieved that according to application Before and after use, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works, in the range of reasonable temperature, carries The reliability of high terminal and service life.
For reaching above-mentioned purpose, the application fourth aspect embodiment proposes another kind of application controls device, including: the 3rd note Record module, after the second application in determining described terminal starts, records the 3rd temperature value that described terminal is current;3rd Judge module, for after determining that described second application is exited, it is judged that whether described terminal returns to system desktop;4th record Module, if returning to system desktop for described terminal, then records current 4th temperature value of described terminal;4th judges mould Block, for judging whether described 4th temperature value meets the condition preset with described 3rd temperature value;Processing module, if for Described 4th temperature value and described 3rd temperature value meet default condition, then control to close described second corresponding the entering of application Journey.
In a kind of possible way of realization of fourth aspect, described 4th judge module, specifically for:
Calculate the difference between described 4th temperature value and described 3rd temperature value, it is judged that whether described difference meets default Condition.
The application controls device of the embodiment of the present application, after in determining terminal, the second application is activated, record terminal is current The 3rd temperature value, then after determining that the second application is exited, it is judged that whether described terminal returns to system desktop;If it is described Terminal returns to system desktop, then record the 4th temperature value of described terminal, then judge the 4th temperature value and the 3rd temperature value it Between whether meet the condition preset, the most then control to close the process that described second application is corresponding.Hereby it is achieved that according to answering With use before and after, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works in the range of reasonable temperature, Improve reliability and the service life of terminal.
For reaching above-mentioned purpose, the application the 5th aspect embodiment proposes a kind of terminal, including: housing, processor, storage Device, circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and Described memorizer is arranged on described circuit board;Described power circuit, is used for each circuit for described mobile terminal or device Power supply;Described memorizer is used for storing executable program code;Described processor can by store in the described memorizer of reading Perform program code and run the program corresponding with described executable program code, for performing following steps:
After the first application in determining described terminal starts, record the current very first time value of described terminal and the first temperature Angle value;
After determining that described first application is exited, it is judged that whether described terminal returns to system desktop;
If described terminal returns to system desktop, then record the second current time value of described terminal and the second temperature Value;
Calculate the first difference between described second time value and described very first time value, described second temperature value and described the The second difference between one temperature value;
Judge whether meet the relation preset between described first difference and the second difference;
The most then control to close the process that described first application is corresponding.
The terminal of the embodiment of the present application, in determining terminal, the first application is when being activated, record terminal current first time Between value and the first temperature value, then after determining that the first application is exited, and when terminal returns to system desktop, record described terminal The second time value and the second temperature value, then calculate the first difference between described second time value and described very first time value, institute State the second difference between the second temperature value and described first temperature value;Then the first difference is judged, with the second difference, if meet The relation preset, the most then control to close the process that described first application is corresponding.Hereby it is achieved that before and after using according to application, The situation of change of terminal temperature, is controlled application, it is ensured that terminal works, in the range of reasonable temperature, improves terminal Reliability and service life.
For reaching above-mentioned purpose, the application the 6th aspect embodiment proposes another kind of terminal, including: housing, processor, deposit Reservoir, circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor It is arranged on described circuit board with described memorizer;Described power circuit, is used for each circuit for described mobile terminal or device Part is powered;Described memorizer is used for storing executable program code;Described processor is by reading storage in described memorizer Executable program code runs the program corresponding with described executable program code, for performing following steps:
After the second application in determining described terminal starts, record the 3rd temperature value that described terminal is current;
After determining that described second application is exited, it is judged that whether described terminal returns to system desktop;
If described terminal returns to system desktop, then record current 4th temperature value of described terminal;
Judge whether described 4th temperature value meets the condition preset with described 3rd temperature value;
If it is, control to close the process that described second application is corresponding.
The terminal of the embodiment of the present application, after in determining terminal, the second application is activated, the 3rd temperature that record terminal is current Angle value, then after determining that the second application is exited, it is judged that whether described terminal returns to system desktop;If described terminal returns To system desktop, then record the 4th temperature value of described terminal, then judge between the 4th temperature value and the 3rd temperature value the fullest The condition that foot is preset, the most then control to close the process that described second application is corresponding.Hereby it is achieved that before using according to application After, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works, in the range of reasonable temperature, improves end The reliability of end and service life.
Accompanying drawing explanation
The present invention above-mentioned and/or that add aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially with easy to understand, wherein:
Fig. 1 is the schematic flow sheet of the application controls method of one embodiment of the application;
Fig. 2 is the schematic flow sheet of the application controls method of another embodiment of the application;
Fig. 3 is the schematic flow sheet of the application controls method of another embodiment of the application
Fig. 4 is the structural representation of the application controls device of one embodiment of the application;
Fig. 5 is the structural representation of the application controls device of another embodiment of the application;
Fig. 6 is the structural representation of the application controls device of another embodiment of the application;
Fig. 7 is the structural representation of the terminal of one embodiment of the application;
Fig. 8 is the structural representation of the terminal of another embodiment of the application.
Detailed description of the invention
Embodiments herein is described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, it is intended to be used for explaining the application, and it is not intended that restriction to the application.
Below with reference to the accompanying drawings application controls method, device and the terminal of the embodiment of the present application are described.
Fig. 1 is the schematic flow sheet of the application controls method of one embodiment of the application.Wherein, this application controls method can It is applied in any terminal installing application.
As it is shown in figure 1, this application controls method includes:
Step 101, after the first application in determining described terminal starts, records the very first time value that described terminal is current With the first temperature value.
Concrete, that the executive agent of the application controls method that the present embodiment provides provides for the embodiment of the present application application control Device processed, this application controls device can be configured in any terminal installing application, for entering the application in terminal Row processes.
It should be noted that the type of terminal can have multiple, it is such as mobile phone, computer or Intelligent worn device etc..
Wherein, the first temperature value of terminal, refer to that the temperature value of CPU in terminal, the first application refer to the arbitrary application in terminal.
Concrete, application controls device, can pass through following various ways, determine that in terminal, the first application starts.
Example one:
By the task list in monitoring terminal, determine that in terminal, the first application starts.
Wherein, in the task list in terminal, storage has all marks in the application run in terminal, and should in terminal Use state when changing, task list also can respective change.
For example, if the application that terminal is currently run includes A, B and C, then task list just includes A, B and C, at certain In one moment, when applying C to be rejected (the now desktop of the terminal system that user returns to), now corresponding task list is just Become A, B and terminal system desktop, and owing to terminal system desktop is to start " application " recently, it can be positioned at task list Top.
Concrete, application controls device, can at predetermined intervals, the task list in reading terminals, according to appointing Whether the information of business list, determine and have application to be activated in terminal.
Wherein, the time interval preset, can be arranged as required to, the most at intervals of two minutes, read appointing in a terminal Business list, or every 30 seconds, 1 minute, the task list that 3 minutes etc. reads in a terminal.
I.e. before above-mentioned steps 101, this application controls method, it is also possible to including:
According to the task list before task list current in described terminal and default time interval, it is judged that terminal is No have application to be activated.
Example two:
When can also be arranged on the first application startup, send the first application to application controls device and start notification message, from And the first application is activated to make application controls device determine, thus record the current time value of terminal and temperature value.
Step 102, after determining that described first application is exited, it is judged that whether described terminal returns to system desktop.
Concrete, can be in the following manner, it is judged that whether terminal returns to system desktop:
Judge in task list current in described terminal, whether the application of up-to-date startup is terminal system desktop, if so, Then may determine that the system desktop that terminal returns.
Accordingly, it is also possible to by judging in task list current in terminal, whether the application of up-to-date startup is terminal system Whether system desktop, determine and have application to be rejected in described terminal, or can be according to task list current in described terminal With the task list before default time interval, it is judged that whether terminal there is application be rejected.
Generally, the top at task list is the mark of the application of up-to-date startup in terminal.Application controls device, is reading After getting task list current in terminal, i.e. can determine whether whether the application identities of the top of task list is desktop application, If desktop application, then may determine that in terminal and have application to be rejected, and terminal returns to system desktop;And if task list The application identities of top is not desktop application, then i.e. can determine whether the application identities of current task list top, and in advance If time interval before task list in the application identities of top the most identical, if differing, it is determined that current task row In table, the application identities of top is the mark of the application of up-to-date startup, if identical, then judges task list current in terminal The most identical with the task list before default time interval, if differing, then can be according to the difference of two task lists, really Surely the application being rejected.
Step 103, if described terminal returns to system desktop, then records the second current time value of described terminal and Two temperature values.
Step 104, calculates the first difference between described second time value and described very first time value, described second temperature value And the second difference between described first temperature value.
Step 105, it is judged that whether meet the relation preset between described first difference and described second difference.
Step 106, the most then control to close the process that described first application is corresponding.
Concrete, in the embodiment of the present application, by the temperature of CPU in terminal before and after comparing the first application and using, and application The relation of the duration opened, determines the need for processing the first application.
Wherein, the relation preset, is that the temperature rise of unit interval allowed that normally works according to terminal CPU determines.Citing For, if terminal CPU normally works, the temperature rise of unit interval allowed is 10 degree, then the second temperature value and the first temperature value Second difference, with the ratio of the second time Yu first difference of the very first time, needs less than 10 degree, continuing of this application is just described Open, terminal cpu temperature will not be made too high.I.e. above-mentioned steps 105, including:
Judge the ratio of described second difference and described first difference, if more than the value preset.
Wherein, the value preset, refer to that terminal CPU normally works the temperature rise value of unit interval allowed.
For example, if the unit interval temperature rise value allowed is 5 degree, very first time when application is opened is 9 points, the first temperature Angle value is 6 degree, and the second time value when application is exited is 9: 30, and the second temperature value is 10 degree, then caused by this application The temperature rise of unit interval is 8 degree, more than 5 degree, after i.e. explanation user exits this application, if persistently opening corresponding the entering of this application Journey, can make terminal cpu temperature too high, thus affect terminal and normally use, thus can control to close the process that application is corresponding, To reduce the temperature of terminal CPU.
The application controls method of the embodiment of the present application, after in determining terminal, the first application is activated, record terminal is current The very first time value and the first temperature value, then after determining that the first application is exited, it is judged that whether described terminal returns to system Desktop;If described terminal returns to system desktop, then record the second time value and second temperature value of described terminal, then calculate The first difference between described second time value and value of the described very first time, between described second temperature value and described first temperature value Second difference;Then judge whether to meet between the first difference and the second difference the relation preset, the most then control closedown described The process that first application is corresponding.Hereby it is achieved that before and after using according to application, the situation of change of terminal temperature, application is carried out Control, it is ensured that terminal works, in the range of reasonable temperature, improves reliability and the service life of terminal.
Fig. 2 is the schematic flow sheet of the application controls method of another embodiment of the application.
As in figure 2 it is shown, this application controls method is after above-mentioned steps 106, also include:
Step 201, task list current in reading terminals.
Concrete, application controls device, task row up-to-date in reading terminals can be continued at predetermined intervals Table.
Wherein, preset time interval can be arranged as required to, such as generally can use according to user application time Between length determine.Citing is, if the most every 20 minutes of user, switching once applies, then this time interval preset can be 20 minutes.
Step 202, it is judged that in described current task list, whether the application of up-to-date startup is terminal system desktop, if It is then to perform step 207, otherwise, perform step 203.
Step 203, it is judged that task before the application of up-to-date startup and prefixed time interval in described current task list In list, the application of up-to-date startup is the most identical, the most then return and continue executing with step 201, otherwise, performs step 204.
Step 204, according to the application identities of top in described current task list, determines the mark of the first application.
Step 205, the very first time value of record terminal and the first temperature value.
Step 206, after prefixed time interval, again reads off the task list in terminal, is then back to perform step 202.
Step 207, the second time value of record terminal and the second temperature value.
Concrete, application controls device, can be after often reading a task list, however, it is determined that up-to-date in this task list Application be application that in terminal system desktop, or this task list, up-to-date application is up-to-date with last task list not With, it is possible to record the current time value of terminal and temperature value, in order to the temperature value that follow-up each time of follow-up terminal is corresponding, right The application in corresponding moment processes.
Step 208, calculates the first difference between described second time value and described very first time value, described second temperature value And the second difference between described first temperature value.
Step 209, it is judged that described second difference and the ratio of described first difference, if more than the value preset, the most then Perform step 210, otherwise, perform step 201.
Above-mentioned steps 201-step 208 implement process, can refer to the detailed description of above-described embodiment, the most no longer Repeat.
Step 210, prompts the user whether to close described first application by prompt window.
Step 211, receives user by described prompt window and closes the instruction of described first application.
Step 212, controls to close the process that described first application is corresponding.
Concrete, in the present embodiment, before controlling to close the process applied, can be reminded by the form of reminder message User current XX application causes terminal cpu temperature too high, continues on this application, may affect the reliable use of terminal, ask Asking whether user allows to close this application, afterwards, if receiving the confirmation instruction that user returns, this application can be closed corresponding Process.
If it should be noted that the process that this application of user's Do not switch off is corresponding, then application controls device can continue prison Control the relation of the opening time of this application and the temperature rise of terminal CPU, and at interval of the regular hour after, send to user and once carry Awake message, or after the temperature monitoring terminal CPU has exceeded reliable temperature, remind user terminal cpu temperature abnormal, please User feels whether in time process etc., thus realizes causing application the reliably monitoring of terminal CPU temperature rise, improves the safety of terminal Property.
The application controls method of the embodiment of the present application, at predetermined intervals, the task list in reading terminals, and root According to task list, determine when the first application is activated in the terminal, record the current very first time value of terminal and the first temperature value, Then at the task list according to new reading, after determining that described first application is exited, and when terminal returns to system desktop, record Second time value of described terminal and the second temperature value, then calculate the first difference of described second time value and very first time value, Described second temperature value and the second difference of the first temperature value, then judge the ratio of described second difference and described first difference, Whether meet the relation preset, if so, prompting the user whether to close the first application by prompt window, and returning receiving user After the instruction of closedown the first application returned, control to close the process that described first application is corresponding.Hereby it is achieved that make according to application With front and back, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works, in the range of reasonable temperature, improves The reliability of terminal and service life.
By above-mentioned analysis, application controls device, can be according in section between arbitrary application on startup, terminal unit Temperature rise situation in time, after determining that this application is rejected, processes this application.In a kind of possible way of realization In, this application controls device, it is also possible to according only to application in use, the temperature rise situation of terminal, it is rejected in this application After, this application is processed, below in conjunction with Fig. 3, above-mentioned situation is described in detail.
Fig. 3 is the schematic flow sheet of the application controls method of another embodiment of the application.
As it is shown on figure 3, this application controls method includes:
Step 301, after the second application in determining described terminal starts, records the 3rd temperature that described terminal is current Value.
Wherein, the second application can be the application identical with above-mentioned first application, it is also possible to for different application.This enforcement This is not limited by example.
Step 302, after determining that described second application is exited, it is judged that whether described terminal returns to system desktop.
Step 303, if described terminal returns to system desktop, then records current 4th temperature value of described terminal.
Step 304, it is judged that whether described 4th temperature value meets the condition preset with described 3rd temperature value.
Wherein, above-mentioned steps 304, including:
Calculate the difference between described 4th temperature value and described 3rd temperature value, it is judged that whether described difference meets default Condition.
Step 305, if it is, control to close the process that described second application is corresponding.
Concrete, the condition preset can determine according to the permission temperature rise value of terminal CPU, if normally transporting than terminal CPU The temperature rise value allowed under row state is 20 degree, then pre-conditioned can think 20 degree.Thus application controls device, i.e. can determine whether Second application before use after, whether the temperature rise of terminal CPU more than 20 degree, if exceeding, then can second application exit after, control Close the process that the second application is corresponding, thus after avoiding the second application to be rejected, the process of its correspondence still makes terminal CPU send out Heat.
It is understood that before controlling to close the process that the second application is corresponding, application controls device, it is also possible to by carrying Show whether prompt user closes the second application, and after the instruction receiving instruction closedown the second application that user returns, then Close the second application, thus when process initiation time of avoiding the second application corresponding is longer, affect user and reuse second and answer With.
The application controls method of the embodiment of the present application, after in determining terminal, the second application is activated, record terminal is current The 3rd temperature value, then after determining that the second application is exited, it is judged that whether described terminal returns to system desktop;If it is described Terminal returns to system desktop, then record the 4th temperature value of described terminal, then judge the 4th temperature value and the 3rd temperature value it Between whether meet the condition preset, the most then control to close the process that described second application is corresponding.Hereby it is achieved that according to answering With use before and after, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works in the range of reasonable temperature, Improve reliability and the service life of terminal.
In order to realize above-described embodiment, the application also proposes a kind of application controls device.
Fig. 4 is the structural representation of the application controls device of one embodiment of the application.
As shown in Figure 4, this application controls device includes:
First logging modle 41, after the first application in determining terminal starts, record that described terminal is current the One time value and the first temperature value;
First judge module 42, for determine described first application exit after, it is judged that described terminal whether return to be System desktop;
Second logging modle 43, for for determining that described terminal returns to system desktop, then records described terminal and works as The second front time value and the second temperature value;
Computing module 44, for calculating the first difference between described second time value and described very first time value, described the The second difference between two temperature values and described first temperature value;
Second judge module 45, for judging whether meet the relation preset between described first difference and the second difference;
Control module 46, if for described first difference and described second difference, meets the relation preset, then controls to close The process that described first application is corresponding.
Wherein, above-mentioned second judge module 45, specifically for:
Judge the ratio of described second difference and described first difference, if more than the value preset.
It should be noted that the aforementioned explanation to application controls embodiment of the method shown in Fig. 1 is also applied for this enforcement The application controls device of example, here is omitted.
The application controls device of the embodiment of the present application, when in determining terminal, the first application is activated, record terminal is current The very first time value and the first temperature value, then after determining that the first application is exited, it is judged that whether described terminal returns to system Desktop;Then determining that described terminal returns to system desktop, then recording the second time value and second temperature value of described terminal, Calculate the first difference between described second time value and described very first time value, described second temperature value and described first temperature again The second difference between value;Then judge whether to meet between the first difference and the second difference the relation preset, the most then control to close Close the process that described first application is corresponding.Hereby it is achieved that before and after using according to application, the situation of change of terminal temperature, corresponding With being controlled, it is ensured that terminal works, in the range of reasonable temperature, improves reliability and the service life of terminal.
Fig. 5 is the structural representation of the application controls device of another embodiment of the application.As it is shown in figure 5, based on Fig. 4 institute The embodiment shown, this application controls device, also include:
Reminding module 51, for prompting the user whether to close described first application by prompt window;
Receiver module 52, for receiving, by described prompt window, the instruction closing described first application that user returns.
It should be noted that the aforementioned explanation to application controls embodiment of the method shown in Fig. 2 is also applied for this enforcement The application controls device of example, here is omitted.
The application controls device of the embodiment of the present application, at predetermined intervals, the task list in reading terminals, and root According to task list, determine when the first application is activated in the terminal, record the current very first time value of terminal and the first temperature value, Then at the task list according to new reading, after determining that described first application is exited, and when terminal returns to system desktop, record Second time value of described terminal and the second temperature value, then calculate the first difference of described second time value and very first time value, Described second temperature value and the second difference of the first temperature value, then judge the ratio of described second difference and described first difference, Whether meet the relation preset, if so, prompting the user whether to close the first application by prompt window, and returning receiving user After the instruction of closedown the first application returned, control to close the process that described first application is corresponding.Hereby it is achieved that make according to application With front and back, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works, in the range of reasonable temperature, improves The reliability of terminal and service life.
Fig. 6 is the structural representation of the application controls device of another embodiment of the application.
As shown in Figure 6, this application controls device, including:
3rd logging modle 61, after the second application in determining described terminal starts, records described terminal current The 3rd temperature value;
3rd judge module 62, for determine described second application exit after, it is judged that described terminal whether return to be System desktop;
4th logging modle 63, if returning to system desktop for described terminal, then records described terminal the current 4th Temperature value;
4th judge module 64, for judge described 4th temperature value and described 3rd temperature value whether meet preset article Part;
Processing module 65, if meeting default condition for described 4th temperature value and described 3rd temperature value, then controls System closes the process that described second application is corresponding.
Wherein, described 4th judge module 64, specifically for:
Calculate the difference between described 4th temperature value and described 3rd temperature value, it is judged that whether described difference meets default Condition.
It should be noted that the aforementioned explanation to application controls embodiment of the method shown in Fig. 3 is also applied for this enforcement The application controls device of example, here is omitted.
The application controls device of the embodiment of the present application, after in determining terminal, the second application is activated, record terminal is current The 3rd temperature value, then after determining that the second application is exited, it is judged that whether described terminal returns to system desktop;If it is described Terminal returns to system desktop, then record the 4th temperature value of described terminal, then judge the 4th temperature value and the 3rd temperature value it Between whether meet the condition preset, the most then control to close the process that described second application is corresponding.Hereby it is achieved that according to answering With use before and after, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works in the range of reasonable temperature, Improve reliability and the service life of terminal.
Fig. 7 is the structural representation of the terminal of one embodiment of the application.As it is shown in fig. 7, this terminal includes: housing 71, Processor 72, memorizer 73, circuit board 74 and power circuit 75, wherein, described circuit board 74 is placed in described housing 71 and surrounds Interior volume, described processor 72 and described memorizer 73 are arranged on described circuit board 74;Described power circuit 75, is used for Each circuit or device for described mobile terminal are powered;Described memorizer 73 is used for storing executable program code;Described place Reason device 72 runs and described executable program code pair by reading the executable program code of storage in described memorizer 73 The program answered, for performing following steps:
After the first application in determining described terminal starts, record the current very first time value of described terminal and the first temperature Angle value;
After determining that described first application is exited, it is judged that whether described terminal returns to system desktop;
If described terminal returns to system desktop, then record the second current time value of described terminal and the second temperature Value;
Calculate the first difference between described second time value and described very first time value, described second temperature value and described the The second difference between one temperature value;
Judge whether meet the relation preset between described first difference and the second difference;
The most then control to close the process that described first application is corresponding.
It should be noted that the aforementioned explanation to application controls embodiment of the method shown in Fig. 1 or Fig. 2 is also applied for this The terminal of embodiment, here is omitted.
The terminal of the embodiment of the present application, in determining terminal, the first application is when being activated, record terminal current first time Between value and the first temperature value, then after determining that the first application is exited, it is judged that whether described terminal returns to system desktop;Then Determining that described terminal returns to system desktop, then recording the second time value and second temperature value of described terminal, then calculate institute State the first difference between the second time value and described very first time value, between described second temperature value and described first temperature value Two differences;Then judge between the first difference and the second difference whether to meet the relation preset, the most then control to close described the The process that one application is corresponding.Hereby it is achieved that before and after using according to application, the situation of change of terminal temperature, application is controlled System, it is ensured that terminal works, in the range of reasonable temperature, improves reliability and the service life of terminal.
Fig. 8 is the structural representation of the terminal of one embodiment of the application.As shown in Figure 8, this terminal includes: housing 81, Processor 82, memorizer 83, circuit board 84 and power circuit 85, wherein, described circuit board 84 is placed in described housing 81 and surrounds Interior volume, described processor 82 and described memorizer 83 are arranged on described circuit board 84;Described power circuit 85, is used for Each circuit or device for described mobile terminal are powered;Described memorizer 83 is used for storing executable program code;Described place Reason device 82 runs and described executable program code pair by reading the executable program code of storage in described memorizer 83 The program answered, for performing following steps:
After the second application in determining described terminal starts, record the 3rd temperature value that described terminal is current;
After determining that described second application is exited, it is judged that whether described terminal returns to system desktop;
If described terminal returns to system desktop, then record current 4th temperature value of described terminal;
Judge whether described 4th temperature value meets the condition preset with described 3rd temperature value;
If it is, control to close the process that described second application is corresponding.
It should be noted that the aforementioned explanation to application controls embodiment of the method shown in Fig. 3 is also applied for this enforcement The terminal of example, here is omitted.
The terminal of the embodiment of the present application, after in determining terminal, the second application is activated, the 3rd temperature that record terminal is current Angle value, then after determining that the second application is exited, it is judged that whether described terminal returns to system desktop;If described terminal returns To system desktop, then record the 4th temperature value of described terminal, then judge between the 4th temperature value and the 3rd temperature value the fullest The condition that foot is preset, the most then control to close the process that described second application is corresponding.Hereby it is achieved that before using according to application After, the situation of change of terminal temperature, application is controlled, it is ensured that terminal works, in the range of reasonable temperature, improves end The reliability of end and service life.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy Point is contained at least one embodiment or the example of the application.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or Implicitly include at least one this feature.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process Point, and the scope of the preferred implementation of the application includes other realization, wherein can not by shown or discuss suitable Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the application Embodiment person of ordinary skill in the field understood.
Should be appreciated that each several part of the application can realize by hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having shown that above and retouching State embodiments herein, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the application System, above-described embodiment can be changed, revise, replace and become in scope of the present application by those of ordinary skill in the art Type.

Claims (10)

1. an application controls method, is applied to terminal, it is characterised in that comprise the following steps:
After the first application in determining described terminal starts, record the current very first time value of described terminal and the first temperature Value;
After determining that described first application is exited, it is judged that whether described terminal returns to system desktop;
If described terminal returns to system desktop, then record the second current time value of described terminal and the second temperature value;
Calculate the first difference between described second time value and described very first time value, described second temperature value and described first temperature The second difference between angle value;
Judge whether meet the relation preset between described first difference and the second difference;
The most then control to close the process that described first application is corresponding.
2. the method for claim 1, it is characterised in that described whether judge between described first difference and the second difference Meet the relation preset, including:
Judge the ratio of described second difference and described first difference, if more than the value preset.
3. the method as described in claim 1-2 is arbitrary, it is characterised in that described first corresponding the entering of application is closed in described control Before journey, also include:
Prompt the user whether to close described first application by prompt window;
Receive user by described prompt window and close the instruction of described first application.
4. an application controls method, is applied to terminal, it is characterised in that comprise the following steps:
After the second application in determining described terminal starts, record the 3rd temperature value that described terminal is current;
After determining that described second application is exited, it is judged that whether described terminal returns to system desktop;
If described terminal returns to system desktop, then record current 4th temperature value of described terminal;
Judge whether described 4th temperature value meets the condition preset with described 3rd temperature value;
If it is, control to close the process that described second application is corresponding.
Method the most according to claim 4, it is characterised in that described 4th temperature value of described judgement and described 3rd temperature Whether value meets the condition preset, including:
Calculate the difference between described 4th temperature value and described 3rd temperature value, it is judged that whether described difference meets the bar preset Part.
6. an application controls device, is applied to terminal, it is characterised in that including:
First logging modle, after the first application in determining described terminal starts, record that described terminal is current first Time value and the first temperature value;
First judge module, for after determining that described first application is exited, it is judged that whether described terminal returns to system desktop;
Second logging modle, for determining that described terminal returns to system desktop, then record described terminal current second time Between value and the second temperature value;
Computing module, for calculating the first difference between described second time value and described very first time value, described second temperature The second difference between value and described first temperature value;
Second judge module, for judging whether meet the relation preset between described first difference and the second difference;
Control module, if meeting default relation for described first difference and described second difference, then controls to close described the The process that one application is corresponding.
7. device as claimed in claim 6, it is characterised in that described second judge module, specifically for:
Judge the ratio of described second difference and described first difference, if more than the value preset.
8. an application controls device, is applied to terminal, it is characterised in that including:
3rd logging modle, after the second application in determining described terminal starts, record that described terminal is current the 3rd Temperature value;
3rd judge module, for after determining that described second application is exited, it is judged that whether described terminal returns to system desktop;
4th logging modle, if returning to system desktop for described terminal, then records current 4th temperature value of described terminal;
4th judge module, for judging whether described 4th temperature value meets the condition preset with described 3rd temperature value;
Processing module, if meeting default condition for described 4th temperature value and described 3rd temperature value, then controls to close The process that described second application is corresponding.
9. a terminal, it is characterised in that including: housing, processor, memorizer, circuit board and power circuit, wherein, described Circuit board is placed in the interior volume that described housing surrounds, described processor and described memorizer and is arranged on described circuit board; Described power circuit, powers for each circuit or the device for described mobile terminal;Described memorizer is used for storing and can perform Program code;Described processor is run by the executable program code of storage in the described memorizer of reading and performs with described The program that program code is corresponding, for performing following steps:
After the first application in determining described terminal starts, record the current very first time value of described terminal and the first temperature Value;
After determining that described first application is exited, it is judged that whether described terminal returns to system desktop;
If described terminal returns to system desktop, then record the second current time value of described terminal and the second temperature value;
Calculate the first difference between described second time value and described very first time value, described second temperature value and described first temperature The second difference between angle value;
Judge whether meet the relation preset between described first difference and the second difference;
The most then control to close the process that described first application is corresponding.
10. a terminal, it is characterised in that including: housing, processor, memorizer, circuit board and power circuit, wherein, described Circuit board is placed in the interior volume that described housing surrounds, described processor and described memorizer and is arranged on described circuit board; Described power circuit, powers for each circuit or the device for described mobile terminal;Described memorizer is used for storing and can perform Program code;Described processor is run by the executable program code of storage in the described memorizer of reading and performs with described The program that program code is corresponding, for performing following steps:
After the second application in determining described terminal starts, record the 3rd temperature value that described terminal is current;
After determining that described second application is exited, it is judged that whether described terminal returns to system desktop;
If described terminal returns to system desktop, then record current 4th temperature value of described terminal;
Judge whether described 4th temperature value meets the condition preset with described 3rd temperature value;
If it is, control to close the process that described second application is corresponding.
CN201610601832.8A 2016-07-27 2016-07-27 Application control method and device and terminal Pending CN106292948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610601832.8A CN106292948A (en) 2016-07-27 2016-07-27 Application control method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610601832.8A CN106292948A (en) 2016-07-27 2016-07-27 Application control method and device and terminal

Publications (1)

Publication Number Publication Date
CN106292948A true CN106292948A (en) 2017-01-04

Family

ID=57662724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610601832.8A Pending CN106292948A (en) 2016-07-27 2016-07-27 Application control method and device and terminal

Country Status (1)

Country Link
CN (1) CN106292948A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395744A (en) * 2017-08-18 2017-11-24 广东欧珀移动通信有限公司 Method of data synchronization, mobile terminal and storage medium
CN109241729A (en) * 2017-07-10 2019-01-18 阿里巴巴集团控股有限公司 Detection, processing method, device, terminal device and the electronic equipment of application program

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019842A (en) * 2012-11-29 2013-04-03 广东欧珀移动通信有限公司 Background program finishing method and system
CN103034397A (en) * 2012-11-29 2013-04-10 广东欧珀移动通信有限公司 Dynamic unlocking method, device and mobile terminal based on recent tasks
CN104199759A (en) * 2014-08-14 2014-12-10 北京金山安全软件有限公司 Application program identification method and device causing terminal temperature rise and terminal
CN104199727A (en) * 2014-08-14 2014-12-10 北京金山安全软件有限公司 Method and device for reducing terminal temperature and terminal
CN104636236A (en) * 2014-12-30 2015-05-20 深圳天珑无线科技有限公司 Terminal high-temperature abnormity detecting method and mobile terminal
CN105376378A (en) * 2015-10-20 2016-03-02 湖南创研科技股份有限公司 Method and system for monitoring heat generation rate of smart phone, and smart phone
CN105447384A (en) * 2014-08-18 2016-03-30 北京壹人壹本信息科技有限公司 Anti-monitoring method and system and mobile terminal
CN105468506A (en) * 2014-09-02 2016-04-06 腾讯科技(深圳)有限公司 Application management method, device and terminal
CN105630594A (en) * 2015-11-25 2016-06-01 东莞酷派软件技术有限公司 Terminal control method, terminal control device and terminal
CN105676974A (en) * 2014-11-03 2016-06-15 纬创资通股份有限公司 Electronic device and temperature control method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019842A (en) * 2012-11-29 2013-04-03 广东欧珀移动通信有限公司 Background program finishing method and system
CN103034397A (en) * 2012-11-29 2013-04-10 广东欧珀移动通信有限公司 Dynamic unlocking method, device and mobile terminal based on recent tasks
CN104199759A (en) * 2014-08-14 2014-12-10 北京金山安全软件有限公司 Application program identification method and device causing terminal temperature rise and terminal
CN104199727A (en) * 2014-08-14 2014-12-10 北京金山安全软件有限公司 Method and device for reducing terminal temperature and terminal
CN105447384A (en) * 2014-08-18 2016-03-30 北京壹人壹本信息科技有限公司 Anti-monitoring method and system and mobile terminal
CN105468506A (en) * 2014-09-02 2016-04-06 腾讯科技(深圳)有限公司 Application management method, device and terminal
CN105676974A (en) * 2014-11-03 2016-06-15 纬创资通股份有限公司 Electronic device and temperature control method thereof
CN104636236A (en) * 2014-12-30 2015-05-20 深圳天珑无线科技有限公司 Terminal high-temperature abnormity detecting method and mobile terminal
CN105376378A (en) * 2015-10-20 2016-03-02 湖南创研科技股份有限公司 Method and system for monitoring heat generation rate of smart phone, and smart phone
CN105630594A (en) * 2015-11-25 2016-06-01 东莞酷派软件技术有限公司 Terminal control method, terminal control device and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241729A (en) * 2017-07-10 2019-01-18 阿里巴巴集团控股有限公司 Detection, processing method, device, terminal device and the electronic equipment of application program
CN109241729B (en) * 2017-07-10 2022-05-13 阿里巴巴集团控股有限公司 Application program detection and processing method and device, terminal device and electronic device
CN107395744A (en) * 2017-08-18 2017-11-24 广东欧珀移动通信有限公司 Method of data synchronization, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
Van Berkel et al. A systematic assessment of smartphone usage gaps
CN106055077A (en) Wake-up lock-based processing method and device
CN103077721A (en) Voice memorandum method of mobile terminal and mobile terminal
CN105282346A (en) Screen power saving method and device and mobile terminal
CN105653008B (en) Night sleep message prompting method and device and electronic equipment
CN103401991A (en) Method and device for prompting communication event of terminal device
CN106168902A (en) Awakening control method, device and equipment
CN104954550B (en) Communication means and communication system
CN104038632A (en) Method and device for managing intelligent terminal
WO2017206677A1 (en) Method and apparatus for managing device alarm clock
CN106060907A (en) Positioning module control method and terminal
CN107995359A (en) A kind of communication information based reminding method, device, terminal and readable storage medium storing program for executing
CN108989454A (en) Vehicular system, vehicle, server and vehicle battery based reminding method
CN106292948A (en) Application control method and device and terminal
CN105281965B (en) Traffic acquisition method and device based on IOS (input/output system)
CN106569832A (en) Application program management method and device and terminal
CN109711144A (en) Cloud mobile phone applies black, white list management method
CN106095288A (en) A kind of based on the treating method and apparatus waking up lock up
CN105430175A (en) Emergency SOS system and method
CN106095419A (en) Wake up lock method for releasing and device up
WO2018068539A1 (en) Information prompting control method and device
CN107436830A (en) Use control method, system and electronic equipment
CN106203075A (en) A kind of method and device preventing application program from waking up up mutually
CN111045507B (en) List management and control method, device, mobile terminal and storage medium
CN106020426B (en) A kind of method for releasing and device waking up lock

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170104