CN113672466A - Control method and device and electronic equipment - Google Patents

Control method and device and electronic equipment Download PDF

Info

Publication number
CN113672466A
CN113672466A CN202110969194.6A CN202110969194A CN113672466A CN 113672466 A CN113672466 A CN 113672466A CN 202110969194 A CN202110969194 A CN 202110969194A CN 113672466 A CN113672466 A CN 113672466A
Authority
CN
China
Prior art keywords
processor
condition
parameter
electronic equipment
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110969194.6A
Other languages
Chinese (zh)
Inventor
王科
鲁希达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110969194.6A priority Critical patent/CN113672466A/en
Publication of CN113672466A publication Critical patent/CN113672466A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Mathematical Physics (AREA)
  • Power Sources (AREA)

Abstract

The application provides a control method, comprising the following steps: after the electronic equipment is started, if a first parameter of a first processor of the electronic equipment is monitored to meet a first condition, a second parameter of the electronic equipment is determined, and the first parameter is related to the running state of the first processor; and if the second parameter meets a second condition, controlling at least the first processor to be switched from the current first operating state to a second operating state, wherein the processing capacity of the first processor in the first operating state is smaller than that of the first processor in the second operating state. In the scheme, after the electronic equipment is started, the first parameter of the first processor of the electronic equipment is monitored, the second parameter is obtained when the first parameter meets the first condition, and the first processor is at least controlled to be switched to the running state with higher processing capacity when the second parameter meets the second condition, so that the running state of the first processor is adjusted according to the actual condition of the first processor, the utilization rate of the processor does not need to be detected in real time, and the power consumption for detecting the electronic equipment is reduced.

Description

