CN106850942B - Temperature monitoring method and device of mobile terminal and mobile terminal - Google Patents

Temperature monitoring method and device of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN106850942B
CN106850942B CN201611096483.5A CN201611096483A CN106850942B CN 106850942 B CN106850942 B CN 106850942B CN 201611096483 A CN201611096483 A CN 201611096483A CN 106850942 B CN106850942 B CN 106850942B
Authority
CN
China
Prior art keywords
application process
mobile terminal
target application
temperature
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611096483.5A
Other languages
Chinese (zh)
Other versions
CN106850942A (en
Inventor
申书润
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201611096483.5A priority Critical patent/CN106850942B/en
Publication of CN106850942A publication Critical patent/CN106850942A/en
Application granted granted Critical
Publication of CN106850942B publication Critical patent/CN106850942B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • H04M1/72472User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons wherein the items are sorted according to specific criteria, e.g. frequency of use

Abstract

The invention provides a temperature monitoring method and device of a mobile terminal and the mobile terminal. The method comprises the following steps: monitoring a temperature value of the mobile terminal; in the monitoring process, respectively counting the respective running state values of all application processes currently running on the mobile terminal; when the temperature value is monitored to reach a first preset threshold value, determining a target application process causing the heating of the mobile terminal from all the application processes according to the running state value of each application process; and outputting high-temperature alarm information corresponding to the target application process, wherein the high-temperature alarm information is used for prompting a user that the temperature of the mobile terminal is too high due to the application program corresponding to the target application process. This technical scheme makes mobile terminal can accurately determine the source that generates heat that leads to mobile terminal to generate heat, and can export the high temperature alarm information that the source that generates heat corresponds, has realized the purpose of high temperature real-time warning to the user of being convenient for takes corresponding cooling measure.

Description

Temperature monitoring method and device of mobile terminal and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a temperature monitoring method and apparatus for a mobile terminal, and a mobile terminal.
Background
With the continuous development of smart phones, in order to meet the daily work and life requirements of people, more and more applications appear in smart phones, and each application consumes Central Processing Unit (CPU) resources in the smart phone in the running process. When a large amount of CPU resources of the mobile phone are occupied, not only the operating efficiency of each application is affected, but also the CPU temperature of the mobile phone is increased, even reaching the degree that the mobile phone is hot, and the user is affected to continue using the mobile phone.
In the prior art, the temperature of the mobile phone can be determined only by reading the temperature of a CPU or the temperature of a battery, and specific applications of a heating source which causes the temperature of the mobile phone to rise cannot be accurately judged. Usually, the heat source can only be guessed according to the power consumption of the mobile phone, but the guessing method is easy to cause serious errors. For example, if the user continuously uses the application a one hour before, and uses the application B for a short time after one hour to increase the temperature of the mobile phone, and guesses the heat source based on the power consumption amount of the mobile phone, the application a is considered as the heat source, but actually the heat source is the application B. Therefore, the method cannot accurately determine the heating source causing the temperature rise of the mobile phone.
Disclosure of Invention
In view of the above, the present invention is proposed in order to provide a temperature monitoring method and apparatus of a mobile terminal and a mobile terminal that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a temperature monitoring method of a mobile terminal, including:
monitoring a temperature value of the mobile terminal;
in the monitoring process, respectively counting the respective running state values of all application processes currently running on the mobile terminal;
when the temperature value is monitored to reach a first preset threshold value, determining a target application process causing the heating of the mobile terminal from all the application processes according to the running state value of each application process;
and outputting high-temperature alarm information corresponding to the target application process, wherein the high-temperature alarm information is used for prompting a user that the temperature of the mobile terminal is too high due to the application program corresponding to the target application process.
Optionally, separately counting respective running state values of all application processes currently running on the mobile terminal, including:
tracking the change curve of the temperature value, and determining the temperature change state of the mobile terminal within a preset time according to the change curve;
and when the temperature change state reaches a preset state capable of triggering the counting operation of the running state value, respectively counting the running state values of all application processes currently running on the mobile terminal.
Optionally, the preset state includes at least one of:
the temperature value reaches a second preset threshold value, and the second preset threshold value is lower than the first preset threshold value;
and the change curve of the temperature value in the preset time is a continuous rising curve.
Optionally, the operation state value includes at least one of a CPU occupancy, an accumulated operation time, a power consumption amount, and a consumed flow.
Optionally, determining, according to the running state value, a target application process that causes heating of the mobile terminal from among the all application processes includes:
when the CPU occupancy rate of the application process reaches a preset occupancy rate, determining the application process as a target application process causing the mobile terminal to generate heat;
when the accumulated running time of the application process reaches a preset running time, determining that the application process is a target application process causing the heating of the mobile terminal;
when the power consumption of the application process reaches a preset power consumption, determining that the application process is a target application process causing the mobile terminal to generate heat;
and when the consumed flow of the application process reaches a preset flow value, determining that the application process is a target application process causing the heating of the mobile terminal.
Optionally, outputting high-temperature alarm information corresponding to the target application process, including:
displaying high-temperature alarm information corresponding to the target application process on a notification bar and/or a current main page of the mobile terminal; alternatively, the first and second electrodes may be,
and popping up an interface frame on the current interface of the mobile terminal, and displaying the high-temperature alarm information corresponding to the target application process on the interface frame, wherein the size of the interface frame is smaller than that of the current interface.
Optionally, when the target application process includes a plurality of target application processes, displaying high-temperature alarm information corresponding to the target application process on a notification bar of the mobile terminal and/or a current home page, where the displaying includes:
acquiring a historical heating record, wherein the historical heating record is used for recording an application process causing the heating of the mobile terminal in each monitoring process;
determining heating information of each target application process causing heating of the mobile terminal according to the historical heating record, wherein the heating information comprises heating time and/or heating times;
and sequencing the target application processes according to the heating information, and displaying high-temperature alarm information corresponding to each sequenced target application process on a notification bar and/or a current main page of the mobile terminal.
Optionally, the method further comprises:
providing a one-key cooling button and/or a single cooling button corresponding to each target application process;
when the triggering operation of the one-key cooling button is received, stopping running all target application processes, and clearing high-temperature alarm information corresponding to all the target application processes;
when the triggering operation of any single cooling button is received, the target application process corresponding to the single cooling button is stopped to run, and the high-temperature alarm information corresponding to the target application process is cleared.
Optionally, the stopping of running all the target application processes, or the stopping of running the target application process corresponding to the single cooling button, includes at least one of:
closing the target application process;
and releasing the system resources occupied by the target application process.
Optionally, the method further comprises:
monitoring the temperature rising speed of the mobile terminal when the target application process runs;
and when the temperature rise speed exceeds a preset speed, starting a system unloading process, and unloading the target application process by utilizing the system unloading process.
Optionally, the high-temperature alarm information includes at least one of:
the application program name corresponding to the target application process;
an application icon corresponding to the target application process;
the running state value of the target application process.
According to another aspect of the present invention, there is provided a temperature monitoring apparatus of a mobile terminal, including:
the first monitoring module is suitable for monitoring the temperature value of the mobile terminal;
the statistical module is suitable for respectively counting the respective running state values of all application processes currently running on the mobile terminal in the monitoring process;
the determining module is suitable for determining a target application process causing the heating of the mobile terminal from all the application processes according to the running state value of each application process when the temperature value is monitored to reach a first preset threshold value;
and the output module is suitable for outputting high-temperature alarm information corresponding to the target application process, and the high-temperature alarm information is used for prompting a user that the temperature of the mobile terminal is overhigh due to the application program corresponding to the target application process.
Optionally, the statistics module is further adapted to:
tracking the change curve of the temperature value, and determining the temperature change state of the mobile terminal within a preset time according to the change curve;
and when the temperature change state reaches a preset state capable of triggering the counting operation of the running state value, respectively counting the running state values of all application processes currently running on the mobile terminal.
Optionally, the preset state includes at least one of:
the temperature value reaches a second preset threshold value, and the second preset threshold value is lower than the first preset threshold value;
and the change curve of the temperature value in the preset time is a continuous rising curve.
Optionally, the operation state value includes at least one of a CPU occupancy, an accumulated operation time, an electric power consumption amount, and a consumed flow.
Optionally, the determining module is further adapted to:
when the CPU occupancy rate of the application process reaches a preset occupancy rate, determining the application process as a target application process causing the mobile terminal to generate heat;
when the accumulated running time of the application process reaches a preset running time, determining that the application process is a target application process causing the heating of the mobile terminal;
when the power consumption of the application process reaches a preset power consumption, determining that the application process is a target application process causing the mobile terminal to generate heat;
and when the consumed flow of the application process reaches a preset flow value, determining that the application process is a target application process causing the heating of the mobile terminal.
Optionally, the output module is further adapted to:
displaying high-temperature alarm information corresponding to the target application process on a notification bar and/or a current main page of the mobile terminal; alternatively, the first and second electrodes may be,
and popping up an interface frame on the current interface of the mobile terminal, and displaying the high-temperature alarm information corresponding to the target application process on the interface frame, wherein the size of the interface frame is smaller than that of the current interface.
Optionally, the output module is further adapted to:
when the target application process comprises a plurality of target application processes, acquiring a historical heating record, wherein the historical heating record is used for recording the application process which causes the heating of the mobile terminal in each monitoring process;
determining heating information of each target application process causing heating of the mobile terminal according to the historical heating record, wherein the heating information comprises heating time and/or heating times;
and sequencing the target application processes according to the heating information, and displaying high-temperature alarm information corresponding to each sequenced target application process on a notification bar and/or a current main page of the mobile terminal.
Optionally, the apparatus further comprises:
the system comprises a providing module, a control module and a display module, wherein the providing module is suitable for providing a one-key cooling button and/or a single cooling button corresponding to each target application process;
the clearing module is suitable for stopping running all target application processes when the triggering operation of the one-key cooling button is received, and clearing high-temperature alarm information corresponding to all the target application processes; when the triggering operation of any single cooling button is received, the target application process corresponding to the single cooling button is stopped to run, and the high-temperature alarm information corresponding to the target application process is cleared.
Optionally, the purge module is further adapted to perform at least one of:
closing the target application process;
and releasing the system resources occupied by the target application process.
Optionally, the apparatus further comprises:
the second monitoring module is suitable for monitoring the temperature rising speed of the mobile terminal when the target application process runs;
and the unloading module is suitable for starting a system unloading process when the temperature rise speed exceeds a preset speed, and unloading the target application process by utilizing the system unloading process.
Optionally, the high-temperature alarm information includes at least one of:
the application program name corresponding to the target application process;
an application icon corresponding to the target application process;
the running state value of the target application process.
According to another aspect of the present invention, there is provided a mobile terminal including a processor and a memory for storing a program for executing the temperature monitoring method of the mobile terminal described above, the processor being configured to execute the program stored in the memory.
According to the technical scheme, the respective running state values of all application processes currently running on the mobile terminal can be respectively counted in the process of monitoring the temperature value of the mobile terminal, so that the mobile terminal can monitor the temperature of the mobile terminal and the running state values of all the application processes in real time; and when the temperature value reaches a first preset threshold value, determining a target application process causing the mobile terminal to generate heat, so that the mobile terminal can accurately determine a heat source causing the mobile terminal to generate heat. In addition, this scheme has realized the purpose of high temperature real-time warning through the high temperature alarm information that output target application process corresponds for the user can know the source that leads to the mobile terminal high temperature from high temperature alarm information, thereby is convenient for the user to take corresponding cooling measure.
Furthermore, according to the scheme, the one-key cooling button and/or the single cooling button corresponding to each target application process are provided, so that a user can perform targeted cooling operation by triggering the one-key cooling button or the single cooling button, the effect of conveniently and effectively managing the application processes is achieved, and the situation that the temperature of the mobile terminal is too high due to the operation of the application processes is avoided.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart of a temperature monitoring method of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of displaying high temperature alarm information in a temperature monitoring method of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for monitoring the temperature of a mobile terminal according to a first embodiment of the present invention;
fig. 4 is a schematic interface for displaying high-temperature alarm information in a temperature monitoring method of a mobile terminal according to a first embodiment of the present invention;
fig. 5 is a schematic flow chart of a method for monitoring the temperature of a mobile terminal according to a second embodiment of the present invention;
fig. 6 is a schematic interface for displaying high-temperature alarm information in a temperature monitoring method of a mobile terminal according to a second embodiment of the present invention;
FIG. 7 is a schematic block diagram of a temperature monitoring apparatus of a mobile terminal according to one embodiment of the present invention;
fig. 8 is a schematic block diagram of a temperature monitoring apparatus of a mobile terminal according to another embodiment of the present invention;
fig. 9 is a schematic block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a schematic flow chart of a temperature monitoring method of a mobile terminal according to an embodiment of the present invention. As shown in fig. 1, the temperature monitoring method of the mobile terminal may generally include the following steps S101-S104:
and step S101, monitoring the temperature value of the mobile terminal.
Step S102, in the monitoring process, respectively counting the respective running state values of all application processes currently running on the mobile terminal.
And step S103, when the temperature value is monitored to reach a first preset threshold value, determining a target application process causing the heating of the mobile terminal from all application processes according to the running state value of each application process.
And S104, outputting high-temperature alarm information corresponding to the target application process, wherein the high-temperature alarm information is used for prompting a user that the temperature of the mobile terminal is too high due to the application program corresponding to the target application process.
According to the technical scheme, the respective running state values of all application processes currently running on the mobile terminal can be respectively counted in the process of monitoring the temperature value of the mobile terminal, so that the mobile terminal can monitor the temperature of the mobile terminal and the running state values of all the application processes in real time; and when the temperature value reaches a first preset threshold value, determining a target application process causing the mobile terminal to generate heat, so that the mobile terminal can accurately determine a heat source causing the mobile terminal to generate heat. In addition, this scheme has realized the purpose of high temperature real-time warning through the high temperature alarm information that output target application process corresponds for the user can know the source that leads to the mobile terminal high temperature from high temperature alarm information, thereby is convenient for the user to take corresponding cooling measure.
Each of the execution steps in the above embodiments is described in detail below.
Step S101 is first executed, i.e. the temperature value of the mobile terminal is monitored. In this step, a temperature value of the mobile terminal may be determined by monitoring a battery temperature of the mobile terminal and a CPU (Central Processing Unit) temperature; the temperature value of the mobile terminal can be monitored by configuring a special temperature monitoring module.
In the process of monitoring the temperature value of the mobile terminal, the respective operation state values of all application processes currently running on the mobile terminal need to be respectively counted (i.e. step S102). Wherein the operation state value comprises at least one of CPU occupancy rate, accumulated operation time, power consumption and consumed flow.
In one embodiment, step S102 may be performed as the following two steps:
the method comprises the steps of firstly, tracking a change curve of the temperature value, and determining the temperature change state of the mobile terminal within a preset time according to the change curve. When tracking the change curve of the temperature value, the temperature value of the mobile terminal can be continuously monitored, and then the change curve of the temperature value is drawn according to the continuously monitored temperature value; and monitoring a plurality of discrete temperature values according to a preset time interval, and then drawing a change curve of the temperature values according to the plurality of discrete temperature values, wherein the shorter the time interval is, the more accurate the drawn change curve is.
And step two, when the temperature change state reaches a preset state capable of triggering the counting operation of the running state value, respectively counting the running state values of all application processes currently running on the mobile terminal. Wherein the preset state comprises at least one of: the temperature value reaches a second preset threshold value, and the second preset threshold value is lower than the first preset threshold value; the change curve of the temperature value in the preset time length is a continuous rising curve. In this embodiment, setting the second preset threshold lower than the first preset threshold is equivalent to setting a stepping value, that is, when the temperature value of the mobile terminal is low (lower than the stepping value), the temperature value of the mobile terminal does not need to be monitored, so that unnecessary work performed by the mobile terminal is avoided. In addition, when the change curve of the temperature value within the preset time length is a continuous rising curve, it indicates that the mobile terminal has a hidden danger that the temperature continuously rises to the first preset threshold, and therefore, the running state value of each application process needs to be counted under the condition so as to prepare for high-temperature alarm.
And secondly, executing step S103, namely when the monitored temperature value reaches a first preset threshold value, determining a target application process causing the mobile terminal to generate heat from all application processes according to the running state values of the application processes. The first preset threshold may be preset by a user, and when the first preset threshold is specifically set, the first preset threshold may be set according to different factors (for example, current temperature, season, and other factors) in the external environment. For example, the temperature in northern summer is high, so the user can set a first preset threshold which is high; the temperature in the northeast winter is low, so the user can set a lower first preset threshold. In addition, since the operation state value includes at least one of CPU occupancy, cumulative operation time, power consumption, and consumed flow, the manner of determining the target application process is different according to the operation state value.
Specifically, when the running state value includes the CPU occupancy rate, a preset occupancy rate may be set, and when the CPU occupancy rate of the application process reaches the preset occupancy rate, the application process is determined to be the target application process that causes the mobile terminal to generate heat. For example, if the preset occupancy rate is 5%, when the CPU occupancy rate of an application process reaches 5%, the application process may be determined to be a target application process that causes heat generation of the mobile terminal.
When the running state value comprises the accumulated running time length, a preset running time length can be set, and when the accumulated running time length of the application process reaches the preset running time length, the application process is determined to be a target application process causing the heating of the mobile terminal. For example, if the preset operation time is 3 hours, when the accumulated operation time of an application process reaches 3 hours, the application process may be determined to be a target application process that causes heat generation of the mobile terminal. When the accumulated running time length is determined, in order to enable the mobile terminal to accurately determine the target application process, the accumulated running time length can be started when the temperature change state of the mobile terminal in the preset time length reaches the preset state. That is, when the temperature value of the mobile terminal reaches the second preset threshold, or when the change curve of the temperature value within the preset time period is a continuous rising curve, the running time period of the application process starts to be accumulated. Of course, the running time of the application process may also be accumulated from the beginning of the running of the application process.
When the running state value includes power consumption, a preset power consumption may be set, and when the power consumption of the application process reaches the preset power consumption, the application process is determined to be a target application process causing the mobile terminal to generate heat. For example, if the preset power consumption amount is 10%, when the power consumption amount of an application process reaches 10%, the application process may be determined to be a target application process that causes the mobile terminal to generate heat. Wherein, the power consumption can be directly obtained from a process management system in the mobile terminal.
When the running state includes the consumed flow, a preset flow value may be set, and when the consumed flow of the application process reaches the preset flow value, the application process is determined to be a target application process causing the mobile terminal to generate heat. For example, if the preset flow value is 100M, when the consumed flow of an application process reaches 100M, the application process may be determined to be a target application process that causes heat generation of the mobile terminal. Since most application processes on the mobile terminal consume traffic, determining a target application process that causes heating of the mobile terminal by counting the consumed traffic of the application processes is also a very effective method. When the consumed flow is calculated, in order to enable the mobile terminal to accurately determine the target application process, the consumed flow can be accumulated from the time when the temperature change state of the mobile terminal within the preset time reaches the preset state. That is, when the temperature value of the mobile terminal reaches the second preset threshold value, or when the change curve of the temperature value within the preset time period is a continuous rising curve, the consumed flow of the application process starts to be accumulated. Of course, the consumed traffic of an application process may also be accumulated from the beginning of its operation.
Then, after determining the target application process causing the mobile terminal to generate heat, step S104 is executed to output high-temperature alarm information corresponding to the target application process, where the high-temperature alarm information is used to prompt the user that the application program corresponding to the target application process causes the temperature of the mobile terminal to be too high. Specifically, the output mode of the high-temperature alarm information may include at least one of the following modes:
and in the first mode, high-temperature alarm information corresponding to the target application process is displayed on a notification bar of the mobile terminal. When the user clicks the high-temperature alarm information on the notification bar, the user can directly enter the main page of the client executing the technical scheme, and further more detailed high-temperature alarm information is obtained on the main page of the client.
And secondly, displaying high-temperature alarm information corresponding to the target application process on the current main page of the mobile terminal. When the technical scheme is executed by a client installed on the mobile terminal, high-temperature alarm information corresponding to a target application process can be displayed on a main page of the client.
And thirdly, popping up an interface frame on the current interface of the mobile terminal, and displaying the high-temperature alarm information corresponding to the target application process on the interface frame, wherein the size of the interface frame is smaller than that of the current interface (namely a display screen of the mobile terminal).
In this embodiment, the target application process may include one or more than one. When the target application process comprises a plurality of target application processes, the mobile terminal can display the high-temperature alarm information corresponding to the target application processes in a list mode, and the target application processes are sequenced in the list. The sorting mode may be sorting according to a sequence of running state values of the target application processes from high to low, where the running state values include at least one of CPU occupancy, cumulative running time, power consumption, and consumed traffic.
In one embodiment, when the target application process includes a plurality of target application processes, the plurality of target application processes may be further sorted according to the heating information of each target application process in the historical heating record. Therefore, the high temperature alarm information corresponding to a plurality of target applications can be displayed according to the steps S201 to S203 shown in fig. 2:
step S201, obtaining a historical heating record, wherein the historical heating record is used for recording an application process causing heating of the mobile terminal in each monitoring process. Specifically, the mobile terminal records the type and the running state value of the application process causing the heating of the mobile terminal in the historical heating record in each monitoring process, so that the historical heating record can be updated in real time, and reference is made for subsequently sequencing a plurality of target application processes.
Step S202, determining heating information of each target application process causing the mobile terminal to generate heat according to the historical heating record, wherein the heating information comprises heating time and/or heating times.
And S203, sequencing the target application processes according to the heating information, and displaying high-temperature alarm information corresponding to each sequenced target application process on a notification bar and/or a current main page of the mobile terminal.
In this embodiment, when a plurality of target application processes are sorted according to the heating information, the more the heating times in the history heating record are, the more the corresponding target application processes are sorted in the sorting result; the closer the heating time in the historical heating record is to the current time, the earlier the corresponding target application process is ranked in the ranking result.
In one embodiment, the high temperature alert information may include at least one of: the application program name corresponding to the target application process, the application program icon corresponding to the target application process and the running state value of the target application process. For example, if the target application process is an XX game, the high-temperature alarm information corresponding to the target application process may be displayed as follows: XX game, occupancy 10%. Therefore, the user can know which application process(s) is (are) the current process causing the mobile terminal to generate heat through the high-temperature alarm information, and accordingly corresponding cooling measures are further taken.
Aiming at the cooling measure, the mobile terminal also provides a one-key cooling button and/or a single cooling button corresponding to each target application process in the high-temperature alarm information. The one-key cooling button is used for triggering the mobile terminal to cool all target application processes, and the single cooling button is used for triggering the mobile terminal to cool a single target application process corresponding to the single cooling button.
Specifically, when the triggering operation of the one-key cooling button is received, all target application processes are stopped to run, and high-temperature alarm information corresponding to all the target application processes is cleared. When all target application processes stop running, at least one of the following steps can be executed: closing all target application processes and releasing system resources occupied by all the target application processes. By stopping running all target application processes, the mobile terminal is not heated due to no application process on the mobile terminal, and the aim of cooling is well fulfilled.
When the triggering operation of any single cooling button is received, the target application process corresponding to the single cooling button is stopped to run, and the high-temperature alarm information corresponding to the target application process is cleared. In this case, the target application process corresponding to the single un-triggered cool-down button is still in a running state. In addition, when the single target application process stops running, at least one of the following steps can be executed: closing the single target application process and releasing the system resources occupied by the single target application process. The single target application process is stopped running by triggering the single cooling button, so that the mobile terminal can achieve the purpose of cooling by stopping running the target application process, and the application process which is currently unwilling to be interrupted by a user can continue running, thereby improving the use experience of the user.
In one embodiment, the above method further comprises the steps of: monitoring the temperature rising speed of the mobile terminal when the target application process runs; and when the temperature rise speed exceeds the preset speed, starting the system unloading process, and unloading the target application process by utilizing the system unloading process. The embodiment can directly start the system uninstalling process to uninstall a certain target application process under the condition that the temperature rising speed of the mobile terminal is too fast when the target application process runs, so that the target application process which occupies a large memory or runs abnormally can be directly cleaned from the mobile terminal, and the condition that the temperature rising of the mobile terminal is too fast when a user uses the target application process is avoided. For example, if the target application process is "XX game" and the preset speed is 1 degree of temperature rise per minute, when the mobile terminal starts to run the application process "XX game", if the temperature rise speed of the mobile terminal reaches 1 degree of temperature rise per minute, the system uninstall process is started to directly uninstall the application process "XX game".
After uninstalling the target application process, the mobile terminal may remind the user that the target application process has been uninstalled in a notification bar or in a pop-up window.
The following describes a method for monitoring the temperature of a mobile terminal according to the present invention with two specific embodiments.
Example one
In the first embodiment, the mobile terminal determines the target application process causing the heat generation of each application process by counting the CPU occupancy rate of the application process. As shown in fig. 3, the temperature monitoring method of the mobile terminal may be implemented as the following steps S301 to S307:
step S301, monitoring the temperature value of the mobile terminal, and simultaneously respectively counting the CPU occupancy rates of all application processes currently running.
In the step, the temperature value of the mobile terminal can be determined by monitoring the battery temperature and the CPU temperature of the mobile terminal; the temperature value of the mobile terminal can be monitored by configuring a special temperature monitoring module.
In the first embodiment, assuming that the currently running application process includes process a, process B, process C, and process D, the mobile terminal respectively counts the CPU occupancy rates of process a, process B, process C, and process D while monitoring the temperature value.
Step S302, judging whether the temperature value of the mobile terminal reaches a first preset threshold value. If yes, go to step S303; if not, the process returns to step S301.
Step S303, determining whether there is an application process with a CPU occupancy rate reaching a preset occupancy rate in the currently running application processes. If yes, go to step S304; if not, the process returns to step S301.
The first preset threshold may be preset by a user, and when the first preset threshold is specifically set, the first preset threshold may be set according to different factors (for example, current temperature, season, and other factors) in the external environment. For example, the temperature in northern summer is high, so the user can set a first preset threshold which is high; the temperature in the northeast winter is low, so the user can set a lower first preset threshold. In the first embodiment, assuming that the first preset threshold is 40 degrees, when the temperature value of the mobile terminal reaches 40 degrees, it is determined whether an application process with a CPU occupancy rate reaching a preset occupancy rate exists in the currently running application processes. Assuming that the preset occupancy rate is 5%, when the CPU occupancy rate of an application process reaches 5%, it may be determined that the application process is a target application process causing heat generation of the mobile terminal.
And step S304, determining the application process with the CPU occupancy rate reaching the preset occupancy rate as a target application process.
In the first embodiment, it is assumed that the CPU occupancy rate of the current process a is 2%, the CPU occupancy rate of the process B is 3%, the CPU occupancy rate of the process C is 6%, and the CPU occupancy rate of the process D is 5%, and since the CPU occupancy rates of the process C and the process D have both reached the preset occupancy rate of 5%, it is determined that the process C and the process D are target application processes.
And S305, outputting high-temperature alarm information corresponding to the target application process, wherein the high-temperature alarm information is used for prompting a user that the temperature of the mobile terminal is too high due to the application program corresponding to the target application process.
In step S305, the output mode of the high temperature alarm information may include at least one of the following modes: and in the first mode, high-temperature alarm information corresponding to the target application process is displayed on a notification bar of the mobile terminal. When the user clicks the high-temperature alarm information on the notification bar, the user can directly enter the main page of the client executing the technical scheme, and further more detailed high-temperature alarm information is obtained on the main page of the client. And secondly, displaying high-temperature alarm information corresponding to the target application process on the current main page of the mobile terminal. When the technical scheme is executed by a client installed on the mobile terminal, high-temperature alarm information corresponding to a target application process can be displayed on a main page of the client. And thirdly, popping up an interface frame on the current interface of the mobile terminal, and displaying the high-temperature alarm information corresponding to the target application process on the interface frame, wherein the size of the interface frame is smaller than that of the current interface (namely a display screen of the mobile terminal). And when the target application process includes a plurality of processes, such as the process C and the process D, the high-temperature alarm information corresponding to the process C and the process D may be displayed in a list, and the process C and the process D are sorted in the list. The sorting mode may be sorting according to the sequence of the respective CPU occupancy rates of the target application processes from high to low, and since the CPU occupancy rate of the process C is higher than that of the process D, the process C is located in front of the process D in the sorting.
In addition, in the first embodiment, the high-temperature alarm information may include at least one of an application name corresponding to the target application process, an application icon corresponding to the target application process, and a CPU occupancy rate of the target application process. Still taking the target application process as the process C and the process D as an example, as shown in fig. 4, an interface schematic diagram showing the high temperature alarm information of the process C and the process D displayed on the notification bar 400 of the mobile terminal is shown, which includes: the name and CPU occupancy of process C, and the name and CPU occupancy of process D.
And S306, providing a one-key cooling button in the high-temperature alarm information.
As shown in fig. 4, the high temperature alarm information of the process C and the process D further includes a button "one-key cooling", where the button is used to trigger the mobile terminal to cool down for all target application processes.
And step S307, when the triggering operation of the one-key cooling button by the user is received, stopping running all the target application processes, and clearing high-temperature alarm information corresponding to all the target application processes.
In the first embodiment, when the user clicks the "one-button cooling" button shown in fig. 4, the mobile terminal stops running the process C and the process D, and removes the high-temperature alarm information corresponding to the process C and the process D, that is, the high-temperature alarm information corresponding to the process C and the process D is no longer displayed in the notification bar 400. And when the process C and the process D stop running, closing the process C and the process D, releasing system resources occupied by the process C and the process D, and fundamentally removing the application process causing the heating of the mobile terminal.
According to the first embodiment, in the process of monitoring the temperature value of the mobile terminal, the respective CPU occupancy rates of all application processes currently running on the mobile terminal can be respectively counted, so that the mobile terminal can monitor the temperature of the mobile terminal and the CPU occupancy rates of all the application processes in real time; and when the temperature value reaches a first preset threshold value, determining a target application process causing the mobile terminal to generate heat, so that the mobile terminal can accurately determine a heat source causing the mobile terminal to generate heat. In addition, this scheme has realized the purpose of high temperature real-time warning through the high temperature alarm information that output target application process corresponds for the user can know the source that leads to the mobile terminal high temperature from high temperature alarm information, thereby is convenient for the user to take corresponding cooling measure.
Example two
In the second embodiment, the mobile terminal determines the target application process causing heat generation thereof by counting the consumed traffic of each application process. As shown in fig. 5, the temperature monitoring method of the mobile terminal may be implemented as the following steps S501 to S508:
step S501, monitoring the temperature value of the mobile terminal, tracking the change curve of the temperature value, and determining the temperature change state of the mobile terminal within a preset time according to the change curve.
In this step, while tracking a change curve of the temperature value, the temperature value of the mobile terminal may be continuously monitored, and then a change curve of the temperature value may be drawn according to the continuously monitored temperature value; and monitoring a plurality of discrete temperature values according to a preset time interval, and then drawing a change curve of the temperature values according to the plurality of discrete temperature values, wherein the shorter the time interval is, the more accurate the drawn change curve is.
Step S502, when the temperature change state reaches a preset state capable of triggering the statistical operation of the running state value, respectively counting the respective consumed flows of all the application processes currently running.
Wherein the preset state comprises at least one of: the temperature value reaches a second preset threshold value, and the second preset threshold value is lower than the first preset threshold value; the change curve of the temperature value in the preset time length is a continuous rising curve. In the second embodiment, setting the second preset threshold lower than the first preset threshold is equivalent to setting a stepping value, that is, the temperature value of the mobile terminal does not need to be monitored when the temperature value is low (lower than the stepping value), so that unnecessary work performed by the mobile terminal is avoided. In addition, when the change curve of the temperature value within the preset time length is a continuous rising curve, it indicates that the mobile terminal has a hidden danger that the temperature continuously rises to the first preset threshold, and therefore, the running state value of each application process needs to be counted under the condition so as to prepare for high-temperature alarm.
In the second embodiment, assuming that the currently running application process includes a process a, a process b, a process c, and a process d, when the temperature change state of the mobile terminal reaches a preset state that can trigger the statistical operation of the running state value, the consumed flows of the process a, the process b, the process c, and the process d are respectively counted.
Step S503, determining whether the temperature value of the mobile terminal reaches a first preset threshold. If yes, go to step S504; if not, the process returns to step S501.
Step S504, determine whether there is an application process with a consumed flow reaching a preset flow value in the currently running application processes. If yes, go to step S505; if not, the process returns to step S501.
The first preset threshold may be preset by a user, and when the first preset threshold is specifically set, the first preset threshold may be set according to different factors (for example, current temperature, season, and other factors) in the external environment. For example, the temperature in northern summer is high, so the user can set a first preset threshold which is high; the temperature in the northeast winter is low, so the user can set a lower first preset threshold. In the second embodiment, assuming that the first preset threshold is 40 degrees, when the temperature value of the mobile terminal reaches 40 degrees, it is determined whether there is an application process with a consumed flow reaching the preset flow value in the currently running application processes. Assuming that the preset flow value is 100M, when the consumed flow of an application process reaches 100M, it may be determined that the application process is a target application process causing heat generation of the mobile terminal.
And step S505, determining the application process with the consumed flow reaching the preset flow value as a target application process.
In the second embodiment, assuming that the consumed flow of the current process a is 20M, the consumed flow of the current process b is 30M, the consumed flow of the current process c is 200M, and the consumed flow of the current process d is 150M, since the consumed flows of the current processes c and d have both reached the preset flow value of 100M, it is determined that the processes c and d are the target application processes.
Step S506, outputting high-temperature alarm information corresponding to the target application process, wherein the high-temperature alarm information is used for prompting a user that the temperature of the mobile terminal is too high due to the application program corresponding to the target application process.
In step S506, the output mode of the high temperature alarm information may include at least one of the following modes: and in the first mode, high-temperature alarm information corresponding to the target application process is displayed on a notification bar of the mobile terminal. When the user clicks the high-temperature alarm information on the notification bar, the user can directly enter the main page of the client executing the technical scheme, and further more detailed high-temperature alarm information is obtained on the main page of the client. And secondly, displaying high-temperature alarm information corresponding to the target application process on the current main page of the mobile terminal. When the technical scheme is executed by a client installed on the mobile terminal, high-temperature alarm information corresponding to a target application process can be displayed on a main page of the client. And thirdly, popping up an interface frame on the current interface of the mobile terminal, and displaying the high-temperature alarm information corresponding to the target application process on the interface frame, wherein the size of the interface frame is smaller than that of the current interface (namely a display screen of the mobile terminal). And when the target application process includes a plurality of processes, such as the process c and the process d, the high-temperature alarm information corresponding to the process c and the process d can be displayed in a list manner, and the process c and the process d are sorted in the list. The sorting mode may be sorting according to the sequence of consumed traffic of each target application process from high to low, and since the consumed traffic of the process c is higher than the consumed traffic of the process d, the process c is located before the process d in the sorting.
In addition, in the second embodiment, the high-temperature alarm information may include at least one item of information of an application name corresponding to the target application process, an application icon corresponding to the target application process, and a CPU occupancy rate of the target application process. Still taking the target application process as the process c and the process d as an example, as shown in fig. 6, an interface schematic diagram showing the high-temperature alarm information of the process c and the process d on the main page 600 of the client is shown, where the interface schematic diagram includes: the name of process c and the consumed traffic, and the name of process d and the consumed traffic.
And step S507, providing a single cooling button corresponding to each target application process in the high-temperature alarm information.
As shown in fig. 6, the high-temperature alarm information of the process c and the process d further includes a corresponding single cooling button, where the single cooling button is used to trigger the mobile terminal to cool down for a corresponding single target application process.
And step S508, when the triggering operation of the single cooling button by the user is received, stopping running the target application process corresponding to the single cooling button, and clearing the high-temperature alarm information corresponding to the target application process.
In the second embodiment, when the user only clicks the button "cool down" corresponding to the process c shown in fig. 6, the mobile terminal stops running the process c and clears the high-temperature alarm information corresponding to the process c, that is, the high-temperature alarm information corresponding to the process c is no longer displayed on the main page 600 of the client, and at this time, only the high-temperature alarm information corresponding to the process d is displayed on the main page 600 of the client. And when the process c stops running, closing the process c, releasing system resources occupied by the process c, and fundamentally removing the application process causing the heating of the mobile terminal. Similarly, when the user only clicks the button "cool down" corresponding to the process d, the mobile terminal stops running the process d and clears the high-temperature alarm information corresponding to the process d, that is, the high-temperature alarm information corresponding to the process d is no longer displayed on the home page 600 of the client, and at this time, only the high-temperature alarm information corresponding to the process c is displayed on the home page 600 of the client.
As can be seen from the second embodiment, in the technical scheme of the present invention, in the process of monitoring the temperature value of the mobile terminal, the consumed flows of all application processes currently running on the mobile terminal are respectively counted, so that the mobile terminal can monitor the temperature of the mobile terminal and the consumed flows of all application processes in real time; and when the temperature value reaches a first preset threshold value, determining a target application process causing the mobile terminal to generate heat, so that the mobile terminal can accurately determine a heat source causing the mobile terminal to generate heat. In addition, this scheme has realized the purpose of high temperature real-time warning through the high temperature alarm information that output target application process corresponds for the user can know the source that leads to the mobile terminal high temperature from high temperature alarm information, thereby is convenient for the user to take corresponding cooling measure.
In the first and second embodiments, the case that the high-temperature alarm information includes a one-key cooling button or a single cooling button is listed. It should be noted that the high-temperature alarm information may further include a one-key cooling button and a single cooling button corresponding to each target application process, so that the user may select the one-key cooling button or the single cooling button as needed, thereby improving the user experience.
Fig. 7 is a schematic block diagram of a temperature monitoring apparatus of a mobile terminal according to an embodiment of the present invention. As shown in fig. 7, the apparatus includes:
a first monitoring module 710 adapted to monitor a temperature value of the mobile terminal;
a counting module 720, coupled to the first monitoring module 710, adapted to count respective running state values of all application processes currently running on the mobile terminal during the monitoring process;
a determining module 730, coupled to the counting module 720, adapted to determine, according to the running state value of each application process, a target application process causing heating of the mobile terminal from all application processes when the monitored temperature value reaches a first preset threshold;
and the output module 740 is coupled to the determination module 730 and adapted to output high-temperature alarm information corresponding to the target application process, where the high-temperature alarm information is used to prompt the user that the temperature of the mobile terminal is too high due to the application program corresponding to the target application process.
In one embodiment, the statistics module 720 is further adapted to:
tracking a change curve of the temperature value, and determining the temperature change state of the mobile terminal within a preset time according to the change curve;
and when the temperature change state reaches a preset state capable of triggering the counting operation of the running state value, respectively counting the running state values of all application processes currently running on the mobile terminal.
In one embodiment, the preset state includes at least one of:
the temperature value reaches a second preset threshold value, and the second preset threshold value is lower than the first preset threshold value;
the change curve of the temperature value in the preset time length is a continuous rising curve.
In one embodiment, the operating state value includes at least one of CPU occupancy, cumulative operating time, power consumption, and consumed traffic.
In one embodiment, the determination module 730 is further adapted to:
when the CPU occupancy rate of the application process reaches a preset occupancy rate, determining the application process as a target application process causing the mobile terminal to generate heat;
when the accumulated running time of the application process reaches the preset running time, determining the application process as a target application process causing the heating of the mobile terminal;
when the power consumption of the application process reaches the preset power consumption, determining that the application process is a target application process causing the heating of the mobile terminal;
and when the consumed flow of the application process reaches a preset flow value, determining the application process as a target application process causing the heating of the mobile terminal.
In one embodiment, the output module 740 is further adapted to:
displaying high-temperature alarm information corresponding to a target application process on a notification bar and/or a current main page of the mobile terminal; alternatively, the first and second electrodes may be,
and popping up an interface frame on the current interface of the mobile terminal, and displaying the high-temperature alarm information corresponding to the target application process on the interface frame, wherein the size of the interface frame is smaller than that of the current interface.
In one embodiment, the output module 740 is further adapted to:
when the target application process comprises a plurality of target application processes, acquiring a historical heating record, wherein the historical heating record is used for recording the application process which causes the heating of the mobile terminal in each monitoring process;
determining heating information of each target application process, which causes heating of the mobile terminal, according to the historical heating records, wherein the heating information comprises heating time and/or heating times;
and sequencing the target application processes according to the heating information, and displaying high-temperature alarm information corresponding to each sequenced target application process on a notification bar and/or a current main page of the mobile terminal.
In one embodiment, as shown in fig. 8, the above apparatus further comprises:
a providing module 750, coupled to the output module 740, adapted to provide a one-key cool-down button and/or a single cool-down button corresponding to each target application process;
a clearing module 760, coupled to the providing module 750, adapted to stop running all target application processes and clear high temperature alarm information corresponding to all target application processes when receiving a trigger operation on the one-key cooling button; when the triggering operation of any single cooling button is received, the target application process corresponding to the single cooling button is stopped to run, and the high-temperature alarm information corresponding to the target application process is cleared.
In one embodiment, the purge module 760 is further adapted to perform at least one of:
closing the target application process;
and releasing the system resources occupied by the target application process.
In one embodiment, the above apparatus further comprises:
the second monitoring module is suitable for monitoring the temperature rising speed of the mobile terminal when the target application process runs;
and the unloading module is coupled with the second monitoring module and is suitable for starting the system unloading process when the temperature rising speed exceeds the preset speed and unloading the target application process by utilizing the system unloading process.
In one embodiment, the high temperature alert information includes at least one of:
the application program name corresponding to the target application process;
an application icon corresponding to the target application process;
the running state value of the target application process.
The device can respectively count the respective running state values of all application processes currently running on the mobile terminal in the process of monitoring the temperature value of the mobile terminal, so that the mobile terminal can monitor the temperature of the mobile terminal and the running state values of all the application processes in real time; and when the temperature value reaches a first preset threshold value, determining a target application process causing the mobile terminal to generate heat, so that the mobile terminal can accurately determine a heat source causing the mobile terminal to generate heat. In addition, this scheme has realized the purpose of high temperature real-time warning through the high temperature alarm information that output target application process corresponds for the user can know the source that leads to the mobile terminal high temperature from high temperature alarm information, thereby is convenient for the user to take corresponding cooling measure.
It should be understood by those skilled in the art that the temperature monitoring apparatus of the mobile terminal in fig. 7 and 8 can be used to implement the temperature monitoring scheme of the mobile terminal described above, wherein the detailed description thereof should be similar to that of the method described above, and in order to avoid complexity, further description thereof is omitted.
Fig. 9 is a diagram showing only a portion related to an embodiment of the present invention for convenience of description, and please refer to a method portion in an embodiment of the present invention for details that are not disclosed. The mobile terminal may be any mobile terminal including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the mobile terminal as a mobile phone as an example:
fig. 9 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 9, the handset includes: radio Frequency (RF) circuit 910, memory 920, input unit 930, display unit 940, sensor 950, audio circuit 960, wireless-fidelity (Wi-Fi) module 970, processor 980, and power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 9 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 9:
the RF circuit 910 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then processing the received downlink information to the processor 980; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a touch panel 931 and other input devices 932. The touch panel 931, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 931 (e.g., a user's operation on or near the touch panel 931 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 931 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch panel 931 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 930 may include other input devices 932 in addition to the touch panel 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display panel 941, and optionally, the display panel 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 931 may cover the display panel 941, and when the touch panel 931 detects a touch operation on or near the touch panel 931, the touch panel transmits the touch operation to the processor 980 to determine the type of the touch event, and then the processor 980 provides a corresponding visual output on the display panel 941 according to the type of the touch event. Although in fig. 9, the touch panel 931 and the display panel 941 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 931 and the display panel 941 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 941 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 941 and/or backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and outputs the audio data to the processor 980 for processing, and then transmits the audio data to, for example, another mobile phone through the RF circuit 910, or outputs the audio data to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 9 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present invention, the processor 980 included in the mobile terminal further has the following functions:
monitoring a temperature value of the mobile terminal;
in the monitoring process, respectively counting the respective running state values of all application processes currently running on the mobile terminal;
when the temperature value is monitored to reach a first preset threshold value, determining a target application process causing the heating of the mobile terminal from all the application processes according to the running state value of each application process;
and outputting high-temperature alarm information corresponding to the target application process, wherein the high-temperature alarm information is used for prompting a user that the temperature of the mobile terminal is too high due to the application program corresponding to the target application process.
Optionally, the processor 980 also has the following functions:
tracking the change curve of the temperature value, and determining the temperature change state of the mobile terminal within a preset time according to the change curve;
and when the temperature change state reaches a preset state capable of triggering the counting operation of the running state value, respectively counting the running state values of all application processes currently running on the mobile terminal.
Optionally, the preset state includes at least one of the following:
the temperature value reaches a second preset threshold value, and the second preset threshold value is lower than the first preset threshold value;
and the change curve of the temperature value in the preset time is a continuous rising curve.
Optionally, the operation state value includes at least one of a CPU occupancy rate, an accumulated operation time, power consumption, and a consumed flow.
Optionally, the processor 980 also has the following functions:
when the CPU occupancy rate of the application process reaches a preset occupancy rate, determining the application process as a target application process causing the mobile terminal to generate heat;
when the accumulated running time of the application process reaches a preset running time, determining that the application process is a target application process causing the heating of the mobile terminal;
when the power consumption of the application process reaches a preset power consumption, determining that the application process is a target application process causing the mobile terminal to generate heat;
and when the consumed flow of the application process reaches a preset flow value, determining that the application process is a target application process causing the heating of the mobile terminal.
Optionally, the processor 980 also has the following functions:
displaying high-temperature alarm information corresponding to the target application process on a notification bar and/or a current main page of the mobile terminal; alternatively, the first and second electrodes may be,
and popping up an interface frame on the current interface of the mobile terminal, and displaying the high-temperature alarm information corresponding to the target application process on the interface frame, wherein the size of the interface frame is smaller than that of the current interface.
Optionally, the processor 980 also has the following functions: :
acquiring a historical heating record, wherein the historical heating record is used for recording an application process causing the heating of the mobile terminal in each monitoring process;
determining heating information of each target application process causing heating of the mobile terminal according to the historical heating record, wherein the heating information comprises heating time and/or heating times;
and sequencing the target application processes according to the heating information, and displaying high-temperature alarm information corresponding to each sequenced target application process on a notification bar and/or a current main page of the mobile terminal.
Optionally, the processor 980 also has the following functions:
providing a one-key cooling button and/or a single cooling button corresponding to each target application process;
when the triggering operation of the one-key cooling button is received, stopping running all target application processes, and clearing high-temperature alarm information corresponding to all the target application processes;
when the triggering operation of any single cooling button is received, the target application process corresponding to the single cooling button is stopped to run, and the high-temperature alarm information corresponding to the target application process is cleared.
Optionally, the processor 980 also has the following functions:
closing the target application process;
and releasing the system resources occupied by the target application process.
Optionally, the processor 980 also has the following functions:
monitoring the temperature rising speed of the mobile terminal when the target application process runs;
and when the temperature rise speed exceeds a preset speed, starting a system unloading process, and unloading the target application process by utilizing the system unloading process.
Optionally, the high-temperature alarm information includes at least one of:
the application program name corresponding to the target application process;
an application icon corresponding to the target application process;
the running state value of the target application process.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the temperature monitoring apparatus of the mobile terminal according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.

Claims (21)

1. A temperature monitoring method of a mobile terminal includes:
monitoring a temperature value of the mobile terminal;
in the monitoring process, respectively counting the respective running state values of all application processes currently running on the mobile terminal;
when the temperature value is monitored to reach a first preset threshold value, determining a target application process causing the heating of the mobile terminal from all the application processes according to the running state value of each application process;
outputting high-temperature alarm information corresponding to the target application process, wherein the high-temperature alarm information is used for prompting a user that the temperature of the mobile terminal is too high due to an application program corresponding to the target application process;
respectively counting the respective running state values of all application processes currently running on the mobile terminal, including: tracking the change curve of the temperature value, and determining the temperature change state of the mobile terminal within a preset time according to the change curve; when the temperature change state reaches a preset state capable of triggering the counting operation of the running state value, respectively counting the running state values of all application processes currently running on the mobile terminal, wherein the preset state comprises that the temperature value reaches a second preset threshold value which is lower than the first preset threshold value;
the operation state value comprises accumulated operation time, and the accumulated operation time is the operation time of the application program accumulated from the time when the temperature change state of the mobile terminal in the preset time reaches the preset state.
2. The method of claim 1, wherein the preset state further comprises:
and the change curve of the temperature value in the preset time is a continuous rising curve.
3. The method of claim 1 or 2, wherein the operational state values further comprise at least one of CPU occupancy, power consumption, consumed traffic.
4. The method according to claim 3, wherein determining a target application process causing the mobile terminal to generate heat from the all application processes according to the running state value comprises:
when the CPU occupancy rate of the application process reaches a preset occupancy rate, determining the application process as a target application process causing the mobile terminal to generate heat;
when the accumulated running time of the application process reaches a preset running time, determining that the application process is a target application process causing the heating of the mobile terminal;
when the power consumption of the application process reaches a preset power consumption, determining that the application process is a target application process causing the mobile terminal to generate heat;
and when the consumed flow of the application process reaches a preset flow value, determining that the application process is a target application process causing the heating of the mobile terminal.
5. The method of claim 1, wherein outputting high-temperature alarm information corresponding to the target application process comprises:
displaying high-temperature alarm information corresponding to the target application process on a notification bar and/or a current main page of the mobile terminal; alternatively, the first and second electrodes may be,
and popping up an interface frame on the current interface of the mobile terminal, and displaying the high-temperature alarm information corresponding to the target application process on the interface frame, wherein the size of the interface frame is smaller than that of the current interface.
6. The method according to claim 5, wherein when the target application process includes a plurality of target application processes, displaying high-temperature alarm information corresponding to the target application process on a notification bar and/or a current main page of the mobile terminal comprises:
acquiring a historical heating record, wherein the historical heating record is used for recording an application process causing the heating of the mobile terminal in each monitoring process;
determining heating information of each target application process causing heating of the mobile terminal according to the historical heating record, wherein the heating information comprises heating time and/or heating times;
and sequencing the target application processes according to the heating information, and displaying high-temperature alarm information corresponding to each sequenced target application process on a notification bar and/or a current main page of the mobile terminal.
7. The method of claim 1, wherein the method further comprises:
providing a one-key cooling button and/or a single cooling button corresponding to each target application process;
when the triggering operation of the one-key cooling button is received, stopping running all target application processes, and clearing high-temperature alarm information corresponding to all the target application processes;
when the triggering operation of any single cooling button is received, the target application process corresponding to the single cooling button is stopped to run, and the high-temperature alarm information corresponding to the target application process is cleared.
8. The method of claim 7, wherein the stopping of all the target application processes or the stopping of the target application process corresponding to the single cool down button comprises at least one of:
closing the target application process;
and releasing the system resources occupied by the target application process.
9. The method of claim 1, wherein the method further comprises:
monitoring the temperature rising speed of the mobile terminal when the target application process runs;
and when the temperature rise speed exceeds a preset speed, starting a system unloading process, and unloading the target application process by utilizing the system unloading process.
10. The method of claim 1, wherein the high temperature alert information includes at least one of:
the application program name corresponding to the target application process;
an application icon corresponding to the target application process;
the running state value of the target application process.
11. A temperature monitoring apparatus of a mobile terminal, comprising:
the first monitoring module is suitable for monitoring the temperature value of the mobile terminal;
the statistical module is suitable for respectively counting the respective running state values of all application processes currently running on the mobile terminal in the monitoring process;
the determining module is suitable for determining a target application process causing the heating of the mobile terminal from all the application processes according to the running state value of each application process when the temperature value is monitored to reach a first preset threshold value;
the output module is suitable for outputting high-temperature alarm information corresponding to the target application process, and the high-temperature alarm information is used for prompting a user that the temperature of the mobile terminal is too high due to the application program corresponding to the target application process;
the statistics module is further adapted to: tracking the change curve of the temperature value, and determining the temperature change state of the mobile terminal within a preset time according to the change curve; when the temperature change state reaches a preset state capable of triggering the counting operation of the running state value, respectively counting the running state values of all application processes currently running on the mobile terminal, wherein the preset state comprises that the temperature value reaches a second preset threshold value which is lower than the first preset threshold value;
the operation state value comprises accumulated operation time, and the accumulated operation time is the operation time of the application program accumulated from the time when the temperature change state of the mobile terminal in the preset time reaches the preset state.
12. The apparatus of claim 11, wherein the preset state further comprises:
and the change curve of the temperature value in the preset time is a continuous rising curve.
13. The apparatus of claim 11 or 12, wherein the operational state values further comprise at least one of CPU occupancy, power consumption, consumed traffic.
14. The apparatus of claim 13, wherein the determination module is further adapted to:
when the CPU occupancy rate of the application process reaches a preset occupancy rate, determining the application process as a target application process causing the mobile terminal to generate heat;
when the accumulated running time of the application process reaches a preset running time, determining that the application process is a target application process causing the heating of the mobile terminal;
when the power consumption of the application process reaches a preset power consumption, determining that the application process is a target application process causing the mobile terminal to generate heat;
and when the consumed flow of the application process reaches a preset flow value, determining that the application process is a target application process causing the heating of the mobile terminal.
15. The apparatus of claim 11, wherein the output module is further adapted to:
displaying high-temperature alarm information corresponding to the target application process on a notification bar and/or a current main page of the mobile terminal; alternatively, the first and second electrodes may be,
and popping up an interface frame on the current interface of the mobile terminal, and displaying the high-temperature alarm information corresponding to the target application process on the interface frame, wherein the size of the interface frame is smaller than that of the current interface.
16. The apparatus of claim 15, wherein the output module is further adapted to:
when the target application process comprises a plurality of target application processes, acquiring a historical heating record, wherein the historical heating record is used for recording the application process which causes the heating of the mobile terminal in each monitoring process;
determining heating information of each target application process causing heating of the mobile terminal according to the historical heating record, wherein the heating information comprises heating time and/or heating times;
and sequencing the target application processes according to the heating information, and displaying high-temperature alarm information corresponding to each sequenced target application process on a notification bar and/or a current main page of the mobile terminal.
17. The apparatus of claim 11, wherein the apparatus further comprises:
the system comprises a providing module, a control module and a display module, wherein the providing module is suitable for providing a one-key cooling button and/or a single cooling button corresponding to each target application process;
the clearing module is suitable for stopping running all target application processes when the triggering operation of the one-key cooling button is received, and clearing high-temperature alarm information corresponding to all the target application processes; when the triggering operation of any single cooling button is received, the target application process corresponding to the single cooling button is stopped to run, and the high-temperature alarm information corresponding to the target application process is cleared.
18. The apparatus of claim 17, wherein the clearing module is further adapted to perform at least one of:
closing the target application process;
and releasing the system resources occupied by the target application process.
19. The apparatus of claim 11, wherein the apparatus further comprises:
the second monitoring module is suitable for monitoring the temperature rising speed of the mobile terminal when the target application process runs;
and the unloading module is suitable for starting a system unloading process when the temperature rise speed exceeds a preset speed, and unloading the target application process by utilizing the system unloading process.
20. The apparatus of claim 11, wherein the high temperature alert information comprises at least one of:
the application program name corresponding to the target application process;
an application icon corresponding to the target application process;
the running state value of the target application process.
21. A mobile terminal comprising a processor and a memory:
the memory for storing a program for performing the method of any one of claims 1 to 10,
the processor is configured to execute programs stored in the memory.
CN201611096483.5A 2016-12-01 2016-12-01 Temperature monitoring method and device of mobile terminal and mobile terminal Active CN106850942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611096483.5A CN106850942B (en) 2016-12-01 2016-12-01 Temperature monitoring method and device of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611096483.5A CN106850942B (en) 2016-12-01 2016-12-01 Temperature monitoring method and device of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN106850942A CN106850942A (en) 2017-06-13
CN106850942B true CN106850942B (en) 2019-12-31

Family

ID=59146288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611096483.5A Active CN106850942B (en) 2016-12-01 2016-12-01 Temperature monitoring method and device of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN106850942B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332997B (en) * 2017-07-03 2020-05-19 奇酷互联网络科技(深圳)有限公司 Method and device for reducing terminal heating, mobile terminal and storage medium
CN107290069A (en) * 2017-07-10 2017-10-24 佛山杰致信息科技有限公司 A kind of transformer temperature monitoring device and its monitoring method
CN107908527B (en) * 2017-11-16 2020-03-24 维沃移动通信有限公司 Application icon display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267995A (en) * 2014-09-30 2015-01-07 北京金山安全软件有限公司 Application processing method and device and terminal
CN104636236A (en) * 2014-12-30 2015-05-20 深圳天珑无线科技有限公司 Terminal high-temperature abnormity detecting method and mobile terminal
CN105573896A (en) * 2015-12-21 2016-05-11 魅族科技(中国)有限公司 Running reminding method and device for application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9565081B2 (en) * 2014-05-19 2017-02-07 Ebay Inc. Phone thermal context

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267995A (en) * 2014-09-30 2015-01-07 北京金山安全软件有限公司 Application processing method and device and terminal
CN104636236A (en) * 2014-12-30 2015-05-20 深圳天珑无线科技有限公司 Terminal high-temperature abnormity detecting method and mobile terminal
CN105573896A (en) * 2015-12-21 2016-05-11 魅族科技(中国)有限公司 Running reminding method and device for application program

Also Published As

Publication number Publication date
CN106850942A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN107272872B (en) Power saving control method and related product
CN106250223B (en) Background process management method and terminal equipment
CN103024205B (en) Method, device and terminal for controlling power
CN107368400B (en) CPU monitoring method and device, computer readable storage medium and mobile terminal
CN107241784B (en) Internet of things access method and device
CN105830016B (en) Power management method and power management device for user equipment
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
CN107172267B (en) Fingerprint identification control method and related product
CN106055079B (en) The management method and device of a kind of central processing unit
CN112655107B (en) Low-temperature protection method for electronic equipment and electronic equipment
CN107193435B (en) Processing method and device for task window and mobile terminal
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
CN109992438A (en) Information processing method, device, computer equipment and computer readable storage medium
CN107317918B (en) Parameter setting method and related product
CN106294079B (en) A kind of information prompting method and device
CN106850942B (en) Temperature monitoring method and device of mobile terminal and mobile terminal
CN106507482A (en) A kind of network locating method and terminal device
US10324134B2 (en) Method and device for ascertaining required charging time
CN110798511B (en) Method for predicting number of daily active users of target APP and computer equipment
CN106844135B (en) Temperature monitoring method and device of mobile terminal and mobile terminal
CN106055237A (en) Swiping acceleration response method and equipment
CN108174299B (en) Comment data loading method and device for video
CN107635277B (en) Power saving management method of terminal equipment of Internet of things and terminal equipment of Internet of things
CN109189538A (en) A kind of method and apparatus sending orientation red packet
CN107817397B (en) Charging heating abnormity detection method and terminal equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20170720

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

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

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant