Temperature control method and device, mobile terminal and storage medium
1. A temperature control method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring a first temperature value of an embedded negative temperature coefficient NTC and a second temperature value of a main board NTC;
calculating a temperature difference between the first temperature value and the second temperature value;
and executing temperature-related control operation based on the temperature difference value and at least one preset strategy.
2. The temperature control method of claim 1, wherein the predetermined strategy comprises a predetermined step response temperature control strategy comprising:
and carrying out graded response on the temperature difference.
3. The method of claim 2, wherein said step responding to said temperature difference comprises at least one of:
if the temperature difference belongs to a first temperature difference area, starting a first-level response;
if the temperature difference belongs to a second temperature difference area, starting a second-level response;
and if the temperature difference belongs to a third temperature difference area, starting a third-level response.
4. The temperature control method of any one of claims 1 to 3, wherein the predetermined strategy comprises a predetermined temperature compensation temperature control strategy, and wherein performing a temperature-dependent control operation based on the temperature difference and at least one predetermined strategy comprises:
and if the temperature difference is larger than a preset temperature difference threshold value, executing temperature-related control operation based on a preset temperature compensation temperature control strategy.
5. The temperature control method of claim 4, wherein the preset temperature compensation temperature control strategy comprises:
and if the main board NTC fault is determined and/or the first temperature value is smaller than or equal to the preset temperature value threshold, the temperature-related control operation is not executed.
6. A temperature control method according to any of claims 1 to 3, wherein the first temperature value comprises an ear temperature value and/or a hand temperature value.
7. The temperature control method of any one of claims 1 to 3, wherein the temperature-dependent control operation comprises at least one of:
limiting the core frequency of a central control unit (CPU) of the mobile terminal, limiting the using number of the CPU of the mobile terminal, limiting the magnitude of the charging current, limiting the brightness value of the backlight brightness, disabling the flash lamp and not responding to the temperature difference.
8. The temperature control device is characterized by comprising a CPU, an embedded NTC and a main board NTC;
the CPU is electrically connected with the embedded NTC and the main board NTC;
the embedded NTC is used for acquiring a first temperature value;
the main board NTC is used for collecting a second temperature value;
the CPU is used for executing temperature-related control operation according to the first temperature value, the second temperature value and a preset strategy.
9. A mobile terminal, characterized in that the mobile terminal comprises a memory, a processor and a temperature control program stored on the memory and executable on the processor, the temperature control program, when executed by the processor, implementing the steps of the temperature control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a temperature control program which, when executed by a processor, implements the steps of the temperature control method according to any one of claims 1 to 7.
Background
With the development of mobile terminals, people have higher and higher requirements on the mobile terminals, and especially, people have higher requirements on the use experience of the mobile terminals.
In the existing mobile terminal, an NTC (Negative Temperature Coefficient) is disposed on a PCB (Printed Circuit Board) Board of the mobile terminal for collecting the Temperature inside the mobile terminal, so that the Temperature of the mobile terminal is adjusted by the Temperature, and it can be understood that the mobile terminal generates heat to raise the Temperature of the mobile terminal in the using process, and the use of the mobile terminal is affected when the Temperature of the mobile terminal is too high and is hot.
In the course of conceiving and implementing the present application, the inventors found that at least the following problems existed:
the temperature inside the mobile terminal is too high to delay when the user perceives the too high temperature, so that the mobile terminal can not accurately control the cooling opportunity when automatically cooling, on one hand, the mobile phone performance can not be maximized due to the fact that the mobile terminal is cooled in advance, and on the other hand, the user experience can be reduced due to the fact that the mobile terminal is cooled after delay.
That is, the mobile terminal does not accurately control the cooling opportunity during cooling.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides a temperature control method, device, mobile terminal and storage medium, which improve the accuracy of controlling the cooling opportunity when the mobile terminal is cooling.
In order to solve the above technical problem, the present application provides a temperature control method applied to a mobile terminal, including:
acquiring a first temperature value of an embedded negative temperature coefficient NTC and a second temperature value of a main board NTC, wherein optionally, the embedded NTC can be arranged on a rear shell of the mobile terminal or other positions of the mobile terminal, and the main board NTC can be arranged on a main board of the mobile terminal or other positions of the mobile terminal;
calculating a temperature difference between the first temperature value and the second temperature value;
and executing temperature-related control operation based on the temperature difference value and at least one preset strategy.
Optionally, the preset strategy includes a preset graded response temperature control strategy, and the preset graded response temperature control strategy includes:
and carrying out graded response on the temperature difference.
Optionally, the step of responding to the temperature difference comprises at least one of:
if the temperature difference belongs to a first temperature difference area, starting a first-level response;
if the temperature difference belongs to a second temperature difference area, starting a second-level response;
and if the temperature difference belongs to a third temperature difference area, starting a third-level response.
Optionally, the preset strategy includes a preset temperature compensation temperature control strategy, and the executing of the temperature-related control operation based on the temperature difference and at least one preset strategy includes:
and if the temperature difference is larger than a preset temperature difference threshold value, executing temperature-related control operation based on a preset temperature compensation temperature control strategy.
Optionally, the preset temperature compensation temperature control strategy includes:
and if the main board NTC fault is determined and/or the first temperature value is smaller than or equal to the preset temperature value threshold, the temperature-related control operation is not executed.
Optionally, the first temperature value comprises an ear temperature value and/or a hand temperature value.
Optionally, the temperature dependent control operation comprises at least one of:
limiting the core frequency of a central control unit (CPU) of the mobile terminal, limiting the using number of the CPU of the mobile terminal, limiting the magnitude of the charging current, limiting the brightness value of the backlight brightness, disabling the flash lamp and not responding to the temperature difference.
The application also provides a temperature control device, which comprises a CPU, an embedded NTC and a main board NTC;
the CPU is electrically connected with the embedded NTC and the main board NTC;
the embedded NTC is used for acquiring a first temperature value;
the main board NTC is used for collecting a second temperature value;
the CPU is used for executing temperature-related control operation according to the first temperature value, the second temperature value and a preset strategy.
The present application further provides a mobile terminal, including: the temperature control system comprises a memory and a processor, wherein the memory stores a temperature control program, and the temperature control program realizes the steps of the method when being executed by the processor.
The present application also provides a computer storage medium having a computer program stored thereon, which, when being executed by a processor, carries out the steps of the method as described above.
As described above, the temperature control method of the present application is applied to a mobile terminal, and obtains a first temperature value of an embedded negative temperature coefficient NTC and a second temperature value of a motherboard NTC, optionally, the embedded NTC is disposed on a rear case of the mobile terminal, and the motherboard NTC is disposed on a motherboard of the mobile terminal; calculating a temperature difference between the first temperature value and the second temperature value; and executing temperature-related control operation based on the temperature difference value and at least one preset strategy. According to the embodiment, the cooling opportunity is determined through the temperature difference value, and the temperature-related control operation is executed through the preset strategy and the temperature difference value, so that the cooling purpose is realized, and the accuracy of the mobile terminal in controlling the cooling opportunity during cooling is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram illustrating a temperature control method according to a first embodiment;
fig. 4 is a schematic structural diagram of the temperature control device of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," A, B or C "or" A, B and/or C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S110 and S120 are used herein for the purpose of more clearly and briefly describing the corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S120 first and then S110 in the specific implementation, but these steps should be within the scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present application may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which 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 terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor that may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 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 fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, 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.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, other input devices 1072 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, and are not limited thereto.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, 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 109 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 processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are provided.
First embodiment
Referring to fig. 3, fig. 3 is a schematic flow chart of the first embodiment of the present application. The temperature control method comprises the following steps:
step S110, a first temperature value of the embedded negative temperature coefficient NTC and a second temperature value of the main board NTC are obtained, optionally, the embedded NTC is disposed on the rear case of the mobile terminal, and the main board NTC is disposed on the main board of the mobile terminal.
In this embodiment, a first temperature value provided by an embedded NTC disposed on a rear shell of a mobile terminal is obtained, and it can be understood that the embedded NTC, as disposed on the rear shell of the mobile terminal, can directly contact with the skin of a user of the mobile terminal, so as to directly obtain a temperature on the skin of the user contacting the mobile terminal, that is, the first temperature value is a temperature on the skin of the user; and acquiring a second temperature value provided by a main board NTC arranged on a main board of the mobile terminal, wherein the main board NTC can directly acquire the temperature on the hardware of the mobile terminal due to the main board arranged on the mobile terminal, namely the second temperature value is the temperature on the hardware of the mobile terminal.
It should be noted that the temperature can be obtained and controlled by the thermal frame in this embodiment.
It should be noted that, the NTC main board is disposed on the main board of the mobile terminal, and the purpose of the NTC main board is to protect the hardware, so as to avoid damage to the hardware due to over-high temperature, and the user experience when using the mobile terminal is not considered, it can be understood that the hardware can normally operate in an environment with higher temperature, and the higher temperature is higher than the temperature that the user can feel hot, so that even when the user has sensed that the mobile terminal has sensed hot, the temperature does not affect the hardware, and no measures are taken to solve the problem that the user feels hot, so that the temperature continues to rise. The embedded NTC is focused on solving the problem that the user feels hot, and specifically the solving process is as follows:
step S120, calculating a temperature difference value between the first temperature value and the second temperature value;
step S130, performing a temperature-related control operation based on the temperature difference and at least one preset strategy.
In the embodiment, the temperature difference between the first temperature value and the second temperature value is calculated, namely the temperature difference between the temperature on the mobile terminal hardware and the temperature which can be sensed by the skin of the user is determined; and executing temperature-related control operation according to the temperature difference and at least one preset strategy.
Optionally, the preset strategy includes a preset graded response temperature control strategy, and the preset graded response temperature control strategy includes:
and carrying out graded response on the temperature difference.
In this embodiment, different temperature difference values have different response strategies, that is, the preset graded response temperature control strategy performs graded response on different temperature difference values. It is understood that the degree of limitation of heat generation may be smaller when the temperature difference is smaller, and may be larger when the temperature difference is larger.
Optionally, the step of responding to the temperature difference comprises at least one of:
if the temperature difference belongs to a first temperature difference area, starting a first-level response;
if the temperature difference belongs to a second temperature difference area, starting a second-level response;
and if the temperature difference belongs to a third temperature difference area, starting a third-level response.
In this embodiment, the classification is performed according to the magnitude of the temperature difference, and optionally, if the temperature difference belongs to the first temperature difference region, a first-level response is started; if the temperature difference belongs to a second temperature difference area, starting a second-level response; and if the temperature difference belongs to the third temperature difference area, starting a third-level response.
For the first temperature difference region, the second temperature difference region and the third temperature difference region, the region division is based on different preset temperature thresholds, for example, the first temperature difference region is divided into 10 to 20 degrees, the second temperature difference region is divided into 20 to 30 degrees and the third temperature difference region is divided into 30 to 40 degrees by preset temperature thresholds of 20 degrees, 30 degrees and 40 degrees, the preset temperature thresholds can be set as required, and the embodiment is not particularly limited; optionally, the first level response, the second level response and the third level response correspond to different degrees of performance limitation of the mobile terminal, for example, the first level response corresponds to 10% of the performance limitation, the second level response corresponds to 20% of the performance limitation, and the third level response corresponds to 30% of the performance limitation. It will be appreciated that restricting performance affects user usage to a greater extent, and to a lesser extent. Therefore, the response to different temperature difference values is divided into the first level response, the second level response and the third level response, so that the influence of the response process on the use process of a user is reduced, and the user experience is improved.
In addition, the preset strategy comprises a preset temperature compensation temperature control strategy, and the executing of the temperature-related control operation based on the temperature difference value and at least one preset strategy comprises:
step a, if the temperature difference value is larger than a preset temperature difference value threshold value, executing temperature-related control operation based on a preset temperature compensation temperature control strategy.
In this embodiment, if the acquired temperature value provided by the NTC is an abnormal temperature value, for example, the second temperature value of the main board NTC is abnormal, that is, if the temperature difference value is greater than the preset temperature difference value threshold, it is indicated that a main board NTC fault occurs, and it needs to be noted that when the NTC fault (damage or abnormal connection) occurs, an abnormally high temperature value is acquired, so that the mobile terminal enters high-temperature protection; and for the embedded NTCs, a plurality of embedded NTCs are arranged on the rear shell of the mobile terminal, and even if a single embedded NTC fails, the use of other embedded NTCs is not affected, so that the normal control of the temperature can be ensured. It can be understood that the mode of jointly controlling the temperature through the multiple embedded NTCs and the main board NTC avoids the mobile terminal from entering high-temperature protection by mistake, thereby avoiding the influence on the normal use of the user.
And for the fault condition of the NTC of the main board, ignoring the second temperature value, and executing temperature-related control operation through the first temperature value and a preset temperature compensation temperature control strategy. Optionally, when the NTC of the motherboard has a fault, directly comparing the magnitude of the first temperature value with a preset temperature threshold, and if the first temperature value is greater than the preset temperature threshold, executing a temperature-related control operation based on a preset temperature compensation temperature control strategy; and/or if the first temperature value is smaller than or equal to the preset temperature threshold, not executing temperature-related control operation based on a preset temperature compensation temperature control strategy, namely the first temperature value is in a normal use range. Alternatively, the preset temperature threshold may be a temperature at which the user feels hot, for example, the preset temperature threshold is 55 degrees, and it should be noted that the user may continuously touch an object at 55 degrees, but may feel hot.
It should be noted that, even though the first temperature value obtained by the embedded NTC is lower than the second temperature value obtained by the NTC of the main board at the same time, the temperature difference between the first temperature value and the second temperature value is smaller than the temperature difference between the temperature when the hardware is damaged due to high temperature and the temperature when the user feels hot, and therefore, the hardware is not damaged by performing the temperature-dependent control operation only through the first temperature value.
Optionally, the preset temperature compensation temperature control strategy includes:
and if the main board NTC fault is determined and/or the first temperature value is smaller than or equal to the preset temperature value threshold, the temperature-related control operation is not executed.
In this embodiment, if it is determined that the NTC of the motherboard is faulty and/or the first temperature value is less than or equal to the preset temperature value threshold, the temperature-related control operation is not performed; and/or if the first temperature value is greater than the preset temperature value, executing temperature-related control operation.
Optionally, the first temperature value comprises an ear temperature value and/or a hand temperature value.
In this embodiment, the first temperature value obtained by the embedded NTC includes an ear temperature value and/or a hand temperature value. It can be understood that the ear temperature value is a temperature value of the ear of the user, and likewise, the hand temperature value is a temperature value of the hand of the user.
For the ear temperature value, the embedded NTC is disposed at a position where the ear temperature can be detected, and it can be understood that when the application scenario of the mobile terminal is that a user makes a call, an earphone of the mobile terminal may contact with the ear of the user, and therefore, the embedded NTC for detecting the ear temperature of the user is disposed at the earphone position of the rear case of the mobile terminal.
For the hand temperature value, the embedded NTC is arranged at a position where the temperature of the hand can be detected, and it can be understood that when the application scene of the mobile terminal is that the user erects the screen for holding (for example, the user uses the mobile terminal to browse a website), two side surfaces of the mobile terminal can contact with the fingers of the user, so that the embedded NTC for detecting the temperature of the hand of the user is arranged at the position of the side surface of the rear shell of the mobile terminal; when the application scene of the mobile terminal is a user holding across a screen (e.g., the user playing a game using the mobile terminal), the upper and lower portions of the mobile terminal may contact with the user's fingers or palm, and thus, the embedded NTC for detecting the temperature of the user's hand is disposed at the upper and/or lower portion of the rear case of the mobile terminal.
The embedded NTC set by the setting mode can acquire a hand temperature value or an ear temperature value of a user.
Optionally, the temperature dependent control operation comprises at least one of:
limiting the core frequency of a central control unit (CPU) of the mobile terminal, limiting the using number of the CPU of the mobile terminal, limiting the magnitude of the charging current, limiting the brightness value of the backlight brightness, disabling the flash lamp and not responding to the temperature difference.
In the present embodiment, the temperature-related control operation is related to an influence factor that causes a large amount of heat generation of the mobile terminal, and it can be understood that the influence factor includes a core frequency, a use amount, a charging current, a backlight, a flash lamp, and the like of a CPU (Central Processing Unit) of the mobile terminal. Optionally, the temperature-dependent control operation includes limiting a core frequency of a CPU of the mobile terminal, limiting a number of CPUs used in the mobile terminal, limiting a magnitude of the charging current, limiting a brightness value of the backlight brightness, disabling the flash, and not responding to the temperature difference. Optionally, the core frequency of the CPU of the mobile terminal is limited, the number of CPUs of the mobile terminal is limited, the magnitude of the charging current is limited, the brightness value of the backlight brightness is limited, and the temperature-related control operation corresponding to the flash is disabled, which aims to cool down the mobile terminal. For example, the core frequency of the CPU of the mobile terminal is limited to 90% of the core frequency, the core number of the CPU of the mobile terminal is limited to 50% of the core number, the charging current is limited to 90% of the original charging current, the backlight is limited to 80% of the original backlight, and the flash lamp is disabled.
In this embodiment, by obtaining a first temperature value of an embedded negative temperature coefficient NTC and a second temperature value of a main board NTC, optionally, the embedded NTC is disposed on a rear shell of the mobile terminal, and the main board NTC is disposed on a main board of the mobile terminal; calculating a temperature difference between the first temperature value and the second temperature value; and executing temperature-related control operation based on the temperature difference value and at least one preset strategy. According to the embodiment, the cooling opportunity is determined through the temperature difference value, and the temperature-related control operation is executed through the preset strategy and the temperature difference value, so that the cooling purpose is realized, and the accuracy of the mobile terminal in controlling the cooling opportunity during cooling is improved.
The present application also provides a temperature control apparatus, referring to fig. 4, which includes a CPU10, an embedded NTC20, and a motherboard NTC 30;
the CPU10 is electrically connected with the embedded NTC20 and the motherboard NTC 30;
the embedded NTC20 is used for collecting a first temperature value;
the main board NTC30 is used for collecting a second temperature value;
the CPU10 is configured to execute a temperature-related control operation according to the first temperature value, the second temperature value, and a preset policy.
In this embodiment, the CPU10 is electrically connected with the embedded NTC20 and the main board NTC30, and optionally, the embedded NTC20 is disposed on the rear case of the mobile terminal, and may be directly contacted with the skin of the user of the mobile terminal, for acquiring the temperature of the user contacting the skin of the mobile terminal, that is, for acquiring a first temperature value, where the first temperature value is the temperature on the skin of the user; the main board NTC30 is arranged on the main board of the mobile terminal and used for acquiring the temperature of the mobile terminal hardware, namely acquiring a second temperature value on the main board; the CPU10 is configured to perform a temperature-related control operation according to the first temperature value, the second temperature value, and a preset policy to control the temperature of the mobile terminal.
It should be noted that the temperature can be obtained and controlled by the thermal frame in this embodiment.
It should be noted that, the NTC30 is disposed on the main board of the mobile terminal, and the purpose of the NTC30 is to protect the hardware, so as to avoid damage to the hardware due to over-high temperature, regardless of the user's experience when using the mobile terminal, it can be understood that the hardware can normally operate in an environment with higher temperature, which is higher than the temperature that the user can feel hot, so that even when the user has sensed that the mobile terminal has sensed hot, the temperature does not affect the hardware, and no measures are taken to solve the problem that the user feels hot, which results in the temperature continuing to rise. While the embedded NTC20 is focused on solving the problem of the user feeling scalding.
The CPU10 in this embodiment is electrically connected with the embedded NTC20 and the motherboard NTC 30; the embedded NTC20 is used for collecting a first temperature value; the main board NTC30 is used for collecting a second temperature value; the CPU10 is configured to execute a temperature-related control operation according to the first temperature value, the second temperature value, and a preset policy. In the embodiment, the cooling opportunity is determined by the temperature difference value between the first temperature value and the second temperature value, and the temperature-related control operation is executed by the preset strategy and the temperature difference value, so that the cooling purpose is realized, and the control accuracy of the mobile terminal on the cooling opportunity is improved.
The application also provides a mobile terminal, which comprises a memory and a processor, wherein the memory is stored with a temperature control program, and the temperature control program is executed by the processor to realize the steps of the temperature control method in any embodiment.
The present application further provides a computer-readable storage medium, on which a temperature control program is stored, and the temperature control program, when executed by a processor, implements the steps of the temperature control method in any of the above embodiments.
In the embodiments of the mobile terminal and the computer-readable storage medium provided in the present application, all technical features of the embodiments of the temperature control method are included, and the expanding and explaining contents of the specification are basically the same as those of the embodiments of the method, and are not described herein again.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method in the above various possible embodiments.
Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.