Control method and device and electronic equipment
Technical Field
The present application relates to the field of electronic device control, and in particular, to a control method and apparatus, and an electronic device.
Background
Various applications can be run in the electronic device, when the utilization rate of a processor in the electronic device is high, the power consumption of the processor is high, and the processing efficiency of the processor can be improved by adopting a mode of improving the power provided for the processor.
Therefore, in the prior art, during the operation of the electronic device, whether the processor is in use is determined by detecting the utilization rate of the processor in the electronic device in real time.
However, since power consumption is required when performing detection, the continuous reading results in high power consumption of the electronic device.
Disclosure of Invention
In view of the above, the present application provides a control method, comprising:
after the electronic equipment is started, if a first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor, wherein the first parameter is related to the running state of the first processor;
if the second parameter meets a second condition, at least controlling the first processor to be adjusted from a current first running state to a second running state;
the first parameter and the second parameter have different attribute information, and the processing capacity of the first processor in the first running state is smaller than that of the first processor in the second running state.
The present application also provides a control device, including:
the monitoring module is used for determining a second parameter of a first processor of the electronic equipment if the first parameter of the first processor meets a first condition after the electronic equipment is started, wherein the first parameter is related to the running state of the first processor;
the processing module is used for controlling at least the first processor to be adjusted from a current first running state to a second running state if the second parameter meets a second condition;
the first parameter and the second parameter have different attribute information, and the processing capacity of the first processor in the first running state is smaller than that of the first processor in the second running state.
An electronic device, comprising: a memory, a processor;
wherein, the memory stores a processing program;
the processor is used for loading and executing the processing program stored in the memory so as to realize the steps of the control method.
A readable storage medium having stored thereon a computer program for being invoked and executed by a processor for carrying out the steps of the control method according to any one of the preceding claims.
As can be seen from the above technical solutions, compared with the prior art, the present application provides a control method, including: after the electronic equipment is started, if a first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor, wherein the first parameter is related to the running state of the first processor; if the second parameter meets a second condition, at least controlling the first processor to be adjusted from a current first running state to a second running state; the first parameter and the second parameter have different attribute information, and the processing capacity of the first processor in the first running state is smaller than that of the first processor in the second running state. According to the scheme, after the electronic equipment is started, the first parameter of the first processor of the electronic equipment is monitored, the second parameter is obtained when the first parameter meets the first condition, and when the second parameter meets the second condition, the first processor is at least controlled to be switched from the first running state with weaker processing capacity to the second running state with stronger processing capacity, so that the running state of the first processor is adjusted according to the actual condition of the first processor, the utilization rate of the processor does not need to be detected in real time, and the power consumption for detecting the electronic equipment is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a control method according to embodiment 1 of the present application;
fig. 2 is a flowchart of a control method according to embodiment 2 of the present application;
fig. 3 is a flowchart of an embodiment 3 of a control method provided in the present application;
fig. 4 is a flowchart of an embodiment 4 of a control method provided in the present application;
fig. 5 is a flowchart of an embodiment 5 of a control method provided in the present application;
fig. 6 is a flowchart of an embodiment 6 of a control method provided in the present application;
fig. 7 is a flowchart of embodiment 7 of a control method provided in the present application;
fig. 8 is a flowchart of an embodiment 8 of a control method provided in the present application;
fig. 9 is a flowchart of an embodiment 9 of a control method provided in the present application;
fig. 10 is a flowchart of an embodiment 10 of a control method provided in the present application;
fig. 11 is a flowchart of an embodiment 11 of a control method provided in the present application;
fig. 12 is a flowchart of an embodiment 12 of a control method provided in the present application;
fig. 13 is a schematic structural diagram of an embodiment of a control device provided in 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.
As shown in fig. 1, a flowchart of embodiment 1 of a control method provided by the present application is applied to an electronic device, and the method includes the following steps:
step S101: after the electronic equipment is started, if the first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor;
wherein the first parameter is associated with an operational state of the first processor.
The attribute information of the first parameter and the attribute information of the second parameter are different, the first parameter and the second parameter are parameters of two dimensions, a certain relation exists between the first parameter and the second parameter, and when the first parameter meets the first condition, the second parameter may meet the second condition or may not meet the second condition.
Furthermore, the monitoring of the first parameter does not require a large amount of power consumption.
Therefore, after the electronic device is started, that is, during the normal operation of the electronic device, the condition of the first parameter of the first processor in the electronic device is monitored, and when the first parameter meets the first condition, the condition of the second parameter of the first processor is determined.
Wherein the first parameter is related to an operating state of the first processor, the processing capacity of the first processor in the first operating state is small, and the first parameter satisfies a first condition, the processing capacity characterizing the first processor may need to be increased, and therefore, the determination is further based on a second parameter thereof.
Step S102: and if the second parameter meets a second condition, controlling at least the first processor to be adjusted from the current first operating state to a second operating state.
Wherein the processing capacity of the first processor in the first running state is smaller than that in the second running state.
Specifically, when the second parameter of the first processor satisfies the second condition, the processing capability requirement of the first processor is determined, and therefore, the first processor is controlled to be adjusted from the current first operating state to the second operating state, so as to improve the processing capability of the first processor.
It should be noted that, in the process of determining the second parameter of the first processor, higher power consumption of the electronic device is required, so in the present scheme, the second parameter is determined only when the first parameter based on the smaller power consumption is determined to meet the first condition, so as to reduce the power consumption of the electronic device.
In the following embodiments, detailed descriptions will be given for the first condition and the second condition and the process of adjusting the state of the first processor, which are not described in detail in this embodiment.
In specific implementation, after controlling the first processor to adjust the operating state, in the operating process of the electronic device, the first parameter may be continuously monitored, and when the first parameter does not satisfy the first condition, whether the second parameter of the first processor satisfies the second condition is determined, and when the second parameter does not satisfy the second condition, the operating state of the first processor is controlled to be adjusted to switch back to the first operating state.
In summary, the control method provided in this embodiment includes: after the electronic equipment is started, if a first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor, wherein the first parameter is related to the running state of the first processor; if the second parameter meets a second condition, at least controlling the first processor to be adjusted from a current first running state to a second running state; the first parameter and the second parameter have different attribute information, and the processing capacity of the first processor in the first running state is smaller than that of the first processor in the second running state. According to the scheme, after the electronic equipment is started, the first parameter of the first processor of the electronic equipment is monitored, the second parameter is obtained when the first parameter meets the first condition, and when the second parameter meets the second condition, the first processor is at least controlled to be switched from the first running state with weaker processing capacity to the second running state with stronger processing capacity, so that the running state of the first processor is adjusted according to the actual condition of the first processor, the utilization rate of the processor does not need to be detected in real time, and the power consumption for detecting the electronic equipment is reduced.
As shown in fig. 2, a flowchart of embodiment 2 of a control method provided by the present application includes the following steps:
step S201: after the electronic equipment is started, target reference information is obtained, and the first condition and/or the second condition are/is adjusted at least based on the target reference information;
the first condition and the second condition are adjustable, and specifically, after the electronic device is started, the electronic device obtains target reference information to adjust the first condition and/or the second condition based on the target reference information.
In a specific implementation, the target reference message may be obtained by a Basic Input Output System (BIOS) after the BIOS is started, or may be obtained by an Operating System (OS).
Specifically, an application program may be preset, and after the device is started, the application program is started to obtain the target reference message. The target reference message can characterize an initial condition of the electronic device when the electronic device starts to operate, and the first condition and/or the second condition are/is set/adjusted based on the initial condition, so that the state of the subsequent control first processor is more adaptive to the operating condition of the electronic device.
Wherein the target reference information includes at least one of: the method comprises the steps of creating and/or running application information of the electronic equipment, environment parameters of the current environment where the electronic equipment is located, and connection information of the electronic equipment and the target electronic equipment.
The power consumption requirements of different applications on the processor are different, so that application information created and/or operated by the electronic equipment is obtained to determine the power consumption requirements of the applications, and then the state switching of the first processor is controlled based on the power consumption requirements in the follow-up process.
The environmental parameter may be various environmental parameters such as an environmental temperature and an environmental sound.
For example, when the environmental parameter is an environmental temperature, the temperature threshold may be set based on an environmental temperature condition at the time of starting the electronic device, such as in a low-temperature environment, the temperature threshold may be decreased or increased according to the condition, in a high-temperature environment, the temperature threshold may be increased or decreased, and so on.
For example, when the environmental parameter is environmental sound, such as when the noise is relatively large, the attention to the fan noise is reduced, so that the noise generated when the heat dissipation module operates can be relatively large, the heat dissipation module can operate at high power, and the temperature threshold can be set to be relatively high; for example, in an environment with relatively low noise, the fan noise is concerned more, the noise generated when the heat dissipation module operates needs to be limited to a smaller volume, the heat dissipation module can only operate at a lower power, and the temperature threshold can be set to be lower.
In specific implementation, the electronic device may be a functional device, such as a power adapter, a computing device (mainly used for providing data Processing support for devices connected to the electronic device), an external GPU (Graphics Processing Unit), and other devices;
for example, the connection information may be power supply information, power consumption or image processing capability that enables use of the electronic device, or the like.
Specifically, the adjusting the first condition and/or the second condition based on at least the target reference information includes any one of the following:
firstly, obtaining application information created and/or operated by electronic equipment, and adjusting the first condition and/or the second condition based on the application information;
as an example, when the first condition is a temperature threshold and the second condition is a utilization rate of the processor, and the application running on the electronic device is office software and game software, the temperature threshold and/or the utilization rate of the processor for judgment are/is different accordingly.
For example, the temperature threshold corresponding to the office software is lower/higher than the game software, the utilization rate of the processor is higher/lower than the game software, and the relationship between the two is not limited to this example and can be set according to actual situations.
Obtaining environmental parameters of the current environment of the electronic equipment, and adjusting the first condition and/or the second condition based on the environmental parameters;
as an example, the first condition is a temperature threshold, the second condition is a utilization rate of the processor, and then when the electronic device is in a low-temperature environment, the temperature threshold may be decreased or increased according to the situation, when the electronic device is in a high-temperature environment, the temperature threshold may be increased or decreased, and the like, which may be set according to the actual situation.
Thirdly, obtaining connection information of the electronic equipment and the target electronic equipment, and adjusting the first condition and/or the second condition based on the connection information;
as an example, when the first condition is a temperature threshold, the second condition is a utilization rate of the processor, if the electronic device is a power adapter, the connection information may be power supply information, the temperature threshold may be decreased or increased according to the power supply information, the utilization rate of the processor may be increased or decreased according to the power supply information, and the like.
Fourthly, obtaining application information created and/or operated by the electronic equipment and environmental parameters of the current environment of the electronic equipment, and adjusting the first condition and/or the second condition based on the application information and the environmental parameters;
as an example, when the first condition is a temperature threshold and the second condition is a utilization rate of the processor, the temperature threshold and/or the utilization rate of the processor are adjusted based on an application run by the electronic device and an environmental parameter of an environment where the electronic device is currently located, such as an environmental temperature value.
Fifthly, acquiring application information created and/or operated by the electronic equipment and connection information of the target electronic equipment, and adjusting the first condition and/or the second condition based on the application information and the connection information;
as an example, when the first condition is a temperature threshold and the second condition is a utilization rate of the processor, the temperature threshold and/or the utilization rate of the processor are adjusted based on an application run by the electronic device and connection information, such as the running application is a game and the connection information is image processing capability.
And sixthly, acquiring application information created and/or operated by the electronic equipment, connection information of the target electronic equipment and environment parameters of the current environment of the electronic equipment, and adjusting the first condition and/or the second condition based on the application information, the connection information and the environment parameters.
As an example, when the first condition is a temperature threshold and the second condition is a utilization rate of the processor, the temperature threshold and/or the utilization rate of the processor are/is adjusted based on an application run by the electronic device, an ambient temperature, and connection information, such as that the running application is a game, an ambient temperature value, and an image processing capability.
Step S202: if a first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor, wherein the first parameter is relevant to the running state of the first processor;
step S203: and if the second parameter meets a second condition, controlling at least the first processor to be adjusted from the current first operating state to a second operating state.
Steps S202 to 203 are the same as steps S101 to 102 in embodiment 1, and are not described in detail in this embodiment.
In summary, the control method provided in this embodiment further includes: obtaining target reference information, adjusting the first condition and/or the second condition based on at least the target reference information, wherein the target reference information comprises at least one of: the method comprises the steps of creating and/or running application information of the electronic equipment, environment parameters of the current environment where the electronic equipment is located, and connection information of the electronic equipment and the target electronic equipment. In the scheme, the target reference message is an initial condition of the electronic device after being started, and the first condition and/or the second condition are/is adjusted based on the target reference information related to the electronic device, so that the state of the first processor is subsequently controlled to be more adaptive to the operating condition of the electronic device.
As shown in fig. 3, a flowchart of embodiment 3 of a control method provided by the present application includes the following steps:
step S301: after the electronic equipment is started, target reference information is obtained, and the first condition and/or the second condition are/is adjusted at least based on the target reference information;
wherein the target reference information includes at least one of: the method comprises the steps of creating and/or running application information of the electronic equipment, environment parameters of the current environment where the electronic equipment is located, and connection information of the electronic equipment and the target electronic equipment.
Step S301 is the same as step S201 in embodiment 2, and details are not described in this embodiment.
Step S302: monitoring that the temperature of a first processor of electronic equipment reaches a corresponding temperature threshold value, and determining the utilization rate of the first processor;
in this embodiment, the first parameter is a temperature, the first condition is a temperature threshold, and the second parameter is a utilization rate of the first processor.
In this embodiment, the temperature of the first processor during the operation process is detected first, where the temperature is obtained by detecting the temperature of the first processor during the operation process by the set temperature sensor, and the temperature of the first processor can be obtained by obtaining the detection value of the temperature sensor, and the power consumption of the process is low.
The processing capacity of the first sensor is related to power consumption, the power consumption is related to temperature, the larger the processing capacity used by the first sensor is, the larger the power consumption is, the higher the temperature is, when the temperature of the first sensor reaches a corresponding temperature threshold, the processing capacity used by the first processor is represented to be larger, and at this time, whether the operation state of the first processor needs to be further determined to improve the power of the first processor to support the larger processing capacity.
Specifically, after the electronic device is started, the temperature of the first processor is monitored, and when a corresponding temperature threshold is reached, the utilization rate of the first processor is determined, wherein the utilization rate of the first processor corresponds to the processing capacity of the first processor, and the higher the utilization rate is, the stronger the processing capacity is.
As an example, when the first condition is satisfied, that is, the temperature of the first processor is greater than 50 ℃, the second condition is satisfied, that the utilization rate of the processor exceeds 10%, and when the temperature of the first processor is monitored to be 55 ℃ (greater than 50 ℃), the detection and the judgment of the utilization rate of the first processor are triggered, and the detected utilization rate is 21% (greater than 10%), it is determined that the current data processing capability of the first processor cannot support the data processing amount, and the data processing capability needs to be improved, so at least the first processor is controlled to be adjusted from the current first operating state to a second operating state with stronger processing capability.
Specifically, the monitoring that the temperature of the first processor of the electronic device reaches the corresponding temperature threshold value and determining the utilization rate of the first processor includes:
step S3021: determining application information operated by the electronic equipment;
specifically, in the scheme, the application information of the electronic equipment is determined, and the application of the electronic equipment can be known based on the application information, so that the corresponding temperature threshold is selected based on the corresponding relation between the application and the temperature threshold, and the judgment based on the corresponding temperature threshold is realized.
The application information represents a type to which an application running in the electronic device belongs, such as a first type or a second application.
Specifically, if the application executed by the electronic device belongs to the first type of application, step S3022 is executed; if the application run by the electronic device belongs to the second type application, step S3023 is performed.
Step S3022: if the electronic equipment runs the first type application and the temperature of a first processor of the electronic equipment reaches a first temperature threshold value, determining the utilization rate of the first processor.
Correspondingly, if the utilization rate is greater than or equal to a first threshold value, controlling the first processor to be adjusted from the current first operating power and/or first operating core parameter to a second operating power and/or second operating core parameter, wherein the first operating power is less than the second operating power;
the specific first processor includes multiple cores, such as 2 cores, 4 cores, 6 cores, 8 cores, and the like, and the operating core parameters of the first processor are adjustable, such as from 8 cores to 4 cores, or from 4 cores to 6 cores, and the like.
The method includes the steps that a first type application runs in the electronic device, a first temperature threshold is adopted as a temperature threshold of a first processor, when the temperature of the first processor of the electronic device is monitored to reach the first temperature threshold, the utilization rate of the first processor is determined, and if the utilization rate is larger than or equal to the first threshold, the running power or running kernel parameters of the first processor are adjusted subsequently, such as the running power is increased, or the running kernel is increased or the power of the running kernel is increased, so that the processing efficiency of the first processor is improved.
Step S3023: and if the electronic equipment runs the second type of application and monitors that the temperature of the first processor of the electronic equipment reaches a second temperature threshold value, determining the utilization rate of the first processor.
Correspondingly, if the utilization rate is greater than or equal to a second threshold value, the first processor is controlled to be adjusted from the current third operating power to a fourth operating power, and a second processor of the electronic device is controlled to be adjusted from the current fifth operating power to a sixth operating power, wherein the second processor is different from the first processor.
And if the vector is greater than or equal to the second threshold, respectively controlling and adjusting the operating power of the first processor and the operating power of the second processor of the electronic equipment.
Specifically, the first processor is adjusted from a current third operating power to a fourth operating power, and the second processor is adjusted from a current fifth operating power to a sixth operating power, where the fourth operating power may be higher than the third operating power or lower than the third operating power, the fifth operating power may be lower than the sixth operating power or higher than the sixth operating power, and a sum of the third operating power and the fifth operating power is lower than a sum of the fourth operating power and the sixth operating power, so as to improve the processing efficiency of the first processor and the second processor.
Step S303: and if the utilization rate meets a second condition, at least controlling the first processor to be adjusted from the current first operation state to a second operation state.
Step S303 is the same as step S203 in embodiment 2, and details are not described in this embodiment.
In summary, in a control method provided in this embodiment, monitoring that a first parameter of a first processor of an electronic device satisfies a first condition, and determining a second parameter of the first processor includes: monitoring that the temperature of a first processor of the electronic equipment reaches a corresponding temperature threshold value, and determining the utilization rate of the first processor. In this scheme, the first parameter and the second parameter are the temperature and the utilization rate of the first processor, the temperature of the first processor is monitored first, the power consumption condition of the first processor is preliminarily determined based on the temperature, and when the temperature reaches the corresponding temperature threshold, the processing capacity used by the first processor is represented to be large. Because temperature monitoring is lower than the power consumption of usage monitoring, the power consumption of the detection electronic equipment is reduced.
As shown in fig. 4, a flowchart of embodiment 4 of a control method provided by the present application includes the following steps:
step S401: after the electronic equipment is started, target reference information is obtained, and the first condition and/or the second condition are/is adjusted at least based on the target reference information;
wherein the target reference information includes at least one of: the method comprises the steps of creating and/or running application information of the electronic equipment, environment parameters of the current environment where the electronic equipment is located, and connection information of the electronic equipment and the target electronic equipment.
Step S401 is the same as step S201 in embodiment 2, and details are not described in this embodiment.
Step S402: monitoring that the temperature of a first processor of electronic equipment reaches a corresponding temperature threshold value, and determining the utilization rate of the first processor;
the specific implementation content of step S402 refers to step S302 in embodiment 3, and details are not described in this embodiment.
Step S403: and if the utilization rate of the first processor is greater than or equal to the corresponding threshold value, controlling at least the first processor to be adjusted to the corresponding operating power and/or the corresponding operating core parameter from the current operating power and/or the operating core parameter.
In step S401, after the electronic device is started, the first condition and the second condition are adjusted based on the target reference information, in this embodiment, the first condition is specifically greater than or equal to the temperature threshold, and the second condition is greater than or equal to the usage threshold.
In step S402, it is determined that the temperature of the first processor is greater than or equal to the corresponding temperature threshold, the utilization rate of the first processor is determined, and the operating state of the first processor is adjusted when the utilization rate of the first processor is greater than or equal to the corresponding utilization rate threshold.
Specifically, the operating power of the first processor is adjustable, so that in this embodiment, the first processor may be adjusted from the current operating power (the power in the first operating state) to the corresponding operating power (the power in the second operating state).
In a specific implementation, the power of the first operating state and the power of the second operating state may be preset according to a situation, and when the operating state of the first processor needs to be switched, the operating state is adjusted by the operating power.
Specifically, the first processor includes a plurality of cores, and some of the cores may be in operation, and some of the cores may be in non-operation.
The method can be realized by adjusting the number of the running cores or switching the running cores, for example, adjusting the number of the running cores from 2 to 4; such as by controlling a running core to switch with a non-running core, such as from a low performance core to a high performance core, to achieve an increase in the processing power of the first processor.
The adjustment of the overall processing capability of the first processor can be realized by adjusting the data processing capability of one/more execution cores in the first processor.
In summary, in a control method provided in this embodiment, monitoring that a first parameter of a first processor of an electronic device satisfies a first condition, and determining a second parameter of the first processor includes: monitoring that the temperature of a first processor of electronic equipment reaches a corresponding temperature threshold value, and determining the utilization rate of the first processor; if the second parameter meets a second condition, at least controlling the first processor to adjust from the current first operating state to a second operating state comprises: and if the utilization rate of the first processor is greater than or equal to the corresponding threshold value, controlling at least the first processor to be adjusted to the corresponding operating power and/or the corresponding operating core parameter from the current operating power and/or the operating core parameter. According to the scheme, when the temperature of the first processor meets a first condition and the utilization rate meets a second condition, the operation power or the operation kernel parameter of the first processor is controlled and adjusted to improve the processing capacity of the first processor.
As shown in fig. 5, a flowchart of embodiment 5 of a control method provided by the present application includes the following steps:
step S501: after the electronic equipment is started, if the first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor;
step S501 is the same as step S101 in embodiment 1, and details are not described in this embodiment.
Step S502: if the second parameter meets a second condition, obtaining a third parameter of a second processor;
wherein the second processor is different from the first processor.
In this embodiment, the operating states of the first processor and the second processor are controlled and adjusted in combination.
And obtaining a third parameter of the second processor when the first parameter of the first processor meets the first condition and the second parameter meets the second condition, wherein the third parameter and the second parameter can be the same type of parameter.
For example, the first processor is a GPU, the second processor is a Central Processing Unit (CPU), the second parameter is usage of the GPU, and the third parameter is usage of the CPU.
Based on the third parameter of the second processor, the overall condition of the processor in the electronic device can be determined by combining the second parameter of the first processor.
It should be noted that the first processor and the second processor can work with each other, and different software runs, the first processor and the second processor can use different electrical components. For example, when the game software runs, the corresponding first processor may adopt a GPU, and the second processor adopts a CPU, and when the office software runs, the corresponding first processor may adopt a CPU, and the second processor adopts a GPU.
Of course, the present application is not limited to specific functions of the first processor and the second processor, and the component may be selected as the first processor and the second processor according to the situation in specific implementation.
Step S503: and if the second parameter meets a second condition and the third parameter meets a third condition, controlling the first processor to be adjusted from the current first running state to a second running state and controlling the second processor to be adjusted from the current third running state to a fourth running state.
Wherein, when the first parameter of the first processor satisfies the first condition, the second parameter satisfies the second condition, and the third parameter of the second processor satisfies the third condition, it indicates that the first processor and the second processor need to have higher processing capability, so as to adjust the operating states of the first processor and the second processor respectively.
Specifically, the operating state of the first processor is adjusted from the current first operating state to the second operating state, so as to increase the processing capacity of the first processor.
Specifically, the operating state of the second processor is adjusted from the current third operating state to the fourth operating state, so as to improve the processing capability of the second processor.
As an example, a temperature of 45 ℃ (threshold 40 ℃) greater than the threshold satisfies the first condition, and a usage rate of the GPU 25% (threshold 20%) greater than the threshold satisfies the second condition, and a usage rate of the CPU 15% (threshold 10%) greater than the threshold satisfies the third condition.
In a specific implementation, the operation state adjustment of the CPU may be to adjust its power consumption, such as from 50W (watts) to 60W, so as to increase the processing capacity of the CPU.
It should be noted that, as specific structures of the first processor and the second processor, parameter values of the first processor and the second processor are not limited to the examples in the embodiment.
In summary, in a control method provided in this embodiment, at least controlling the first processor to adjust from the current first operating state to the second operating state includes: obtaining a third parameter of a second processor, the second processor being different from the first processor; and if the second parameter meets a second condition and the third parameter meets a third condition, controlling the first processor to be adjusted from the current first running state to a second running state and controlling the second processor to be adjusted from the current third running state to a fourth running state. In the scheme, the first processor and the second processor are controlled to respectively adjust the running states based on the condition that the parameters of the first processor and the second processor meet the set conditions, so that the two processors which are matched to work are respectively adjusted in the running process, and the processing capacity of the processors in the electronic equipment is integrally improved.
As shown in fig. 6, a flowchart of embodiment 6 of a control method provided by the present application includes the following steps:
step S601: after the electronic equipment is started, obtaining the heat dissipation configuration of the electronic equipment, and adjusting the first condition and/or the second condition based on the heat dissipation configuration;
the electronic equipment generates heat in the operation process, the heat dissipation device is arranged in the electronic equipment and provided with rated power, the heat dissipation configuration represents the maximum heat dissipation capacity of the heat dissipation configuration, and generally speaking, the heat dissipation configuration can support the heat generated by the operation of the electronic equipment.
Wherein the first condition and/or the second condition is adjusted based on a heat dissipation configuration of the electronic device after the electronic device is started.
Specifically, when the first condition and/or the second condition is adjusted, other parameters may be combined to perform the adjustment, such as the target reference information provided in embodiment 2.
If the heat dissipation configuration of the electronic device is high, the first condition and/or the second condition may be adjusted to a high value, and if the heat dissipation configuration of the electronic device is low, the first condition and/or the second condition may be adjusted to a low value, so as to ensure the operation safety of the electronic device.
Specifically, only the first condition may be adjusted, only the second condition may be adjusted, or both the first condition and the second condition may be adjusted.
For example, when the heat dissipation configuration is high, the first condition may be adjusted to be greater than 60 ℃, the second condition may be adjusted to be greater than 40% in utilization rate, and the like; for example, when the heat dissipation configuration is low, the first condition may be adjusted to be greater than 40 ℃, the second condition may be adjusted to be greater than 20%, and the like.
Step S602: if the first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor;
step S603: if the second parameter meets a second condition, obtaining a third parameter of a second processor;
step S604: and if the second parameter meets a second condition and the third parameter meets a third condition, controlling the first processor to be adjusted from the current first running state to a second running state and controlling the second processor to be adjusted from the current third running state to a fourth running state.
Steps S602 to 604 are the same as steps S501 to 503 in embodiment 5, and are not described in detail in this embodiment.
In summary, the control method provided in this embodiment further includes: obtaining a heat dissipation configuration of an electronic device, and adjusting the first condition and/or the second condition based on the heat dissipation configuration. In the scheme, whether the operation state of the processor is controlled and adjusted is judged based on the first condition and the second condition, and the first condition and/or the second condition is adjusted based on the heat dissipation configuration of the electronic equipment, so that the operation state of the electronic equipment is matched with the heat dissipation configuration, and the operation safety of the electronic equipment is improved.
As shown in fig. 7, a flowchart of embodiment 7 of a control method provided by the present application includes the following steps:
step S701: after the electronic equipment is started, obtaining the heat dissipation configuration of the electronic equipment, and adjusting the first condition and/or the second condition based on the heat dissipation configuration;
the specific implementation process of step S701 refers to step S601 in embodiment 6, and details are not described in this embodiment.
Step S702: if a first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor, wherein the first parameter is relevant to the running state of the first processor;
step S703: if the second parameter meets a second condition, obtaining a third parameter of a second processor, wherein the second processor is different from the first processor;
steps S702 to 703 are the same as steps S501 to 502 in embodiment 5, and are not described in detail in this embodiment.
Step S704: and if the second parameter meets a second condition and the third parameter meets a third condition, obtaining the current heat dissipation parameter of the electronic equipment, and adjusting the running state of the first processor and/or the second processor based on the heat dissipation parameter.
And if the first parameter of the first processor meets the first condition, the second parameter meets the second condition, and the third parameter of the second processor meets the third condition, the processing capacity representing the first processor and the second processor needs to be improved. The processing capacity of the processor is improved by improving power consumption, and the improvement of the power consumption causes higher heating condition of the electronic equipment. Therefore, in this scheme, the heat dissipation condition of the electronic device needs to be combined for processing.
Specifically, when the second parameter of the first processor meets the second condition and the third parameter of the second processor meets the third condition, the current heat dissipation parameter of the electronic device is obtained, the heat dissipation parameter represents the current heat dissipation capacity of the electronic device, and the operating state of the processor is adjusted based on the heat dissipation parameter.
In a specific implementation, adjusting the operating state of the processors may be adjusting the operating state of only the first processor, adjusting the operating state of only the second processor, or adjusting the operating state of the first processor and the operating state of the second processor, respectively.
The adjustment of the operating state of the first processor is from the current first operating state to the second operating state.
And adjusting the operating state of the second processor from the current third operating state to a fourth operating state.
In summary, the control method provided in this embodiment further includes: obtaining a heat dissipation configuration of an electronic device, and adjusting the first condition and/or the second condition based on the heat dissipation configuration; obtaining current heat dissipation parameters of the electronic equipment, and adjusting the running state of the first processor and/or the second processor based on the heat dissipation parameters. In the scheme, the first condition and/or the second condition are/is adjusted based on the heat dissipation configuration of the electronic equipment, the processor is judged to meet the conditions based on the first condition and the second condition in combination with the third condition, and the current heat dissipation parameters of the electronic equipment are combined, so that the running state of the electronic equipment is matched with heat dissipation, and the running safety of the electronic equipment is improved.
As shown in fig. 8, a flowchart of embodiment 8 of a control method provided by the present application includes the following steps:
step S801: after the electronic equipment is started, if the first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor;
step S802: if the second parameter meets a second condition, obtaining a third parameter of a second processor;
steps S801 to 802 are the same as steps S501 to 502 in embodiment 5, and are not described in detail in this embodiment.
Step S803: if the second parameter meets a second condition and the third parameter meets a third condition, obtaining an operating parameter of the target application;
in the embodiment, the operating states of the first processor and the second processor are controlled based on the specific operating condition of the application.
The running parameters of the target application comprise computing power, graphic processing capacity requirements or running time.
Specifically, the computation power is the computation power required by the target application, the graphics processing capability requirement is the graphics processing capability required by the target application, and the running time length represents the time length of the target application from the start to the running.
In the specific implementation, the calculation force required by a certain application, the required graphic processing capacity and the required time length can be counted according to the actual condition rule, the required rule value is set only based on the counted content in the scheme, and the operation state required to be adjusted can be determined according to the comparison between the operation parameters obtained in the operation process of the target application and the set rule value.
Step S804: and if the operating parameters indicate that the target application meets a first operating condition, controlling the first processor to maintain a current first operating state, and controlling the second processor to be adjusted from a third operating state to a fourth operating state.
The target application meets the first running condition, which indicates that the processing capacity requirement of the target application for the first processor meets the condition, and the capacity requirement of the second processor meets or does not meet the condition.
And the processing capacity of the third running state of the second processor is greater than or less than that of the fourth running state.
For example, when the processing capacity of the third operating state of the second processor is greater than that of the fourth operating state, and the operating parameter of the target application is computing power, the current first operating state of the first processor can provide sufficient computing power, and when the computing power of the second processor in the third operating state is insufficient, the second processor is controlled to be adjusted from the third operating state to the fourth operating state, so as to improve the computing power of the second processor;
for example, when the processing capacity of the third running state of the second processor is greater than that of the fourth running state, and the running parameter of the target application is a graphics processing capacity requirement, the current first running state of the first processor can provide sufficient graphics processing capacity, and when the graphics processing capacity of the second processor in the third running state is insufficient, the second processor is controlled to be adjusted from the third running state to the fourth running state, so as to improve the graphics processing capacity of the second processor;
for example, when the processing capacity of the third running state of the second processor is greater than that of the fourth running state, and the running parameter of the target application is the running duration, it is known that the running duration of the target application represents that the target application has just started, which requires the processor to provide a larger processing capacity, while the current first running state of the first processor can provide a sufficient processing capacity, and when the processing capacity of the second processor in the third running state is insufficient, the second processor is controlled to adjust from the third running state to the fourth running state, so as to improve the processing capacity of the second processor;
for example, when the processing capacity of the third running state of the second processor is smaller than that of the fourth running state, and the running parameter of the target application is the running duration, the running duration of the target application indicates that the target application is about to end, which no longer requires the processor to provide a large processing capacity, while the current first running state of the first processor can provide a sufficient processing capacity, and the second processor is in the processing capacity of the third running state, the second processor is controlled to adjust from the third running state to the fourth running state, so as to reduce the processing capacity of the second processor and reduce the power consumption.
In specific implementation, the second processor may be further controlled to maintain the third operating state or the fourth operating state according to the situation.
For example, when the operation parameter of the target application is a graphics processing capability requirement, the current first operation state of the first processor can provide enough graphics processing capability, and when the graphics processing capability of the second processor in the third operation state is also enough, the second processor is controlled to maintain the current operation state (the third operation state or the fourth operation state), so as to maintain the graphics processing capability of the two processors.
In summary, the control method provided in this embodiment further includes: obtaining operation parameters of a target application; and if the operating parameters indicate that the target application meets a first operating condition, controlling the first processor to maintain a current first operating state, controlling the second processor to maintain a third operating state or a fourth operating state, or adjusting from the third operating state to the fourth operating state. In the scheme, the operation condition and the required processing capacity of the application are determined based on the operation parameters of the target application, when the operation parameters represent that the target application meets the first operation condition, the current first operation state of the first processor is controlled and maintained, the operation state of the second processor is adjusted/maintained, and the adjustment of the overall processing capacity is realized by only controlling and adjusting the second processor.
As shown in fig. 9, a flowchart of embodiment 9 of a control method provided by the present application includes the following steps:
step S901: after the electronic equipment is started, if the first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor;
step S902: if the second parameter meets a second condition, obtaining a third parameter of a second processor;
steps S901 to 902 are the same as steps S501 to 502 in embodiment 5, and are not described in detail in this embodiment.
Step S903: if the second parameter meets a second condition and the third parameter meets a third condition, obtaining an operating parameter of the target application;
the detailed description of step S903 refers to step S803 in embodiment 8, and the detailed description is omitted in this embodiment.
Step S904: and if the operating parameters represent that the target application meets a second operating condition, controlling the first processor to be adjusted from the current first operating state to a second operating state, and controlling the second processor to maintain a third operating state.
And the target application meets the second running condition, which indicates that the processing capacity requirement of the target application on the first processor is not met, and the capacity requirement of the second processor is met or not met.
And the processing capacity of the third running state of the second processor is greater than or less than that of the fourth running state.
For example, when the operation parameter of the target application is computing power, the target application meeting the second operation condition indicates that the current first operation state of the first processor cannot provide sufficient computing power, and when the computing power provided by the second processor in the third operation state is sufficient, the first processor is controlled to be adjusted from the first operation state to the second operation state, so as to improve the computing power of the first processor;
for example, when the operation parameter of the target application is a graphics processing capability requirement, the current first operation state of the first processor cannot provide sufficient graphics processing capability, and when the graphics processing capability of the second processor in the third operation state is sufficient, the first processor is controlled to be adjusted from the first operation state to the second operation state, so as to improve the graphics processing capability of the first processor;
for example, when the running parameter of the target application is a running duration, the running duration of the target application is known to indicate that the target application has just started, which requires the processors to provide a large processing capacity, and the current first running state of the first processor cannot provide a sufficient processing capacity, and the processing capacity of the second processor in the third running state is sufficient (or has reached the maximum), the first processor is controlled to adjust from the first running state to the second running state, so as to improve the processing capacity of the first processor.
In a specific implementation, the second processor may be further controlled to maintain the fourth operating state or be adjusted from the third operating state to the fourth operating state.
Wherein the second processor is in the fourth operating state capable of providing sufficient computational power/image processing power/processing power, and then continues to be the fourth operating state of the second processor thereafter, only the first processor is adjusted from the first operating state to the second operating state.
And if the second processor is in the third running state and cannot provide enough computational power/image processing capacity/processing capacity, adjusting the first processor from the first running state to the second running state and also adjusting the second processor from the third running state to the fourth running state.
When the processing capacity of the third operation state of the second processor is smaller than that of the fourth operation state, the second processor is in the third operation state and can provide computational power/image processing capacity/processing capacity exceeding the requirement, and then the first processor is adjusted from the first operation state to the second operation state, and the second processor is also adjusted from the third operation state to the fourth operation state.
In summary, the control method provided in this embodiment includes: obtaining operation parameters of a target application; and if the operating parameters indicate that the target application meets a second operating condition, controlling the first processor to be adjusted from the current first operating state to a second operating state, and controlling the second processor to maintain a third operating state or a fourth operating state or be adjusted from the third operating state to the fourth operating state. In the scheme, the operation condition and the required processing capacity of the application are determined based on the operation parameter of the target application, when the operation parameter indicates that the target application meets the second operation condition, the current first operation state of the first processor is controlled to be switched to the second state, the operation state of the second processor is adjusted/maintained, and the adjustment of the overall processing capacity is realized by adjusting the first processor and combining the maintenance/adjustment of the state of the second processor.
As shown in fig. 10, a flowchart of an embodiment 10 of a control method provided by the present application includes the following steps:
step S1001: after the electronic equipment is started, if the first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor;
step S1002: if the second parameter meets a second condition, obtaining a third parameter of a second processor;
steps S1001 to 1003 are the same as steps S501 to 503 in embodiment 5, and details are not repeated in this embodiment.
Step S1003: if the second parameter meets a second condition and the third parameter meets a third condition, obtaining an operating parameter of the target application;
the detailed description of step S1003 refers to step S803 in embodiment 8, and details are not described in this embodiment.
Step S1004: and if the running parameters represent that the target application meets a third running condition, controlling the first processor to maintain a second running state, and controlling the second processor to be adjusted from the third running state to a fourth running state.
And the target application meets the third operating condition, which indicates that the processing capacity requirement of the target application on the first processor in the second operating state meets the condition, and the capacity requirement of the second processor meets or does not meet the condition.
And the processing capacity of the third running state of the second processor is greater than or less than that of the fourth running state.
For example, when the processing capacity of the third operating state of the second processor is greater than that of the fourth operating state, and the operating parameter of the target application is computing power, the current second operating state of the first processor can provide sufficient computing power, and when the computing power of the second processor in the third operating state is insufficient, the second processor is controlled to be adjusted from the third operating state to the fourth operating state, so as to improve the computing power of the second processor;
for example, when the processing capacity of the third running state of the second processor is greater than that of the fourth running state, and the running parameter of the target application is a graphics processing capacity requirement, the current second running state of the first processor can provide sufficient graphics processing capacity, and when the graphics processing capacity of the second processor in the third running state is insufficient, the second processor is controlled to be adjusted from the third running state to the fourth running state, so as to improve the graphics processing capacity of the second processor;
for example, when the processing capacity of the third running state of the second processor is greater than that of the fourth running state, and the running parameter of the target application is the running duration, the running duration of the target application is known to indicate that the target application has just started, which requires the processor to provide a larger processing capacity, while the current second running state of the first processor can provide a sufficient processing capacity, and when the processing capacity of the second processor in the third running state is insufficient, the second processor is controlled to adjust from the third running state to the fourth running state, so as to improve the processing capacity of the second processor;
for example, when the processing capacity of the third running state of the second processor is smaller than that of the fourth running state, and the running parameter of the target application is the running duration, the running duration of the target application indicates that the target application is about to end, which no longer requires the processor to provide a large processing capacity, while the current second running state of the first processor can provide a sufficient processing capacity, and the second processor is in the processing capacity of the third running state, the second processor is controlled to adjust from the third running state to the fourth running state, so as to reduce the processing capacity of the second processor and reduce the power consumption.
In specific implementation, the second processor may be further controlled to maintain the third operating state or the fourth operating state according to the situation.
For example, when the operation parameter of the target application is a graphics processing capability requirement, the current second operation state of the first processor can provide sufficient graphics processing capability, and when the graphics processing capability of the second processor in the third operation state is also sufficient, the second processor is controlled to maintain the current operation state (the third operation state or the fourth operation state), so as to maintain the graphics processing capability of the two processors.
In summary, the control method provided in this embodiment includes: obtaining operation parameters of a target application; and if the running parameters represent that the target application meets a third running condition, controlling the first processor to maintain a second running state, controlling the second processor to maintain a third running state or a fourth running state or adjusting the third running state to the fourth running state. In the scheme, the operation condition and the required processing capacity of the application are determined based on the operation parameters of the target application, when the operation parameters represent that the target application meets a third operation condition, the second operation state of the first processor with the current higher processing capacity is controlled and maintained, the operation state of the second processor is adjusted/maintained, and the adjustment of the whole processing capacity is realized by only controlling and adjusting the second processor.
As shown in fig. 11, a flowchart of an embodiment 11 of a control method provided by the present application includes the following steps:
step S1101: after the electronic equipment is started, if the first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor;
step S1102: if the second parameter meets a second condition, obtaining a third parameter of a second processor;
step S1103: if the second parameter meets a second condition and the third parameter meets a third condition, controlling the first processor to be adjusted from a current first running state to a second running state and controlling the second processor to be adjusted from a current third running state to a fourth running state;
steps S1101 to 1103 are the same as steps S501 to 503 in embodiment 5, and details are not described in this embodiment.
Step S1104: obtaining current heat dissipation parameters of the electronic equipment and/or operation parameters of a target application;
in the embodiment, the operation of the heat dissipation component is controlled by combining the heat dissipation condition of the device and/or the operation condition of the application.
The running parameters of the target application comprise computing power, graphic processing capacity requirements or running time.
Specifically, the higher the computational/graphics processing power requirements, the higher the processing power required of the processor, and the more heat dissipation accordingly.
Specifically, the running time represents the running time of the application, and the whole running time of the application can be estimated according to historical operation or obtained according to application setting, so that the residual running time can be determined according to the running time, the residual running time is about, the higher the required processing capacity of the processor is, the more the corresponding heat dissipation is.
The current heat dissipation parameters and the operation parameters of the target application of the electronic device may be used alone or in combination as a basis for adjusting the operation state of the heat dissipation component, and may be set according to actual conditions in specific implementation, which is not limited in this embodiment.
Step S1105: adjusting an operating state of a heat dissipating component of an electronic device based at least on the heat dissipation parameter and/or the operating parameter.
The method includes the steps that whether the operation state of a radiating component of the electronic equipment needs to be adjusted or not can be determined based on radiating parameters of the electronic equipment, and if the radiating parameters are larger than a preset upper limit threshold value, the operation state of the radiating component of the electronic equipment needs to be increased, such as the air volume/air speed of a fan.
Based on the operation parameters of the target application, the operation requirement of the electronic equipment can be determined, and then whether the operation state of the heat dissipation component of the electronic equipment needs to be adjusted or not is determined. If the operation parameter represents large or increased change of the demand, the operation state of the heat dissipation part of the electronic equipment needs to be increased, such as increasing the air volume/air speed of a fan.
In summary, the control method provided in this embodiment further includes: the method comprises the steps of obtaining current heat dissipation parameters of the electronic equipment and/or operation parameters of a target application, and adjusting the operation state of a heat dissipation component of the electronic equipment at least based on the heat dissipation parameters and/or the operation parameters. In the scheme, the heat dissipation requirement for the heat dissipation part is determined by combining the heat dissipation parameters of the equipment and the operation parameters of the target application, the operation state of the heat dissipation part of the electronic equipment is adjusted, and the safety degree of the electronic equipment in the operation process is improved.
As shown in fig. 12, a flowchart of an embodiment 12 of a control method provided by the present application includes the following steps:
step S1201: after the electronic equipment is started, if the first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor;
step S1202: if the second parameter meets a second condition, obtaining a third parameter of a second processor;
steps S1201 to 1202 are the same as steps S501 to 502 in embodiment 5, and details are not repeated in this embodiment.
Step S1203: if the second parameter meets a second condition and the third parameter meets a third condition, obtaining a current heat dissipation parameter of the electronic equipment and/or an operation parameter of the target application;
in this embodiment, the heat dissipation component of the electronic device reaches the rated heat dissipation parameter and cannot be adjusted to be higher, so that the safe operation of the electronic device is ensured by controlling the operating state of the processor.
The heat dissipation parameter is a heat dissipation parameter of the heat dissipation component operating at rated power, and represents the highest heat dissipation capacity that the electronic device can achieve.
The running parameters of the target application comprise computing power, graphic processing capacity requirements or running time.
Specifically, the higher the computational/graphics processing power requirements, the higher the processing power required of the processor, and the more heat dissipation accordingly.
Specifically, the running time represents the running time of the application, and the whole running time of the application can be estimated according to historical operation or obtained according to application setting, so that the residual running time can be determined according to the running time, the residual running time is about, the higher the processing capacity of the processor is required to be, the more the corresponding heat dissipation is.
The current heat dissipation parameters and the operation parameters of the target application of the electronic device may be used alone or in combination as a basis for adjusting the operation state of the heat dissipation component, and may be set according to actual conditions in specific implementation, which is not limited in this embodiment.
Step S1204: adjusting an operating state of the first processor and/or the second processor based at least on the heat dissipation parameter and/or the operating parameter.
When a first parameter of a first processor meets a first condition, a second parameter meets a second condition, and a third parameter of a second processor meets a third condition, if the first processor needs to be switched from a first operation state to a second operation state, the first processor is estimated to be adjusted from the first operation state to the second operation state in advance and a first heat dissipation requirement of the operation parameter is combined, and the heat dissipation parameter meets the first heat dissipation requirement, the operation state switching of the first processor is controlled; otherwise, based on the heat dissipation parameter, controlling the power of the first processor from the first operation state to be increased, but to be smaller than the power corresponding to the second operation state.
When a first parameter of a first processor meets a first condition, a second parameter meets a second condition, and a third parameter of a second processor meets a third condition, if the second processor needs to be switched from a third operation state to a fourth operation state, the second processor is estimated to be adjusted from the third operation state to the fourth operation state in advance, and the second operation state is combined with a second heat dissipation requirement of the operation parameter, and the heat dissipation parameter meets the second heat dissipation requirement, the operation state switching of the second processor is controlled; otherwise, based on the heat dissipation parameter, controlling the power of the second processor from the third operation state to be increased, but to be smaller than the power corresponding to the fourth operation state.
When a first parameter of a first processor meets a first condition, a second parameter meets a second condition, and a third parameter of a second processor meets a third condition, if the first processor needs to be switched from a first operation state to a second operation state, the second processor is switched from the third operation state to a fourth operation state, the first processor is estimated to be adjusted from the first operation state to the second operation state in combination with a first heat dissipation requirement of the operation parameter, and the second processor is estimated to be adjusted from the third operation state to the fourth operation state in combination with a second heat dissipation requirement of the operation parameter in advance, and the heat dissipation parameter meets the sum of the first heat dissipation requirement and the second heat dissipation requirement, the operation state switching of the first processor and the second processor is controlled; otherwise, based on the heat dissipation parameter, controlling the power of the first processor from the first operation state to be increased but to be smaller than the power corresponding to the second operation state, and/or controlling the power of the second processor from the third operation state to be increased but to be smaller than the power corresponding to the fourth operation state.
In summary, the control method provided in this embodiment further includes: obtaining current heat dissipation parameters of the electronic equipment and/or operation parameters of a target application, and adjusting the operation state of the first processor and/or the second processor at least based on the heat dissipation parameters and/or the operation parameters. In the scheme, the heat dissipation parameter of the electronic equipment and the operation parameter of the target application are combined, the maximum heat dissipation capacity which can be achieved by the heat dissipation component is determined, the operation state of the processor is controlled and adjusted based on the heat dissipation capacity, and the safe operation of the electronic equipment is guaranteed.
Corresponding to the embodiment of the control method provided by the application, the application also provides an embodiment of a device applying the control method.
Fig. 13 is a schematic structural diagram of an embodiment of a control device provided by the present application, where the device includes the following structures: a monitoring module 1301 and a processing module 1302;
the monitoring module is used for determining a second parameter of a first processor of the electronic equipment if the first parameter of the first processor meets a first condition after the electronic equipment is started, wherein the first parameter is related to the running state of the first processor;
the processing module is used for controlling at least the first processor to be adjusted from a current first running state to a second running state if the second parameter meets a second condition;
the first parameter and the second parameter have different attribute information, and the processing capacity of the first processor in the first running state is smaller than that of the first processor in the second running state.
In a specific implementation, the monitoring module may be a part of a BIOS system or an OS system, and may monitor a first parameter of the first processor during an operation process of the electronic device, and trigger to acquire a second parameter of the first processor when the first parameter meets a first condition.
Optionally, the method further includes:
obtaining target reference information, adjusting the first condition and/or the second condition based on at least the target reference information.
Optionally, the processing module is configured to:
obtaining application information created and/or operated by the electronic equipment, and adjusting the first condition and/or the second condition based on the application information; or the like, or, alternatively,
obtaining an environmental parameter of an environment in which the electronic equipment is currently located, and adjusting the first condition and/or the second condition based on the environmental parameter; or the like, or, alternatively,
obtaining connection information of an electronic device and a target electronic device, and adjusting the first condition and/or the second condition based on the connection information; or the like, or, alternatively,
obtaining application information created and/or operated by the electronic equipment and environmental parameters of the current environment of the electronic equipment, and adjusting the first condition and/or the second condition based on the application information and the environmental parameters; or the like, or, alternatively,
the method comprises the steps of obtaining application information created and/or operated by the electronic equipment and connection information of target electronic equipment, and adjusting the first condition and/or the second condition based on the application information and the connection information.
Optionally, the monitoring module is configured to:
monitoring that the temperature of a first processor of electronic equipment reaches a corresponding temperature threshold value, and determining the utilization rate of the first processor;
and/or the presence of a gas in the atmosphere,
if the second parameter meets a second condition, at least controlling the first processor to adjust from the current first operating state to a second operating state comprises:
and if the utilization rate of the first processor is greater than or equal to the corresponding threshold value, controlling at least the first processor to be adjusted to the corresponding operating power and/or the corresponding operating core parameter from the current operating power and/or the operating core parameter.
Optionally, the monitoring module is specifically configured to:
determining application information operated by the electronic equipment;
if the electronic equipment runs the first type application and monitors that the temperature of a first processor of the electronic equipment reaches a first temperature threshold, determining the utilization rate of the first processor, and correspondingly, if the utilization rate is greater than or equal to the first threshold, controlling the first processor to be adjusted to a second running power and/or a second running kernel parameter from a current first running power and/or a first running kernel parameter, wherein the first running power is less than the second running power; or the like, or, alternatively,
if the electronic equipment runs the second type application and monitors that the temperature of a first processor of the electronic equipment reaches a second temperature threshold value, determining the utilization rate of the first processor, if the utilization rate is larger than or equal to the second threshold value, controlling the first processor to be adjusted to fourth operating power from current third operating power, and controlling a second processor of the electronic equipment to be adjusted to sixth operating power from current fifth operating power, wherein the second processor is different from the first processor.
Optionally, the processing module includes:
obtaining a third parameter of a second processor, the second processor being different from the first processor;
and if the second parameter meets a second condition and the third parameter meets a third condition, controlling the first processor to be adjusted from the current first running state to a second running state and controlling the second processor to be adjusted from the current third running state to a fourth running state.
Optionally, the method further includes:
a configuration module, configured to obtain a heat dissipation configuration of an electronic device, and adjust the first condition and/or the second condition based on the heat dissipation configuration; and/or the presence of a gas in the atmosphere,
the processing module is used for obtaining the current heat dissipation parameters of the electronic equipment and adjusting the running state of the first processor and/or the second processor based on the heat dissipation parameters.
Optionally, the method further includes:
the first acquisition module is used for acquiring the operating parameters of the target application;
the processing module is used for: if the operating parameters represent that the target application meets a first operating condition, controlling the first processor to maintain a current first operating state, controlling the second processor to maintain a third operating state or a fourth operating state, or adjusting the third operating state to the fourth operating state; or the like, or, alternatively,
if the operating parameters represent that the target application meets a second operating condition, controlling the first processor to be adjusted from a current first operating state to a second operating state, controlling the second processor to maintain a third operating state or a fourth operating state or to be adjusted from the third operating state to the fourth operating state; or the like, or, alternatively,
and if the running parameters represent that the target application meets a third running condition, controlling the first processor to maintain a second running state, controlling the second processor to maintain a third running state or a fourth running state or adjusting the third running state to the fourth running state.
Optionally, the method further includes:
the second acquisition module is used for acquiring the current heat dissipation parameters of the electronic equipment and/or the operation parameters of the target application; triggering a heat dissipation adjusting module or a processing module;
the heat dissipation adjusting module is used for adjusting the operation state of a heat dissipation component of the electronic equipment at least based on the heat dissipation parameter and/or the operation parameter;
the processing module is used for adjusting the operation state of the first processor and/or the second processor at least based on the heat dissipation parameter and/or the operation parameter.
Specifically, the first processor may employ a GPU, and the second processor may employ a CPU.
In summary, the control device provided in this embodiment includes: the monitoring module is used for determining a second parameter of a first processor of the electronic equipment if the first parameter of the first processor meets a first condition after the electronic equipment is started, wherein the first parameter is related to the running state of the first processor; the processing module is used for controlling at least the first processor to be adjusted from a current first running state to a second running state if the second parameter meets a second condition; the first parameter and the second parameter have different attribute information, and the processing capacity of the first processor in the first running state is smaller than that of the first processor in the second running state. According to the scheme, after the electronic equipment is started, the first parameter of the first processor of the electronic equipment is monitored, the second parameter is obtained when the first parameter meets the first condition, and when the second parameter meets the second condition, the first processor is at least controlled to be switched from the first running state with weaker processing capacity to the second running state with stronger processing capacity, so that the running state of the first processor is adjusted according to the actual condition of the first processor, the utilization rate of the processor does not need to be detected in real time, and the power consumption for detecting the electronic equipment is reduced.
Corresponding to the embodiment of the control method provided by the application, the application also provides the electronic equipment and the readable storage medium corresponding to the control method.
Wherein, this electronic equipment includes: a memory, a processor;
wherein, the memory stores a processing program;
the processor is used for loading and executing the processing program stored in the memory so as to realize the steps of the control method.
Specifically, the implementation control method of the electronic device may refer to the foregoing control method embodiment.
Wherein the readable storage medium has stored thereon a computer program which is called and executed by a processor to implement the steps of the control method according to any one of the preceding claims.
Specifically, the computer program stored in the readable storage medium executes the control method, and reference may be made to the foregoing control method 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. For the device provided by the embodiment, the description is relatively simple because the device corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.
The previous description of the provided 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 provided herein.

