US 12,321,215 B2
Power management method and device
Binbin Ni, Hangzhou (CN); and Dongkuang Song, Hangzhou (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Apr. 22, 2022, as Appl. No. 17/727,686.
Application 17/727,686 is a continuation of application No. PCT/CN2020/122459, filed on Oct. 21, 2020.
Claims priority of application No. 201911007882.3 (CN), filed on Oct. 22, 2019.
Prior Publication US 2022/0244772 A1, Aug. 4, 2022
Int. Cl. G06F 1/3296 (2019.01); G06F 1/324 (2019.01); G06F 1/3287 (2019.01)
CPC G06F 1/324 (2013.01) [G06F 1/3287 (2013.01); G06F 1/3296 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A power management method performed by a central processing unit (CPU) of a device, the CPU configured to receive and execute program instruction stored in a storage of the device, the computer instructions including instructions for boot firmware, an operating system (OS), and intelligent management unit (IMU) firmware, the method comprises:
obtaining an intelligent management unit power management (IMU PM) execution notification before the operating system OS runs, wherein the IMU PM execution notification is sent by the boot firmware after the boot firmware determines, before the OS runs, that power management (PM) is to be performed by the IMU firmware, and the boot firmware is further configured to prevent, before the OS runs, the OS from performing operating system power management (OS PM);
after determining, based on the IMU PM execution notification, that PM is to be performed on the CPU by the IMU firmware, obtaining a current performance parameter of the CPU, wherein the performance parameter comprises one or more of power consumption, a temperature or usage of the CPU; and
performing power management on the CPU based on the performance parameter by entering a performance parameter into a trained feature extraction model to obtain a target service type to determine a configuration adjustment policy that corresponds to the target service type.