CN107463478A - The control method and device of terminal device - Google Patents

The control method and device of terminal device Download PDF

Info

Publication number
CN107463478A
CN107463478A CN201710547653.5A CN201710547653A CN107463478A CN 107463478 A CN107463478 A CN 107463478A CN 201710547653 A CN201710547653 A CN 201710547653A CN 107463478 A CN107463478 A CN 107463478A
Authority
CN
China
Prior art keywords
terminal device
real
time temperature
temperature values
application
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
CN201710547653.5A
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710547653.5A priority Critical patent/CN107463478A/en
Publication of CN107463478A publication Critical patent/CN107463478A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The disclosure is directed to the control method and device of terminal device.This method includes:By the real-time temperature values for obtaining terminal device;When real-time temperature values are higher than preset temperature value, obtain the abnormal application that at least one processor occupancy in terminal device exceedes default occupancy, and close it is at least one in abnormal application, to reduce the real-time temperature values of terminal device so as to extend the stand-by time of terminal device.Wherein, when real-time temperature values are higher than preset temperature value, determine that processor load is serious, now, obtain the abnormal application that current processor occupancy exceedes default occupancy, and those applications extremely are also the application for causing terminal device power consumption abnormal, those can now be closed to apply extremely so that the load of processor diminishes, to reduce the real-time temperature values of terminal device, so as to reduce the power consumption rate of terminal device battery, the final stand-by time for lifting terminal device.

Description

