Computing device and method for controlling a startup current of a storage system
AssigneeHon Hai Precision Industry Co., Ltd.
InventorCHIH-HUANG WU
Life of this patent
Estimating the term…
Abstract
A method for controlling a startup current of a storage system using a computing device, the computing device detects a current of each storage device of the storage system when the storage system is turned on, and calculates the power drawn by each storage device according to the current of each storage device. If a sum of powers drawn by all the storage devices is greater than a predetermined value, the computing device turns off the storage system and determines a startup sequence of the storage devices and a startup time of each storage device. The startup time of each storage device is stored in a storage unit.
Claims15
A method for controlling a startup current of a storage system being executed by a processor of a computing device, the storage system comprising a plurality of storage devices, the method comprising:
- detecting a current of each of the plurality of storage devices when the storage system is turned on, and calculating a power drawn by each of the plurality of storage devices according to the current of each of the plurality of storage devices, wherein the current is provided by a power supply connected to the computing device;
- determining whether a sum of powers drawn by all the plurality of storage devices is greater than a predetermined value;
- turning off the storage system upon condition that the sum of the powers drawn by all the plurality of storage devices is greater than the predetermined value;
- determining a startup sequence of the plurality of storage devices and a startup time of each of the plurality of storage devices, to ensure that the sum of the powers drawn by all the plurality of storage devices is less than or equal to the predetermined value when the storage system is turned on;
- and
- storing the startup time of each of the plurality of storage devices, and controlling each of the plurality of storage devices to start up according to the startup time when the storage system is restarted.
A computing device, comprising:
- a storage unit;
- at least one processor;
- and
- a current controlling system comprising one or more programs that are stored in the storage unit and executed by the at least one processor, the one or more programs comprising instructions to:
- detect a current of each of storage devices of the storage system when the storage system is turned on, and calculate a power drawn by each of the plurality of storage devices according to the current of each of the plurality of storage devices, wherein the current is provided by a power supply connected to the computing device;
- determine whether a sum of powers drawn by all the plurality of storage devices is greater than a predetermined value;
- turn off the storage system upon condition that the sum of the powers drawn by all the plurality of storage devices is greater than the predetermined value;
- determine a startup sequence of the plurality of storage devices and a startup time of each of the plurality of storage devices, to ensure that the sum of the powers drawn by all the plurality of storage devices is less than or equal to the predetermined value when the storage system is turned on;
- and
- store the startup time of each of the plurality of storage devices, and control each of the plurality of storage devices to start up according to the startup time when the storage system is restarted.
A non-transitory computer-readable storage medium storing a set of instructions, the set of instructions capable of being executed by a processor of a computing device to implement a method for controlling a startup current of a storage system, the method comprising:
- detecting a current of each of storage devices of the storage system when the storage system is turned on, and calculate a power drawn by each of the plurality of storage devices according to the current of each of the plurality of storage devices, wherein the current is provided by a power supply connected to the computing device;
- determining whether a sum of powers drawn by all the plurality of storage devices is greater than a predetermined value;
- turning off the storage system upon condition that the sum of the powers drawn by all the plurality of storage devices is greater than the predetermined value;
- determining a startup sequence of the plurality of storage devices and a startup time of each of the plurality of storage devices, to ensure that the sum of the powers drawn by all the plurality of storage devices is less than or equal to the predetermined value when the storage system is turned on;
- and
- storing the startup time of each of the plurality of storage devices, and controlling each of the plurality of storage devices to start up according to the startup time when the storage system is restarted.
Dependencies are inferred from the claim text.