Claims (10)

1. A control method, comprising:
after the electronic equipment is started, if a first parameter of a first processor of the electronic equipment is monitored to meet a first condition, determining a second parameter of the first processor, wherein the first parameter is related to the running state of the first processor;
if the second parameter meets a second condition, at least controlling the first processor to be adjusted from a current first running state to a second running state;
the first parameter and the second parameter have different attribute information, and the processing capacity of the first processor in the first running state is smaller than that of the first processor in the second running state.
2. The method of claim 1, further comprising:
obtaining target reference information, adjusting the first condition and/or the second condition based on at least the target reference information.
3. The method of claim 2, wherein adjusting the first condition and/or the second condition based at least on the target reference information comprises:
obtaining application information created and/or operated by the electronic equipment, and adjusting the first condition and/or the second condition based on the application information; or the like, or, alternatively,
obtaining an environmental parameter of an environment in which the electronic equipment is currently located, and adjusting the first condition and/or the second condition based on the environmental parameter; or the like, or, alternatively,
obtaining connection information of an electronic device and a target electronic device, and adjusting the first condition and/or the second condition based on the connection information; or the like, or, alternatively,
obtaining application information created and/or operated by the electronic equipment and environmental parameters of the current environment of the electronic equipment, and adjusting the first condition and/or the second condition based on the application information and the environmental parameters; or the like, or, alternatively,
the method comprises the steps of obtaining application information created and/or operated by the electronic equipment and connection information of target electronic equipment, and adjusting the first condition and/or the second condition based on the application information and the connection information.
4. The method of claim 3, wherein monitoring that a first parameter of a first processor of an electronic device satisfies a first condition, determining a second parameter of the first processor comprises:
monitoring that the temperature of a first processor of electronic equipment reaches a corresponding temperature threshold value, and determining the utilization rate of the first processor;
and/or the presence of a gas in the atmosphere,
if the second parameter meets a second condition, at least controlling the first processor to adjust from the current first operating state to a second operating state comprises:
and if the utilization rate of the first processor is greater than or equal to the corresponding threshold value, controlling at least the first processor to be adjusted to the corresponding operating power and/or the corresponding operating core parameter from the current operating power and/or the operating core parameter.
5. The method of claim 4, the monitoring a temperature of a first processor of an electronic device to reach a corresponding temperature threshold, determining a usage rate of the first processor, comprising:
determining application information operated by the electronic equipment;
if the electronic equipment runs the first type application and monitors that the temperature of a first processor of the electronic equipment reaches a first temperature threshold, determining the utilization rate of the first processor, and correspondingly, if the utilization rate is greater than or equal to the first threshold, controlling the first processor to be adjusted to a second running power and/or a second running kernel parameter from a current first running power and/or a first running kernel parameter, wherein the first running power is less than the second running power; or the like, or, alternatively,
if the electronic equipment runs the second type application and monitors that the temperature of a first processor of the electronic equipment reaches a second temperature threshold value, determining the utilization rate of the first processor, if the utilization rate is larger than or equal to the second threshold value, controlling the first processor to be adjusted to fourth operating power from current third operating power, and controlling a second processor of the electronic equipment to be adjusted to sixth operating power from current fifth operating power, wherein the second processor is different from the first processor.
6. The method of claim 1, wherein controlling at least the first processor to adjust from a current first operating state to a second operating state comprises:
obtaining a third parameter of a second processor, the second processor being different from the first processor;
and if the second parameter meets a second condition and the third parameter meets a third condition, controlling the first processor to be adjusted from the current first running state to a second running state and controlling the second processor to be adjusted from the current third running state to a fourth running state.
7. The method of claim 6, further comprising:
obtaining a heat dissipation configuration of an electronic device, and adjusting the first condition and/or the second condition based on the heat dissipation configuration; and/or the presence of a gas in the atmosphere,
obtaining current heat dissipation parameters of the electronic equipment, and adjusting the running state of the first processor and/or the second processor based on the heat dissipation parameters.
8. The method of claim 6, further comprising:
obtaining operation parameters of a target application;
if the operating parameters represent that the target application meets a first operating condition, controlling the first processor to maintain a current first operating state, controlling the second processor to maintain a third operating state or a fourth operating state, or adjusting the third operating state to the fourth operating state; or the like, or, alternatively,
if the operating parameters represent that the target application meets a second operating condition, controlling the first processor to be adjusted from a current first operating state to a second operating state, controlling the second processor to maintain a third operating state or a fourth operating state or to be adjusted from the third operating state to the fourth operating state; or the like, or, alternatively,
and if the running parameters represent that the target application meets a third running condition, controlling the first processor to maintain a second running state, controlling the second processor to maintain a third running state or a fourth running state or adjusting the third running state to the fourth running state.
9. The method of claim 6, further comprising:
the method comprises the steps of obtaining current heat dissipation parameters of the electronic equipment and/or operation parameters of a target application, and adjusting the operation state of a heat dissipation component of the electronic equipment at least based on the heat dissipation parameters and/or the operation parameters, or adjusting the operation state of the first processor and/or the second processor at least based on the heat dissipation parameters and/or the operation parameters.
10. A control device, comprising:
the monitoring module is used for determining a second parameter of a first processor of the electronic equipment if the first parameter of the first processor meets a first condition after the electronic equipment is started, wherein the first parameter is related to the running state of the first processor;
the processing module is used for controlling at least the first processor to be adjusted from a current first running state to a second running state if the second parameter meets a second condition;
the first parameter and the second parameter have different attribute information, and the processing capacity of the first processor in the first running state is smaller than that of the first processor in the second running state.
CN202110969194.6A 2021-08-23 2021-08-23 Control method and device and electronic equipment Pending CN113672466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110969194.6A CN113672466A (en) 2021-08-23 2021-08-23 Control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110969194.6A CN113672466A (en) 2021-08-23 2021-08-23 Control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113672466A true CN113672466A (en) 2021-11-19

