CN109324941B - Temperature acquisition method, terminal and storage medium - Google Patents

Temperature acquisition method, terminal and storage medium Download PDF

Info

Publication number
CN109324941B
CN109324941B CN201710643346.7A CN201710643346A CN109324941B CN 109324941 B CN109324941 B CN 109324941B CN 201710643346 A CN201710643346 A CN 201710643346A CN 109324941 B CN109324941 B CN 109324941B
Authority
CN
China
Prior art keywords
temperature
sampling
terminal
temperatures
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710643346.7A
Other languages
Chinese (zh)
Other versions
CN109324941A (en
Inventor
马整平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201710643346.7A priority Critical patent/CN109324941B/en
Priority to PCT/CN2017/103223 priority patent/WO2019024204A1/en
Publication of CN109324941A publication Critical patent/CN109324941A/en
Application granted granted Critical
Publication of CN109324941B publication Critical patent/CN109324941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention discloses a temperature acquisition method, a terminal and a storage medium, wherein the method comprises the following steps: detecting the temperature of at least two sampling areas of the terminal; and determining the target temperature of the terminal according to the temperatures of at least two sampling areas.

Description

Temperature acquisition method, terminal and storage medium
Technical Field
The present invention relates to terminal technologies, and in particular, to a temperature acquisition method, a terminal, and a storage medium.
Background
With the rapid development of terminal technology, functions of terminals such as mobile phones and tablet computers are more and more comprehensive, correspondingly, devices arranged on the terminals are more and more, and data service rates of the terminals in working are faster and faster. Because the data service rate of the terminal is continuously improved, if the hardware component of the terminal continuously runs under high load, the situation that the terminal heats and the temperature is too high is caused, when the terminal continuously heats and the temperature is too high, the aging process of the terminal is accelerated, the service time of the terminal is shortened, and the terminal explosion result is seriously caused, so that the temperature of the terminal needs to be acquired, and the terminal can be effectively controlled according to the acquired temperature of the terminal. At present, the temperature of the terminal is often detected in real time through a temperature detection device arranged in the terminal, so that the terminal temperature is collected.
At present, the terminal often collects the temperature of the terminal through a temperature detection device, however, due to the fact that the layout of the existing terminal device is more and more dense, the working rate of the terminal is high, the heat dissipation of terminal hardware is limited, and the like, the condition that the temperature of a certain point of the terminal is very high but the temperature of the whole machine is not high is caused, and under the condition that the temperature of the whole machine of the terminal is relatively low and the temperature of a single monitoring temperature is instantaneously increased, the sampling temperature obtained through the existing terminal temperature collection method cannot reflect the overall heating condition of the terminal, that is, the existing terminal temperature collection method cannot scientifically and accurately obtain the temperature of the terminal.
Disclosure of Invention
The embodiment of the invention provides a temperature acquisition method, a terminal and a storage medium, which are used for detecting the temperature of at least two acquisition areas of the terminal, and determining a target temperature capable of reflecting the overall heating condition of the terminal according to the temperature of the at least two acquisition areas, so that the problem that the temperature of the terminal cannot be scientifically and accurately acquired when the temperature of other areas of the terminal is lower due to the fact that the internal temperature of part of preset hardware of the terminal is higher is effectively solved.
In order to achieve the above object, the technical solution of the embodiment of the present invention is as follows:
The embodiment of the invention provides a temperature acquisition method, which comprises the following steps:
detecting the temperature of at least two sampling areas of the terminal;
and determining the target temperature of the terminal according to the temperatures of the at least two sampling areas.
In the above solution, the determining the target temperature of the terminal according to the temperatures of the at least two sampling areas includes:
normalizing the temperatures of the at least two sampling areas to obtain at least two normalized temperatures; wherein the temperature of one sampling area corresponds to one normalized temperature;
acquiring at least two weight values corresponding to the at least two normalized temperatures; wherein one normalized temperature corresponds to one weight value;
and according to the at least two weight values, carrying out weighted calculation on the at least two normalized temperatures, and determining the target temperature of the terminal.
In the above solution, the obtaining at least two weight values corresponding to the at least two normalized temperatures includes:
and determining at least two weight values corresponding to the at least two normalized temperatures according to the corresponding relation between the preset weight values and the sampling areas and the at least two normalized temperatures corresponding to the temperatures of the at least two sampling areas.
In the above scheme, the detecting the temperature of at least two sampling areas of the terminal includes:
determining a first sampling area and a second sampling area in the at least two sampling areas according to a preset configuration rule; the first sampling area is an area provided with a plurality of temperature acquisition devices for detecting the first central temperature and the peripheral temperature of first preset hardware; the second sampling area is an area provided with a temperature acquisition device for detecting the second center temperature of second preset hardware;
detecting a first sampling temperature corresponding to the first sampling region and a second sampling temperature corresponding to the second sampling region respectively;
the first sampling temperature and the second sampling temperature are determined as temperatures of the at least two sampling regions.
In the above solution, the detecting the first sampling temperature corresponding to the first sampling area includes:
detecting the first central temperature and the peripheral temperature corresponding to a first sampling area;
determining a peripheral average temperature corresponding to the first sampling area according to the peripheral temperature;
determining a temperature difference value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature;
When the temperature difference value is smaller than or equal to a preset threshold value, determining the first center temperature as the first sampling temperature corresponding to the first sampling area;
and when the temperature difference is larger than the preset threshold, determining the first sampling temperature corresponding to the first sampling area according to the first central temperature and the peripheral average temperature.
In the above solution, determining the first sampling temperature corresponding to the first sampling area according to the first center temperature and the peripheral average temperature includes:
determining a temperature average value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature;
and determining the temperature average value as the first sampling temperature corresponding to the first sampling area.
In the above solution, the detecting the second sampling temperature corresponding to the second sampling area includes:
and detecting the second center temperature corresponding to the second sampling area, and determining the second center temperature as a second sampling temperature corresponding to the second sampling area.
In the above solution, after determining the target temperature of the terminal according to the temperatures of the at least two sampling areas, the method further includes:
And adjusting the running state of the terminal according to the target temperature of the terminal and a preset temperature control threshold value so as to control the temperature.
The embodiment of the invention provides a terminal, which comprises: a detection unit, a determination unit,
the detection unit is used for detecting the temperature of at least two sampling areas of the terminal;
and the determining unit is used for determining the target temperature of the terminal according to the temperatures of the at least two sampling areas.
In the above aspect, the detection unit includes: the acquisition subunit, the calculation subunit,
the obtaining subunit is configured to normalize the temperatures of the at least two sampling areas to obtain at least two normalized temperatures; wherein the temperature of one sampling area corresponds to one normalized temperature; acquiring at least two weight values corresponding to the at least two normalized temperatures; wherein one normalized temperature corresponds to one weight value;
the calculating subunit is used for carrying out weighted calculation on the at least two normalized temperatures according to the at least two weight values to determine the target temperature of the terminal;
the obtaining subunit is specifically configured to determine at least two weight values corresponding to the at least two normalized temperatures according to a corresponding relation between a preset weight value and a sampling area and at least two normalized temperatures corresponding to temperatures of the at least two sampling areas.
In the above aspect, the detection unit further includes: a determination subunit, a detection subunit,
the determining subunit is configured to determine a first sampling area and a second sampling area in the at least two sampling areas according to a preset configuration rule; the first sampling area is an area provided with a plurality of temperature acquisition devices for detecting the first central temperature and the peripheral temperature of first preset hardware; the second sampling area is an area provided with a temperature acquisition device for detecting the second center temperature of second preset hardware;
the detection subunit is used for respectively detecting a first sampling temperature corresponding to the first sampling area and a second sampling temperature corresponding to the second sampling area;
the determining subunit is further configured to determine the first sampling temperature and the second sampling temperature as temperatures of the at least two sampling areas;
the detection subunit is specifically configured to detect the first central temperature and the peripheral temperature corresponding to a first sampling area; detecting the second center temperature corresponding to the second sampling area;
the determining subunit is specifically configured to determine, according to the peripheral temperature, a peripheral average temperature corresponding to the first sampling area; determining a temperature difference value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature; when the temperature difference value is smaller than or equal to a preset threshold value, determining the first center temperature as the first sampling temperature corresponding to the first sampling area; when the temperature difference value is larger than the preset threshold value, determining the first sampling temperature corresponding to the first sampling area according to the first central temperature and the peripheral average temperature; and determining the second center temperature as a second sampling temperature corresponding to the second sampling region;
The determining subunit is specifically configured to determine, according to the first central temperature and the peripheral average temperature, a temperature average value corresponding to the first sampling area; and determining the temperature average value as the first sampling temperature corresponding to the first sampling area.
In the above scheme, the terminal further includes: an adjusting unit, which is used for adjusting the adjusting unit,
the adjusting unit is used for adjusting the running state of the terminal according to the target temperature of the terminal and a preset temperature control threshold value so as to control the temperature.
The embodiment of the invention provides a terminal, which comprises a processor and a memory, wherein the memory stores instructions executable by the processor, and when the instructions are executed, the processor performs the following operations:
the processor is used for detecting the temperature of at least two sampling areas of the terminal; and determining the target temperature of the terminal according to the temperatures of the at least two sampling areas.
An embodiment of the present invention provides a computer readable storage medium having stored thereon a program for use in a terminal, the program when executed by a processor implementing a method according to any of claims 1-8.
Therefore, the embodiment of the invention provides a temperature acquisition method, a terminal and a storage medium, and the temperature of at least two sampling areas of the terminal is detected; and determining the target temperature of the terminal according to the temperatures of at least two sampling areas. That is, the temperature acquisition method, the terminal and the storage medium provided by the embodiment of the invention can detect the temperatures of at least two acquisition areas of the terminal, and then determine a target temperature capable of reflecting the overall heating condition of the terminal according to the temperatures of the at least two acquisition areas, thereby effectively solving the problem that the terminal temperature cannot be scientifically and accurately acquired when the temperatures of other areas of the terminal are lower due to the fact that the internal temperature of part of preset hardware of the terminal is higher
Drawings
Fig. 1 is a schematic diagram of an implementation flow of a temperature acquisition method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a temperature acquisition scheme according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a second implementation flow of a temperature acquisition method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a third implementation flow of a temperature acquisition method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a temperature normalization processing principle according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an implementation flow chart of a temperature acquisition method according to an embodiment of the present invention;
fig. 7 is a schematic diagram of an implementation flow chart of a temperature acquisition method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an implementation flow chart of a temperature acquisition method according to an embodiment of the present invention;
fig. 9 is a schematic diagram seventh of an implementation flow of a temperature acquisition method according to an embodiment of the present invention;
fig. 10 is a schematic diagram eighth implementation flow chart of a temperature acquisition method according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a second component structure of the terminal according to the embodiment of the present invention;
fig. 13 is a schematic diagram III of a composition structure of a terminal according to an embodiment of the present invention;
Fig. 14 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present invention;
fig. 15 is a schematic diagram of a composition structure of a terminal 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 accompanying drawings in the embodiments of the present invention.
Example 1
Fig. 1 is a schematic implementation flow diagram of a temperature acquisition method according to an embodiment of the present invention, as shown in fig. 1, in an embodiment of the present invention, a method for performing temperature acquisition by a terminal may include the following steps:
and 101, detecting the temperature of at least two sampling areas of the terminal.
In the embodiment of the invention, the terminal can firstly acquire at least two temperatures of at least two sampling areas corresponding to at least two preset hardware in the terminal. Each preset hardware has a sampling area corresponding to the preset hardware, and each sampling area has a temperature corresponding to the sampling area, that is, each preset hardware corresponds to a temperature, for example, preset hardware a corresponds to temperature a and preset hardware B corresponds to temperature B. Further, in an embodiment of the present invention, the terminal may include a plurality of terminals such as a mobile phone, a tablet computer, and the like, in which a temperature acquisition module is disposed in a sampling area corresponding to a plurality of preset hardware.
It should be noted that, in the embodiment of the present invention, the preset hardware may be related preset hardware in the terminal that needs to perform temperature control, for example, a Power Amplifier (PA), a central processing unit (Central Processing Unit, CPU), a voltage management chip (PMIC), a crystal oscillator, an Analog-to-digital converter (ADC) chip, a wireless local area network (Wireless Local Area Networks, WLAN) chip, a global positioning system (Global Positioning System, GPS) chip, a liquid crystal display (Liquid Crystal Display, LCD), and a graphics processor (Graphics Processing Unit, GPU) in the terminal. Further, in the embodiment of the present invention, the terminal may acquire the temperature of the sampling area corresponding to the preset hardware through the temperature acquisition device disposed in the preset hardware area, for example, the terminal may acquire the temperature corresponding to the PMIC through the temperature sensor disposed in the sampling area corresponding to the PMIC.
Further, in the embodiment of the present invention, fig. 2 is a schematic diagram of a temperature acquisition scheme provided in the embodiment of the present invention, as shown in fig. 2, DC is a direct current power supply, LDO is generally provided in a circuit to supply power, the ripple of power supply is small, R is a voltage dividing resistor, and RT is a thermistor. Specifically, as the temperature changes, the RT resistance changes, and accordingly, the voltage at the I/O terminal changes, and the ADC samples different voltages corresponding to different temperatures, thereby completing the temperature acquisition.
And 102, determining the target temperature of the terminal according to the temperatures of at least two sampling areas.
In the embodiment of the invention, after acquiring at least two temperatures corresponding to at least two sampling areas, the terminal may acquire a target temperature of the terminal according to the temperatures of the at least two sampling areas and a preset linkage temperature acquisition rule. The target temperature is a terminal temperature for temperature control, and the preset linkage temperature acquisition rule is used for determining one target temperature in a linkage mode according to a plurality of temperatures corresponding to a plurality of sampling areas.
Further, in the embodiment of the present invention, the terminal may obtain the target temperature according to the temperatures of the at least two sampling areas and the preset linkage temperature acquisition rule. The target temperature is a temperature capable of reflecting the overall heating condition of the terminal, and the terminal can control the temperature according to the target temperature.
Further, in the embodiment of the present invention, the preset linkage temperature acquisition rule is used to determine the target temperature according to the temperatures of the at least two sampling areas, so that the terminal can perform temperature control according to the target temperature. Specifically, in the embodiment of the present invention, the preset linkage temperature acquisition rule may normalize the temperatures of the at least two sampling areas, and then perform weighted calculation on the normalized temperatures, so as to obtain a target temperature.
In the embodiment of the invention, the terminal can control the importance degree of each preset hardware by setting different weights for different preset hardware, and a higher weighting coefficient is allocated to the preset hardware needing to be focused, so that the flexibility and the universality of temperature acquisition can be improved. For example, when weight values are set for PA and PMIC in the terminal, since the PA has a larger operating power when the terminal operates, and accordingly, the PA has a larger influence on the terminal temperature, and important attention needs to be paid to the PA, and therefore, a higher weight value needs to be assigned to the PA, then the terminal may configure the weight value of the PA to be 0.8 and the weight value of the PMIC to be 0.2.
In an embodiment of the present invention, further, fig. 3 is a schematic diagram showing a implementation flow chart of a temperature acquisition method according to an embodiment of the present invention, as shown in fig. 3, in an embodiment of the present invention, after a terminal acquires a target temperature, that is, after step 102, the method for performing temperature acquisition by the terminal may further include the following steps:
and 103, adjusting the running state of the terminal according to the target temperature and a preset temperature control threshold value so as to control the temperature.
In the embodiment of the invention, after the terminal acquires the target temperature according to the temperature of at least two sampling areas and the preset linkage temperature acquisition rule, the terminal can adjust the running state of the terminal according to the target temperature and the preset temperature control threshold value, so as to control the temperature of the terminal.
Further, in a specific embodiment of the present invention, the terminal may adjust the operation state of the terminal according to the target temperature and the preset temperature control threshold, which may include various adjustment methods, for example, the terminal may reduce the operation rate, or reduce the operation efficiency, or may directly turn off the terminal, so as to control the temperature of the terminal.
The embodiment of the invention provides a temperature acquisition method, which is used for detecting the temperatures of at least two sampling areas of a terminal; and determining the target temperature of the terminal according to the temperatures of at least two sampling areas. That is, according to the temperature acquisition method provided by the embodiment of the invention, the target temperature capable of reflecting the overall heating condition of the terminal is determined according to the temperatures of at least two sampling areas of the terminal, so that the problem that the temperature of the terminal cannot be scientifically and accurately acquired when the temperature of other areas of the terminal is relatively low due to the fact that the internal temperature of part of preset hardware of the terminal is relatively high is effectively solved.
Example two
Fig. 4 is a schematic diagram of a third implementation flow of a temperature acquisition method according to an embodiment of the present invention, as shown in fig. 4, based on the first embodiment of the present invention, further, in an embodiment of the present invention, a method for acquiring a target temperature by a terminal according to at least two sampling temperatures may include the following steps:
102a, carrying out normalization processing on the temperatures of at least two sampling areas to obtain at least two normalized temperatures; wherein the temperature of one sampling region corresponds to one normalized temperature.
In the embodiment of the present invention, after acquiring temperatures corresponding to at least two sampling areas, the terminal may perform normalization processing on the temperatures corresponding to the at least two sampling areas, and then acquire at least two normalized temperatures corresponding to the at least two sampling areas. After normalizing a temperature of a sampling area corresponding to a preset hardware, a normalized temperature corresponding to the temperature of the sampling area, that is, a normalized temperature corresponding to the temperature of the sampling area, may be obtained.
Further, in the embodiment of the present invention, fig. 5 is a schematic diagram of a temperature normalization processing principle provided in the embodiment of the present invention, and as shown in fig. 5, a principle that a terminal normalizes temperatures may be that the terminal normalizes different temperatures corresponding to different sampling areas to an area point serving as a reference, where a specific method may include the following procedures: the terminal may first determine the reference temperature T refer Reference temperature T base Then, according to the temperature T corresponding to one sampling area obj And T base Calculating T corresponding to the sampling area obj At T base Corresponding sampling temperature T to be normalized obj_base For T obj_base Normalized to obtain T obj Corresponding normalized temperature T amend
Specifically, in the embodiment of the present invention, the above reference temperature T refer Can choose room temperature, T amend Can be obtained by calculation of the formula (1),
Figure BDA0001366343510000091
in the embodiment of the invention, the terminal normalizes the temperatures of at least two sampling areas to obtain at least two normalized temperatures corresponding to the temperatures of at least two sampling areas, so that the temperature areas can be expanded, the whole temperature of the terminal can be reflected, and compared with the simpler single-point peak temperature, the normalized temperature after normalization can enable the linkage temperature acquisition rule to be more scientific and reasonable and be closer to the actual situation.
102b, acquiring at least two weight values corresponding to at least two normalized temperatures; wherein one normalized temperature corresponds to one weight value.
In the embodiment of the present invention, after normalizing the temperatures of at least two sampling areas, the terminal obtains at least two normalized temperatures corresponding to the temperatures of at least two sampling areas, and may determine at least two weight values corresponding to the at least two sampling areas according to a preset relationship between the weight values and the sampling areas, and the at least two sampling areas. Each sampling region has a weight corresponding to the sampling region, that is, the sampling region a corresponds to the weight a and the sampling region B corresponds to the weight B.
It should be noted that, in the embodiment of the present invention, each sampling area has one weight value corresponding to the sampling area, and the sum of all the weight values corresponding to all the sampling areas is 1.
It should be noted that, in the embodiment of the present invention, the terminal may obtain one normalized temperature corresponding to one temperature after performing normalization processing on one temperature corresponding to one sampling area, that is, the terminal may obtain one normalized temperature corresponding to one sampling area. Meanwhile, the terminal can determine a weight value corresponding to one sampling area according to the corresponding relation between the preset weight value and the sampling area, and then the terminal can establish the corresponding relation between the normalized temperature of the one sampling area and the weight value. For example, the normalized temperature corresponding to the sampling area a is the normalized temperature a, and meanwhile, the weight value corresponding to the sampling area a is 0.45, so that the terminal can establish the corresponding relationship between the normalized temperature and the weight value of the sampling area a, that is, the weight value corresponding to the normalized temperature a is 0.45.
And 102c, carrying out weighted calculation on at least two normalized temperatures according to at least two weight values, and determining the target temperature of the terminal.
In the embodiment of the invention, after determining at least two weight values corresponding to at least two sampling areas, the terminal can perform weighted calculation on at least two normalized temperatures according to the at least two weight values, and finally, a target temperature can be obtained, wherein the target temperature is a reference standard for temperature control of the terminal.
Further, in an embodiment of the present invention, the terminal may normalize the temperatures by mathematical calculationAnd performing weighted calculation to obtain the target temperature. Specifically, in the embodiment of the present invention, the terminal obtains the normalized temperature a corresponding to the sampling area a, the normalized temperature B corresponding to the sampling area B, and the normalized temperature C corresponding to the sampling area C, and the terminal obtains the weight value 0.5 corresponding to the sampling area a, the weight value 0.2 corresponding to the sampling area B, and the weight value 0.3 corresponding to the sampling area C according to the preset weight value and the corresponding relation of the sampling area, so that the terminal can calculate and obtain the target temperature T through the formula (2) target
T target =0.5A+0.2B+0.3C (2)
As can be seen from the above description, through the steps 102a to 102c, the terminal may normalize the temperatures of at least two sampling regions to obtain at least two normalized temperatures; wherein the temperature of one sampling area corresponds to one normalized temperature; acquiring at least two weight values corresponding to at least two normalized temperatures; wherein one normalized temperature corresponds to one weight value; according to the at least two weight values, weighting calculation is carried out on the at least two normalized temperatures, and the target temperature of the terminal is determined; therefore, the temperatures of the sampling areas can be formed into a target temperature capable of reflecting the overall heating condition of the terminal according to a preset linkage temperature acquisition rule by adopting a multichannel temperature linkage control method.
Example III
Fig. 6 is a schematic diagram of an implementation flow chart of a temperature acquisition method according to an embodiment of the present invention, as shown in fig. 6, based on the first embodiment of the present invention, in an embodiment of the present invention, a method for acquiring at least two temperatures corresponding to at least two sampling areas by a terminal may include the following steps:
step 101a, determining a first sampling area and a second sampling area in at least two sampling areas according to a preset configuration rule.
In the embodiment of the invention, the terminal determines a first sampling area and a second sampling area in at least two sampling areas according to a preset configuration rule. Specifically, in the embodiment of the present invention, the first sampling area is a sampling area in which at least two temperature acquisition devices are configured in a terminal; the second sampling area is a sampling area in which only one temperature acquisition device is configured in the terminal.
It should be noted that, in the embodiment of the present invention, the first sampling area is an area configured with a plurality of temperature acquisition devices that detect the first center temperature and the peripheral temperature of the first preset hardware; the second sampling region is a region configured with one temperature acquisition device that detects a second center temperature of a second preset hardware.
It should be noted that, in the embodiment of the present invention, the above-mentioned preset configuration rule may configure a configuration rule of a temperature acquisition device for a hardware device in a terminal, specifically, for different hardware devices, the terminal may select to configure different temperature acquisition devices, the terminal may select to configure a plurality of temperature acquisition devices for a sampling area of a preset hardware having rapid heat to perform temperature acquisition on the preset hardware, and at the same time, the terminal may select to configure one temperature acquisition device for a sampling area of a preset hardware not having rapid heat to perform temperature acquisition on the preset hardware. For example, for PA, because PA has the condition of rapid heating, the terminal can be provided with a plurality of temperature acquisition devices at the periphery of the PA central area besides configuring one temperature acquisition device at the central area of PA, thereby effectively avoiding the defects that the data model is simple and the temperature and heating condition of the terminal cannot be reflected scientifically and reasonably due to the rapid heating single-point peak value of the local point of the terminal; accordingly, for the PMIC, since the PMIC does not have a rapid heating, the terminal configures only one temperature acquisition device at a central area of the PMIC to perform temperature acquisition of the PMIC.
Step 101b, detecting a first sampling temperature corresponding to the first sampling region and a second sampling temperature corresponding to the second sampling region respectively.
In the embodiment of the invention, after determining the first sampling area in the at least two sampling areas according to the preset configuration rule, the terminal can acquire the first sampling temperature corresponding to the first sampling area and can also acquire the second sampling temperature corresponding to the second sampling area.
Further, in the embodiment of the present invention, since the first sampling area is a sampling area in which at least two temperature acquisition devices are configured in the terminal, the terminal may determine a first sampling temperature corresponding to the first sampling area according to at least two temperatures acquired by at least two temperature acquisition devices corresponding to the first sampling area; meanwhile, the second sampling area is a sampling area in which only one temperature acquisition device is configured in the terminal, so that the terminal can determine the second sampling temperature corresponding to the second sampling area according to one temperature acquired by one temperature acquisition device corresponding to the second sampling area.
Step 101c, determining the first sampling temperature and the second sampling temperature as temperatures of at least two sampling areas.
In the embodiment of the present invention, after acquiring a first sampling temperature corresponding to a first sampling area and a second sampling temperature corresponding to a second sampling area, a terminal may determine the first sampling temperature and the second sampling temperature as temperatures of at least two sampling areas.
As can be seen from the above description, through the steps 101a to 101c, the terminal may determine the first sampling area and the second sampling area in the at least two sampling areas according to a preset configuration rule; detecting a first sampling temperature corresponding to the first sampling region and a second sampling temperature corresponding to the second sampling region respectively; determining a first sampling temperature and a second sampling temperature as temperatures of at least two sampling areas; therefore, the target temperature of the terminal can be determined according to the temperatures of the sampling areas by adopting a multichannel temperature linkage control method, and then the temperature of the whole machine can be controlled according to the target temperature, so that the function of multichannel temperature linkage control of the temperature of the terminal is realized.
Example IV
Fig. 7 is a schematic diagram of a fifth implementation flow of a temperature acquisition method according to an embodiment of the present invention, as shown in fig. 7, based on the third embodiment, in an embodiment of the present invention, a method for detecting a first sampling temperature corresponding to a first sampling area by a terminal may include the following steps:
Step 101b1, detecting a first central temperature and a peripheral temperature corresponding to the first sampling area.
In the embodiment of the invention, after determining the first sampling area in the at least two sampling areas according to the preset configuration rule, the terminal may acquire a first central temperature and a peripheral temperature corresponding to the first sampling area, and then the terminal may determine the first sampling temperature corresponding to the first preset hardware according to the first central temperature and the peripheral temperature.
Further, in the embodiment of the present invention, for a first sampling area corresponding to preset hardware having rapid heat generation, the terminal may acquire a first center temperature and a peripheral temperature corresponding to the first sampling area through a plurality of temperature acquisition devices configured in the first sampling area.
It should be noted that, in the embodiment of the present invention, the first central temperature is a real-time temperature obtained by a temperature acquisition device configured in a preset hardware central area, and correspondingly, the peripheral temperature is a real-time temperature obtained by at least one temperature acquisition device configured in a periphery of the preset hardware central area.
Further, in the embodiment of the invention, after the terminal obtains the first central temperature and the peripheral temperature corresponding to the first sampling area, the first sampling temperature corresponding to the first preset hardware can be determined by combining the first central temperature and the peripheral temperature, so that the defect that the temperature and the heating condition of the terminal cannot be reflected scientifically and reasonably due to rapid heating of the first preset hardware can be effectively avoided.
Step 101b2, determining the peripheral average temperature corresponding to the first sampling area according to the peripheral temperature.
In the embodiment of the present invention, after obtaining the first central temperature and the peripheral temperature corresponding to the first sampling area, the terminal may first perform average calculation on the peripheral temperature to obtain the peripheral average temperature of the first sampling area.
It should be noted that, the terminal is configured with at least one temperature acquisition device at the periphery of the central area of one first sampling area, and then the terminal can acquire at least one peripheral temperature through the at least one temperature acquisition device. When the terminal acquires one peripheral temperature, the terminal can consider the one peripheral temperature as the peripheral average temperature corresponding to the one first sampling area, and correspondingly, when the terminal acquires a plurality of peripheral temperatures, the terminal can perform average calculation on the plurality of peripheral temperatures, so as to obtain the peripheral average temperature corresponding to the one first sampling area.
Step 101b3, determining a temperature difference value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature.
In the embodiment of the invention, after the terminal performs average calculation on the peripheral average temperature to obtain the peripheral average temperature, the terminal may perform subtraction calculation on the first center temperature and the peripheral average temperature to obtain a difference result between the first center temperature and the peripheral average temperature. For example, when the terminal obtains a first central temperature of 28 ° and a peripheral average temperature of 20 ° of a sampling area, the terminal performs subtraction on the first central temperature and the peripheral average temperature to obtain a difference result of 3 °.
Step 101b4, when the temperature difference is less than or equal to a preset threshold, determining the first center temperature as a first sampling temperature corresponding to the first sampling region.
In the embodiment of the present invention, after subtracting the first central temperature and the peripheral average temperature to obtain the difference result, if the difference result is less than or equal to the preset threshold, the terminal may determine that the first central temperature is the first sampling temperature.
It should be noted that, in the embodiment of the present invention, the terminal may preset an upper limit of the difference, that is, the preset threshold, so that the terminal determines whether the difference result between the first central temperature and the peripheral average temperature meets the normal heating condition according to the preset threshold, thereby effectively eliminating the situation that the sampling temperature corresponding to the first sampling area is high due to the fact that the internal temperature of preset hardware in the first sampling area is high in a short time, and heat is not diffused and is transferred uniformly.
Further, in the embodiment of the present invention, the terminal compares the difference result with the preset threshold, and when it is determined that the difference result is less than or equal to the preset threshold, that is, it is determined that the difference result between the first center temperature and the peripheral average temperature meets the normal heating condition, then the terminal may determine that the first center temperature is the first sampling temperature.
It should be noted that, in the embodiment of the present invention, since the first central temperature is obtained by the terminal through a temperature acquisition device configured in the central area of the preset hardware, the real-time temperature corresponding to the preset hardware can be reflected more accurately, so that when it is determined that the difference result between the first central temperature and the peripheral average temperature accords with the normal heating condition, that is, when the situation that the internal temperature of the preset hardware is relatively high in a short time and the sampling temperature corresponding to the first sampling area caused by heat diffusion and balanced transfer is not present, the terminal can consider the first central temperature as the first sampling temperature.
Step 101b5, when the temperature difference is greater than a preset threshold, determining a first sampling temperature corresponding to the first sampling region according to the first central temperature and the peripheral average temperature.
In the embodiment of the invention, after subtracting the first central temperature and the peripheral average temperature to obtain the difference result, if the difference result is greater than a preset threshold, the terminal needs to determine the first sampling temperature according to the first central temperature and the peripheral average temperature.
Further, in the embodiment of the present invention, the terminal compares the difference result with the preset threshold, and when it is determined that the difference result is greater than the preset threshold, that is, it is determined that the difference result between the first central temperature and the peripheral average temperature does not conform to the normal heating condition, then the terminal further needs to determine the first sampling temperature according to the first central temperature and the peripheral average temperature.
It should be noted that, in the embodiment of the present invention, since the first central temperature is acquired by the terminal through a temperature acquisition device configured in the central area of the preset hardware, the real-time temperature corresponding to the preset hardware can be reflected more accurately, however, in the case that the difference result between the first central temperature and the peripheral average temperature is determined to be inconsistent with the normal heating condition, that is, in the case that the internal temperature of the preset hardware is relatively high in a short time, and the sampling temperature corresponding to the first sampling area caused by heat not yet being diffused and balanced in transmission is relatively high, the terminal may not directly determine the first central temperature as the first sampling temperature, but needs to determine the first sampling temperature according to the first central temperature and the peripheral average temperature.
As can be seen from the above description, through the steps 101b1 to 101b5, the terminal can detect the first central temperature and the peripheral temperature corresponding to the first sampling area; determining the peripheral average temperature corresponding to the first sampling area according to the peripheral temperature; determining a temperature difference value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature; when the temperature difference value is smaller than or equal to a preset threshold value, determining a first center temperature as a first sampling temperature corresponding to a first sampling area; when the temperature difference is larger than a preset threshold, determining a first sampling temperature corresponding to a first sampling area according to the first central temperature and the peripheral average temperature; therefore, the condition that the first sampling temperature corresponding to the first sampling area is higher due to the fact that the internal temperature of preset hardware is higher in a short time, and heat is not diffused and balanced in transmission can be effectively eliminated.
Example five
Fig. 8 is a schematic diagram of an implementation flow chart of a temperature acquisition method according to an embodiment of the present invention, as shown in fig. 8, based on the third embodiment, in an embodiment of the present invention, a method for detecting a second sampling temperature corresponding to a second sampling area by a terminal may include the following steps:
step 101b6, detecting a second center temperature corresponding to the second sampling area, and determining the second center temperature as a second sampling temperature corresponding to the second sampling area.
In the embodiment of the present invention, after determining the second sampling region in the at least two sampling regions according to the preset configuration rule, the terminal may acquire a second center temperature corresponding to the second sampling region, and then the terminal may determine the second center temperature as the second sampling temperature corresponding to the second sampling region.
Further, in the embodiment of the present invention, for the preset hardware without rapid heating, the terminal may obtain the second center temperature corresponding to the second sampling area through a temperature acquisition device configured in the center area of the preset hardware. It should be noted that, in the embodiment of the present invention, the second center temperature is a real-time temperature obtained by a temperature acquisition device configured in the preset hardware center area.
Further, in the embodiment of the present invention, after the terminal acquires the second center temperature corresponding to the second sampling area, since only one temperature acquisition device is configured in the second sampling area, correspondingly, only one second center temperature can be acquired, and then the terminal can determine the second center temperature as the second sampling temperature corresponding to the second sampling area.
The embodiment of the invention provides a temperature acquisition method, which is used for detecting the temperatures of at least two sampling areas of a terminal; and determining the target temperature of the terminal according to the temperatures of at least two sampling areas. That is, according to the temperature acquisition method provided by the embodiment of the invention, the target temperature capable of reflecting the overall heating condition of the terminal is determined according to the temperatures of at least two sampling areas of the terminal, so that the problem that the temperature of the terminal cannot be scientifically and accurately acquired when the temperature of other areas of the terminal is relatively low due to the fact that the internal temperature of part of preset hardware of the terminal is relatively high is effectively solved.
Example six
Fig. 9 is a schematic diagram seventh of an implementation flow of a temperature acquisition method according to an embodiment of the present invention, as shown in fig. 9, based on a fourth embodiment, in an embodiment of the present invention, a method for determining a first sampling temperature by a terminal according to a first center temperature and a peripheral average temperature may include the following steps:
Step 101b51, determining a temperature average value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature.
In the embodiment of the invention, when the difference result of the first central temperature and the peripheral average temperature is greater than the preset threshold, the terminal may perform average calculation on the first central temperature and the peripheral average temperature, and then obtain an average calculation result of the first central temperature and the peripheral average temperature.
The peripheral average temperature is obtained by performing average calculation on the peripheral temperature corresponding to the first sampling area, so that the average value calculation result of the first central temperature and the peripheral average temperature of the first sampling area is the average value calculation result of the first central temperature and the peripheral temperature of the first sampling area.
Step 101b52, determining the average temperature value as the first sampling temperature corresponding to the first sampling area.
In the embodiment of the invention, after the terminal calculates the average value of the first central temperature and the peripheral average temperature to obtain the average value of the temperatures, the average value calculation result can be determined to be the first sampling temperature of the first sampling area, so that the defect that the first sampling temperature obtained under the condition that the internal temperature of preset hardware is high in a short time and the heat is not diffused is overcome.
As can be seen from the above description, through the steps 101b51 to 101b52, the terminal determines the temperature average value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature; determining the average temperature value as a first sampling temperature corresponding to the first sampling area; therefore, the condition that the first sampling temperature corresponding to the first sampling area is higher due to the fact that the internal temperature of preset hardware is higher in a short time, and heat is not diffused and balanced in transmission can be effectively eliminated.
Example seven
Fig. 10 is a schematic implementation flow diagram of a temperature acquisition method according to an embodiment of the present invention, as shown in fig. 10, based on the first embodiment of the present invention, in an embodiment of the present invention, a method for adjusting an operating state of a terminal to perform temperature control according to a target temperature and a preset temperature control threshold value, may include the following steps:
and 103a, when the target temperature is greater than or equal to a preset temperature control threshold, reducing the operation rate and the operation power, and reducing the temperature of at least two sampling areas.
In the embodiment of the invention, after obtaining the target temperature, if the target temperature is determined to be greater than or equal to the preset temperature control threshold, the terminal can reduce the operation rate and the operation power, so that the temperature of at least two sampling areas can be reduced.
Further, in the embodiment of the present invention, the terminal may preset an upper limit temperature, that is, the preset temperature control threshold according to its preset hardware operating temperature requirement, so as to determine whether the target temperature belongs to a normal operating temperature range according to the preset temperature control threshold, and further determine whether to perform adjustment control on the terminal temperature.
Specifically, in the embodiment of the present invention, after comparing the target temperature with the preset temperature control threshold, if it is determined that the target temperature is greater than or equal to the preset temperature control threshold, it may be indicated that the current target temperature is too high, and the target temperature does not belong to the normal operating temperature range of the terminal, so that temperature control needs to be performed on the terminal. The terminal can reduce the temperature of at least two sampling areas corresponding to at least two preset hardware of the terminal by reducing the operation rate or reducing the operation efficiency and the like, and finally the target temperature of the terminal is reduced.
Step 103b, when the target temperature is smaller than the preset temperature control threshold, the terminal operation state is not changed.
In the embodiment of the present invention, after obtaining the target temperature, the terminal may not change the terminal operation state if it is determined that the target temperature is less than the preset temperature control threshold.
Specifically, in the embodiment of the present invention, after comparing the target temperature with the preset temperature control threshold, if it is determined that the target temperature is less than the preset temperature control threshold, it may be indicated that the current target temperature belongs to the normal operating temperature range of the terminal, so that the temperature control of the terminal may not be performed, and at this time, the terminal may not change its running state.
As can be seen from the above description, through the steps 103a to 103b, the terminal may reduce the operation rate and the operation power, and reduce the temperature of at least two sampling areas when the target temperature is greater than or equal to the preset temperature control threshold; when the target temperature is smaller than a preset temperature control threshold value, the running state of the terminal is not changed; therefore, the temperature of the sampling areas can be formed into a target temperature capable of reflecting the overall heating condition of the terminal according to a preset linkage temperature acquisition rule by adopting a multichannel temperature linkage control method, and then the temperature of the whole terminal can be controlled according to the target temperature, so that the effect of multichannel temperature linkage control on the temperature of the terminal is realized.
Example eight
Based on the same inventive concept of the first to seventh embodiments, fig. 11 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present invention, and as shown in fig. 11, a terminal 1 according to an embodiment of the present invention includes: a detection unit 11.
A detection unit 11, configured to detect temperatures of at least two sampling areas of the terminal; and determining a target temperature of the terminal according to the temperatures of the at least two sampling areas.
In the embodiment of the present invention, further, the detection unit 11 is specifically configured to obtain the target temperature according to the temperatures of at least two sampling areas and a preset linkage temperature acquisition rule. The preset linkage temperature acquisition rule is used for determining a target temperature through temperature linkage of a plurality of different sampling areas.
In the embodiment of the present invention, further, fig. 12 is a schematic diagram of a second component structure of the terminal according to the embodiment of the present invention, as shown in fig. 12, the terminal 1 further includes: an adjustment unit 12.
And an adjusting unit 12 for adjusting the terminal operation state to perform temperature control according to the target temperature and a preset temperature control threshold after the target temperature is acquired by the detecting unit 11.
Fig. 13 is a schematic diagram of a third component structure of a terminal according to an embodiment of the present invention, as shown in fig. 13, the detecting unit 11 includes: an acquisition subunit 111, a calculation subunit 112.
An obtaining subunit 111, configured to normalize the temperatures of the at least two sampling areas to obtain at least two normalized temperatures; wherein the temperature of one sampling area corresponds to one normalized temperature; acquiring at least two weight values corresponding to the at least two normalized temperatures; wherein one normalized temperature corresponds to one weight value.
Further, in the embodiment of the present invention, the obtaining subunit 111 is specifically configured to determine at least two weight values corresponding to at least two normalized temperatures according to a corresponding relationship between a preset weight value and a sampling area and at least two normalized temperatures corresponding to temperatures of at least two sampling areas.
The calculating subunit 112 is configured to perform weighted calculation on the at least two normalized temperatures according to the at least two weight values after the obtaining subunit 111 obtains the at least two weight values corresponding to the at least two normalized temperatures, and determine the target temperature of the terminal.
In the embodiment of the present invention, further, the adjusting unit 12 is specifically configured to reduce the operating rate and the operating power, and reduce the temperature of at least two sampling areas when the target temperature is greater than or equal to the preset temperature control threshold; and when the target temperature is smaller than the preset temperature control threshold value, the terminal operation state is not changed.
Fig. 14 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present invention, as shown in fig. 14, the detecting unit 11 includes: a determination subunit 113, a detection subunit 114.
A determining subunit 113, configured to determine a first sampling area and a second sampling area in at least two sampling areas according to a preset configuration rule; the first sampling area is an area provided with a plurality of temperature acquisition devices for detecting the first central temperature and the peripheral temperature of first preset hardware; the second sampling region is a region configured with one temperature acquisition device that detects a second center temperature of a second preset hardware.
The detection subunit 114 is configured to detect a first sampling temperature corresponding to the first sampling region and a second sampling temperature corresponding to the second sampling region, respectively, after the determination subunit 113 determines the first sampling region and the second sampling region in the at least two sampling regions.
The determining subunit 112 is further configured to determine the first sampling temperature and the second sampling temperature as temperatures of at least two sampling areas after the detecting subunit 114 detects the first sampling temperature corresponding to the first sampling area and the second sampling temperature corresponding to the second sampling area, respectively.
In an embodiment of the present invention, further, the detecting subunit 114 is specifically configured to detect a first center temperature and a peripheral temperature corresponding to the first sampling area; and detecting a second center temperature corresponding to the second sampling region.
The determining subunit 112 is specifically configured to determine, according to the peripheral temperature, a peripheral average temperature corresponding to the first sampling area; determining a temperature difference value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature; when the temperature difference value is smaller than or equal to a preset threshold value, determining the first center temperature as a first sampling temperature corresponding to the first sampling area; when the temperature difference value is larger than a preset threshold value, determining a first sampling temperature corresponding to the first sampling area according to the first central temperature and the peripheral average temperature; and determining the second center temperature as a second sampling temperature corresponding to the second sampling region.
In the embodiment of the present invention, further, the determining subunit 112 is specifically configured to determine, according to the first central temperature and the peripheral average temperature, a temperature average value corresponding to the first sampling area; and determining the temperature average value as a first sampling temperature corresponding to the first sampling region.
In an embodiment of the present invention, further, the preset hardware of the first sampling area includes a power amplifier PA; the preset hardware of the second sampling area comprises a voltage management chip PMIC.
Fig. 15 is a schematic diagram of the composition structure of a terminal according to an embodiment of the present invention, and in practical application, under the same inventive concept from embodiment one to embodiment seven, as shown in fig. 15, the terminal 1 may include a processor 13, a memory 14 storing instructions executable by the processor 13, a communication interface 15, and a bus 16 for connecting the processor 13, the memory 14, and the communication interface 15.
In an embodiment of the present invention, the detection unit 11 and the adjustment unit 12 may be implemented by a processor 13 located on the terminal 1, where the processor 13 may be at least one of an application specific integrated circuit (ASIC, application Specific Integrated Circuit), a digital signal processor (DSP, digital Signal Processor), a digital signal processing Device (DSPD, digital Signal Processing Device), a programmable Logic Device (PLD, progRAMmable Logic Device), a field programmable gate array (FPGA, field ProgRAMmable Gate Array), a CPU, a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronics for implementing the above-described processor functions may be other for different devices, and embodiments of the present invention are not particularly limited. The terminal 1 may further comprise a memory 14, which memory 14 may be connected to the processor 13, wherein the memory 14 is adapted to store executable program code comprising computer operation instructions, and wherein the memory 13 may comprise a high speed RAM memory, and may further comprise a non-volatile memory, e.g. at least two disk memories.
In an embodiment of the invention, a bus 16 is used to connect the communication interface 15, the processor 13 and the memory 14 and the mutual communication between these devices.
In an embodiment of the invention, memory 14 is used to store instructions and data.
A processor 13 for detecting the temperature of at least two sampling areas of the terminal; and determining the target temperature of the terminal according to the temperatures of at least two sampling areas.
In practical applications, the Memory 14 may be a volatile Memory (RAM) such as Random-Access Memory; or a nonvolatile first Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD) or a Solid State Drive (SSD); or a combination of the above types of first memories and provides instructions and data to the processor 13.
The embodiment of the invention provides a terminal, which is used for detecting the temperatures of at least two sampling areas of the terminal; and determining the target temperature of the terminal according to the temperatures of at least two sampling areas. That is, according to the terminal provided by the embodiment of the invention, the target temperature capable of reflecting the overall heating condition of the terminal is determined according to the temperatures of at least two sampling areas of the terminal, so that the problem that the temperature of the terminal cannot be scientifically and accurately obtained when the temperature of other areas of the terminal is relatively low due to the fact that the internal temperature of part of preset hardware of the terminal is relatively high is effectively solved.
In addition, each functional module in the present embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional modules.
The integrated units, if implemented in the form of software functional modules, may be stored in a computer-readable storage medium, if not sold or used as separate products, and based on this understanding, the technical solution of the present embodiment may be embodied essentially or partly in the form of a software product, or all or part of the technical solution may be embodied in a storage medium, which includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or processor (processor) to perform all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a program for use in a terminal, which when executed by a processor implements the methods of embodiments one through seven.
Specifically, the program instructions corresponding to one temperature acquisition method in the present embodiment may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the program instructions corresponding to one temperature acquisition method in the storage medium are read or executed by an electronic device, the method includes the following steps:
detecting the temperature of at least two sampling areas of the terminal; and determining the target temperature of the terminal according to the temperatures of at least two sampling areas.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block and/or flow of the flowchart illustrations and/or block diagrams, and combinations of blocks and/or flow diagrams in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention.

Claims (13)

1. A method of temperature acquisition, the method comprising:
detecting the temperature of at least two sampling areas of a terminal, wherein each sampling area is used for correspondingly acquiring the temperature of one preset hardware, and the terminal comprises at least two preset hardware;
determining a target temperature of the terminal according to the temperatures of the at least two sampling areas;
wherein the determining the target temperature of the terminal according to the temperatures of the at least two sampling areas includes:
normalizing the temperatures of the at least two sampling areas to obtain at least two normalized temperatures; wherein the temperature of one sampling area corresponds to one normalized temperature;
Acquiring at least two weight values corresponding to the at least two normalized temperatures; wherein one normalized temperature corresponds to one weight value;
and according to the at least two weight values, carrying out weighted calculation on the at least two normalized temperatures, and determining the target temperature of the terminal.
2. The method of claim 1, wherein the obtaining at least two weight values corresponding to the at least two normalized temperatures comprises:
and determining at least two weight values corresponding to the at least two normalized temperatures according to the corresponding relation between the preset weight values and the sampling areas and the at least two normalized temperatures corresponding to the temperatures of the at least two sampling areas.
3. The method of claim 1, wherein detecting the temperature of at least two sampling areas of the terminal comprises:
determining a first sampling area and a second sampling area in the at least two sampling areas according to a preset configuration rule; the first sampling area is an area provided with a plurality of temperature acquisition devices for detecting the first central temperature and the peripheral temperature of first preset hardware; the second sampling area is an area provided with a temperature acquisition device for detecting the second center temperature of second preset hardware;
Detecting a first sampling temperature corresponding to the first sampling region and a second sampling temperature corresponding to the second sampling region respectively;
the first sampling temperature and the second sampling temperature are determined as temperatures of the at least two sampling regions.
4. A method according to claim 3, wherein detecting a first sampling temperature corresponding to the first sampling region comprises:
detecting the first central temperature and the peripheral temperature corresponding to a first sampling area;
determining a peripheral average temperature corresponding to the first sampling area according to the peripheral temperature;
determining a temperature difference value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature;
when the temperature difference value is smaller than or equal to a preset threshold value, determining the first center temperature as the first sampling temperature corresponding to the first sampling area;
and when the temperature difference is larger than the preset threshold, determining the first sampling temperature corresponding to the first sampling area according to the first central temperature and the peripheral average temperature.
5. The method of claim 4, wherein determining the first sampling temperature corresponding to the first sampling region from the first center temperature and the peripheral average temperature comprises:
Determining a temperature average value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature;
and determining the temperature average value as the first sampling temperature corresponding to the first sampling area.
6. A method according to claim 3, wherein said detecting a second sampling temperature corresponding to said second sampling region comprises:
and detecting the second center temperature corresponding to the second sampling area, and determining the second center temperature as a second sampling temperature corresponding to the second sampling area.
7. The method of claim 1, wherein after determining the target temperature of the terminal based on the temperatures of the at least two sampling regions, the method further comprises:
and adjusting the running state of the terminal according to the target temperature of the terminal and a preset temperature control threshold value so as to control the temperature.
8. A terminal, the terminal comprising: a detection unit, a determination unit, an acquisition subunit, a calculation subunit,
the detection unit is used for detecting the temperature of at least two sampling areas of the terminal, wherein each sampling area is used for correspondingly acquiring the temperature of one preset hardware, and the terminal comprises at least two preset hardware;
The determining unit is used for determining the target temperature of the terminal according to the temperatures of the at least two sampling areas;
the obtaining subunit is configured to normalize the temperatures of the at least two sampling areas to obtain at least two normalized temperatures; wherein the temperature of one sampling area corresponds to one normalized temperature; acquiring at least two weight values corresponding to the at least two normalized temperatures; wherein one normalized temperature corresponds to one weight value;
and the calculating subunit is used for carrying out weighted calculation on the at least two normalized temperatures according to the at least two weight values to determine the target temperature of the terminal.
9. The terminal of claim 8, wherein the terminal comprises a base station,
the obtaining subunit is specifically configured to determine at least two weight values corresponding to the at least two normalized temperatures according to a corresponding relation between a preset weight value and a sampling area and at least two normalized temperatures corresponding to temperatures of the at least two sampling areas.
10. The terminal according to claim 9, wherein the detection unit further comprises: a determination subunit, a detection subunit,
the determining subunit is configured to determine a first sampling area and a second sampling area in the at least two sampling areas according to a preset configuration rule; the first sampling area is an area provided with a plurality of temperature acquisition devices for detecting the first central temperature and the peripheral temperature of first preset hardware; the second sampling area is an area provided with a temperature acquisition device for detecting the second center temperature of second preset hardware;
The detection subunit is used for respectively detecting a first sampling temperature corresponding to the first sampling area and a second sampling temperature corresponding to the second sampling area;
the determining subunit is further configured to determine the first sampling temperature and the second sampling temperature as temperatures of the at least two sampling areas;
the detection subunit is specifically configured to detect the first central temperature and the peripheral temperature corresponding to a first sampling area; detecting the second center temperature corresponding to the second sampling area;
the determining subunit is specifically configured to determine, according to the peripheral temperature, a peripheral average temperature corresponding to the first sampling area; determining a temperature difference value corresponding to the first sampling area according to the first central temperature and the peripheral average temperature; when the temperature difference value is smaller than or equal to a preset threshold value, determining the first center temperature as the first sampling temperature corresponding to the first sampling area; when the temperature difference value is larger than the preset threshold value, determining the first sampling temperature corresponding to the first sampling area according to the first central temperature and the peripheral average temperature; and determining the second center temperature as a second sampling temperature corresponding to the second sampling region;
The determining subunit is specifically configured to determine, according to the first central temperature and the peripheral average temperature, a temperature average value corresponding to the first sampling area; and determining the temperature average value as the first sampling temperature corresponding to the first sampling area.
11. The terminal of claim 8, wherein the terminal further comprises: an adjusting unit, which is used for adjusting the adjusting unit,
the adjusting unit is used for adjusting the running state of the terminal according to the target temperature of the terminal and a preset temperature control threshold value so as to control the temperature.
12. A terminal comprising a processor, a memory storing instructions executable by the processor, the processor performing the following when the instructions are executed:
the processor is used for detecting the temperature of at least two sampling areas of the terminal, wherein each sampling area is used for correspondingly acquiring the temperature of one preset hardware, and the terminal comprises at least two preset hardware; determining a target temperature of the terminal according to the temperatures of the at least two sampling areas, wherein the determining the target temperature of the terminal according to the temperatures of the at least two sampling areas comprises: normalizing the temperatures of the at least two sampling areas to obtain at least two normalized temperatures; wherein the temperature of one sampling area corresponds to one normalized temperature; acquiring at least two weight values corresponding to the at least two normalized temperatures; wherein one normalized temperature corresponds to one weight value; and according to the at least two weight values, carrying out weighted calculation on the at least two normalized temperatures, and determining the target temperature of the terminal.
13. A computer readable storage medium having stored thereon a program for use in a terminal, wherein the program when executed by a processor implements the method according to any of claims 1-7.
CN201710643346.7A 2017-07-31 2017-07-31 Temperature acquisition method, terminal and storage medium Active CN109324941B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710643346.7A CN109324941B (en) 2017-07-31 2017-07-31 Temperature acquisition method, terminal and storage medium
PCT/CN2017/103223 WO2019024204A1 (en) 2017-07-31 2017-09-25 Temperature collection method, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710643346.7A CN109324941B (en) 2017-07-31 2017-07-31 Temperature acquisition method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109324941A CN109324941A (en) 2019-02-12
CN109324941B true CN109324941B (en) 2023-06-16

Family

ID=65232343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710643346.7A Active CN109324941B (en) 2017-07-31 2017-07-31 Temperature acquisition method, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN109324941B (en)
WO (1) WO2019024204A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031154B (en) * 2019-12-09 2021-05-07 Oppo广东移动通信有限公司 Electronic device and temperature acquisition device
CN113883650B (en) * 2021-10-20 2023-03-07 美的集团武汉制冷设备有限公司 Air conditioner control method and device, storage medium and air conditioner
CN114876844A (en) * 2022-05-31 2022-08-09 紫光计算机科技有限公司 Fan control method, fan control device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094251A (en) * 2014-05-23 2015-11-25 西安中兴新软件有限责任公司 Intelligent temperature control device, intelligent temperature control method and terminal
CN105335267A (en) * 2014-05-30 2016-02-17 华为技术有限公司 Server temperature prediction method, apparatus and system
WO2017012183A1 (en) * 2015-07-23 2017-01-26 中兴通讯股份有限公司 Terminal, method for controlling terminal temperature and computer storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101598949B (en) * 2009-06-23 2012-07-18 中兴通讯股份有限公司 Temperature acquisition control device and method
CN103994840B (en) * 2014-05-29 2017-03-08 普联技术有限公司 A kind of method and device of the maximum temperature value obtaining battery of mobile terminal
CN105335269B (en) * 2014-06-30 2019-01-18 展讯通信(上海)有限公司 Temprature control method, device and mobile terminal
JP6565632B2 (en) * 2015-11-24 2019-08-28 富士通株式会社 Electronic device, surface temperature calculation method, and surface temperature calculation program
CN106197759B (en) * 2016-07-22 2019-07-02 蚌埠大洋传感系统工程有限公司 A kind of temperature sensor control system
CN106708708A (en) * 2017-01-09 2017-05-24 深圳市金立通信设备有限公司 Terminal and terminal temperature prompting method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094251A (en) * 2014-05-23 2015-11-25 西安中兴新软件有限责任公司 Intelligent temperature control device, intelligent temperature control method and terminal
CN105335267A (en) * 2014-05-30 2016-02-17 华为技术有限公司 Server temperature prediction method, apparatus and system
WO2017012183A1 (en) * 2015-07-23 2017-01-26 中兴通讯股份有限公司 Terminal, method for controlling terminal temperature and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王宏记 ; .基于物联网信息采集的广域气象温度准确测量.计算机测量与控制.2013,(01),全文. *

Also Published As

Publication number Publication date
WO2019024204A1 (en) 2019-02-07
CN109324941A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN108475935B (en) Battery charging management method and terminal
CN109324941B (en) Temperature acquisition method, terminal and storage medium
CN105393187B (en) Hot configuration file based on the temperature information for calculating device location
US9945576B2 (en) System and method for detecting the presence of alternate cooling systems
CN105759209A (en) battery electric quantity estimation method and device
CN108900622B (en) Data fusion method and device based on Internet of things and computer readable storage medium
US20220136909A1 (en) Method and device for temperature detection and thermal management based on power measurement
US9519041B2 (en) System and method for providing an accurate and cost-effective current sensor calibration
CN112818535B (en) Method and device for establishing electrothermal simulation model and obtaining electrothermal simulation value
CN112432330B (en) Constant-temperature dehumidification control method and device, electronic equipment and air conditioner
US20110320062A1 (en) Computing device and method for controlling temperature thereof
CN113917348A (en) Battery SOC correction method and device, computer equipment and storage medium
CN113900913B (en) Method and device for determining power consumption, computer equipment and computer readable storage medium
CN110873069B (en) Method and device for controlling fan parameters
EP2943849A1 (en) Method for performing adaptive voltage scaling (avs) and integrated circuit configured to perform avs
CN116774056A (en) Method, system and computer readable storage medium for evaluating charge time of battery
CN109379479B (en) Performance test method and device for built-in sensor of mobile terminal
CN116818123A (en) Method and device for detecting chip node temperature and electronic equipment
US9746894B1 (en) Dynamic threshold voltage compensation
CN116295902A (en) Method and device for detecting environmental temperature of electronic equipment
CN107482724B (en) Charging control method and device and computer readable storage medium
US20220335280A1 (en) Artificial intelligence semiconductor processor and operating method of artificial intelligence semiconductor processor
CN113900912B (en) Test method, test device, computer equipment and computer readable storage medium
WO2017107187A1 (en) Anomaly detection techniques for servers and data centers
CN114264054B (en) Indoor humidity adjusting method, device, equipment and readable storage medium

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
GR01 Patent grant
GR01 Patent grant