IP Library Granted Patent US 12,393,254
Granted Patent B2
US 12,393,254 · App. 18/572,924 · Granted Aug 19, 2025

Method and apparatus for adjusting power consumption, storage device, and non-transitory computer readable storage medium

Inventor: Hanqing Li (Jiangsu, CN)
Assignee: SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD.
G06F1/3275
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,393,254
App. No.
18/572,924
Granted
Aug 19, 2025
Kind
B2
Abstract

The present application relates to the field of storage devices, in particular to a method and apparatus for adjusting power consumption, a storage device, and a non-transitory computer readable storage medium. The method includes: acquiring current power consumption of the storage device (S 11 ); comparing target power consumption of the storage device at a current power consumption level with the current power consumption to adjust an initial upper limit value corresponding to the storage device, so as to obtain an adjusted target upper limit value (S 12 ); adjusting a number of logical units performing a read and write task in the storage device according to the target upper limit value, so as to adjust the current power consumption of the storage device (S 13 ). According to the method, the power consumption of the storage device is adjusted.

Claims (54)

1. A method for adjusting power consumption, applying to a storage device and comprising:

acquiring current power consumption of the storage device;

adjusting an initial upper limit value corresponding to the storage device according to comparison of a target power consumption with the current power consumption of the storage device at a current power consumption level, so as to obtain an adjusted target upper limit value; and

adjusting a number of logical units performing a read and write task in the storage device according to the target upper limit value, so as to adjust the current power consumption of the storage device.

2. The method according to claim 1 , wherein the adjusting an initial upper limit value corresponding to the storage device according to comparison of a target power consumption with a current power consumption of the storage device at a current power consumption level, so as to obtain an adjusted target upper limit value comprises:

calculating a difference between the current power consumption and the target power consumption; and

adjusting, according to the difference, the initial upper limit value to obtain the adjusted target upper limit value.

3. The method according to claim 2 , wherein the adjusting, according to the difference, the initial upper limit value to obtain the adjusted target upper limit value comprises:

acquiring, in a case that the difference is greater than a preset difference, an adjustment ratio corresponding to the storage device; and

adjusting, according to the adjustment ratio and the difference, the initial upper limit value to obtain the adjusted target upper limit value.

4. The method according to claim 3 , further comprising:

acquiring, in a case that differences within a preset number of times are all less than or equal to the preset difference, an integration constant according to the preset number of times; and

adjusting, according to the integration constant and a sum of the differences, the initial upper limit value to obtain the adjusted target upper limit value.

5. The method according to claim 4 , wherein the acquiring, in a case that differences within a preset number of times are all less than or equal to the preset difference, an integration constant according to the preset number of times comprises:

determining, in a case that the differences within the preset number of times are all less than or equal to the preset difference, that there is a static error between the current power consumption and the target power consumption.

6. The method according to claim 1 , before adjusting an initial upper limit value corresponding to the storage device according to comparison of a target power consumption with a current power consumption of the storage device at a current power consumption level, the method further comprises:

querying, according to the current power consumption level, rated power consumption corresponding to the current power consumption level;

acquiring a safety difference corresponding to the current power consumption level; and

subtracting the safety difference from the rated power consumption to calculate the target power consumption of the storage device at the current power consumption level.

7. The method according to claim 6 , wherein the querying, according to the current power consumption level, rated power consumption corresponding to the current power consumption level comprises:

judging, according to a preset power consumption level range, whether the current power consumption level is valid; and

in a case that the current power consumption level is valid, querying, according to the current power consumption level, the rated power consumption corresponding to the current power consumption level.

8. The method according to claim 7 , wherein the judging, according to a preset power consumption level range, whether the current power consumption level is valid comprises:

determining, in a case that the current power consumption level of the storage device is within the power consumption level range, that the current power consumption level is valid; and

determining, in a case that the current power consumption level of the storage device is not within the power consumption level range, that the current power consumption level is invalid.

9. The method according to claim 7 , wherein the judging, according to a preset power consumption level range, whether the current power consumption level is valid further comprises:

outputting, in a case that the current power consumption level is invalid, a message indicating that the current power consumption is invalid.

10. The method according to claim 7 , wherein the acquiring a safety difference corresponding to the current power consumption level comprises:

upon determining that the current power consumption level of the storage device is valid, acquiring, according to the current power consumption level, the safety difference corresponding to the current power consumption level.

11. The method according to claim 6 , wherein the acquiring the current power consumption level comprises:

receiving the current power consumption level input by a user.

12. The method according to claim 6 , wherein the querying, according to the current power consumption level, rated power consumption corresponding to the current power consumption level comprises:

querying the rated power consumption corresponding to the current power consumption level according to a corresponding relationship between power consumption levels and rated power.

13. The method according to claim 1 , wherein the acquiring current power consumption of the storage device comprises:

sampling a current sensor and/or a voltage sensor; and

acquiring, according to sampling data, the current power consumption of the storage device, and indicating that the storage device is undergoing power consumption adjustment.

14. The method according to claim 13 , wherein the sampling a current sensor and/or a voltage sensor comprises:

sampling the current sensor and/or the voltage sensor a plurality of times.

15. The method according to claim 13 , wherein the acquiring, according to sampling data, the current power consumption of the storage device comprises:

acquiring the current power consumption of the storage device by multiplying collected current data by voltage data.

16. The method according to claim 13 , wherein the indicating that the storage device is undergoing power consumption adjustment comprises:

indicating that the storage device is undergoing power consumption adjustment by controlling a power consumption adjustment indicator of the storage device to emit light.

17. The method according to claim 1 , before adjusting an initial upper limit value corresponding to the storage device according to comparison of a target power consumption with a current power consumption of the storage device at a current power consumption level, the method further comprises:

determining, according to the current power consumption level, the initial upper limit value corresponding to the current power consumption level.

18. The method according to claim 1 , wherein the adjusting a number of logical units performing a read and write task in the storage device according to the target upper limit value, so as to adjust the current power consumption of the storage device comprises:

reducing, according to the target upper limit value and a program of the task being performed by the storage device, the number of logical units that are performing at least one of a read operation, a write operation, and an erase operation.

19. A storage device, comprising a memory and a processor, the memory is configured to store computer instructions, and the processor is configured to execute the computer instructions to:

acquire current power consumption of the storage device;

adjust an initial upper limit value corresponding to the storage device according to comparison of a target power consumption with the current power consumption of the storage device at a current power consumption level, so as to obtain an adjusted target upper limit value; and

adjust a number of logical units performing a read and write task in the storage device according to the target upper limit value, so as to adjust the current power consumption of the storage device.

20. A non-transitory computer readable storage medium, storing computer instructions, and when executed by a computer, the computer instructions are configured to cause the computer to:

acquire current power consumption of the storage device;

adjust an initial upper limit value corresponding to the storage device according to comparison of a target power consumption with the current power consumption of the storage device at a current power consumption level, so as to obtain an adjusted target upper limit value; and

adjust a number of logical units performing a read and write task in the storage device according to the target upper limit value, so as to adjust the current power consumption of the storage device.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 21, 2023
From: LI, HANQING
To: SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 066093/0914 →
Priority Claims (1)
CN 202210115471.1 · Feb 7, 2022 · national
Continuity (1)
Related Publication 20240295917A1 · Sep 5, 2024
References Cited (20)
US 20150185799A1 · Robles et al. · 2015 [cited by applicant]
US 20150331473A1 · Jreji · 2015 [cited by examiner]
US 20190278495A1 · Klein · 2019 [cited by examiner]
US 20210200481A1 · Buxton · 2021 [cited by examiner]
US 20230288980A1 · Duan et al. · 2023 [cited by applicant]
CN 101699413A · 2010 [cited by applicant]
CN 106033345A · 2016 [cited by applicant]
CN 106470167A · 2017 [cited by applicant]
CN 108196482A · 2018 [cited by applicant]
CN 108984330A · 2018 [cited by applicant]
CN 111949478A · 2020 [cited by applicant]
CN 112084089A · 2020 [cited by applicant]
CN 112214095A · 2021 [cited by applicant]
CN 112558747A · 2021 [cited by applicant]
CN 112558748A · 2021 [cited by applicant]
CN 113625862A · 2021 [cited by applicant]
CN 113688001A · 2021 [cited by applicant]
CN 114138098A · 2022 [cited by applicant]
International Search Report issued for International Patent Application No. PCT/CN2022/122793 mailed Dec. 15, 2022, 13 pgs. [cited by applicant]
Search Report issued for Chinese Patent Application No. 202210115471.1 dated Mar. 9, 2022, 2 pgs. [cited by applicant]