The control method and device of terminal device
Technical field
This disclosure relates to electronic technology field, more particularly to the control method and device of terminal device.
Background technology
With the development of electronic technology, terminal device such as smart mobile phone, PAD is also developed rapidly, their work( Energy is stronger and stronger and has outstanding operating system, can freely install various application software, inevitably, user is to end The requirement of the quality of end equipment is also more and more high, wherein, the power consumption rate of terminal device be weigh one of its quality it is important Parameter.If power consumption rate is too fast, the stand-by time that may result in terminal device is reduced, it is necessary to which not timing is charged, to user's day Often make troubles, be to extend the stand-by time of terminal device by increasing the charge capacity of battery in terminal device at present.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides the control method and device of terminal device. The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of control method of terminal device, including:
Obtain the real-time temperature values of terminal device;
When the real-time temperature values of the terminal device are higher than preset temperature value, at least one in the terminal device is obtained Individual abnormal application, the abnormal application exceed the application of default occupancy for processor occupancy;
Close it is at least one in the abnormal application, to reduce the real-time temperature values of the terminal device so as to extend State the stand-by time of terminal device.
The technical scheme provided by this disclosed embodiment can include the following benefits:By the reality for obtaining terminal device When temperature value;When real-time temperature values are higher than preset temperature value, at least one processor occupancy obtained in terminal device surpasses Cross the abnormal application of default occupancy, and close it is at least one in abnormal application, to reduce the real-time temperature values of terminal device So as to extend the stand-by time of terminal device.Wherein, when real-time temperature values are higher than preset temperature value, determine that processor load is tight Weight, now, acquisition current processor occupancy exceed the abnormal application of default occupancy, and those exception applications are also to cause The abnormal application of terminal device power consumption, it can now close those and apply extremely so that the load of processor diminishes, to reduce The real-time temperature values of terminal device, so as to reduce the power consumption rate of terminal device battery, it is final lifted terminal device it is standby when Between.
In one embodiment, methods described also includes:
Prompting message is exported, the prompting message is used to prompt the abnormal application to cause the battery of the terminal device to consume Electricity is abnormal.
The technical scheme provided by this disclosed embodiment can include the following benefits:By causing end to user's displaying The abnormal application of the battery power consumption of end equipment, can effectively lift Consumer's Experience.
In one embodiment, it is at least one in the closing abnormal application, including:
Out code is obtained, abnormal application to be closed is carried in the out code;
The abnormal application to be closed indicated is closed in the out code.
The technical scheme provided by this disclosed embodiment can include the following benefits:Closed according to out code abnormal Using, so as to avoid close terminal device caused by the abnormal application that some must run can not normal operation ask Topic, effectively improves terminal device reliability of operation.
In one embodiment, the real time temperature for obtaining terminal device, including:
The real-time temperature values of the battery in terminal device are obtained, the terminal is used as using the real-time temperature values of the battery The real-time temperature values of equipment.
The technical scheme provided by this disclosed embodiment can include the following benefits:By using the real-time temperature of battery Real-time temperature values of the angle value as terminal device, without increasing extra temperature sensor, namely terminal device need not be changed Existing hardware configuration, effectively reduces cost.
In one embodiment, the real-time temperature values for obtaining the battery in terminal device, including:
Operating system module into the terminal device sends temperature monitoring instruction message, and the temperature monitoring instruction disappears Cease for indicating that the operating system module monitors the real-time temperature values and feedback of the battery;
The notification message that the operating system module is sent is received, the real-time temperature of the battery is carried in the notification message Angle value.
The technical scheme provided by this disclosed embodiment can include the following benefits:Obtained by operating system module To the real-time temperature values of battery, go to obtain the real-time temperature values of battery without increasing other modules, effectively improve efficiency.
In one embodiment, the operating system module into the terminal device sends temperature monitoring instruction message Before, in addition to:
The start-up command that operating system module is sent is received, the start-up command is used to indicate the terminal device start.
The technical scheme provided by this disclosed embodiment can include the following benefits:By after terminal device is started shooting Just the real-time temperature values of monitoring battery are started, so as to effectively improve terminal device reliability of operation.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of control device of terminal device, including:
First acquisition module, for obtaining the real-time temperature values of terminal device;
Second acquisition module, the real-time temperature values of the terminal device for being obtained in first acquisition module are higher than During preset temperature value, at least one abnormal application in the terminal device is obtained, the abnormal application is processor occupancy More than the application of default occupancy;
Closedown module, it is at least one in the abnormal application obtained for closing second acquisition module, with drop The real-time temperature values of the low terminal device are so as to extending the stand-by time of the terminal device.
In one embodiment, described device also includes:Output module;
The output module, for exporting prompting message, the prompting message is used to prompt second acquisition module to obtain The abnormal application taken causes the battery power consumption of the terminal device abnormal.
In one embodiment, the closedown module includes:First acquisition submodule and closing submodule;
First acquisition submodule, for obtaining out code, exception to be closed is carried in the out code should With;
The closing submodule, the institute indicated in the out code obtained for closing first acquisition submodule State abnormal application to be closed.
In one embodiment, first acquisition module includes:Second acquisition submodule;
Second acquisition submodule, for obtaining the real-time temperature values of the battery in terminal device, use the battery Real-time temperature values of the real-time temperature values as the terminal device.
In one embodiment, second acquisition submodule includes:Sending submodule and the first receiving submodule;
The sending submodule, send temperature monitoring instruction for the operating system module into the terminal device and disappear Breath, temperature monitoring instruction message are used to indicating that the operating system module to monitor real-time temperature values of the battery and anti- Feedback;
First receiving submodule, the notification message sent for receiving the operating system module, the notice disappear The real-time temperature values of the battery are carried in breath.
In one embodiment, second acquisition submodule also includes:Second receiving submodule;
Second receiving submodule, for the operating system module in the sending submodule into the terminal device Before sending temperature monitoring instruction message, the start-up command that operating system module is sent is received, the start-up command is used to indicate The terminal device start.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of control device of terminal device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain the real-time temperature values of terminal device;
When the real-time temperature values of the terminal device are higher than preset temperature value, at least one in the terminal device is obtained Individual abnormal application, the abnormal application exceed the application of default occupancy for processor occupancy;
Close it is at least one in the abnormal application, to reduce the real-time temperature values of the terminal device so as to extend State the stand-by time of terminal device.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, be stored thereon with calculating Machine instructs, and the instruction realizes following steps when being executed by processor:
Obtain the real-time temperature values of terminal device;
When the real-time temperature values of the terminal device are higher than preset temperature value, at least one in the terminal device is obtained Individual abnormal application, the abnormal application exceed the application of default occupancy for processor occupancy;
Close it is at least one in the abnormal application, to reduce the real-time temperature values of the terminal device so as to extend State the stand-by time of terminal device.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the flow chart of the control method of the terminal device according to an exemplary embodiment.
Fig. 2 be the terminal device according to an exemplary embodiment control method in step S103 flow chart.
Fig. 3 be the terminal device according to an exemplary embodiment control method in step S101 flow chart.
Fig. 4 be the terminal device according to an exemplary embodiment control method in step S1011 flow chart.
Fig. 5 is the flow chart of the control method of the terminal device according to an exemplary embodiment two.
Fig. 6 is the screen display schematic diagram of the terminal device according to an exemplary embodiment one.
Fig. 7 is the screen display schematic diagram of the terminal device according to an exemplary embodiment two.
Fig. 8 is the screen display schematic diagram of the terminal device according to an exemplary embodiment three.
Fig. 9 is the block diagram of the control device of the terminal device according to an exemplary embodiment one.
Figure 10 is the block diagram of the control device of the terminal device according to an exemplary embodiment two.
Figure 11 be the terminal device according to an exemplary embodiment control device in closedown module 13 block diagram.
Figure 12 be the terminal device according to an exemplary embodiment control device in the first acquisition module 11 frame Figure.
Figure 13 be the terminal device according to an exemplary embodiment one control device in the second acquisition submodule 111 Block diagram.
Figure 14 be the terminal device according to an exemplary embodiment two control device in the second acquisition submodule 111 Block diagram.
Figure 15 is a kind of block diagram of control device 80 for terminal device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Although the charge capacity of battery extends the stand-by time of terminal device in increase terminal device, terminal device has A little applications are the applications of nonessential operation, therefore can be by the operation for the application for closing those nonessential operations so that further The stand-by time of effective lifting terminal device.
In the disclosure, by the real-time temperature values for obtaining terminal device;When real-time temperature values are higher than preset temperature value, obtain Take at least one processor occupancy in terminal device to exceed the abnormal application of default occupancy, and close in abnormal application It is at least one, to reduce the real-time temperature values of terminal device so as to extend the stand-by time of terminal device.
Due to the temperature of terminal device be terminal device operation power consumption an important indicator, terminal when temperature is too high Electricity consumption of equipment speed can be accelerated, and generally avoid terminal device temperature too high as far as possible, be set so as to which can reduces terminal Standby power consumption rate, lift the stand-by time of terminal device.And processor in terminal device is when load is very heavy for a long time Can be shed amount of heat, and this is a major reason for causing terminal device temperature too high.
In order to reduce the temperature of terminal device, the further power consumption rate for reducing terminal device, set so as to lift terminal Standby stand-by time, whether can determine the processor load in terminal device by obtaining the real-time temperature values of terminal device Seriously, when the real-time temperature values are higher than preset temperature value, determine that processor load is serious, now, obtain current processor and account for Exceed the exception application of default occupancy with rate, and those exception applications are also to cause answering for terminal device power consumption exception With, can now close those extremely apply so that the load of processor diminishes, to reduce the real-time temperature values of terminal device, So as to reduce the power consumption rate of terminal device battery, the final stand-by time for lifting terminal device.
Fig. 1 is the flow chart of the control method of the terminal device according to an exemplary embodiment, as shown in figure 1, should Method comprises the following steps:
In step S101, the real-time temperature values of terminal device are obtained.
In step s 102, when real-time temperature values are higher than preset temperature value, obtain at least one different in terminal device Often application, wherein, abnormal application exceedes the application of default occupancy for processor occupancy.
In step s 103, close it is at least one in abnormal application, with reduce the real-time temperature values of terminal device so as to Extend the stand-by time of terminal device.
Wherein, the real-time temperature values of terminal device, the processor occupancy of terminal device and the stand-by time of terminal device Relation be:Processor occupancy height causes real-time temperature values to be lifted, and real time temperature is too high to cause battery drain speed to be accelerated, electricity Pond power consumption rate is accelerated to cause the stand-by time of terminal device to shorten.Therefore, in processor the too high application of occupancy operation The reason for as causing the stand-by time of terminal device to shorten.Therefore can be found by real-time temperature values and processor occupancy The application for causing the stand-by time of terminal device to shorten, it is at least one in those applications so as to close, to extend terminal device Stand-by time.
In the disclosure, by the real-time temperature values for obtaining terminal device;When real-time temperature values are higher than preset temperature value, obtain Take at least one processor occupancy in terminal device to exceed the abnormal application of default occupancy, and close in abnormal application It is at least one, to reduce the real-time temperature values of terminal device so as to extend the stand-by time of terminal device.Wherein, in real time temperature When value is higher than preset temperature value, determine that processor load is serious, now, obtain current processor occupancy and exceed default occupancy Abnormal application, and those applications extremely are also the application for causing terminal device power consumption abnormal, can now close those Abnormal application so that the load of processor diminishes, to reduce the real-time temperature values of terminal device, so as to reduce terminal device battery Power consumption rate, the final stand-by time for lifting terminal device.
In one embodiment, in order to further lift Consumer's Experience so that user can learn which application causes The power consumption rate of terminal device is accelerated, and can now export causes end for the abnormal application for prompting to obtain in above-mentioned steps S102 The battery power consumption abnormal prompt message of end equipment.
The technical scheme provided by this disclosed embodiment can include the following benefits:By causing end to user's displaying The abnormal application of the battery power consumption of end equipment, can effectively lift Consumer's Experience.
At this point it is possible to above-mentioned prompting message is exported by the display device of terminal device.
Such as:By way of pop-up prompting frame is exported to user.
In order to further attract the notice of user, the warning light of terminal device can also be lighted, and/or, send temperature High information of voice prompt is spent, and/or, send alarm music.
The technical scheme provided by this disclosed embodiment can include the following benefits:By causing terminal to set to displaying The abnormal application of standby battery power consumption, can effectively lift Consumer's Experience.
In a kind of achievable mode, all abnormal applications got can be closed in step S102, at this point it is possible to fast The load of prompt drop low processor, so as to reduce the temperature of terminal device, and then the rapid power consumption rate for reducing terminal device rapidly, So as to effectively lift the stand-by time of terminal device.
In the achievable mode of another kind, the abnormal application that gets can be selectively closed in step S102, That is, it is not to close in step S102 all abnormal applications got, now, now, as shown in Fig. 2 above-mentioned step S103 comprises the following steps S1031- steps S1032:
In step S1031:Out code is obtained, wherein, abnormal application to be closed is carried in out code.
In step S1032:The abnormal application to be closed indicated is closed in above-mentioned out code.
In one embodiment, if the application that some of which application, which is user, to be used, or user's subjectivity is not Want the application closed, then now, after prompting message is exported to user, the exception that user can select to need to close should With, and carried the abnormal application that the needs of selection are closed as abnormal application to be closed in out code, so as at this After the executive agent of open method gets out code, those abnormal applications to be closed are closed.
In another embodiment, a part of application in abnormal application may must run for system normal operation Using, therefore the application of this part can not be closed, and now, after abnormal application is got, those exception applications can be entered Row analysis, it can be closed in application extremely so as to obtain those, and using the abnormal application that those can be closed as waiting to close Abnormal application carry in out code, should so as to after the executive agent of method of disclosure gets out code, close A little abnormal applications to be closed.
The technical scheme provided by this disclosed embodiment can include the following benefits:Closed according to out code abnormal Using, so as to avoid close terminal device caused by the abnormal application that some must run can not normal operation ask Topic, effectively improves terminal device reliability of operation.
In a kind of achievable mode, the real-time of terminal device can be obtained by built-in temperature sensor in terminal device Temperature value, at this time, it may be necessary to increase extra temperature sensor in terminal device.
Such as:The real time temperature of terminal device can be used as by obtaining the real-time temperature values of the processor in terminal device Value;Or the real-time temperature values of terminal device can be used as by obtaining the real-time temperature values of the mainboard in terminal device;Or Person, it can be used as by obtaining the average value of the real time temperature box of the processor in terminal device and the real-time temperature values of mainboard The real-time temperature values of terminal device.
In the achievable mode of another kind, because the battery temperature value in terminal device and the temperature value of terminal device tend to It is identical, and built-in can typically be used for the thermistor for measuring battery temperature value in the battery of terminal device.It is therefore, it is possible to use electric Real-time temperature values of the real-time temperature values in pond as terminal device, and extra hardware configuration need not be increased, so as to save Cost and the complexity for reducing terminal device structure, now, as shown in figure 3, above-mentioned step S101 may be embodied as it is following Step S1011:
In step S1011, the real-time temperature values of the battery in terminal device are obtained, are made using the real-time temperature values of battery For the real-time temperature values of terminal device.
The technical scheme provided by this disclosed embodiment can include the following benefits:By using the real-time temperature of battery Real-time temperature values of the angle value as terminal device, without increasing extra temperature sensor, namely terminal device need not be changed Existing hardware configuration, effectively reduces cost.
And the operating system of terminal device is can be directly obtained the real-time temperature values of battery, therefore can be from operation The real-time temperature values of battery are got at system.Now, as shown in figure 4, above-mentioned step S1011 may be embodied as step S10111- steps S10112:
In step S10111, the operating system module into terminal device sends temperature monitoring instruction message, the temperature Monitoring instruction message is used for the real-time temperature values and feedback for indicating operating system module monitoring battery.
In step S10112, the notification message that operating system module is sent is received, battery is carried in the notification message Real-time temperature values.
Because the operating system module in terminal device can be directly obtained the real-time temperature values of battery, therefore, this public affairs The executive agent of the extraction of root can be first into terminal device operating system module send instruction message, when operating system module connects After receiving the instruction message, it can go to obtain the real-time temperature values of battery, and the real-time temperature values of the battery got are carried The executive agent of method of disclosure is fed back in announcement information, when the executive agent of method of disclosure receives the notification message Afterwards, the real-time temperature values of battery just got.
In a kind of achievable mode, operating system can the executive agent hair to method of disclosure continual in real time Send the real-time temperature values of the battery monitored, but this kind of mode so that the load of operating system is larger, since it is desired that continual The real-time temperature values of battery are sent, in order to save the expense of operating system, operating system can be according to predetermined period to the disclosure The real-time temperature values for the battery that the executive agent of method is sent, but in the case of this kind, it is possible that the battery sent twice Real-time temperature values identical situation, accordingly it is also possible to when operating system monitors that the real-time temperature values of battery change, The real-time temperature values of the battery of change are sent to the executive agent of method of disclosure.
Example, the above-mentioned operating system module into terminal device sends temperature monitoring instruction message and may be embodied as: Start mobile phone temp monitoring service (BatteryCheckerService) in an operating system, and registered in the service Battery_changed events, the purpose of the battery_changed events is to this when the temperature value of battery changes The executive agent of open method sends above-mentioned notification message.
The technical scheme provided by this disclosed embodiment can include the following benefits:Obtained by operating system module To the real-time temperature values of battery, go to obtain the real-time temperature values of battery without increasing other modules, effectively improve efficiency.
Monitor the temperature value of battery just can start to monitor during terminal device is run, but due to terminal device If the device in terminal device can be burnt out in the state of temperature is too high for a long time, terminal device deadlock is even resulted in, because This, in order to lift terminal device reliability of operation, can just start to monitor, now, in execution when terminal device is started shooting Before stating step S10111, operating system module can also first send to the executive agent of method of disclosure and be set for instruction terminal The start-up command of standby start, after the executive agent of method of disclosure receives start-up command, just perform above-mentioned steps S10111.
Example, above-mentioned start-up command can be the operating system hair of terminal device after terminal device starting up The boot_complete events sent.
The technical scheme provided by this disclosed embodiment can include the following benefits:By after terminal device is started shooting Just the real-time temperature values of monitoring battery are started, so as to effectively improve terminal device reliability of operation.
It is worth noting that, the preset temperature value in the various embodiments described above can be by user's sets itself, can also basis The performance parameter setting of battery, the disclosure are not any limitation as to the setting means and concrete numerical value of the preset temperature value.
Default occupancy in the various embodiments described above can also can be joined by user's sets itself according to the performance of processor Number setting, the disclosure not to this preset occupancy setting means and concrete numerical value be any limitation as.
Above-mentioned processor can be the device for having in terminal device processing function, such as:Central processing unit (Central Processing Unit, referred to as:CPU), or micro-control unit (Microcontroller Unit, referred to as For:MCU).
Implementation process is discussed in detail below by embodiment.
Fig. 5 is the flow chart of the control method of the terminal device according to an exemplary embodiment two, and executive agent is Control device, illustrated so that the control device is arranged on mobile phone as an example, as shown in figure 5, this method comprises the following steps:
In step s 201, after mobile phone power-on, operating system module broadcast boot_complete events.
In step S202, after control device receives the boot_complete events of operating system module broadcast, operating Start mobile phone temp monitoring service (BatteryCheckerService), service registry battery_ in system module Changed events.
In step S203, operating system module detects the real-time temperature values of battery, is sent in the real-time temperature values of battery During change, the notification message for the real-time temperature values for carrying battery is sent to control device.
In step S204, after control device receives notification message, the real-time of the battery that is carried in the notification message is detected Whether temperature is higher than preset temperature value, when the real-time temperature values of the battery carried in the notification message are higher than preset temperature value, Step S205- step S209 are performed, when the real-time temperature values of the battery carried in the notification message are less than preset temperature value, no Perform any operation.
In step S205, control device obtains at least one abnormal application in mobile phone, wherein, abnormal application is processing Device occupancy exceed default occupancy (such as:Default occupancy position 15%) application.
In step S206, control device sends prompting message to the display module of terminal device.
In step S207, after display module receives prompting message, display module shows the prompting message to user.
Example, as shown in fig. 6, the abnormal application of power consumption can be shown in the display screen of terminal device, for example, Exception in figure applies 3 using 1, exception using 2 and exception, it is of course also possible to be shown in the form of the icon applied extremely different Often application.
In step S208, out code that display module is sent to control device.
Continue according to above-mentioned example, if, as shown in fig. 7, on the basis of Fig. 6, it can also show " whether close different The prompting frame of often application ", when user wants the abnormal application closed, prompting frame corresponding to "Yes" is clicked on screen, when with When family is not intended to the abnormal application closed, prompting frame corresponding to "No" is clicked on screen.
After user is clicking on prompting frame corresponding to "Yes" on screen, screen display interface as shown in Figure 8, it can now show Show the signal language of prompting user " the abnormal application to be closed please be select ", user need to only click on the application for wanting closing on screen Corresponding prompting frame, after selection, clicked on screen " it is determined that " button, now, display module selects user To be closed abnormal control device is sent in out code using carrying;And at screen display interface as shown in Figure 8 Afterwards, user, which is not intended to close any one, applies, then at this point it is possible to click on " cancellation " button on screen.
In step S209, after control device receives out code, close in above-mentioned out code indicate wait to close The abnormal application closed.
Such as:Instruction to be closed applies 3 for exception using 1 and exception, then control device may turn off exception and apply 1 He It is abnormal to apply 3.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 9 is the block diagram of the control device of the terminal device according to an exemplary embodiment one, and the device can lead to Cross software, hardware or both be implemented in combination with it is some or all of as electronic equipment.As shown in figure 9, the terminal device Control device include:
First acquisition module 11, for obtaining the real-time temperature values of terminal device;
Second acquisition module 12, for the real-time temperature values of the terminal device obtained in first acquisition module 11 During higher than preset temperature value, at least one abnormal application in the terminal device is obtained, the abnormal application accounts for for processor Exceed the application of default occupancy with rate;
Closedown module 13, it is at least one in the abnormal application obtained for closing second acquisition module 12, To reduce the real-time temperature values of the terminal device so as to extend the stand-by time of the terminal device.
In one embodiment, as shown in Figure 10, described device also includes:Output module;
The output module 14, for exporting prompting message, the prompting message is used to prompt second acquisition module The 13 abnormal applications obtained cause the battery power consumption of the terminal device abnormal.
In one embodiment, as shown in figure 11, the closedown module 13 includes:First acquisition submodule 131 and closing Submodule 132;
First acquisition submodule 131, for obtaining out code, exception to be closed is carried in the out code Using;
The closing submodule 132, the out code middle finger obtained for closing first acquisition submodule 131 The abnormal application to be closed shown.
In one embodiment, as shown in figure 12, first acquisition module 11 includes:Second acquisition submodule 111;
Second acquisition submodule 111, for obtaining the real-time temperature values of the battery in terminal device, use the electricity Real-time temperature values of the real-time temperature values in pond as the terminal device.
In one embodiment, as shown in figure 13, second acquisition submodule 111 includes:The He of sending submodule 1111 First receiving submodule 1112;
The sending submodule 1111, temperature monitoring instruction is sent for the operating system module into the terminal device Message, temperature monitoring instruction message are used to indicating that the operating system module to monitor real-time temperature values of the battery and anti- Feedback;
First receiving submodule 1112, the notification message sent for receiving the operating system module are described logical Know the real-time temperature values that the battery is carried in message.
In one embodiment, as shown in figure 14, second acquisition submodule 111 also includes:Second receiving submodule 1113;
Second receiving submodule 1113, for the operation in the sending submodule 1111 into the terminal device Before system module sends temperature monitoring instruction message, the start-up command that operating system module is sent, the start-up command are received For indicating the terminal device start.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of control device of terminal device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Obtain the real-time temperature values of terminal device;
When the real-time temperature values of the terminal device are higher than preset temperature value, at least one in the terminal device is obtained Individual abnormal application, the abnormal application exceed the application of default occupancy for processor occupancy;
Close it is at least one in the abnormal application, to reduce the real-time temperature values of the terminal device so as to extend State the stand-by time of terminal device.
Above-mentioned processor is also configured to:
Methods described also includes:
Prompting message is exported, the prompting message is used to prompt the abnormal application to cause the battery of the terminal device to consume Electricity is abnormal.
It is at least one in the closing abnormal application, including:
Out code is obtained, abnormal application to be closed is carried in the out code;
The abnormal application to be closed indicated is closed in the out code.
The real time temperature for obtaining terminal device, including:
The real-time temperature values of the battery in terminal device are obtained, the terminal is used as using the real-time temperature values of the battery The real-time temperature values of equipment.
The real-time temperature values of battery in the acquisition terminal device, including:
Operating system module into the terminal device sends temperature monitoring instruction message, and the temperature monitoring instruction disappears Cease for indicating that the operating system module monitors the real-time temperature values and feedback of the battery;
The notification message that the operating system module is sent is received, the real-time temperature of the battery is carried in the notification message Angle value.
Before the operating system module into the terminal device sends temperature monitoring instruction message, in addition to:
The start-up command that operating system module is sent is received, the start-up command is used to indicate the terminal device start.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 15 is a kind of block diagram of control device 80 for terminal device according to an exemplary embodiment, the dress Put and be applied to terminal device.For example, device 80 can be mobile phone, and computer, digital broadcast terminal, messaging devices, Game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 80 can include following one or more assemblies:Processing component 802, memory 804, power supply module 806 are more Media component 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and communication component 816。
The integrated operation of the usual control device 80 of processing component 802, such as communicated with display, call, data, camera The operation that operation and record operation are associated.Processing component 802 can carry out execute instruction including one or more processors 820, To complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, it is easy to Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, to facilitate more matchmakers Interaction between body component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 80.These data are shown Example includes the instruction of any application program or method for being operated on device 80, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 80.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 80.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 80 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 80 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 80 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The audio signal received can be further stored in memory 804 or via communication component 816 send.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, for providing the state estimation of various aspects for device 80. For example, sensor cluster 814 can detect opening/closed mode of device 80, the relative positioning of component, such as the component For the display and keypad of device 80, sensor cluster 814 can be with the position of 80 1 components of detection means 80 or device Change, the existence or non-existence that user contacts with device 80, the orientation of device 80 or acceleration/deceleration and the temperature change of device 80. Sensor cluster 814 can include proximity transducer, be configured to detect object nearby in no any physical contact Presence.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, in imaging applications Use.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 80 and other equipment.Device 80 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 80 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 80.For example, institute State non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of device 80 During execution so that device 80 is able to carry out the control method of above-mentioned terminal device, and methods described includes:
Obtain the real-time temperature values of terminal device;
When the real-time temperature values of the terminal device are higher than preset temperature value, at least one in the terminal device is obtained Individual abnormal application, the abnormal application exceed the application of default occupancy for processor occupancy;
Close it is at least one in the abnormal application, to reduce the real-time temperature values of the terminal device so as to extend State the stand-by time of terminal device.
Methods described also includes:
Prompting message is exported, the prompting message is used to prompt the abnormal application to cause the battery of the terminal device to consume Electricity is abnormal.
It is at least one in the closing abnormal application, including:
Out code is obtained, abnormal application to be closed is carried in the out code;
The abnormal application to be closed indicated is closed in the out code.
The real time temperature for obtaining terminal device, including:
The real-time temperature values of the battery in terminal device are obtained, the terminal is used as using the real-time temperature values of the battery The real-time temperature values of equipment.
The real-time temperature values of battery in the acquisition terminal device, including:
Operating system module into the terminal device sends temperature monitoring instruction message, and the temperature monitoring instruction disappears Cease for indicating that the operating system module monitors the real-time temperature values and feedback of the battery;
The notification message that the operating system module is sent is received, the real-time temperature of the battery is carried in the notification message Angle value.
Before the operating system module into the terminal device sends temperature monitoring instruction message, in addition to:
The start-up command that operating system module is sent is received, the start-up command is used to indicate the terminal device start.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (14)

  1. A kind of 1. control method of terminal device, it is characterised in that including:
    Obtain the real-time temperature values of terminal device;
    When the real-time temperature values of the terminal device are higher than preset temperature value, obtain at least one different in the terminal device Often application, the abnormal application exceed the application of default occupancy for processor occupancy;
    Close it is at least one in the abnormal application, to reduce the real-time temperature values of the terminal device so as to extend the end The stand-by time of end equipment.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    Prompting message is exported, the prompting message is used for the battery power consumption for prompting the abnormal application to cause the terminal device It is abnormal.
  3. 3. method according to claim 1 or 2, it is characterised in that it is at least one in the closing abnormal application, Including:
    Out code is obtained, abnormal application to be closed is carried in the out code;
    The abnormal application to be closed indicated is closed in the out code.
  4. 4. according to the method for claim 1, it is characterised in that the real time temperature for obtaining terminal device, including:
    The real-time temperature values of the battery in terminal device are obtained, the terminal device is used as using the real-time temperature values of the battery Real-time temperature values.
  5. 5. according to the method for claim 2, it is characterised in that the real time temperature for obtaining the battery in terminal device Value, including:
    Operating system module into the terminal device sends temperature monitoring instruction message, and the temperature monitoring instruction message is used In the real-time temperature values and feedback that indicate the operating system module monitoring battery;
    The notification message that the operating system module is sent is received, the real time temperature of the battery is carried in the notification message Value.
  6. 6. according to the method for claim 5, it is characterised in that the operating system module hair into the terminal device Before sending temperature monitoring instruction message, in addition to:
    The start-up command that operating system module is sent is received, the start-up command is used to indicate the terminal device start.
  7. A kind of 7. control device of terminal device, it is characterised in that including:
    First acquisition module, for obtaining the real-time temperature values of terminal device;
    Second acquisition module, the real-time temperature values of the terminal device for being obtained in first acquisition module, which are higher than, to be preset During temperature value, at least one abnormal application in the terminal device is obtained, the abnormal application exceedes for processor occupancy The application of default occupancy;
    Closedown module, it is at least one in the abnormal application obtained for closing second acquisition module, to reduce The real-time temperature values of terminal device are stated so as to extend the stand-by time of the terminal device.
  8. 8. device according to claim 7, it is characterised in that described device also includes:Output module;
    The output module, for exporting prompting message, the prompting message is used to prompt what second acquisition module obtained Abnormal application causes the battery power consumption of the terminal device abnormal.
  9. 9. the device according to claim 7 or 8, it is characterised in that the closedown module includes:First acquisition submodule and Close submodule;
    First acquisition submodule, for obtaining out code, abnormal application to be closed is carried in the out code;
    The closing submodule, indicated in the out code obtained for closing first acquisition submodule described in treat The abnormal application of closing.
  10. 10. device according to claim 7, it is characterised in that first acquisition module includes:Second obtains submodule Block;
    Second acquisition submodule, for obtaining the real-time temperature values of the battery in terminal device, use the reality of the battery When real-time temperature values of the temperature value as the terminal device.
  11. 11. device according to claim 10, it is characterised in that second acquisition submodule includes:Sending submodule With the first receiving submodule;
    The sending submodule, temperature monitoring instruction message, institute are sent for the operating system module into the terminal device State temperature monitoring instruction message and be used for the real-time temperature values and feedback for indicating that the operating system module monitors the battery;
    First receiving submodule, the notification message sent for receiving the operating system module, in the notification message Carry the real-time temperature values of the battery.
  12. 12. device according to claim 11, it is characterised in that second acquisition submodule also includes:Second receives Submodule;
    Second receiving submodule, sent for the operating system module in the sending submodule into the terminal device Before temperature monitoring instruction message, the start-up command that operating system module is sent is received, the start-up command is described for indicating Terminal device is started shooting.
  13. A kind of 13. control device of terminal device, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Obtain the real-time temperature values of terminal device;
    When the real-time temperature values of the terminal device are higher than preset temperature value, obtain at least one different in the terminal device Often application, the abnormal application exceed the application of default occupancy for processor occupancy;
    Close it is at least one in the abnormal application, to reduce the real-time temperature values of the terminal device so as to extend the end The stand-by time of end equipment.
  14. 14. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor Following steps are realized during execution:
    Obtain the real-time temperature values of terminal device;
    When the real-time temperature values of the terminal device are higher than preset temperature value, obtain at least one different in the terminal device Often application, the abnormal application exceed the application of default occupancy for processor occupancy;
    Close it is at least one in the abnormal application, to reduce the real-time temperature values of the terminal device so as to extend the end The stand-by time of end equipment.
CN201710547653.5A 2017-07-06 2017-07-06 The control method and device of terminal device Pending CN107463478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710547653.5A CN107463478A (en) 2017-07-06 2017-07-06 The control method and device of terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710547653.5A CN107463478A (en) 2017-07-06 2017-07-06 The control method and device of terminal device

Publications (1)

Publication Number Publication Date
CN107463478A true CN107463478A (en) 2017-12-12

Family

ID=60546628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710547653.5A Pending CN107463478A (en) 2017-07-06 2017-07-06 The control method and device of terminal device

Country Status (1)

Country Link
CN (1) CN107463478A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625227A (en) * 2022-03-16 2022-06-14 深圳市商汤科技有限公司 Heat dissipation method of terminal equipment and related product
WO2022148494A1 (en) * 2021-01-08 2022-07-14 展讯通信(上海)有限公司 Overheating processing method and apparatus, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288770A1 (en) * 2006-06-13 2007-12-13 Scientific-Atlanta, Inc. Adaptive power management of a disk drive based on temperature
CN102981878A (en) * 2012-11-28 2013-03-20 广东欧珀移动通信有限公司 Method for automatically closing background programs and mobile terminal of automatically closing background programs
CN103136091A (en) * 2013-01-28 2013-06-05 北京奇虎科技有限公司 Method and device for detecting safety state of terminal device
CN105260291A (en) * 2015-09-29 2016-01-20 小米科技有限责任公司 System log capture method and apparatus
CN105302637A (en) * 2015-10-13 2016-02-03 广东欧珀移动通信有限公司 Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288770A1 (en) * 2006-06-13 2007-12-13 Scientific-Atlanta, Inc. Adaptive power management of a disk drive based on temperature
CN102981878A (en) * 2012-11-28 2013-03-20 广东欧珀移动通信有限公司 Method for automatically closing background programs and mobile terminal of automatically closing background programs
CN103136091A (en) * 2013-01-28 2013-06-05 北京奇虎科技有限公司 Method and device for detecting safety state of terminal device
CN105260291A (en) * 2015-09-29 2016-01-20 小米科技有限责任公司 System log capture method and apparatus
CN105302637A (en) * 2015-10-13 2016-02-03 广东欧珀移动通信有限公司 Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022148494A1 (en) * 2021-01-08 2022-07-14 展讯通信(上海)有限公司 Overheating processing method and apparatus, and storage medium
CN114756104A (en) * 2021-01-08 2022-07-15 展讯通信(上海)有限公司 Overheating processing method and device, and storage medium
CN114625227A (en) * 2022-03-16 2022-06-14 深圳市商汤科技有限公司 Heat dissipation method of terminal equipment and related product

Similar Documents

Publication Publication Date Title
CN104219388B (en) Sound control method and device
RU2636137C2 (en) Method and device for installing working condition of intelligent home device
CN106375604B (en) The method and apparatus of controlling terminal electricity
EP3113549A1 (en) Method and device for waking up mcu chip
CN106970754A (en) The method and device of screenshotss processing
CN109658927A (en) Wake-up processing method, device and the management equipment of smart machine
CN103927200B (en) Electronic equipment awakening method and relevant apparatus
CN107370772A (en) Account login method, device and computer-readable recording medium
CN106779656A (en) Recharge method and device
CN108334352A (en) Notification message processing method, device, electronic equipment and storage medium
CN105093980B (en) Control the method and device of smart machine start and stop
CN107783790A (en) terminal awakening method and device
CN107203264A (en) The control method of display pattern, device, electronic equipment
CN104410900B (en) A kind of method and device for controlling the indicator light being installed on smart machine
CN106774802A (en) The reminding method of terminal power, device and terminal
CN107463478A (en) The control method and device of terminal device
CN106231072A (en) The control method of prompting message, device and terminal unit
CN105677215A (en) Application control method and apparatus
CN105159434A (en) Time display method, device and terminal
CN109062625A (en) The method, apparatus and readable storage medium storing program for executing of application program load
CN105242775B (en) The method and device of state adjustment
CN104951203A (en) Device control method and device and electronic device
CN104917238B (en) Method, device and smart machine that control device is powered
CN106451670A (en) Charge control method, device and terminal equipment
CN106775234A (en) Application management method and device

Legal Events

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

Application publication date: 20171212

RJ01 Rejection of invention patent application after publication