CN112540633A - Temperature control method, device, equipment and medium - Google Patents
Temperature control method, device, equipment and medium Download PDFInfo
- Publication number
- CN112540633A CN112540633A CN202011407763.XA CN202011407763A CN112540633A CN 112540633 A CN112540633 A CN 112540633A CN 202011407763 A CN202011407763 A CN 202011407763A CN 112540633 A CN112540633 A CN 112540633A
- Authority
- CN
- China
- Prior art keywords
- power
- determining
- sub
- temperature
- subsystem
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D23/00—Control of temperature
- G05D23/19—Control of temperature characterised by the use of electric means
Abstract
The embodiment of the invention provides a temperature control method, a temperature control device, a temperature control equipment and a temperature control medium. In the embodiment of the invention, the upper limit of the frequency of each subsystem of the terminal equipment is determined by the current temperature, so that the temperature of the terminal equipment is controlled.
Description
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a temperature control method, apparatus, device, and medium.
Background
With the development of science and technology, terminal equipment is more and more widely applied and becomes a necessity of daily life of people, functions of the terminal equipment are more and more, and the requirements on the performance of the terminal equipment are higher and higher due to the improvement of the performance of the terminal equipment and the appearance of various application software. When a user uses the terminal equipment for a long time or uses the terminal equipment with high running power, the terminal equipment can generate heat inevitably, and when the temperature of the terminal equipment is too high, components in the terminal equipment can be damaged, so that the service life of the terminal equipment is shortened.
In the prior art, when controlling the temperature of the terminal device, a comparison table between each temperature and each corresponding upper frequency limit in the terminal device is established, and when the current temperature of the terminal device reaches a certain temperature, the terminal device adjusts the operating frequency of the terminal device to the upper frequency limit corresponding to the temperature. However, this method is too simple, and without an excessive process, the current operating frequency of the terminal device is directly adjusted to the upper frequency limit, so that the operating frequency of the terminal device is greatly changed, and the phenomenon of terminal device jamming and the like can be caused.
Disclosure of Invention
The embodiment of the invention provides a temperature control method, a temperature control device, equipment and a medium, which are used for solving the problem that terminal equipment is easy to jam in the temperature control process of the existing terminal equipment.
The embodiment of the invention provides a temperature control method, which comprises the following steps:
determining the total power to be distributed of the terminal equipment according to the first temperature acquired in the current period, the preset target temperature and the second temperature acquired in the previous period;
determining sub-power to be distributed corresponding to each subsystem according to the total power and preset weight of each subsystem of the terminal equipment;
and adjusting the working frequency of each subsystem according to the sub-power to be distributed corresponding to each subsystem.
Further, the determining, according to the collected first temperature, the preset target temperature, and the last collected second temperature, the total power to be allocated to the terminal device includes:
determining a first difference value between the first temperature and a target temperature, and determining a first sub-power to be distributed according to the first difference value;
determining a second difference value between the second temperature and a target temperature, determining a third difference value between the first temperature and the second difference value, and determining a second sub-power to be distributed according to the acquisition time difference between the first temperature and the second temperature and the third difference value;
and determining the total power to be distributed of the terminal equipment according to the first sub-power and the second sub-power.
Further, the determining, according to the first difference, a first sub-power to be allocated includes:
determining a sum of the first difference and a first preset coefficient;
determining a first product of a squared value of the first difference value and the sum value as the first sub-power.
Further, the determining, according to the acquisition time difference between the first temperature and the second temperature and the third difference, a second sub-power to be allocated includes:
determining a differential of the third difference value and the acquisition time difference;
determining a second product of the differential and a second preset coefficient as the second sub-power.
Further, before determining the sub-powers to be allocated corresponding to the subsystems according to the total power and the preset weight of each subsystem of the terminal device, the method further includes:
acquiring the load of each subsystem and the current battery current of the terminal equipment;
and determining the total load of the terminal equipment according to the load and the battery current.
Further, the determining, according to the total power and a preset weight ratio of each subsystem of the terminal device, the sub-powers to be allocated to the subsystems includes:
and for any subsystem, determining the product of the total power and the weight ratio corresponding to the subsystem and the ratio of the load corresponding to the subsystem to the total load as the sub-power to be distributed by the subsystem.
An embodiment of the present invention further provides a temperature control apparatus, where the apparatus includes:
the processing module is used for determining the total power to be distributed of the terminal equipment according to the first temperature acquired in the current period, the preset target temperature and the second temperature acquired in the previous period; determining sub-power to be distributed corresponding to each subsystem according to the total power and preset weight of each subsystem of the terminal equipment;
and the temperature control module is used for adjusting the working frequency of each subsystem according to the sub-power to be distributed corresponding to each subsystem.
Further, the processing module is specifically configured to determine a first difference between the first temperature and a target temperature, and determine a first sub-power to be allocated according to the first difference; determining a second difference value between the second temperature and a target temperature, determining a third difference value between the first temperature and the second difference value, and determining a second sub-power to be distributed according to the acquisition time difference between the first temperature and the second temperature and the third difference value; and determining the total power to be distributed of the terminal equipment according to the first sub-power and the second sub-power.
Further, the processing module is specifically configured to determine a sum of the first difference and a first preset coefficient; determining a first product of a squared value of the first difference value and the sum value as the first sub-power.
Further, the processing module is specifically configured to determine a differential of the third difference value and the acquisition time difference; determining a second product of the differential and a second preset coefficient as the second sub-power.
Further, the processing module is further configured to obtain loads of the subsystems and a current battery current of the terminal device; and determining the total load of the terminal equipment according to the load and the battery current.
Further, the processing module is specifically configured to determine, for any subsystem, a product of the total power and a weight ratio corresponding to the subsystem and a ratio of a load corresponding to the subsystem to the total load as a sub-power to be allocated to the subsystem.
An embodiment of the present invention further provides an electronic device, where the electronic device at least includes a processor and a memory, and the processor is configured to implement any of the steps of the temperature control method when executing a computer program stored in the memory.
An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements any of the steps of the temperature control method described above.
In the embodiment of the invention, the total power to be distributed of the terminal equipment is determined according to the first temperature collected in the current period, the preset target temperature and the second temperature collected in the previous period, the sub-power to be distributed corresponding to each sub-system is determined according to the total power and the preset weight of each sub-system of the terminal equipment, and the working frequency of each sub-system is adjusted according to the sub-power to be distributed corresponding to each sub-system. In the embodiment of the invention, the upper limit of the frequency of each subsystem of the terminal equipment is determined by the current temperature, so that the temperature of the terminal equipment is controlled.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic process diagram of a temperature control method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of controlling a temperature by a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a temperature control device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a temperature control method, a temperature control device, temperature control equipment and a temperature control medium, which can avoid the phenomenon of blocking during temperature control of terminal equipment and improve the use feeling of a user.
Example 1:
fig. 1 is a schematic process diagram of a temperature control method according to an embodiment of the present invention, where the process includes the following steps:
s101: and determining the total power to be distributed of the terminal equipment according to the first temperature acquired in the current period, the preset target temperature and the second temperature acquired in the previous period.
The temperature control method provided by the embodiment of the invention is applied to terminal equipment, such as mobile phones, tablet computers, PCs and other equipment which can be heated.
In order to adjust the temperature of the terminal device in time, in the embodiment of the present invention, the terminal device periodically collects the temperature of the terminal device. The acquisition period for acquiring the temperature of the terminal device may be preset, where the sampling period is generally a short time interval, generally on the order of milliseconds, and may be any value from 500ms to 1s, for example. In addition, in the embodiment of the present invention, a temperature curve of the terminal device may be drawn according to the temperature of the terminal device acquired in each acquisition cycle.
In the embodiment of the present invention, since the heat generation amount of the terminal device is positively correlated with the power at which the terminal device is currently operating, that is, the higher the power at which the terminal device is operating, the larger the heat generation amount of the terminal device is. Therefore, when the terminal equipment is subjected to temperature control, namely the heating value of the terminal equipment is controlled, the total power of the terminal equipment can be controlled.
When the terminal device is temperature controlled, the total power to be allocated to the terminal device may be calculated. The total power to be allocated to the terminal device can be determined according to the first temperature acquired in the current period, the preset target temperature and the second temperature acquired in the previous period of the current period.
S102: and determining the sub power to be distributed corresponding to each subsystem according to the total power and the preset weight of each subsystem of the terminal equipment.
In the embodiment of the present invention, the terminal device is composed of a plurality of subsystems, and specifically, mainly includes a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a modem (modem). The heat generated by the operation of the terminal equipment is mainly generated by the three subsystems, so that the operating power of the three subsystems is mainly controlled when the temperature of the terminal equipment is controlled.
In the embodiment of the present invention, the sub-power to be allocated corresponding to each subsystem may be determined according to the preset weight of each subsystem and the total power to be allocated.
S103: and adjusting the working frequency of each subsystem according to the sub-power to be distributed corresponding to each subsystem.
In the embodiment of the present invention, the sub-power calculation formula of each subsystem of the terminal device is: P-cfV2Wherein, P is the sub-power of the subsystem, f is the working frequency of the subsystem, V is the voltage, and c is a constant. As can be seen from the above equation, the sub-power P can be expressed as a function of the operating frequency f, i.e., P ═ f (f), i.e., there is a correspondence between the sub-power P and the operating frequency f. For the terminal device, the operation frequency of the control subsystem is easier to operate than the sub-power for controlling the subsystem to operate, so in the embodiment of the present invention, when the subsystem of the terminal device is controlled, the upper limit of the operating frequency of the subsystem may be determined based on the sub-power to be allocated corresponding to the subsystem, and then the operating frequency of the subsystem is adjusted.
Therefore, in the embodiment of the present invention, after calculating the sub-power to be allocated corresponding to each sub-system of the terminal device, the terminal device may adjust the operating frequency of the sub-system according to the sub-power to be allocated.
In the embodiment of the invention, the total power to be distributed of the terminal equipment is determined according to the first temperature collected in the current period, the preset target temperature and the second temperature collected in the previous period, the sub-power to be distributed corresponding to each sub-system is determined according to the total power and the preset weight of each sub-system of the terminal equipment, and the working frequency of each sub-system is adjusted according to the sub-power to be distributed of each sub-system. In the embodiment of the invention, the upper limit of the frequency of each subsystem of the terminal equipment is determined by the current temperature, so that the temperature of the terminal equipment is controlled.
Example 2:
in order to avoid a large frequency change during temperature control of the terminal device and improve a user experience, on the basis of the above embodiment, in an embodiment of the present invention, the determining, according to the collected first temperature, the preset target temperature, and the last collected second temperature, a total power to be allocated to the terminal device includes:
determining a first difference value between the first temperature and the target temperature, and determining a first sub-power to be distributed according to the first difference value;
determining a second difference value between the second temperature and a target temperature, determining a third difference value between the first temperature and the second difference value, and determining a second sub-power to be distributed according to the acquisition time difference between the first temperature and the second temperature and the third difference value;
and determining the total power to be distributed of the terminal equipment according to the first sub-power and the second sub-power.
In the embodiment of the invention, when the temperature of the terminal equipment is controlled, wherein the total power to be distributed of the terminal equipment is calculated, the total power is mainly calculated by a proportional link and a differential link. When the total power to be allocated to the terminal equipment is calculated, the power output by the proportion link can be determined as the first sub-power to be allocated through the proportion link calculation; determining the power output by the differential link as a second sub-power to be distributed through the differential link; and determining the total power to be allocated to the terminal equipment according to the first sub-power and the second sub-power.
In order to avoid a large frequency change during temperature control of the terminal device and improve a user experience, on the basis of the foregoing embodiments, in an embodiment of the present invention, the determining a first difference between the first temperature and a target temperature, and determining a first sub-power to be allocated according to the first difference includes:
determining a sum of the first difference and a first preset coefficient;
determining a first product of a squared value of the first difference value and the sum value as the first sub-power.
When the first sub-power is determined by the proportion link, a first difference between the first temperature and the target temperature can be determined, and the first sub-power to be distributed is determined according to the first difference. Specifically, the first sub-power may be calculated by the following formula:
UP=P*(Te+Kp)
wherein, in the above formula, UpA first sub-power to be allocated to the terminal device, TeFor a first temperature T in the terminal equipmentcWith a target temperature TdA first difference of (i.e. T)e=Td-TcWherein P ═ a × Te 2+b,a、b、KpIs a preset coefficient.
In order to avoid a large frequency change during temperature control of the terminal device and improve a user experience, on the basis of the foregoing embodiments, in an embodiment of the present invention, the determining, according to the acquisition time difference between the first temperature and the second temperature and the third difference, the second sub-power to be allocated includes:
determining a differential of the third difference value and the acquisition time difference;
and determining a second product of the differential and a second preset coefficient as the second sub-power.
When the differential link determines the second sub-power, a second difference between the first temperature and the second temperature can be determined, and the second sub-power to be distributed is determined according to the second difference and the time difference between the first temperature and the second temperature. Specifically, the second sub-power may be calculated by the following formula:
wherein, in the above formula, UdA second sub-power to be allocated to the terminal device, dTeFor a first temperature T in the terminal equipmenteA second difference T between the second temperature acquired in the previous period and the target temperaturee' third difference, i.e. dTe=Te-Te', dt is the difference between the acquisition times of the first and second temperatures, KdIs a preset coefficient.
When determining the total power to be allocated to the terminal device according to the first sub-power and the second sub-power, the following formula may be adopted to calculate:
U=Up+Ud
wherein, in the above formula, U is the total power to be allocated to the terminal device, and U ispA first sub-power, U, to be allocated to the terminal devicedAnd allocating a second sub power to the terminal equipment, wherein the sum of the first sub power and the second sub power is the total power to be allocated to the terminal equipment.
Example 3:
in order to avoid a large frequency change during temperature control of a terminal device and improve a user experience, on the basis of the foregoing embodiments, in an embodiment of the present invention, before determining sub-powers to be allocated to the sub-systems according to the total power and preset weights of the sub-systems of the terminal device, the method further includes:
acquiring the load of each subsystem and the current battery current of the terminal equipment;
and determining the total load of the terminal equipment according to the load and the battery current.
In the embodiment of the present invention, when determining the sub-power to be allocated corresponding to each subsystem, it is necessary to determine a proportion of the sub-power corresponding to each subsystem to the total power to be allocated of the terminal device. Specifically, the sum of the sub-powers to be allocated corresponding to the subsystems of the terminal device is the total power to be allocated of the terminal device, and when the sub-powers to be allocated corresponding to the subsystems are determined, the sub-powers to be allocated corresponding to the subsystems are determined as the sub-powers to be allocated when the products of the corresponding specific gravity and the total power to be allocated of the terminal device are determined by the subsystems. In the embodiment of the present invention, the specific gravity corresponding to each subsystem is determined according to the load of the subsystem and the total load of the terminal device. Therefore, before calculating the sub-power to be allocated corresponding to each subsystem, the total load of the terminal device needs to be calculated.
Specifically, in the embodiment of the present invention, the load of each subsystem and the current battery current of the terminal device need to be obtained, and the total load of the terminal device is determined according to the load and the battery current. Specifically, the following formula can be used for calculation:
wherein in the above formula, W is the total load of the terminal equipment, WcFor the load corresponding to the CPU in the terminal equipment, WgFor the load corresponding to the GPU in the terminal equipment, WmFor the corresponding load of the modem in the terminal equipment, IbIs the battery current of the terminal equipment, Kc、Kg、Km、KbIs a preset coefficient.
In order to avoid a large frequency change when the temperature of the terminal device is controlled, and improve the user experience, on the basis of the foregoing embodiments, in an embodiment of the present invention, the determining, according to the total power and a preset weight ratio of each subsystem of the terminal device, sub-powers to be allocated to the subsystems includes:
and for any subsystem, determining the product of the total power and the weight ratio corresponding to the subsystem and the ratio of the load corresponding to the subsystem to the total load as the sub-power to be distributed by the subsystem.
In the embodiment of the present invention, when the sub-power to be allocated corresponding to each subsystem of the terminal device is used, the sub-power to be allocated to the subsystem may be determined according to the product of the weight ratio corresponding to the terminal device and the subsystem and the ratio of the load corresponding to the subsystem to the total load of the terminal device.
When the sub-power to be allocated to the CPU is determined, the calculation can be carried out through the following formula:
wherein, in the above formula, UcThe sub-power to be distributed for the CPU of the terminal equipment, U is the total power to be distributed for the terminal equipment, WcW is the load corresponding to the CPU, and K is the total load of the terminal equipmentcThe coefficient is corresponding to the CPU.
When determining the sub-power to be allocated to the GPU, the following formula may be used to calculate:
wherein, in the above formula, UgSub-power to be allocated to the GPU of the terminal equipment, U is total power to be allocated to the terminal equipment, WgW is the load corresponding to the GPU, and K is the total load of the terminal equipmentgAnd the coefficients are corresponding to the GPU.
When determining the sub-power to be allocated to the modem, the sub-power can be calculated by the following formula:
wherein, in the above formula, UmThe sub power to be allocated to the modem of the terminal device, U is the total power to be allocated to the terminal device, WmW is the total load of the terminal equipment for the load corresponding to the modem, KmIs the coefficient corresponding to the modem.
In the embodiment of the invention, after the sub-power corresponding to each subsystem of the terminal equipment is determined, the upper frequency limit of the subsystem is calculated, and the working frequency of the subsystem is adjusted according to the upper frequency limit.
Fig. 2 is a schematic flow chart of controlling a temperature by a terminal device according to an embodiment of the present invention, and as shown in fig. 2, the process includes:
s201: the first temperature collected in the current period.
S202: a first difference between the first temperature and a preset target temperature is calculated.
S203: and calculating the first sub-power of the proportional link of the terminal equipment.
S204: and calculating the second sub-power of the differential link of the terminal equipment.
S205: and acquiring the load of each subsystem of the terminal equipment and the battery current of the terminal equipment.
S206: and determining the sub power to be distributed of each subsystem of the terminal equipment.
S207: and the terminal equipment adjusts the working frequency of each subsystem according to the sub-power to be distributed of each subsystem.
Example 4:
fig. 3 is a schematic structural diagram of a temperature control device according to an embodiment of the present invention, where the temperature control device includes:
the processing module 301 is configured to determine a total power to be allocated to the terminal device according to a first temperature acquired in a current period, a preset target temperature, and a second temperature acquired in a previous period; determining sub-power to be distributed corresponding to each subsystem according to the total power and preset weight of each subsystem of the terminal equipment;
and the temperature control module 302 is configured to adjust the operating frequency of each subsystem according to the sub-power to be allocated corresponding to each subsystem.
In a possible implementation manner, the processing module 301 is specifically configured to determine a first difference between the first temperature and a target temperature, and determine a first sub-power to be allocated according to the first difference; determining a second difference value between the second temperature and a target temperature, determining a third difference value between the first temperature and the second difference value, and determining a second sub-power to be distributed according to the acquisition time difference between the first temperature and the second temperature and the third difference value; and determining the total power to be distributed of the terminal equipment according to the first sub-power and the second sub-power.
In a possible implementation manner, the processing module 301 is specifically configured to determine a sum of the first difference and a first preset coefficient; determining a first product of a squared value of the first difference value and the sum value as the first sub-power.
In a possible implementation, the processing module 301 is specifically configured to determine a differential of the third difference value and the acquisition time difference; determining a second product of the differential and a second preset coefficient as the second sub-power.
In a possible implementation manner, the processing module 301 is further configured to obtain loads of the subsystems and a current battery current of the terminal device; and determining the total load of the terminal equipment according to the load and the battery current.
In a possible implementation manner, the processing module 301 is specifically configured to determine, for any subsystem, a product of the total power and a weight ratio corresponding to the subsystem, and a ratio of a load corresponding to the subsystem to the total load as a sub-power to be allocated to the subsystem.
Example 5:
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and on the basis of the foregoing embodiments, an embodiment of the present invention further provides an electronic device, as shown in fig. 4, including: the system comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 complete mutual communication through the communication bus 404;
the memory 403 has stored therein a computer program which, when executed by the processor 401, causes the processor 401 to perform the steps of:
determining the total power to be distributed of the terminal equipment according to the first temperature acquired in the current period, the preset target temperature and the second temperature acquired in the previous period;
determining sub-power to be distributed corresponding to each subsystem according to the total power and preset weight of each subsystem of the terminal equipment;
and adjusting the working frequency of each subsystem according to the sub-power to be distributed corresponding to each subsystem.
In a possible implementation manner, the determining, according to the collected first temperature, the preset target temperature, and the last collected second temperature, the total power to be allocated to the terminal device includes:
determining a first difference value between the first temperature and a target temperature, and determining a first sub-power to be distributed according to the first difference value;
determining a second difference value between the second temperature and a target temperature, determining a third difference value between the first temperature and the second difference value, and determining a second sub-power to be distributed according to the acquisition time difference between the first temperature and the second temperature and the third difference value;
and determining the total power to be distributed of the terminal equipment according to the first sub-power and the second sub-power.
In a possible implementation manner, the determining, according to the first difference, a first sub-power to be allocated includes:
determining a sum of the first difference and a first preset coefficient;
determining a first product of a squared value of the first difference value and the sum value as the first sub-power.
In a possible implementation manner, the determining, according to the difference between the acquisition times of the first temperature and the second temperature and the third difference, a second sub-power to be allocated includes:
determining a differential of the third difference value and the acquisition time difference;
determining a second product of the differential and a second preset coefficient as the second sub-power.
In a possible implementation manner, before determining the sub-power to be allocated corresponding to each subsystem according to the total power and a preset weight of each subsystem of the terminal device, the method further includes:
acquiring the load of each subsystem and the current battery current of the terminal equipment;
and determining the total load of the terminal equipment according to the load and the battery current.
In a possible implementation manner, the determining, according to the total power and a preset weight ratio of each subsystem of the terminal device, sub-powers to be allocated to the subsystems includes:
and for any subsystem, determining the product of the total power and the weight ratio corresponding to the subsystem and the ratio of the load corresponding to the subsystem to the total load as the sub-power to be distributed by the subsystem.
Because the principle of the electronic device for solving the problems is similar to the temperature control method, the implementation of the electronic device can be referred to the implementation of the method, and repeated details are not repeated.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 402 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 6:
on the basis of the foregoing embodiments, the present invention further provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program runs on the processor, the processor is caused to execute the following steps:
determining the total power to be distributed of the terminal equipment according to the first temperature acquired in the current period, the preset target temperature and the second temperature acquired in the previous period;
determining sub-power to be distributed corresponding to each subsystem according to the total power and preset weight of each subsystem of the terminal equipment;
and adjusting the working frequency of each subsystem according to the sub-power to be distributed corresponding to each subsystem.
In a possible implementation manner, the determining, according to the collected first temperature, the preset target temperature, and the last collected second temperature, the total power to be allocated to the terminal device includes:
determining a first difference value between the first temperature and a target temperature, and determining a first sub-power to be distributed according to the first difference value;
determining a second difference value between the second temperature and a target temperature, determining a third difference value between the first temperature and the second difference value, and determining a second sub-power to be distributed according to the acquisition time difference between the first temperature and the second temperature and the third difference value;
and determining the total power to be distributed of the terminal equipment according to the first sub-power and the second sub-power.
In a possible implementation manner, the determining, according to the first difference, a first sub-power to be allocated includes:
determining a sum of the first difference and a first preset coefficient;
determining a first product of a squared value of the first difference value and the sum value as the first sub-power.
In a possible implementation manner, the determining, according to the difference between the acquisition times of the first temperature and the second temperature and the third difference, a second sub-power to be allocated includes:
determining a differential of the third difference value and the acquisition time difference;
determining a second product of the differential and a second preset coefficient as the second sub-power.
In a possible implementation manner, before determining the sub-power to be allocated corresponding to each subsystem according to the total power and a preset weight of each subsystem of the terminal device, the method further includes:
acquiring the load of each subsystem and the current battery current of the terminal equipment;
and determining the total load of the terminal equipment according to the load and the battery current.
In a possible implementation manner, the determining, according to the total power and a preset weight ratio of each subsystem of the terminal device, sub-powers to be allocated to the subsystems includes:
and for any subsystem, determining the product of the total power and the weight ratio corresponding to the subsystem and the ratio of the load corresponding to the subsystem to the total load as the sub-power to be distributed by the subsystem.
Since the principle of the computer readable medium for solving the problem is similar to the temperature control method, after the processor executes the computer program in the computer readable medium, the steps implemented may refer to the other embodiments, and repeated parts are not described again.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 flow or flows 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 flow or flows 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 flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (14)
1. A method of temperature control, the method comprising:
determining the total power to be distributed of the terminal equipment according to the first temperature acquired in the current period, the preset target temperature and the second temperature acquired in the previous period;
determining sub-power to be distributed corresponding to each subsystem according to the total power and preset weight of each subsystem of the terminal equipment;
and adjusting the working frequency of each subsystem according to the sub-power to be distributed corresponding to each subsystem.
2. The method of claim 1, wherein the determining the total power to be allocated to the terminal device according to the collected first temperature, the preset target temperature and the last collected second temperature comprises:
determining a first difference value between the first temperature and a target temperature, and determining a first sub-power to be distributed according to the first difference value;
determining a second difference value between the second temperature and a target temperature, determining a third difference value between the first temperature and the second difference value, and determining a second sub-power to be distributed according to the acquisition time difference between the first temperature and the second temperature and the third difference value;
and determining the total power to be distributed of the terminal equipment according to the first sub-power and the second sub-power.
3. The method of claim 2, wherein determining the first sub-power to be allocated according to the first difference comprises:
determining a sum of the first difference and a first preset coefficient;
determining a first product of a squared value of the first difference value and the sum value as the first sub-power.
4. The method of claim 2, wherein determining the second sub-power to be allocated according to the difference between the acquisition times of the first temperature and the second temperature and the third difference comprises:
determining a differential of the third difference value and the acquisition time difference;
determining a second product of the differential and a second preset coefficient as the second sub-power.
5. The method according to claim 1, wherein before determining the sub-powers to be allocated corresponding to the subsystems according to the total power and preset weights of the subsystems of the terminal device, the method further comprises:
acquiring the load of each subsystem and the current battery current of the terminal equipment;
and determining the total load of the terminal equipment according to the load and the battery current.
6. The method according to any one of claims 1 to 5, wherein the determining, according to the total power and a preset weight ratio of each subsystem of the terminal device, the sub-powers to be allocated to each subsystem comprises:
and for any subsystem, determining the product of the total power and the weight ratio corresponding to the subsystem and the ratio of the load corresponding to the subsystem to the total load as the sub-power to be distributed by the subsystem.
7. A temperature control apparatus, characterized in that the apparatus comprises:
the processing module is used for determining the total power to be distributed of the terminal equipment according to the first temperature acquired in the current period, the preset target temperature and the second temperature acquired in the previous period; determining sub-power to be distributed corresponding to each subsystem according to the total power and preset weight of each subsystem of the terminal equipment;
and the temperature control module is used for adjusting the working frequency of each subsystem according to the sub-power to be distributed corresponding to each subsystem.
8. The apparatus according to claim 7, wherein the processing module is specifically configured to determine a first difference between the first temperature and a target temperature, and determine a first sub-power to be allocated according to the first difference; determining a second difference value between the second temperature and a target temperature, determining a third difference value between the first temperature and the second difference value, and determining a second sub-power to be distributed according to the acquisition time difference between the first temperature and the second temperature and the third difference value; and determining the total power to be distributed of the terminal equipment according to the first sub-power and the second sub-power.
9. The apparatus according to claim 8, wherein the processing module is specifically configured to determine a sum of the first difference and a first predetermined coefficient; determining a first product of a squared value of the first difference value and the sum value as the first sub-power.
10. The apparatus according to claim 8, wherein the processing module is specifically configured to determine a differential of the third difference value and the acquisition time difference; determining a second product of the differential and a second preset coefficient as the second sub-power.
11. The apparatus of claim 7, wherein the processing module is further configured to obtain loads of the subsystems and a current battery current of the terminal device; and determining the total load of the terminal equipment according to the load and the battery current.
12. The apparatus according to any one of claims 8 to 11, wherein the processing module is specifically configured to determine, for any subsystem, a product of the total power and a weight ratio corresponding to the subsystem and a ratio of a load corresponding to the subsystem to the total load as the sub-power to be allocated to the subsystem.
13. An electronic device, characterized in that the electronic device comprises at least a processor and a memory, the processor being adapted to carry out the steps of the temperature control method according to any of claims 1-6 when executing a computer program stored in the memory.
14. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of the temperature control method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011407763.XA CN112540633B (en) | 2020-12-04 | 2020-12-04 | Temperature control method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011407763.XA CN112540633B (en) | 2020-12-04 | 2020-12-04 | Temperature control method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112540633A true CN112540633A (en) | 2021-03-23 |
CN112540633B CN112540633B (en) | 2021-08-31 |
Family
ID=75015933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011407763.XA Active CN112540633B (en) | 2020-12-04 | 2020-12-04 | Temperature control method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112540633B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004104778A2 (en) * | 2003-05-19 | 2004-12-02 | Modular Computing & Communications Corporation | Apparatus and method for mobile personal computing and communications |
CN104394675A (en) * | 2014-10-23 | 2015-03-04 | 深圳市金立通信设备有限公司 | Terminal |
US20150142204A1 (en) * | 2012-08-01 | 2015-05-21 | Huawei Technologies Co., Ltd. | Temperature Control Equipment and Communication Equipment Cabinet |
US20150301932A1 (en) * | 2014-04-21 | 2015-10-22 | Moon-wook OH | Nonvolatile memory system and method of performing operation of the nonvolatile memory system |
CN105187627A (en) * | 2015-07-21 | 2015-12-23 | 小米科技有限责任公司 | Method and device for adjusting temperature of mobile phone |
CN106101442A (en) * | 2016-07-29 | 2016-11-09 | 维沃移动通信有限公司 | A kind of method adjusting mobile terminal temperature rise and mobile terminal |
CN107256043A (en) * | 2011-07-29 | 2017-10-17 | 三星电子株式会社 | Method and the terminal of support this method for the temperature of control terminal |
CN107332997A (en) * | 2017-07-03 | 2017-11-07 | 奇酷互联网络科技(深圳)有限公司 | Reduce method, device, mobile terminal and the storage medium of terminal heating |
CN109451155A (en) * | 2018-10-31 | 2019-03-08 | 深圳市网心科技有限公司 | Terminal temperature dynamic control method, terminal, system and storage medium |
CN109960295A (en) * | 2017-12-25 | 2019-07-02 | 展讯通信(上海)有限公司 | Mobile terminal surface temperature control method and device |
CN110399000A (en) * | 2019-07-02 | 2019-11-01 | 维沃移动通信有限公司 | A kind of mobile terminal temperature control method mobile terminal |
CN110736566A (en) * | 2019-10-17 | 2020-01-31 | 珠海格力电器股份有限公司 | Method for measuring environmental temperature by using terminal equipment, storage medium and terminal equipment |
US20200141600A1 (en) * | 2016-01-29 | 2020-05-07 | Ispytronics Pty Ltd | Pest repelling device |
-
2020
- 2020-12-04 CN CN202011407763.XA patent/CN112540633B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004104778A2 (en) * | 2003-05-19 | 2004-12-02 | Modular Computing & Communications Corporation | Apparatus and method for mobile personal computing and communications |
CN107256043A (en) * | 2011-07-29 | 2017-10-17 | 三星电子株式会社 | Method and the terminal of support this method for the temperature of control terminal |
US20150142204A1 (en) * | 2012-08-01 | 2015-05-21 | Huawei Technologies Co., Ltd. | Temperature Control Equipment and Communication Equipment Cabinet |
US20150301932A1 (en) * | 2014-04-21 | 2015-10-22 | Moon-wook OH | Nonvolatile memory system and method of performing operation of the nonvolatile memory system |
CN104394675A (en) * | 2014-10-23 | 2015-03-04 | 深圳市金立通信设备有限公司 | Terminal |
CN105187627A (en) * | 2015-07-21 | 2015-12-23 | 小米科技有限责任公司 | Method and device for adjusting temperature of mobile phone |
US20200141600A1 (en) * | 2016-01-29 | 2020-05-07 | Ispytronics Pty Ltd | Pest repelling device |
CN106101442A (en) * | 2016-07-29 | 2016-11-09 | 维沃移动通信有限公司 | A kind of method adjusting mobile terminal temperature rise and mobile terminal |
CN107332997A (en) * | 2017-07-03 | 2017-11-07 | 奇酷互联网络科技(深圳)有限公司 | Reduce method, device, mobile terminal and the storage medium of terminal heating |
CN109960295A (en) * | 2017-12-25 | 2019-07-02 | 展讯通信(上海)有限公司 | Mobile terminal surface temperature control method and device |
CN109451155A (en) * | 2018-10-31 | 2019-03-08 | 深圳市网心科技有限公司 | Terminal temperature dynamic control method, terminal, system and storage medium |
CN110399000A (en) * | 2019-07-02 | 2019-11-01 | 维沃移动通信有限公司 | A kind of mobile terminal temperature control method mobile terminal |
CN110736566A (en) * | 2019-10-17 | 2020-01-31 | 珠海格力电器股份有限公司 | Method for measuring environmental temperature by using terminal equipment, storage medium and terminal equipment |
Non-Patent Citations (2)
Title |
---|
DI CHEN: "Analysis on ambient temperature effects on piezoelectric actuated tracked mobile system", 《2016 SYMPOSIUM ON PIEZOELECTRICITY, ACOUSTIC WAVES, AND DEVICE APPLICATIONS (SPAWDA)》 * |
艾平贵 等: "某高码率通信终端处理机热设计与仿真分析", 《遥测遥控》 * |
Also Published As
Publication number | Publication date |
---|---|
CN112540633B (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111190471B (en) | Control method, control device and electronic equipment | |
US9292070B2 (en) | Method and apparatus with stochastic control based power saving operation | |
CN107483351B (en) | Current limiting method and device | |
CN107544304B (en) | Fracturing truck control method and device | |
CN104714851A (en) | Method and device for realizing resource distribution | |
CN112070301A (en) | Method, system and equipment for adjusting power consumption of user | |
CN107046505B (en) | Service control method and service control device | |
CN106933315A (en) | A kind of method and terminal of terminal temperature regulation | |
CN109992392B (en) | Resource deployment method and device and resource server | |
CN110752608B (en) | Method and device for switching PID (proportion integration differentiation) parameters of speed regulating system of hydroelectric generating set and storage medium | |
CN112540633B (en) | Temperature control method, device, equipment and medium | |
CN107608788A (en) | A kind of control method, device and equipment | |
CN105955826A (en) | Control method and device of quality of service in cloud host system | |
CN104915559B (en) | A kind of electrical equipment determines method and system | |
CN112001563A (en) | Method and device for managing phone bill amount, electronic equipment and storage medium | |
CN113792995B (en) | Method, device, equipment and storage medium for determining power resource dominance degree | |
CN111523654A (en) | Processing apparatus and method | |
CN115269176A (en) | Task allocation method, device, computer equipment, storage medium and product | |
CN112713616B (en) | Control method, device, equipment and medium for generating side unit of power system | |
CN114336604A (en) | Coordination peak regulation method based on power grid transmission capacity and power grid safety | |
JP2014191378A (en) | Server number adjustment system, method and program | |
CN112398172A (en) | Source-grid-load coordinated operation control method and related device | |
CN116345451B (en) | Operation control method and device for variable frequency temperature control load and terminal equipment | |
CN116566020B (en) | Charging and discharging power control method and device of energy storage system | |
CN112421650B (en) | Method and system for evaluating power grid inertia |
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 |