Family

ID=78545298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110969194.6A Pending CN113672466A (en) 2021-08-23 2021-08-23 Control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113672466A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2031537A1 (en) * 2007-08-30 2009-03-04 Harris Corporation Adaptable microcontroller based security monitor
CN107423199A (en) * 2017-07-14 2017-12-01 广东欧珀移动通信有限公司 Electronic equipment, temperature rise control method, control device and storage medium
CN110727561A (en) * 2019-10-22 2020-01-24 Oppo广东移动通信有限公司 Abnormal heat dissipation detection method and device, terminal and storage medium
CN111190471A (en) * 2020-01-02 2020-05-22 联想(北京)有限公司 Control method, control device and electronic equipment
CN111240451A (en) * 2020-03-06 2020-06-05 维沃移动通信有限公司 Heat dissipation method, electronic device and computer-readable storage medium
CN112559063A (en) * 2019-09-11 2021-03-26 奇酷互联网络科技(深圳)有限公司 CPU switching method and device, intelligent terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2031537A1 (en) * 2007-08-30 2009-03-04 Harris Corporation Adaptable microcontroller based security monitor
CN107423199A (en) * 2017-07-14 2017-12-01 广东欧珀移动通信有限公司 Electronic equipment, temperature rise control method, control device and storage medium
CN112559063A (en) * 2019-09-11 2021-03-26 奇酷互联网络科技(深圳)有限公司 CPU switching method and device, intelligent terminal and storage medium
CN110727561A (en) * 2019-10-22 2020-01-24 Oppo广东移动通信有限公司 Abnormal heat dissipation detection method and device, terminal and storage medium
CN111190471A (en) * 2020-01-02 2020-05-22 联想(北京)有限公司 Control method, control device and electronic equipment
CN111240451A (en) * 2020-03-06 2020-06-05 维沃移动通信有限公司 Heat dissipation method, electronic device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN107209546B (en) Suppression of power spikes
US9614782B2 (en) Continuous resource pool balancing
CN106095022B (en) Control method and electronic equipment
US10130007B2 (en) Fan control system for a computer system based on a time variable rate of current
US9829949B2 (en) Adaptive interrupt coalescing for energy efficient mobile platforms
CN103207659B (en) Switching method and electronic equipment
CN111190471B (en) Control method, control device and electronic equipment
CN107273182B (en) Method and system for dynamically expanding virtual machine resources
US9395785B2 (en) Method and device for controlling terminal and terminal thereof
CN105874428B (en) Technology for the operating system transformation in multiple operating system environments
CN111475009A (en) Power consumption reduction circuit of GPU in server and server
US20130219206A1 (en) Method And Apparatus For Reducing Server Power Supply Size And Cost
WO2014153984A1 (en) Method and apparatus for outputting information of terminal
US9766276B2 (en) Power adapter detection
CN112463367A (en) Method and system for optimizing performance of storage system, electronic equipment and storage medium
CN111142640A (en) Control method of electronic equipment
CN113672466A (en) Control method and device and electronic equipment
WO2023078237A1 (en) Method and apparatus for controlling temperature of cloud mobile phone server, and device
CN107153592B (en) Electronic device and power management method thereof
CN107357654B (en) Method and device for controlling over-frequency working state of CPU
CN113094231B (en) Computer fan control method, system, controller and storage medium
CN108958829B (en) Pre-loaded resource control method, device, storage medium and terminal
US20140157022A1 (en) Electronic device and method for reducing cpu power consumption
CN108736082B (en) Method, device, equipment and storage medium for improving endurance capacity of terminal battery
CN112988105A (en) Playing state control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination