CN110837456A - Control method and device and electronic equipment - Google Patents
Control method and device and electronic equipment Download PDFInfo
- Publication number
- CN110837456A CN110837456A CN201911109097.9A CN201911109097A CN110837456A CN 110837456 A CN110837456 A CN 110837456A CN 201911109097 A CN201911109097 A CN 201911109097A CN 110837456 A CN110837456 A CN 110837456A
- Authority
- CN
- China
- Prior art keywords
- processor
- frequency
- adjustment mode
- power consumption
- temperature
- 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0721—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment within a central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/324—Power saving characterised by the action undertaken by lowering clock frequency
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring 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
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computing Systems (AREA)
- Power Sources (AREA)
Abstract
The application provides a control method, a control device and electronic equipment, which are used for monitoring the running condition of the electronic equipment in a basic power consumption adjustment mode; under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode; and if the current temperature parameter of the processor meets the high-temperature protection condition, adjusting the electronic equipment to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode. Under the condition that the operation failure of the basic power consumption adjustment mode is monitored, the electronic equipment is adjusted to enter the over-temperature protection adjustment mode, so that the processor sequentially operates at least two different high and low operating frequencies, the power consumption of the processor is reduced, the time for entering the high-temperature protection adjustment mode is delayed, the problem of the performance reduction of the processor system caused by directly continuously reducing the operating frequency of the processor is avoided, and the system performance of the processor is ensured.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a control method, an apparatus, and an electronic device.
Background
Because the current electronic equipment is limited by hardware conditions, in order to ensure the running performance of an internal processor of the electronic equipment, the internal processor of the electronic equipment cannot be always kept in a high-power-consumption running state, otherwise, the running performance of the internal processor of the electronic equipment is affected.
Disclosure of Invention
In view of this, the present application provides a control method, a control device and an electronic device.
A control method, comprising:
monitoring a condition of an electronic device operating in a basic power consumption adjustment mode, wherein the basic power consumption adjustment mode is a mode for performing power consumption adjustment on at least a processor of the electronic device and one element associated with the processor;
under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode;
wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor;
if the current temperature parameter of the processor meets a high-temperature protection condition, adjusting the electronic device to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode, wherein the adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least comprises: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
In the above method, preferably, when it is monitored that the basic power consumption adjustment mode fails to operate, adjusting the electronic device to enter an over-temperature protection adjustment mode to adjust the operating frequency of the processor based on the over-temperature protection adjustment mode includes:
and under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, obtaining the current temperature parameter of the processor, and if the current temperature parameter of the processor meets an over-temperature protection condition, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode.
In the above method, preferably, the current operating parameter includes at least one of:
the working temperature of the processor in the current operation process; the environment temperature of the processor is in the current operation process of the processor; the duration of the processor being in a high frequency operating state or in a low frequency operating state.
Preferably, the above method, wherein the dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameter of the processor to adjust the power consumption of the processor, includes:
and dynamically adjusting the processor in a high-frequency working state to enter a low-frequency working state at least according to the current operating parameters of the processor so as to dynamically adjust the processor to be sequentially in at least two working frequency operating durations.
The method preferably includes, at the current operating parameter of the processor: under the condition of the working temperature of the processor in the current running process, dynamically adjusting the processor in a high-frequency working state into a low-frequency working state at least according to the current running parameters of the processor so as to dynamically adjust the running duration of the processor sequentially at least two working frequencies, and the method comprises the following steps:
under the condition that the working temperature of the processor in the current running process is higher than a first working temperature threshold value, the processor is set to be switched from a first frequency to a second frequency, and the second frequency is lower than the first frequency;
and under the condition that the working temperature of the processor in the current running process is not higher than the first processor temperature threshold value, setting the processor to be switched from the second frequency to the first frequency.
The method preferably includes, at the current operating parameter of the processor: the operating temperature of the processor in the current operating process, and the processor in the current operating process, under the condition of the environmental temperature of the processor, dynamically adjusting the processor in the high-frequency operating state to enter the low-frequency operating state at least according to the current operating parameters of the processor, so as to dynamically adjust the operating duration of the processor sequentially at least two operating frequencies, including:
when the working temperature of the processor in the current running process is higher than a second working temperature threshold value and the environment temperature of the processor in the current running process is higher than a first environment temperature threshold value, setting the processor to be switched from a first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and when the working temperature of the processor in the current operation process is not higher than a second processor temperature threshold value, or the environment temperature of the processor in the current operation process is not higher than a first environment temperature threshold value, setting the processor to be switched from a second frequency to a first frequency.
The method preferably includes, at the current operating parameter of the processor: under the condition that the processor is in a high-frequency working state or in a low-frequency working state for a long time, dynamically adjusting the processor in the high-frequency working state to enter the low-frequency working state at least according to the current operating parameters of the processor so as to dynamically adjust the processor to be in at least two working frequency operating time periods in sequence, wherein the step of dynamically adjusting the processor to be in the low-frequency working state comprises the following steps:
under the condition that the time length of the processor under the first frequency reaches a first running time length threshold value, setting the processor to be switched from the first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and under the condition that the time length of the processor under the second frequency reaches a second running time length threshold value, setting the processor to be switched from the second frequency to the first frequency.
Preferably, in the above method, if the current temperature parameter of the processor meets a high-temperature protection condition, the electronic device is adjusted to enter a high-temperature protection adjustment mode, so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode, and then the method further includes:
if the current temperature parameter of the processor meets a limit protection condition, adjusting the processor to enter a limit protection adjustment mode so as to adjust the power consumption of the processor based on the limit protection adjustment mode, wherein the limit protection adjustment mode at least comprises the following steps: cutting off a power consumption supply path of the processor.
A control device, comprising:
the monitoring unit is used for monitoring the running condition of the electronic equipment in a basic power consumption adjusting mode, wherein the basic power consumption adjusting mode is a mode for adjusting the power consumption of at least a processor of the electronic equipment and one element related to the processor;
the over-temperature protection adjustment mode operation unit is used for adjusting the electronic equipment to enter an over-temperature protection adjustment mode under the condition that the basic power consumption adjustment mode operation is monitored to be invalid, so that the working frequency of the processor is adjusted based on the over-temperature protection adjustment mode; wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor;
a high-temperature protection adjustment mode operation unit, configured to adjust, if a current temperature parameter of the processor meets a high-temperature protection condition, the electronic device to enter a high-temperature protection adjustment mode, so as to adjust power consumption of the processor based on the high-temperature protection adjustment mode, where adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least includes: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
An electronic device, comprising:
a processor and a memory;
the processor is used for calling and executing the program stored in the memory;
the memory is configured to store the program, the program at least to:
monitoring a condition of an electronic device operating in a basic power consumption adjustment mode, wherein the basic power consumption adjustment mode is a mode for performing power consumption adjustment on at least a processor of the electronic device and one element associated with the processor;
under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode;
wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor;
if the current temperature parameter of the processor meets a high-temperature protection condition, adjusting the electronic device to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode, wherein the adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least comprises: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
In view of the foregoing technical solutions, the present application provides a control method, an apparatus, and an electronic device, which monitor a condition that the electronic device operates in a basic power consumption adjustment mode, where the basic power consumption adjustment mode is a mode for adjusting power consumption of at least a processor of the electronic device and an element associated with the processor; under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode; wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor; if the current temperature parameter of the processor meets a high-temperature protection condition, adjusting the electronic device to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode, wherein the adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least comprises: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor. Therefore, under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, the electronic equipment is adjusted to enter an over-temperature protection adjustment mode, the high-low frequency ratio of the processor is dynamically adjusted according to the current operation parameters of the processor, the dynamic adjustment of the processor is sequentially operated at least two different high-low operating frequencies for a long time, the processor is sequentially operated at least two different high-low operating frequencies, the power consumption of the processor can be reduced, the temperature rise time of the processor can be delayed, the time of entering the high-temperature protection adjustment mode is delayed, the problem of the reduction of the system performance of the processor caused by the fact that the operating frequency of the processor is continuously reduced after the operation of the basic power consumption adjustment mode is invalid is avoided, and the system performance of the processor is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
Fig. 1 is a flowchart illustrating an implementation of a control method according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating an implementation of a control method according to a second embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a page register according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of a control device according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and 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 application.
It should be noted that, because the electronic device is limited by hardware conditions at present, in order to ensure the operation performance of the internal processor of the electronic device, the internal processor of the electronic device cannot be kept in a high power consumption operation state at all times, otherwise, the operation performance of the internal processor of the electronic device may be affected, in order to adjust the power consumption of the internal processor of the electronic device, a basic power consumption adjustment mode is adopted at present, the basic power consumption adjustment mode is a mode for adjusting the power consumption of at least a processor of the electronic device and an element (such as a fan, a display, a battery, a motherboard, and the like) associated with the processor, such as a dptf (Dynamic Platform and Thermal framework) power consumption adjustment mode or an Intel Dynamic tunneling power consumption adjustment mode, the power consumption of the processor is directly adjusted, or the power consumption of the processor is adjusted by adjusting at least one element associated with the processor, for example, the purpose of adjusting the power consumption of the processor can be achieved by adjusting the rotating speed of the fan, adjusting the brightness of the display, adjusting the charging and discharging time of the battery, adjusting the temperature of the mainboard and the like. The basic power consumption adjustment mode may further adopt different power consumption adjustment strategies according to different usage scenarios of the electronic device, and perform power consumption adjustment on at least a processor of the electronic device and an element associated with the processor.
However, the basic power consumption adjustment mode can be operated only when corresponding software is installed at one end of an operating system of the electronic device, and for some models of electronic devices, the basic power consumption adjustment mode cannot be operated when the software corresponding to the basic power consumption adjustment mode cannot be installed due to problems such as system incompatibility, and the like. Moreover, once the software corresponding to the basic power consumption adjustment mode is unloaded, the basic power consumption adjustment mode may fail to operate, and after the basic power consumption adjustment mode fails, the power consumption of the processor may not be adjusted, which may affect the system performance of the processing.
In order to solve the problem that the power consumption of the processor cannot be adjusted after the basic power consumption adjustment mode fails to operate, the inventor proposes that the electronic device is adjusted to enter a high-temperature protection adjustment mode (such as a TCC mode) under the condition that the basic power consumption adjustment mode fails to operate, and the high-temperature protection adjustment mode can adjust the power consumption of the processor by continuously reducing the operating frequency of the processor, so as to improve the system performance of the processor.
However, the inventor further researches and discovers that after the basic power consumption adjustment mode fails, the temperature of the processor can quickly reach the trigger temperature of the high-temperature protection adjustment mode because no power consumption adjustment method is adopted for the processor, correspondingly, after the basic power consumption adjustment mode fails, the processor can quickly enter the high-temperature protection adjustment mode, and in order to meet the requirements that the device is not overheated and the shell is not overheated, the high-temperature protection adjustment mode can quickly reduce the operating frequency of the processor to a lower value, so that the processor is switched from the high-frequency operating mode to the low-frequency operating mode in a short time, and the system performance of the processor can be seriously affected by the sudden reduction of the operating frequency. Therefore, although the above method can reduce the power consumption of the processor, it can seriously affect the system performance of the processor.
Based on this, in order to meet the requirements of reducing the power consumption of the processor and improving the performance of the processor system, the inventor proposes a control method, which monitors the operation condition of the electronic device in a basic power consumption adjustment mode, wherein the basic power consumption adjustment mode is a mode for adjusting the power consumption of at least the processor of the electronic device and one element related to the processor; under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode; wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor; if the current temperature parameter of the processor meets a high-temperature protection condition, adjusting the electronic device to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode, wherein the adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least comprises: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor. Therefore, under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, the electronic equipment is adjusted to enter an over-temperature protection adjustment mode, the high-low frequency ratio of the processor is dynamically adjusted according to the current operation parameters of the processor, the dynamic adjustment of the processor is sequentially operated at least two different high-low operating frequencies for a long time, the processor is sequentially operated at least two different high-low operating frequencies, the power consumption of the processor can be reduced, the temperature rise time of the processor can be delayed, the time of entering the high-temperature protection adjustment mode is delayed, the problem of the reduction of the system performance of the processor caused by the fact that the operating frequency of the processor is continuously reduced after the operation of the basic power consumption adjustment mode is invalid is avoided, and the system performance of the processor is ensured.
The following describes in detail the specific implementation of the above control method disclosed in the present application with specific examples.
As shown in fig. 1, a flowchart of an implementation of a control method provided in an embodiment of the present application is provided, where the method may be applied to various types of electronic devices, such as a mobile phone, a pad, or other terminals.
Specifically, the method in this embodiment may include the following steps:
step 101: monitoring the running state of the electronic equipment in a basic power consumption adjusting mode;
the base power consumption adjustment mode is a mode in which power consumption adjustment is performed on at least a processor of the electronic device and an element associated with the processor.
In the process of normal operation of the basic power consumption adjustment mode, the embedded controller can continuously receive basic power consumption adjustment mode normal operation indication information periodically sent by software corresponding to the basic power consumption adjustment mode, and the basic power consumption adjustment mode normal operation indication information can reflect the operation condition of the basic power consumption adjustment mode.
Step 102: under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode;
it should be noted that, if the embedded controller does not receive the indication information of the normal operation of the basic power consumption adjustment mode within the indication information receiving time period, it is determined that the operation of the basic power consumption adjustment mode is failed.
Optionally, in this embodiment of the present application, adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least includes: and dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor. Namely, the power consumption of the processor is adjusted by dynamically adjusting the time length proportion of the high-frequency running state and the low-frequency running state of the processor.
Specifically, the dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameter of the processor to adjust the power consumption of the processor includes: and dynamically adjusting the processor in the high-frequency working state to enter a low-frequency working state at least according to the current operating parameters of the processor so as to dynamically adjust the processor to be sequentially in at least two working frequency operating durations, for example, the processor can be dynamically adjusted to alternately operate between the high-frequency working state and the low-frequency working state.
Optionally, the current operating parameter of the processor includes at least one of:
the working temperature of the processor in the current operation process; the environment temperature of the processor is in the current operation process of the processor; the duration of the processor being in a high frequency operating state or in a low frequency operating state.
Specifically, in the embodiment of the application, the working temperature of the processor in the current operation process may be monitored by the temperature sensor to obtain the working temperature corresponding to each moment in the current operation process of the processor, and the ambient temperature of the processor in the operation process may be monitored by the temperature sensor to obtain the ambient temperature corresponding to each moment in the current operation process of the processor. The embodiment of the application specifically times the working duration of the processor through the timer to obtain the duration of the processor in a high-frequency working state or a low-frequency working state.
Step 103: and if the current temperature parameter of the processor meets the high-temperature protection condition, adjusting the electronic equipment to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode.
The adjusting power consumption of the processor based on the high temperature protection adjustment mode at least comprises: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
Specifically, the manner of continuously reducing the operating frequency of the processor may be: the operating frequency of the processor is continuously reduced periodically or is continuously reduced aperiodically until the operating frequency of the processor is reduced to the basic frequency of the processor.
Specifically, in the process of adjusting the working frequency of the processor based on the over-temperature protection adjustment mode, the current temperature parameter of the processor is obtained in real time, and whether the current temperature parameter of the processor meets the high-temperature protection condition is monitored in real time, so that whether the electronic equipment is adjusted to enter the high-temperature protection adjustment mode is judged in real time.
The current temperature parameters of the processor include: and adjusting the electronic equipment to enter a high-temperature protection adjustment mode under the condition that the working temperature of the processor in the current operation process reaches a high-temperature threshold of the processor or the environmental temperature of the processor in the current operation process reaches an environmental high-temperature threshold.
According to the control method disclosed by the application, under the condition that the operation of the basic power consumption adjustment mode is invalid, the electronic equipment is adjusted to enter the over-temperature protection adjustment mode firstly, the high-low frequency ratio of the processor is dynamically adjusted according to the current operation parameters of the processor, and further the dynamic adjustment of the operation duration of the processor in at least two different high-low operating frequencies is realized, so that the processor is sequentially operated in at least two different high-low operating frequencies, the power consumption of the processor can be reduced, the temperature rise time of the processor can be delayed, the time of entering the high-temperature protection adjustment mode is delayed, the problem of the performance reduction of the processor system caused by the fact that the operating frequency of the processor is continuously reduced after the operation of the basic power consumption adjustment mode is invalid is avoided, and the system performance of the processor is ensured.
Meanwhile, it should be noted that the power consumption adjustment mode of the processor disclosed in the embodiment of the present application does not require additional software installation on the electronic device, and has general applicability to the electronic device.
Based on the above implementation, as shown in fig. 2, a flowchart of a control method provided in the second embodiment of the present application is provided, where the method may be applied to various types of electronic devices, such as a mobile phone, a pad, or other terminals.
Specifically, the method in this embodiment may include the following steps:
step 201: monitoring the running state of the electronic equipment in a basic power consumption adjusting mode;
the base power consumption adjustment mode is a mode in which power consumption adjustment is performed on at least a processor of the electronic device and an element associated with the processor.
Step 202: under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, obtaining the current temperature parameter of the processor, and if the current temperature parameter of the processor meets an over-temperature protection condition, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode;
it should be noted that, when it is monitored that the basic power consumption adjustment mode is invalid in operation, the current temperature parameter of the processor needs to be monitored, the current temperature parameter of the processor is the working temperature of the processor, and only when the basic power consumption adjustment mode is invalid in operation and the working temperature of the processor meets the over-temperature protection condition, the electronic device is adjusted to enter the over-temperature protection adjustment mode, so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode.
That is to say, in the embodiment of the present application, the electronic device is adjusted to enter the over-temperature protection adjustment mode only when the operation of the basic power consumption adjustment mode fails and the operating temperature of the processor reaches the over-temperature protection threshold value.
Wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: and dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor.
The following describes in detail several specific ways of dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameter of the processor, so as to adjust the power consumption of the processor, which are disclosed in the embodiments of the present application:
the first method is that the power consumption of the processor is adjusted according to the working temperature of the processor:
under the condition that the working temperature of the processor in the current running process is higher than a first working temperature threshold value, the processor is set to be switched from a first frequency to a second frequency, and the second frequency is lower than the first frequency; and under the condition that the working temperature of the processor in the current running process is not higher than the first processor temperature threshold value, setting the processor to be switched from the second frequency to the first frequency.
The first operating temperature threshold may be set by a person skilled in the art according to practical situations, and the embodiments of the present application are not particularly limited.
And the second mode is that the power consumption of the processor is adjusted according to the working temperature of the processor and the environment temperature of the processor:
when the working temperature of the processor in the current running process is higher than a second working temperature threshold value and the environment temperature of the processor in the current running process is higher than a first environment temperature threshold value, setting the processor to be switched from a first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and when the working temperature of the processor in the current operation process is not higher than a second processor temperature threshold value, or the environment temperature of the processor in the current operation process is not higher than a first environment temperature threshold value, setting the processor to be switched from a second frequency to a first frequency.
The second operating temperature threshold and the ambient temperature threshold may be set by those skilled in the art according to actual situations, and embodiments of the present application are not particularly limited.
And thirdly, adjusting the power consumption of the processor according to the time length of the processor in a high-frequency working state or a low-frequency working state:
under the condition that the time length of the processor under the first frequency reaches a first running time length threshold value, setting the processor to be switched from the first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and under the condition that the time length of the processor under the second frequency reaches a second running time length threshold value, setting the processor to be switched from the second frequency to the first frequency.
The first operation duration threshold and the second operation duration threshold may be set by those skilled in the art according to actual situations, and the embodiment of the present application is not particularly limited.
And fourthly, adjusting the power consumption of the processor according to the working temperature of the processor and the time length of the processor in the high-frequency working state or the low-frequency working state:
under the condition that the working temperature of the processor in the current running process is higher than a third working temperature threshold value and the time length of the processor under the first frequency reaches a third running time length threshold value, the processor is set to be switched from the first frequency to a second frequency, and the second frequency is lower than the first frequency;
and under the condition that the working temperature of the processor in the current running process is not higher than a third working temperature threshold value, or the time length of the processor under the second frequency reaches a fourth running time length threshold value, setting the processor to be switched from the second frequency to the first frequency.
The third operating temperature threshold, the third operating time length threshold, and the fourth operating time length threshold may be set by those skilled in the art according to actual situations, and embodiments of the present application are not particularly limited.
And fifthly, adjusting the power consumption of the processor according to the environment temperature of the processor and the time length of the processor in the high-frequency working state or the low-frequency working state:
in the current operation process of the processor, under the condition that the environment temperature of the processor is higher than a second environment temperature threshold value and the time length of the processor under the first frequency reaches a fifth operation time length threshold value, switching the processor from the first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and in the current operation process of the processor, setting the processor to be switched from the second frequency to the first frequency under the condition that the environment temperature of the processor is not higher than the second environment temperature threshold value or the time length of the processor under the second frequency reaches a sixth operation time length threshold value.
The second ambient temperature threshold, the fifth operation time length threshold, and the sixth operation time length threshold may be set by those skilled in the art according to actual situations, and embodiments of the present application are not particularly limited.
And a sixth mode, adjusting the power consumption of the processor according to the working temperature of the processor, the environment temperature of the processor and the time length of the processor in the high-frequency working state or the low-frequency working state:
when the working temperature of the processor in the current running process is higher than a fourth working temperature threshold, the environment temperature of the processor is higher than a third environment temperature threshold, and the time length of the processor under the first frequency reaches a seventh running time length threshold, setting the processor to be switched from the first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and under the condition that the working temperature of the processor in the current running process is not higher than a fourth working temperature threshold value, or the environment temperature of the processor is not higher than a third environment temperature threshold value, or the time length of the processor under the second frequency reaches an eighth running time length threshold value, the processor is switched from the second frequency to the first frequency.
The fourth operating temperature threshold, the third ambient temperature threshold, the seventh operating time threshold, and the eighth operating time threshold may be set by those skilled in the art according to actual situations, and embodiments of the present application are not specifically limited.
Step 203: and if the current temperature parameter of the processor meets the high-temperature protection condition, adjusting the electronic equipment to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode.
And on the premise that the working temperature of the processor is continuously increased or the environmental temperature is relatively high, judging whether the current temperature parameter of the processor meets a high-temperature protection condition, and if the current temperature parameter of the processor meets the high-temperature protection condition, adjusting the electronic equipment to enter a high-temperature protection adjustment mode.
The adjusting power consumption of the processor based on the high temperature protection adjustment mode at least comprises: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
On the other hand, in the process of adjusting the working frequency of the processor through the over-temperature protection adjustment mode, if the working temperature of the processor is gradually reduced to meet the condition of quitting the over-temperature protection, the over-temperature protection measures do not need to be executed on the processor, at this moment, the condition of quitting the over-temperature protection adjustment mode needs to be met, and the over-temperature protection measures are not executed on the processor.
Based on the above implementation, after step 203, the following steps may be further included in this embodiment, as shown in fig. 2:
step 204: and if the current temperature parameter of the processor meets the limit protection condition, adjusting the processor to enter a limit protection adjustment mode so as to adjust the power consumption of the processor based on the limit protection adjustment mode.
The limit protection adjustment mode adjusting the power consumption of the processor at least comprises: cutting off a power consumption supply path of the processor.
Specifically, the embodiment of the present application may adjust the processor to enter the limit protection adjustment mode when the operating temperature of the processor in the current operation process, or when the environmental temperature of the processor in the current operation process of the processor meets the limit protection condition,
according to the embodiment of the application, when the working temperature of the processor in the current running process reaches the threshold of the limit working temperature, or when the environment temperature of the processor reaches the threshold of the limit environment temperature in the current running process of the processor, the temperature of the current processor is already very high, at the moment, a power consumption supply path of the processor needs to be cut off, the processor is ensured not to be damaged, and the working performance of the processor is ensured.
The following takes a specific application as an example to illustrate the technical solution in the present application:
and the embedded controller monitors the running state of the DPTF mode running in the electronic equipment in real time, and when the embedded controller does not receive the indication information of the normal running of the DPTF mode in the time period of receiving the indication information of the normal running of the DPTF, the embedded controller judges that the DPTF mode is invalid in running. Under the condition that the DPTF mode operation is monitored to be invalid, the electronic equipment is adjusted to enter an OTP (Over Temperature Protection adjustment) mode, so that the working frequency of the processor is adjusted according to information set in a page register based on the OTP mode. If the current temperature parameter of the processor meets the high-temperature protection condition, the electronic equipment is adjusted to enter a high-temperature protection adjustment mode (TCC mode) so as to continuously reduce the working frequency of the processor based on the TCC mode and adjust the power consumption of the processor. And if the current temperature parameter of the processor meets the limit protection condition, adjusting the processor to enter a limit protection adjustment mode, and cutting off a power consumption supply path of the processor.
Therefore, according to the scheme, under the condition that the DPTF mode is monitored to be invalid in operation, the electronic equipment is firstly adjusted to enter the OTP mode, the high-low frequency ratio of the processor is dynamically adjusted according to the current operation parameters of the processor, the dynamic adjustment of the operation duration of the processor in at least two different high-low operating frequencies is further realized, the processor is enabled to operate in at least two different high-low operating frequencies in sequence, the power consumption of the processor can be reduced, the temperature rise time of the processor can be delayed, the time of entering the TCC mode is delayed, the problem of the reduction of the system performance of the processor caused by the fact that the TCC mode is directly adopted to continuously reduce the operating frequency of the processor is avoided, and the system performance of the processor is ensured.
With reference to the schematic structural diagram of the page register shown in fig. 3, the information set in the page register is:
wherein the coupling value trigger value includes a processor operating temperature trigger value that triggers the dynamic adjustment of the high/low frequency ratio of the processor in the OTP mode and/or an ambient temperature trigger value that triggers the dynamic adjustment of the high/low frequency ratio of the processor in the OTP mode.
Referring to fig. 4, a schematic structural diagram of a control device provided in a third embodiment of the present application is shown, where the control device may be disposed in various types of electronic devices, and the device corresponds to the above method, and specific contents may be referred to accordingly. Such as a mobile phone, a pad, or other terminals, the method in this embodiment is mainly used to reduce the power consumption of the processor of the electronic device and improve the system performance of the processor of the electronic device.
Specifically, the apparatus in this embodiment may include the following structure:
a monitoring unit 301, configured to monitor a condition that an electronic device operates in a basic power consumption adjustment mode, where the basic power consumption adjustment mode is a mode in which power consumption adjustment is performed on at least a processor of the electronic device and an element associated with the processor;
an over-temperature protection adjustment mode operation unit 302, configured to, when it is monitored that the basic power consumption adjustment mode operation is failed, adjust the electronic device to enter an over-temperature protection adjustment mode, so as to adjust a working frequency of the processor based on the over-temperature protection adjustment mode; wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor;
a high-temperature protection adjustment mode operation unit 303, configured to, if the current temperature parameter of the processor meets a high-temperature protection condition, adjust the electronic device to enter a high-temperature protection adjustment mode, so as to adjust power consumption of the processor based on the high-temperature protection adjustment mode, where adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least includes: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
According to the scheme, the control device provided by the third embodiment of the application firstly adjusts the electronic device to enter the over-temperature protection adjustment mode under the condition that the operation of the basic power consumption adjustment mode is invalid, and dynamically adjusts the high-low frequency ratio of the processor according to the current operation parameters of the processor, so that the dynamic adjustment processor is sequentially operated at least two different high-low operating frequencies for a long time, the processor is sequentially operated at least two different high-low operating frequencies, the power consumption of the processor can be reduced, the temperature rise time of the processor can be delayed, the time of entering the high-temperature protection adjustment mode is delayed, the problem of the reduction of the system performance of the processor caused by directly adopting the mode of continuously reducing the operating frequency of the processor is avoided, and the system performance of the processor is ensured.
In one implementation manner, the over-temperature protection adjustment mode operation unit in this embodiment includes:
and the over-temperature protection adjustment mode operation subunit is used for acquiring the current temperature parameter of the processor under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, and adjusting the electronic equipment to enter the over-temperature protection adjustment mode if the current temperature parameter of the processor meets an over-temperature protection condition so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode.
The current operating parameters include at least one of:
the working temperature of the processor in the current operation process; the environment temperature of the processor is in the current operation process of the processor; the duration of the processor being in a high frequency operating state or in a low frequency operating state.
In an implementation manner, the over-temperature protection adjustment mode operation unit in this embodiment is specifically configured to:
and dynamically adjusting the processor in a high-frequency working state to enter a low-frequency working state at least according to the current operating parameters of the processor so as to dynamically adjust the processor to be sequentially in at least two working frequency operating durations.
The current operating parameters at the processor include: under the condition of the working temperature of the processor in the current operation process, the over-temperature protection adjustment mode operation unit in this embodiment is further specifically configured to:
under the condition that the working temperature of the processor in the current running process is higher than a first working temperature threshold value, the processor is set to be switched from a first frequency to a second frequency, and the second frequency is lower than the first frequency;
and under the condition that the working temperature of the processor in the current running process is not higher than the first processor temperature threshold value, setting the processor to be switched from the second frequency to the first frequency.
The current operating parameters at the processor include: the over-temperature protection adjustment mode operation unit in this embodiment is further specifically configured to, in the case of the operating temperature of the processor in the current operation process and the ambient temperature of the processor in the current operation process of the processor:
when the working temperature of the processor in the current running process is higher than a second working temperature threshold value and the environment temperature of the processor in the current running process is higher than a first environment temperature threshold value, setting the processor to be switched from a first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and when the working temperature of the processor in the current operation process is not higher than a second processor temperature threshold value, or the environment temperature of the processor in the current operation process is not higher than a first environment temperature threshold value, setting the processor to be switched from a second frequency to a first frequency.
The current operating parameters at the processor include: under the condition of the duration that the processor is in the high-frequency operating state or in the low-frequency operating state, the over-temperature protection adjustment mode operation unit in this embodiment is further specifically configured to:
under the condition that the time length of the processor under the first frequency reaches a first running time length threshold value, setting the processor to be switched from the first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and under the condition that the time length of the processor under the second frequency reaches a second running time length threshold value, setting the processor to be switched from the second frequency to the first frequency.
The control device further includes:
an extreme protection adjustment mode operation unit, configured to, if a current temperature parameter of the processor meets an extreme protection condition, adjust the processor to enter an extreme protection adjustment mode to adjust power consumption of the processor based on the extreme protection adjustment mode, where the adjustment of the power consumption of the processor by the extreme protection adjustment mode at least includes: cutting off a power consumption supply path of the processor.
An embodiment of the present application further discloses an electronic device, as shown in fig. 5, which shows a schematic structural diagram of a component of an electronic device to which the scheme of the present application is applied, where the electronic device includes: a processor 401 and a memory 402.
The processor 401 is configured to call and execute a program stored in the memory;
the memory 402 is used to store the program,
the electronic device may further include: a communication interface 403, an input unit 404, a display 405 and a communication bus 406.
The processor 401, the memory 402, the communication interface 403, the input unit 404 and the display 405 all communicate with each other through the communication bus 406.
In the embodiment of the present application, the processor 401 may be a Central Processing Unit (CPU), an off-the-shelf programmable gate array (FPGA) or other programmable logic device.
The processor may call a program stored in the memory 402, and in particular, the processor may perform the operations performed at the terminal side in the following method embodiments.
The memory 402 is used for storing one or more programs, which may include program codes including computer operation instructions, and in this embodiment, the memory stores at least the programs for implementing the following functions:
monitoring a condition of an electronic device operating in a basic power consumption adjustment mode, wherein the basic power consumption adjustment mode is a mode for performing power consumption adjustment on at least a processor of the electronic device and one element associated with the processor;
under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode;
wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor;
if the current temperature parameter of the processor meets a high-temperature protection condition, adjusting the electronic device to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode, wherein the adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least comprises: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
It should be noted that the electronic device in the embodiment of the present invention may also be used to execute the contents of all the control methods described in the above embodiments.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A control method, comprising:
monitoring a condition of an electronic device operating in a basic power consumption adjustment mode, wherein the basic power consumption adjustment mode is a mode for performing power consumption adjustment on at least a processor of the electronic device and one element associated with the processor;
under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode;
wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor;
if the current temperature parameter of the processor meets a high-temperature protection condition, adjusting the electronic device to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode, wherein the adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least comprises: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
2. The method of claim 1, wherein in the event that operation of the basic power consumption adjustment mode is monitored to fail, adjusting the electronic device to enter an over-temperature protection adjustment mode to adjust an operating frequency of the processor based on the over-temperature protection adjustment mode comprises:
and under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, obtaining the current temperature parameter of the processor, and if the current temperature parameter of the processor meets an over-temperature protection condition, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode.
3. The method of claim 1, the current operating parameters comprising at least one of:
the working temperature of the processor in the current operation process; the environment temperature of the processor is in the current operation process of the processor; the duration of the processor being in a high frequency operating state or in a low frequency operating state.
4. The method of claim 1, wherein dynamically adjusting the high-low frequency ratio of the processor to adjust the power consumption of the processor according to current operating parameters of the processor comprises:
and dynamically adjusting the processor in a high-frequency working state to enter a low-frequency working state at least according to the current operating parameters of the processor so as to dynamically adjust the processor to be sequentially in at least two working frequency operating durations.
5. The method of claim 4, wherein the current operating parameters of the processor comprise: under the condition of the working temperature of the processor in the current running process, dynamically adjusting the processor in a high-frequency working state into a low-frequency working state at least according to the current running parameters of the processor so as to dynamically adjust the running duration of the processor sequentially at least two working frequencies, and the method comprises the following steps:
under the condition that the working temperature of the processor in the current running process is higher than a first working temperature threshold value, the processor is set to be switched from a first frequency to a second frequency, and the second frequency is lower than the first frequency;
and under the condition that the working temperature of the processor in the current running process is not higher than the first processor temperature threshold value, setting the processor to be switched from the second frequency to the first frequency.
6. The method of claim 4, wherein the current operating parameters of the processor comprise: the operating temperature of the processor in the current operating process, and the processor in the current operating process, under the condition of the environmental temperature of the processor, dynamically adjusting the processor in the high-frequency operating state to enter the low-frequency operating state at least according to the current operating parameters of the processor, so as to dynamically adjust the operating duration of the processor sequentially at least two operating frequencies, including:
when the working temperature of the processor in the current running process is higher than a second working temperature threshold value and the environment temperature of the processor in the current running process is higher than a first environment temperature threshold value, setting the processor to be switched from a first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and when the working temperature of the processor in the current operation process is not higher than a second processor temperature threshold value, or the environment temperature of the processor in the current operation process is not higher than a first environment temperature threshold value, setting the processor to be switched from a second frequency to a first frequency.
7. The method of claim 4, wherein the current operating parameters of the processor comprise: under the condition that the processor is in a high-frequency working state or in a low-frequency working state for a long time, dynamically adjusting the processor in the high-frequency working state to enter the low-frequency working state at least according to the current operating parameters of the processor so as to dynamically adjust the processor to be in at least two working frequency operating time periods in sequence, wherein the step of dynamically adjusting the processor to be in the low-frequency working state comprises the following steps:
under the condition that the time length of the processor under the first frequency reaches a first running time length threshold value, setting the processor to be switched from the first frequency to a second frequency, wherein the second frequency is lower than the first frequency;
and under the condition that the time length of the processor under the second frequency reaches a second running time length threshold value, setting the processor to be switched from the second frequency to the first frequency.
8. The method of any one of claims 1-7, if the current temperature parameter of the processor satisfies a high temperature protection condition, adjusting the electronic device to enter a high temperature protection adjustment mode to adjust the power consumption of the processor based on the high temperature protection adjustment mode, and then further comprising:
if the current temperature parameter of the processor meets a limit protection condition, adjusting the processor to enter a limit protection adjustment mode so as to adjust the power consumption of the processor based on the limit protection adjustment mode, wherein the limit protection adjustment mode at least comprises the following steps: cutting off a power consumption supply path of the processor.
9. A control device, comprising:
the monitoring unit is used for monitoring the running condition of the electronic equipment in a basic power consumption adjusting mode, wherein the basic power consumption adjusting mode is a mode for adjusting the power consumption of at least a processor of the electronic equipment and one element related to the processor;
the over-temperature protection adjustment mode operation unit is used for adjusting the electronic equipment to enter an over-temperature protection adjustment mode under the condition that the basic power consumption adjustment mode operation is monitored to be invalid, so that the working frequency of the processor is adjusted based on the over-temperature protection adjustment mode; wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor;
a high-temperature protection adjustment mode operation unit, configured to adjust, if a current temperature parameter of the processor meets a high-temperature protection condition, the electronic device to enter a high-temperature protection adjustment mode, so as to adjust power consumption of the processor based on the high-temperature protection adjustment mode, where adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least includes: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
10. An electronic device, comprising:
a processor and a memory;
the processor is used for calling and executing the program stored in the memory;
the memory is configured to store the program, the program at least to:
monitoring a condition of an electronic device operating in a basic power consumption adjustment mode, wherein the basic power consumption adjustment mode is a mode for performing power consumption adjustment on at least a processor of the electronic device and one element associated with the processor;
under the condition that the operation of the basic power consumption adjustment mode is monitored to be invalid, adjusting the electronic equipment to enter an over-temperature protection adjustment mode so as to adjust the working frequency of the processor based on the over-temperature protection adjustment mode;
wherein adjusting the operating frequency of the processor based on the over-temperature protection adjustment mode at least comprises: dynamically adjusting the high-low frequency ratio of the processor according to the current operating parameters of the processor so as to adjust the power consumption of the processor;
if the current temperature parameter of the processor meets a high-temperature protection condition, adjusting the electronic device to enter a high-temperature protection adjustment mode so as to adjust the power consumption of the processor based on the high-temperature protection adjustment mode, wherein the adjusting the power consumption of the processor based on the high-temperature protection adjustment mode at least comprises: continuously reducing the operating frequency of the processor to adjust the power consumption of the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911109097.9A CN110837456B (en) | 2019-11-13 | 2019-11-13 | Control method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911109097.9A CN110837456B (en) | 2019-11-13 | 2019-11-13 | Control method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110837456A true CN110837456A (en) | 2020-02-25 |
CN110837456B CN110837456B (en) | 2021-12-24 |
Family
ID=69574918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911109097.9A Active CN110837456B (en) | 2019-11-13 | 2019-11-13 | Control method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110837456B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112198953A (en) * | 2020-09-27 | 2021-01-08 | 西安墨科通讯科技有限公司 | Control method and control device of terminal equipment and control equipment |
CN112667478A (en) * | 2020-12-30 | 2021-04-16 | 联想(北京)有限公司 | Control method and control device |
CN114664007A (en) * | 2022-03-07 | 2022-06-24 | 蔚来汽车科技(安徽)有限公司 | Portable device, method, and storage medium for unlocking vehicle |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01231620A (en) * | 1987-11-09 | 1989-09-14 | Ricoh Co Ltd | Equipment protective device against temperature |
CN1314627A (en) * | 2000-03-21 | 2001-09-26 | 神基科技股份有限公司 | Stepped frequency converter |
CN106155797A (en) * | 2016-07-29 | 2016-11-23 | 华勤通讯技术有限公司 | Terminal unit and the changing method of performance mode thereof |
CN106598814A (en) * | 2016-12-26 | 2017-04-26 | 郑州云海信息技术有限公司 | Design method for realizing overheating protection on server system |
CN106598200A (en) * | 2016-12-08 | 2017-04-26 | 武汉斗鱼网络科技有限公司 | Temperature-based CPU dynamic frequency modulation apparatus and method |
CN107102707A (en) * | 2017-04-19 | 2017-08-29 | 青岛海信移动通信技术股份有限公司 | Temprature control method and mobile terminal |
-
2019
- 2019-11-13 CN CN201911109097.9A patent/CN110837456B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01231620A (en) * | 1987-11-09 | 1989-09-14 | Ricoh Co Ltd | Equipment protective device against temperature |
CN1314627A (en) * | 2000-03-21 | 2001-09-26 | 神基科技股份有限公司 | Stepped frequency converter |
CN106155797A (en) * | 2016-07-29 | 2016-11-23 | 华勤通讯技术有限公司 | Terminal unit and the changing method of performance mode thereof |
CN106598200A (en) * | 2016-12-08 | 2017-04-26 | 武汉斗鱼网络科技有限公司 | Temperature-based CPU dynamic frequency modulation apparatus and method |
CN106598814A (en) * | 2016-12-26 | 2017-04-26 | 郑州云海信息技术有限公司 | Design method for realizing overheating protection on server system |
CN107102707A (en) * | 2017-04-19 | 2017-08-29 | 青岛海信移动通信技术股份有限公司 | Temprature control method and mobile terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112198953A (en) * | 2020-09-27 | 2021-01-08 | 西安墨科通讯科技有限公司 | Control method and control device of terminal equipment and control equipment |
CN112198953B (en) * | 2020-09-27 | 2024-01-26 | 西安墨科通讯科技有限公司 | Control method, control device and control equipment of terminal equipment |
CN112667478A (en) * | 2020-12-30 | 2021-04-16 | 联想(北京)有限公司 | Control method and control device |
CN114664007A (en) * | 2022-03-07 | 2022-06-24 | 蔚来汽车科技(安徽)有限公司 | Portable device, method, and storage medium for unlocking vehicle |
CN114664007B (en) * | 2022-03-07 | 2024-03-12 | 蔚来汽车科技(安徽)有限公司 | Portable device, method, and storage medium for unlocking a vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN110837456B (en) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110837456B (en) | Control method and device and electronic equipment | |
US20220043067A1 (en) | Charging method and device, charging system, electronic equipment and storage medium | |
CN110536348A (en) | A kind of power consumption control method of terminal, device and storage medium | |
CN104424031B (en) | Method and device for controlling working frequency of processor | |
CN107087136A (en) | Internet video call method, terminal and computer-readable recording medium | |
CN106155797B (en) | Terminal equipment and switching method of performance modes thereof | |
EP1768431A1 (en) | Network selection for a multimode terminal. | |
CN103780447A (en) | Flow control method and device | |
CN104156050A (en) | Task monitoring method and electronic device | |
CN113438687A (en) | Base station awakening method, device and equipment | |
CN113609027B (en) | ARM cloud server testing method and device, electronic equipment and storage medium | |
CN112469005B (en) | Method, device, equipment and computer readable storage medium for reducing power consumption of 5G equipment | |
CN112566281B (en) | Information reporting and receiving method, terminal and network side equipment | |
CN107908273B (en) | Application management method and device, storage medium and electronic equipment | |
CN113329436A (en) | Connection control method, terminal and storage medium | |
CN112399515B (en) | Communication processing method and device | |
CN106980353B (en) | Electronic device, control method and control device thereof | |
CN108307060B (en) | Electronic equipment, fall protection method and related product | |
CN111478817A (en) | Network fault processing method and device, storage medium and mobile device | |
CN110703897A (en) | Control method, device, chip and equipment | |
US10966104B2 (en) | Email synchronization method and device | |
CN106055392B (en) | Using processing method, test method and the terminal behind entrance backstage | |
WO2018053916A1 (en) | Application download method, device and terminal, and computer storage medium | |
US9639137B2 (en) | Control method and electronic device | |
CN113840313A (en) | Network mode control method and device of mobile terminal and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |