Search

CN-122003651-A - Method, device, system and storage medium for managing power consumption of processing unit

CN122003651ACN 122003651 ACN122003651 ACN 122003651ACN-122003651-A

Abstract

The application provides a power consumption management method, device and system of a processing unit and a storage medium, and relates to the technical field of neural networks. The power consumption management method of the processing unit is applied to a control unit of electronic equipment, the electronic equipment further comprises the processing unit, the control unit is connected with the processing unit, the method comprises the steps of obtaining parameter values of environment parameters of a working environment where the processing unit is located, determining target electric parameter values of preset working electric parameters based on the parameter values of the environment parameters and preset corresponding relations, wherein the preset corresponding relations comprise corresponding relations between different parameter values of the environment parameters and different target electric parameter values of the preset working electric parameters, the different target electric parameter values of the preset working electric parameters are electric parameter values which enable power consumption of the processing unit to reach preset requirements under the different parameter values of the environment parameters, and controlling the preset working electric parameters of the processing unit to execute a current task according to the target electric parameter values. By the method, the power consumption of the processing unit in the electronic equipment can be reduced.

Inventors

  • XIE WEI

Assignees

  • 芯原微电子(上海)股份有限公司
  • 芯原微电子(成都)有限公司
  • 芯原微电子(海南)有限公司
  • 芯原微电子(南京)有限公司
  • 芯原科技(上海)有限公司

Dates

Publication Date
20260508
Application Date
20240903

Claims (13)

  1. A power consumption management method of a processing unit, characterized in that the power consumption management method is applied to a control unit of an electronic device, the electronic device further comprises a processing unit, the control unit is connected with the processing unit, and the power consumption management method of the processing unit comprises: Acquiring a parameter value of an environmental parameter of a working environment where a processing unit is located; Determining a target electric parameter value of a preset working electric parameter based on the parameter value of the environment parameter and a preset corresponding relation, wherein the preset corresponding relation comprises a corresponding relation between different parameter values of the environment parameter and different target electric parameter values of the preset working electric parameter; and controlling the preset working electric parameter of the processing unit to execute the current task according to the target electric parameter value.
  2. The method of claim 1, wherein the environmental parameters include a current temperature of an operating environment in which the processing unit is located, and the preset correspondence includes a correspondence between different temperature ranges of the current temperature and different electrical parameter values of the preset operating electrical parameter; The determining the target electric parameter value of the preset working electric parameter based on the parameter value of the environmental parameter and the preset corresponding relation comprises the following steps: Determining a target temperature range in which a temperature value of the current temperature is located in the parameter values of the environment parameters; And determining a target electric parameter value of the preset working electric parameter corresponding to the target temperature range based on the preset corresponding relation.
  3. The method of managing power consumption of a processing unit according to claim 1, wherein the electronic device further includes a power supply that supplies power to the processing unit, the control unit, the processing unit, and the power supply control being connected to each other; The environment parameters comprise the current power supply voltage for supplying power to the processing unit, and the preset corresponding relation comprises the corresponding relation between different power supply voltage ranges of the power supply and different electric parameter values of the preset working electric parameter; The determining the target electric parameter value of the preset working electric parameter based on the parameter value of the environmental parameter and the preset corresponding relation comprises the following steps: determining a target voltage range in which a voltage value of the current power supply voltage is located in the parameter values of the environment parameters; And determining a target electric parameter value of the preset working electric parameter corresponding to the target voltage range based on the preset corresponding relation.
  4. The method according to claim 1, wherein the electronic device further comprises a power supply for supplying power to the processing unit, the control unit, the processing unit, and the power supply control are connected with each other, the environmental parameter comprises a current power supply power for supplying power to the processing unit, and the preset correspondence comprises a correspondence between different power ranges of the current power supply power and different power parameter values of the preset working power parameter; The determining the target electric parameter value of the preset working electric parameter based on the parameter value of the environmental parameter and the preset corresponding relation comprises the following steps: Determining a target electric quantity range where the current electric quantity of the power supply is located in the parameter value of the environment parameter; and determining a target electric parameter value of the preset working electric parameter corresponding to the target electric quantity range based on the preset corresponding relation.
  5. The method for managing power consumption of a processing unit according to any one of claims 1 to 4, wherein the electronic device further comprises a power supply for supplying power to the processing unit, and wherein the control unit, the processing unit, and the power supply control are connected to each other; After the controlling the preset working electrical parameter of the processing unit to perform the current task with the target electrical parameter value, the method further includes: starting timing in response to the processing unit completing a current task; And if the timing duration reaches the preset duration, the processing unit does not receive a new task, and the power supply is controlled to stop supplying power to the processing unit.
  6. The method of power consumption management of a processing unit of claim 5, wherein after the starting timing, the method further comprises: And configuring a preset working electric parameter of the processing unit to be a minimum electric parameter value allowed by the processing unit in a working state, wherein the preset working electric parameter comprises a working electric parameter related to the power consumption of the processing unit.
  7. The method of claim 6, wherein the predetermined operating parameters include at least one of an operating frequency and an operating voltage of the processing unit.
  8. The method of power consumption management of a processing unit of claim 5, wherein after the starting timing, the method further comprises: the processing unit is controlled to enter a standby state in a power supply state, and the working frequency of the processing unit in the standby state is 0.
  9. The method of managing power consumption of a processing unit according to claim 5, further comprising: And in the power-off state of the processing unit, controlling the power supply to supply power to the processing unit in response to the requirement of distributing new tasks to the processing unit.
  10. The method of power consumption management of a processing unit of claim 5, wherein after starting timing in response to the processing unit completing a current task, the method further comprises: if the processing unit receives a new task before the timing time reaches the preset time, stopping timing; re-acquiring the parameter value of the environmental parameter; According to the re-acquired parameter values of the environmental parameters, re-determining target electric parameter values of the preset working electric parameters; And controlling the processing unit to execute the new task based on the re-determined target electric parameter value.
  11. The power consumption management device of the processing unit is characterized by being applied to a control unit of electronic equipment, wherein the electronic equipment further comprises the processing unit, and the control unit is connected with the processing unit; The power consumption management device of the processing unit comprises an acquisition module and a control module; the control module is used for acquiring parameter values of environmental parameters of the working environment where the processing unit is located; The control module is used for determining a target electric parameter value of a preset working electric parameter based on the parameter value of the environment parameter and a preset corresponding relation, wherein the preset corresponding relation comprises a corresponding relation between different parameter values of the environment parameter and different target electric parameter values of the preset working electric parameter, the different target electric parameter values of the preset working electric parameter are electric parameter values which enable the power consumption of the processing unit to reach preset requirements under the different parameter values of the environment parameter, and the preset working electric parameter of the processing unit is controlled to execute a current task according to the target electric parameter value.
  12. An electronic device, comprising: A control unit for performing the power consumption management method of a processing unit according to any of claims 1-10; the processing unit is connected with the control unit; the environment monitoring unit is used for monitoring the working environment of the processing unit to obtain environment parameters; The environment monitoring unit is further connected to the control unit and is further configured to provide the control unit with the environment parameter, so that the control unit performs the power consumption management method of the processing unit according to any one of claims 1-10; And the power supply is respectively connected with the control unit and the processing unit and is used for responding to the control of the control unit and supplying power to or cutting off power from the processing unit.
  13. A readable storage medium, characterized in that the readable storage medium has stored therein a program which, when run on a processor, causes the processor to execute the power consumption management method as a processing unit according to any of claims 1-10.

Description

Method, device, system and storage medium for managing power consumption of processing unit Technical Field The application relates to the technical field of neural networks, and particularly provides a power consumption management method, device and system of a processing unit and a storage medium. Background The processing unit is widely applied to various devices, and along with the increase of the requirements on standby time and running time of the devices, the power consumption requirement of the processing unit is also increased. For example, some devices powered by a battery as a power source require reduced power consumption of the processing unit to increase the cruising ability of the device. At present, a low-power-consumption management mode for a processing unit is single, the processing unit is usually powered off only when the equipment is powered off, and the processing unit is always in a power supply state and waits for a subsequent task at a rated working frequency of the processing unit during the startup of the equipment. Disclosure of Invention In view of the foregoing, the present application is directed to a method, apparatus, system, and storage medium for managing power consumption of a processing unit, so as to reduce the power consumption of the processing unit. In a first aspect, an embodiment of the present application provides a power consumption management method of a processing unit, which is applied to a control unit of an electronic device, where the electronic device further includes a processing unit, the control unit is connected to the processing unit, the power consumption management method of the processing unit includes obtaining a parameter value of an environmental parameter of a working environment where the processing unit is located, determining a target electric parameter value of a preset working electric parameter based on the parameter value of the environmental parameter and a preset correspondence, where the preset correspondence includes a correspondence between different parameter values of the environmental parameter and different target electric parameter values of the preset working electric parameter, where the different target electric parameter values of the preset working electric parameter are electric parameter values that enable power consumption of the processing unit to reach a preset requirement under different parameter values of the environmental parameter, and controlling the preset working electric parameter of the processing unit to execute a current task with the target electric parameter value. Different working environments have different effects on the operation efficiency of the processing unit according to rules 91 and correct 06.06.2025, and further affect the power consumption of the processing unit when executing the same task. In the embodiment of the application, the environment parameters can be obtained, and the corresponding target electric parameter values of the preset working electric parameters are configured for the processing unit according to the environment parameters, wherein the different target electric parameter values of the preset working electric parameters are electric parameter values which enable the power consumption of the processing unit to reach the preset requirements under the different parameter values of the environment parameters. Therefore, the processing unit can execute tasks in different environments, and meanwhile, the used working parameters can enable the processing unit to have higher working efficiency in the current environment, so that the power consumption of the processing unit when executing the current task is reduced. In an embodiment, the environment parameter comprises the current temperature of the working environment where the processing unit is located, the preset corresponding relation comprises a corresponding relation between different temperature ranges of the current temperature and different electric parameter values of the preset working electric parameter, the determining of the target electric parameter value of the preset working electric parameter based on the parameter value of the environment parameter and the preset corresponding relation comprises determining a target temperature range where the temperature value of the current temperature is located in the parameter value of the environment parameter, and determining the target electric parameter value of the preset working electric parameter corresponding to the target temperature range based on the preset corresponding relation. The current temperature of the working environment where the processing unit is located has a larger influence on the power consumption of the processing unit, the higher the temperature is, the higher the power consumption of the processing unit is under the condition of the same electric parameter value of the working electric parameter, and under the condition of fixed heat diss