CN110850941A - Terminal equipment cooling method and related equipment - Google Patents

Terminal equipment cooling method and related equipment Download PDF

Info

Publication number
CN110850941A
CN110850941A CN201911084433.9A CN201911084433A CN110850941A CN 110850941 A CN110850941 A CN 110850941A CN 201911084433 A CN201911084433 A CN 201911084433A CN 110850941 A CN110850941 A CN 110850941A
Authority
CN
China
Prior art keywords
application
terminal equipment
preset
temperature
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911084433.9A
Other languages
Chinese (zh)
Inventor
樊蔼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN201911084433.9A priority Critical patent/CN110850941A/en
Publication of CN110850941A publication Critical patent/CN110850941A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • G06F1/206Cooling means comprising thermal management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • G06N20/10Machine learning using kernel methods, e.g. support vector machines [SVM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Computing Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a terminal equipment cooling method and related equipment, wherein the method is applied to the technical field of terminal equipment and comprises the following steps: the terminal equipment detects whether the temperature of the terminal equipment meets the preset temperature or not, and if the temperature meets the preset temperature, state data of each application are acquired. Further, the terminal device adjusts its own resources according to a preset strategy based on the state data, so as to reduce the temperature of the terminal device body. In this way, the terminal device can manage its own resources in a high temperature state to reduce the temperature of the terminal device body.

Description

Terminal equipment cooling method and related equipment
Technical Field
The invention relates to the technical field of terminals, in particular to a terminal equipment cooling method and related equipment.
Background
With the popularization of intelligent terminals, various terminal device application software layers are endless. When the application is in operation, the application occupies the operation memory of the terminal equipment. Along with the increase of the operating memory occupancy rate, the body of the terminal equipment can generate heat to different degrees. The heating of the device body can affect the service life of the terminal device and the normal operation of software, so that how to cool down the terminal device body under the condition of high heat becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a terminal equipment cooling method and related equipment, and when the terminal equipment generates high heat, the temperature of the terminal equipment can be reduced by managing the operation resources of the terminal equipment.
In a first aspect, an embodiment of the present invention provides a method for cooling a terminal device, where the method is applied to a terminal device, the terminal device includes at least one application, and the method includes:
detecting whether the temperature of the terminal equipment meets a preset temperature or not;
if the preset temperature is met, acquiring the state data of the application;
and adjusting the resources of the terminal equipment according to a preset strategy based on the state data so as to reduce the temperature of the terminal equipment.
In an embodiment, the specific implementation manner of adjusting the resource of the terminal device according to the preset policy based on the state data is as follows:
performing data analysis on the state data according to a preset machine learning algorithm model, and acquiring and/or outputting the activity level of the application;
and determining a target application based on the active level and a preset rule.
In one embodiment, the preset rules include at least one of: sorting the applications according to the activity level; acquiring applications of N before sequencing as target applications, wherein N is an integer greater than 0; sorting the applications according to the activity level; obtaining the applications of the sequenced M as target applications, wherein M is an integer larger than 0; and acquiring a target application from the application according to the acquired selection instruction.
In one embodiment, the preset policy includes: controlling the terminal equipment to adjust the application resources; and/or controlling and adjusting the resources of the target application; and/or controlling and adjusting resources of the non-target application.
In an embodiment, after the resource of the terminal device is adjusted according to a preset policy based on the state data, whether a self-starting behavior exists in the application may be detected; if so, marking the application as an abnormal application.
In an embodiment, the specific implementation manner of outputting the activity level of the application is as follows: and outputting a preset window in a display interface, wherein the preset window displays identification information of each application and the active level of each application, so that a user can select a target application from each application based on the active level of each application.
In an embodiment, the outputting the activity level of the application may further output a prompt message when it is detected that the display interface is in a closed state, where the prompt message is used to prompt a user to view the display interface.
In one embodiment, the method further comprises: judging whether the temperature of the terminal equipment reaches a threshold temperature or not; if so, controlling the terminal equipment to close at least one application so as to adjust resources; and/or outputting prompt information, and controlling the terminal equipment to close the application according to the feedback information so as to adjust resources.
In a second aspect, an embodiment of the present invention provides a terminal device cooling device, where the terminal device cooling device includes a module for performing the method in the first aspect.
In a third aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes a processor and a memory, where the processor and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method of the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, which is characterized in that the computer-readable storage medium stores a computer program, and the computer program includes program instructions, which, when executed by a processor, cause the processor to execute the method of the first aspect.
In the embodiment of the application, the terminal device can detect whether the temperature of the terminal device meets the preset temperature, if the temperature meets the preset temperature, the state data applied in the terminal device is obtained, and the resource of the terminal device is adjusted according to the preset strategy based on the state data, so that the temperature of the body of the terminal device is reduced. By adopting the terminal equipment cooling mode, the temperature of the body of the terminal equipment can be reduced by managing the operation resources of the terminal equipment in a high-temperature state.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for cooling a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a display interface of a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another method for cooling a terminal device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an exception application display provided by an embodiment of the present invention;
fig. 5 is a schematic block diagram of a terminal device cooling device according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for cooling a terminal device according to an embodiment of the present invention, where the method is applied to a terminal device, the terminal device includes at least one application, and the method can be executed by the terminal device, as shown in the figure, the method for cooling the terminal device includes:
s101: and detecting whether the temperature of the terminal equipment meets a preset temperature or not.
The terminal equipment can acquire the temperature of the terminal equipment through a temperature sensor of the terminal equipment and detect whether the terminal equipment meets the preset temperature or not based on the temperature. The preset temperature is obtained from experimental measurement data, and can be adjusted at a later stage according to actual conditions.
In an embodiment, the preset temperature may be a temperature difference between the terminal device body and the external environment, for this case, the terminal device may obtain the temperature of the terminal device body through a temperature sensor inside the terminal device, obtain the environmental temperature of the environment where the terminal device is located through an external temperature sensor outside the terminal device, further calculate a temperature difference between the temperature of the terminal device body and the environmental temperature of the environment where the terminal device is located, and detect whether the temperature difference between the terminal device body and the external environment meets the preset temperature. The preset temperature difference is obtained from experimental measurement data, and can be adjusted in the later stage according to actual conditions.
S102: and if the preset temperature is met, acquiring the state data of the application.
The terminal device can detect the state of at least one application in the terminal device when detecting that the temperature of the terminal device is greater than or equal to the preset temperature, and acquire state data of each application on the terminal device.
In an embodiment, the preset temperature is satisfied that the temperature difference between the terminal device and the external environment is greater than or equal to the preset temperature difference, and for this case, the terminal device may detect the state of at least one application in the terminal device when detecting that the temperature difference is greater than or equal to the preset temperature difference, and acquire state data corresponding to the state of the at least one application.
The state of the application refers to a process state of the application during running, and the state data of the application includes data transmission frequency of the application, click frequency of the application, utilization rate of the application, and the like.
S103: and adjusting the resources of the terminal equipment according to a preset strategy based on the state data so as to reduce the temperature of the terminal equipment.
The preset strategy can be to control the terminal equipment to adjust the application resources; and/or, controlling and adjusting resources of the target application; and/or, control adjusting resources of the non-target application.
In one embodiment, the state data is subjected to data analysis according to a preset machine learning algorithm model, the activity level of each application is obtained and/or output, and the target application is determined based on the activity level and a preset rule. Further, the terminal device may adjust its own resources according to a preset policy based on the state data of the target application.
Wherein the preset rule comprises at least one of the following: sequencing the applications according to the active level, and acquiring N applications before sequencing as target applications, wherein N is an integer greater than 0; sequencing the applications according to the active level, and acquiring the sequenced M applications as target applications, wherein M is an integer greater than 0; and acquiring the target application from the application according to the acquired selection instruction. The preset machine learning algorithm model comprises a logistic regression algorithm model or a support vector machine algorithm model.
In one embodiment, the machine learning algorithm model is preset as a logistic regression algorithm model, and for such a situation, after the terminal device acquires the state data of each application, the state data of each application is input into the logistic regression algorithm model, and the logistic regression algorithm model is triggered to perform data analysis on each application according to the state data to determine the activity level of each application.
The logistic regression algorithm model is based on regression analysis of qualitative variables, and divides the application into two active levels of high activity and low activity, the logistic regression algorithm model essentially judges the probability that the application is in a high active state according to the state data of the application, and the probability that the application is in the high active state is shown as the following formula:
Figure BDA0002264108620000051
wherein: high indicates a High activity application,
Figure BDA0002264108620000061
an application state data vector representing the application,
Figure BDA0002264108620000062
the weight value corresponding to the application state data vector.
According to the probability of the high activity state of a certain application, the logic expression for judging the application as the high activity application is as follows:
Figure BDA0002264108620000063
wherein: threshold is a demarcation threshold, typically set at 0.5. The function is solved by using a gradient descent method, and a characteristic learning rate is adopted to prevent a certain state characteristic from having an excessive influence on the characteristic weight in the characteristic library.
In one embodiment, the preset machine learning algorithm model is a support vector machine algorithm model, and for this situation, after the terminal device obtains the state data of each application, the state data of each application is input into the preset support vector machine algorithm model, and the support vector machine model is triggered to perform data level analysis on each application according to the state data, so as to determine the active level of each application. The support vector machine algorithm can be used as a multi-classification model, so the level number of the active level is not specifically limited.
In one embodiment, the preset machine learning algorithm model already determines the activity level of each application, and identification information is added for the activity level of each application. And then, the terminal device may output a preset window in the display interface, where the preset window shows the identification information and the active level of each application, so that the terminal device and the user may select the target application from each application based on the active level of each application.
The preset window is a display window preset by a program developer, and is displayed on a display interface of the terminal equipment in a pop-up window mode, wherein the shape and the size of the window are not specifically limited. The identification information may be a shape of the application border, a color of the application border, a size of the application border, and the like. The user can determine the target application by performing touch operation on the application in the preset window. The input modes of the touch operation include pressing, clicking, sliding, voice and the like.
Illustratively, referring to fig. 2, the preset machine learning algorithm model determines an active level of each application, divides each application into two types, i.e., a high-active application and a low-active application, and adds a frame to the active level of each application as identification information. As shown in fig. 2, the outputting of the preset window in the display interface by the terminal device includes: a prompt window 20, wherein the prompt window 20 is used for displaying prompt information; and the identification information display window 21 is used for displaying the identification information of each application, so that a user can conveniently perform corresponding operation on each identification information. In the window 21, the applications with black borders include "a application", "B application", and "C application" as high-activity applications, and the applications with white borders, such as "D application", as low-activity applications. And pressing any application in the preset window for 3 seconds by a user, selecting a target application and executing a preset cleaning strategy to close the process of the target application so as to achieve the aim of reducing the temperature of the terminal equipment.
In one embodiment, after the terminal device may input a preset window in the display interface, where the preset window shows identification information of each application and an active level of each application, when the terminal device detects that the display interface is in a closed state, a prompt message is output to prompt a user to view the display interface, and the prompt message is used to prompt the user to view the display interface.
In another embodiment, after the terminal device outputs the prompt message, if the selection operation of the user is not detected within a preset time period, the terminal device triggers and executes the determination of the application with the top N of the sequence in the at least one application as the target application, and triggers and closes the running memory of the target application, so as to reduce the temperature of the body of the terminal device. Wherein N is an integer greater than 0. The preset duration and the preset duration N are obtained from experimental measurement data, and can be adjusted subsequently. The prompt message includes flashing, vibration, voice prompt, etc., and the form of the prompt message is not particularly limited herein.
Exemplarily, assuming that N is 2, the terminal device determines the activity levels of the applications through the preset machine learning algorithm, ranks the activity levels from high to low, and inputs a preset window in a display interface of the mobile phone terminal, where the preset window shows identification information of the applications and the activity levels of the applications, as shown in fig. 2, where the activity level of "a application" is higher than that of "B application" and the activity level of "C application" is higher than that of "D application". When the display interface of the terminal equipment is detected to be in a closed state, the system sends out a voice prompt to prompt a user to start and view the display interface. If the user is not detected to input a selection operation for the identification information of each application based on the active level within 90 seconds, the system triggers to execute the application with the top 2 bits in sequence: and determining the application A and the application B as target applications, triggering to close the target applications, and then closing a preset window interface to finish the cooling operation of the terminal equipment.
In the embodiment of the application, the terminal device detects whether the temperature of the terminal device meets the preset temperature, and if the temperature meets the preset temperature, the state data of each application is acquired. Further, the terminal device adjusts its own resources according to a preset policy based on the state data to reduce the temperature of the terminal device. By adopting the terminal equipment cooling mode, the temperature of the body of the terminal equipment can be reduced by managing the resources of the terminal equipment in a high-temperature state.
Referring to fig. 3, fig. 3 is a schematic diagram of another application processing method provided in an embodiment of the present invention, where the method is applied to a terminal device, where the terminal device includes at least one application and is executable by the terminal device, and as shown in the drawing, the application processing method may include:
s301: and detecting whether the temperature of the terminal equipment meets a preset temperature or not.
S302: and if the preset temperature is met, acquiring the state data of the application.
For specific implementation of steps S301 to S302, reference may be made to the detailed description of steps S101 to S102 in the above embodiment, which is not described herein again.
S303: and performing data analysis on the state data according to a preset machine learning algorithm model, acquiring and/or outputting the active level of the application, and determining the target application based on the active level and a preset rule. For a specific implementation of step S303, reference may be made to the related description of step S103 in the foregoing embodiment, which is not described herein again.
S304: and adjusting the resources of the terminal equipment according to the target application and the preset strategy. The preset policy refers to the related description of step S103 in the above embodiment, and is not described herein again.
In one embodiment, when the target application is ranked as the top N applications, the specific implementation of controlling and adjusting the resources of the target application includes:
after the terminal device obtains the active levels of the applications, the applications may be subjected to active level sorting according to the active levels of the applications, and N applications before sorting may be determined as target applications, which may be called high-activity applications, where N is an integer greater than 0. Further, the terminal device may close a part of permission operations of the target application in a state that normal operation of the target application is not affected, and/or compress a target application request data format to reduce an operation memory of the target application and reduce a temperature of a body of the terminal device. For example, the B application is map navigation software, and has a positioning indication function, a route planning function, a voice prompt function when a road is changed, and a vibration prompt function when a road is changed. When the terminal device determines the application B as the target application, the voice prompt function during road replacement and the vibration prompt function during road replacement can be closed, and the positioning indication function and the path planning function of the application B are reserved so as to ensure the normal operation and use of the application. The C application is a video playing application, and the playing data format of the application comprises 720P super-definition format, 480P high-definition format and 270P standard definition format. When the terminal device determines the C application as a target application, the 720P super-clear format of the original video playing of the C application is compressed into a 270P standard definition mode, so that the normal operation and use of the application are ensured.
In one embodiment, when the target application is ranked as the M-th application, the specific implementation of controlling and adjusting the resources of the target application includes:
the applications may be ranked according to their activity levels, and the ranked M applications may be determined as target applications, which may be referred to as high-activity applications, where M is an integer greater than 0. Further, the terminal device may close the running state of the target application and clear the running memory of the target application, so as to reduce the temperature of the terminal device. For example, when the terminal device detects that the application a is an application in the ranked M in the application activity level ranking, the terminal device executes to close the running state of the application a and quits the application a.
In one embodiment, when the target application is ranked as the top N applications, the specific implementation of controlling and adjusting the resources of the non-target applications includes:
the applications may be ranked according to their activity levels, and the top N applications may be determined as target applications, which may be referred to as high-activity applications, where N is an integer greater than 0. Further, the operating memory of the non-target application can be cleared by closing the non-target application, that is, the operating states of the applications with the liveness sequences of N +1 and N +1, so as to reduce the temperature of the terminal device body.
In one embodiment, when the target application is ranked as the application M, the specific implementation of controlling and adjusting the resources of the non-target application includes:
the applications may be ranked according to their activity levels, and the ranked M applications may be determined as target applications, which may be referred to as high-activity applications, where M is an integer greater than 0. Further, the partial permission operation of the non-target application can be closed under the condition that the normal operation of the non-target application, namely the application with the activity sequencing of M-1 and M-1 is not influenced, and/or the request data format of the non-target application is compressed to reduce the operation memory of the non-target application and reduce the temperature of the terminal equipment body.
In one embodiment, whether the temperature of the terminal device reaches a threshold temperature is judged, and if yes, the terminal device is controlled to close at least one application to adjust resources; and/or outputting prompt information, and controlling the terminal equipment to close the application according to the feedback information so as to adjust the resources.
The threshold temperature is measured and calculated by experimental data, and can be adjusted according to actual conditions. When the terminal device reaches the threshold temperature, a target application is determined from at least one application of the terminal device, and a specific implementation process for determining the target application may refer to the related description in step S103 of the foregoing embodiment. And/or the terminal equipment outputs prompt information to prompt a user to determine a target application from at least one application of the terminal equipment, feedback information is input aiming at the target application, and the terminal equipment closes the target application according to the feedback information to adjust resources.
In one embodiment, the terminal device detects whether the application has a self-starting behavior, and if so, marks the application as an abnormal application. The self-starting behavior of the application means that the user does not send a starting operation instruction to the background aiming at the application, and the application performs starting operation on the background by itself.
In an embodiment, after the preset policy is adopted to adjust the resource of the target application, the terminal device may perform tracking detection on the target application, and add abnormal identification information to the target application when detecting that the target application has a self-starting behavior. The subsequent user can determine that the corresponding target application is the abnormal application based on the abnormal identification information, and correspondingly process the abnormal application.
Exemplarily, after the running memory of the application of the. As shown in fig. 4, a window 40 is a prompt operation information prompt window, a window 41 is an abnormal application presentation window, and if it is detected that the "E application" has a self-starting behavior, a triangular exclamation point display border shown as 410 is added to the display interface of the "E application" as an abnormal identifier. And the user can click to enter background management according to the abnormal application identifier and add the application authority for forbidding self-starting to the abnormal application. Further avoiding the situation that the terminal equipment is continuously high in temperature due to the self-starting of the application.
In the embodiment of the application, the terminal device detects whether the temperature of the terminal device meets a preset temperature, if so, the state data of the application is obtained, the state data is subjected to data analysis according to a preset machine learning algorithm model, and the activity level of each application is obtained and/or output. Further, the terminal equipment adjusts the resources of the terminal equipment according to the target application and the preset strategy. Furthermore, the terminal device may detect whether the application has a self-starting behavior, and mark the target application as an abnormal application if the target application has the self-starting behavior. By adopting the terminal equipment cooling mode, the temperature of the body of the terminal equipment can be reduced in a high-temperature state, and the situation that the terminal equipment is continuously high in temperature due to self-starting of the application is further avoided.
An embodiment of the present invention further provides a terminal device cooling apparatus, where the apparatus includes a module configured to execute the method described in fig. 1 or fig. 3, and is configured at a terminal device. Specifically, referring to fig. 5, a schematic block diagram of a terminal device cooling device according to an embodiment of the present invention is provided. The terminal equipment heat sink of this embodiment includes:
the detection module 50 is configured to detect whether the temperature of the terminal device meets a preset temperature;
an obtaining module 51, configured to obtain the state data of the application if a preset temperature is met;
and the processing module 52 is configured to adjust resources of the terminal device according to a preset policy based on the state data, so as to reduce the temperature of the terminal device body.
In an embodiment, the processing module 52 is further configured to perform data analysis on the state data according to a preset machine learning algorithm model, and obtain and/or output an activity level of the application; and determining a target application based on the active level and a preset rule. .
In an embodiment, the processing module 52 is further configured to sort the applications according to the active level, and obtain an application that is N before the sorting as a target application, where N is an integer greater than 0; sequencing the applications according to the active levels, and acquiring the sequenced M applications as target applications, wherein M is an integer greater than 0; and acquiring a target application from the application according to the acquired selection instruction.
In an embodiment, the processing module 52 is further configured to control the terminal device to adjust the application resource; and/or controlling and adjusting the resources of the target application; and/or controlling and adjusting resources of the non-target application.
In one embodiment, the detecting module 50 is further configured to detect whether a self-starting behavior exists in the application; if so, the processing module 52 marks the application as an abnormal application.
In an embodiment, the terminal device cooling device further includes an output module 53, where the output module 53 is further configured to output a preset window in a display interface, where the preset window shows identification information of each application and an active level of each application, so that a user can select a target application from the applications based on the active level of each application.
In an embodiment, the detecting module 50 is further configured to, when detecting that the display interface is in the closed state, output a prompt message by the output module 53, where the prompt message is used to prompt a user to view the display interface.
In one embodiment, the processing module 52 is further configured to determine whether the temperature of the terminal device reaches a threshold temperature; if so, controlling the terminal equipment to close at least one application so as to adjust resources; and/or, calling the output module 53 to output prompt information, and controlling the terminal device to close the application according to the feedback information to adjust the resource.
It should be noted that the functions of the functional modules of the terminal device cooling device described in the embodiment of the present invention may be specifically implemented according to the method in the method embodiment described in fig. 1 or fig. 3, and the specific implementation process may refer to the description related to the method embodiment of fig. 1 or fig. 3, which is not described herein again.
Referring to fig. 6, fig. 6 is a schematic block diagram of a terminal device provided in the present invention. The terminal device may include a processor 601, memory 602, an input device 603, and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and the bus connection is taken as an example in fig. 6 in the embodiment of the present invention. Wherein the input device 603 and the output device 604 are controlled by the processor for transceiving messages, the memory 602 is for storing a computer program comprising program instructions, and the processor 601 is for executing the program instructions stored by the memory 602. Wherein the processor 601 is configured to call the program instruction to perform: detecting whether the temperature of the terminal equipment meets a preset temperature or not; if the preset temperature is met, acquiring the state data of the application; and adjusting the resources of the terminal equipment according to a preset strategy based on the state data so as to reduce the temperature of the terminal equipment.
In an embodiment, the processor 601 is further configured to perform data analysis on the state data according to a preset machine learning algorithm model, and obtain and/or output an activity level of the application; and determining a target application based on the active level and a preset rule.
In an embodiment, the processor 601 is further configured to rank the applications according to the active level, and obtain an application that is N before ranking as a target application, where N is an integer greater than 0; sequencing the applications according to the active levels, and acquiring the sequenced M applications as target applications, wherein M is an integer greater than 0; and acquiring a target application from the application according to the acquired selection instruction.
In an embodiment, the processor 601 is further configured to control the terminal device to adjust the application resource; and/or controlling and adjusting the resources of the target application; and/or controlling and adjusting resources of the non-target application.
In one embodiment, the processor 601 is further configured to detect whether a self-starting behavior exists in the application; if so, marking the application as an abnormal application.
In an embodiment, the processor 601 is further configured to invoke the output device 604 to output a preset window in a display interface, where the preset window shows identification information of each application and an activity level of each application, so that a user may select a target application from the applications based on the activity level of each application
In an embodiment, the processor 601 is further configured to, when it is detected that the display interface is in a closed state, invoke the output device 604 to output a prompt message, where the prompt message is used to prompt a user to view the display interface.
In an embodiment, the processor 601 is further configured to determine whether the temperature of the terminal device reaches a threshold temperature;
if so, controlling the terminal equipment to close at least one application so as to adjust resources; and/or, calling the output device 604 to output prompt information, and controlling the terminal device to close the application according to the feedback information to adjust the resource.
It should be understood that, in the embodiment of the present invention, the Processor 601 may be a Central Processing Unit (CPU), and the Processor 601 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete a hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 602 may include both read-only memory and random access memory and provides instructions and data to the processor 601. A portion of the memory 602 may also include non-volatile random access memory. For example, the memory 602 may also store device type information. The input device 603 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user), a microphone, a physical keyboard, etc., and the output device 604 may include a display (LCD, etc.), a speaker, etc.
In a specific implementation, the processor 601, the memory 602, the input device 603, and the output device 604 described in this embodiment of the present invention may execute the implementation described in the method embodiment shown in fig. 1 or fig. 3 provided in this embodiment of the present invention, and may also execute the implementation of the terminal device cooling device described in this embodiment of the present invention, which is not described herein again.
In another embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program comprising program instructions that when executed by a processor implement: detecting whether the temperature of the terminal equipment meets a preset temperature or not; if the preset temperature is met, acquiring the state data of the application; and adjusting the resources of the terminal equipment according to a preset strategy based on the state data so as to reduce the temperature of the terminal equipment.
The computer-readable storage medium may be an internal storage unit of the terminal device according to any of the foregoing embodiments, for example, a hard disk or a memory of the terminal device. The computer readable storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal device. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal device. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for cooling terminal equipment is characterized in that the method is applied to the terminal equipment, the terminal equipment comprises at least one application, and the method comprises the following steps:
s1, detecting whether the temperature of the terminal equipment meets a preset temperature or not;
s2, if the preset temperature is met, acquiring the state data of the application;
and S3, adjusting the resources of the terminal equipment according to a preset strategy based on the state data so as to reduce the temperature of the terminal equipment.
2. The method according to claim 1, wherein the step S3 includes:
performing data analysis on the state data according to a preset machine learning algorithm model, and acquiring and/or outputting the activity level of the application;
and determining a target application based on the active level and a preset rule.
3. The method of claim 2, wherein the preset rules comprise at least one of:
sorting the applications according to the active levels, and acquiring N applications before sorting as target applications, wherein N is an integer greater than 0;
sequencing the applications according to the active levels, and acquiring the sequenced M applications as target applications, wherein M is an integer greater than 0;
and acquiring a target application from the application according to the acquired selection instruction.
4. The method of any one of claims 1 to 3, wherein the pre-set policy comprises:
controlling the terminal equipment to adjust the application resources; and/or the presence of a gas in the gas,
controlling and adjusting the resources of the target application; and/or the presence of a gas in the gas,
and controlling and adjusting the resources of the non-target application.
5. The method according to claim 4, wherein after the step S3, the method further comprises:
detecting whether the application has self-starting behavior;
if so, marking the application as an abnormal application.
6. The method of claim 2 or 3, wherein outputting the activity level of the application comprises:
and outputting a preset window in a display interface, wherein the preset window displays identification information of each application and the active level of each application, so that a user can select a target application from each application based on the active level of each application.
7. The method of claim 6, wherein outputting the activity level of the application further comprises:
and when the display interface is detected to be in a closed state, outputting prompt information, wherein the prompt information is used for prompting a user to check the display interface.
8. The method of any one of claims 1 to 3, further comprising:
judging whether the temperature of the terminal equipment reaches a threshold temperature or not;
if so, controlling the terminal equipment to close at least one application so as to adjust resources; and/or the presence of a gas in the gas,
and outputting prompt information, and controlling the terminal equipment to close the application according to the feedback information so as to adjust resources.
9. A terminal device, characterized in that it comprises a processor and a memory, said processor and said memory being interconnected, wherein said memory is adapted to store a computer program comprising program instructions, said processor being configured to invoke said program instructions to perform the method according to any one of claims 1-8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1-8.
CN201911084433.9A 2019-11-07 2019-11-07 Terminal equipment cooling method and related equipment Pending CN110850941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911084433.9A CN110850941A (en) 2019-11-07 2019-11-07 Terminal equipment cooling method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911084433.9A CN110850941A (en) 2019-11-07 2019-11-07 Terminal equipment cooling method and related equipment

Publications (1)

Publication Number Publication Date
CN110850941A true CN110850941A (en) 2020-02-28

Family

ID=69599743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911084433.9A Pending CN110850941A (en) 2019-11-07 2019-11-07 Terminal equipment cooling method and related equipment

Country Status (1)

Country Link
CN (1) CN110850941A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468657A (en) * 2020-11-26 2021-03-09 厦门紫光展锐科技有限公司 Temperature control method and device of terminal equipment, storage medium and terminal equipment
CN114265487A (en) * 2021-11-26 2022-04-01 北京涌现数字科技有限公司 Temperature adjusting method and device, terminal equipment and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468657A (en) * 2020-11-26 2021-03-09 厦门紫光展锐科技有限公司 Temperature control method and device of terminal equipment, storage medium and terminal equipment
CN114265487A (en) * 2021-11-26 2022-04-01 北京涌现数字科技有限公司 Temperature adjusting method and device, terminal equipment and computer readable storage medium
CN114265487B (en) * 2021-11-26 2023-03-14 北京涌现数字科技有限公司 Temperature adjusting method and device, terminal equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106415296B (en) Adaptive battery life extension
JP5524117B2 (en) Power management based on automatic load detection
CN111078446B (en) Fault information acquisition method and device, electronic equipment and storage medium
CN109858558B (en) Method and device for training classification model, electronic equipment and storage medium
US20170285722A1 (en) Method for reducing battery consumption in electronic device
US11316971B2 (en) Method for controlling temperature of terminal, and terminal
EP3767488A1 (en) Method and device for processing untagged data, and storage medium
CN106990989B (en) Method and device for controlling application program installation
CN110850941A (en) Terminal equipment cooling method and related equipment
US20210406568A1 (en) Utilizing multiple stacked machine learning models to detect deepfake content
CN111816139A (en) Screen refresh rate switching method and electronic equipment
CN107943570B (en) Application management method and device, storage medium and electronic equipment
CN106775193A (en) A kind of Application Program Interface display methods and device
CN115525512A (en) Server fan control method and device and electronic equipment
CN110928600A (en) Cleaning method and device for terminal background application, mobile terminal and electronic equipment
CN111814181B (en) System authority authorization method and device, electronic equipment and storage medium
CN113055984B (en) Terminal control method and device, mobile terminal and storage medium
CN108959597A (en) User's space guard method, device, equipment and display terminal storage medium
CN112888026A (en) Redirection failure processing method and device, electronic equipment and readable storage medium
KR102301397B1 (en) Apparatus and method for controlling standby power of mobile terminal
CN112385199B (en) Display control method and related product
CN111176849A (en) Application program management method, device and storage medium
CN113992784A (en) Audio and video call method and device, computer equipment and storage medium
CN114461360A (en) Thread control method, thread control device, terminal and storage medium
CN114998068A (en) Learning plan generation method and electronic 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