Search

CN-121999816-A - SSD low-power consumption control method apparatus and medium

CN121999816ACN 121999816 ACN121999816 ACN 121999816ACN-121999816-A

Abstract

The invention discloses an SSD low-power consumption control method, equipment and a medium, which relate to the technical field of SSDs and comprise the steps that a system-level chip receives an effective power-down notification signal from a host through a preset general input/output pin, the system-level chip writes data in a cache into a nonvolatile storage medium of a solid state disk in response to the effective power-down notification signal, then the system-level chip sends a control instruction to a power management chip through a communication bus to configure a power-off control register of the power management chip into an enabling state, and the power management chip cuts off all power outputs except for the power input by the power management chip in the solid state disk in response to the power-off control register being in the enabling state, so that the solid state disk enters the low-power consumption state. The invention solves the problem that the power consumption of the traditional partial power-off scheme is not thoroughly reduced, simultaneously avoids the hardware cost and complexity caused by the scheme of relying on the backup capacitor, and realizes the extremely low power consumption control under the premise of ensuring the data safety.

Inventors

  • GAO GUOMING

Assignees

  • 东莞记忆存储科技有限公司

Dates

Publication Date
20260508
Application Date
20260122

Claims (10)

  1. 1. The SSD low power consumption control method is characterized in that a solid state disk comprises a system-level chip and a power management chip, and the method comprises the following steps: the system-level chip receives an effective power-down notification signal from a host through a preset general input/output pin; in response to the valid power-down notification signal, the system-on-chip performs a data protection operation of writing data in a cache to a non-volatile storage medium of the solid state disk; after the data protection operation is completed, the system-on-chip sends a control instruction to the power management chip through a communication bus so as to configure a power-off control register of the power management chip into an enabling state; And the power management chip responds to the power-off control register in the enabling state, and cuts off all power output except the power input by the power management chip in the solid state disk, so that the solid state disk enters a low-power consumption state.
  2. 2. The SSD low power consumption control method of claim 1, wherein before the system-on-chip receives a valid power-down notification signal from a host via a preset general purpose input-output pin, the method further comprises: After the solid state disk is powered on, the system level chip initially configures a power-off control register of the power management chip into a disabled state, and starts to monitor the state of the universal input/output pin.
  3. 3. The SSD low power consumption control method of claim 1, wherein the active power down notification signal is a level signal on the gpio pin for an active duration exceeding a first preset time threshold.
  4. 4. The SSD low power consumption control method of claim 1, wherein the communication bus is an I2C bus.
  5. 5. The SSD low power consumption control method of claim 1, wherein after the solid state disk enters the low power consumption state, the method further comprises: the power management chip detects that the power-down notification signal on the general input/output pin is revoked; In response to the power-down notification signal being deactivated, the power management chip resumes power output to the solid state disk; After the solid state disk is powered on and initialized, the system level chip reconfigures the power-off control register of the power management chip into a disabled state through the communication bus.
  6. 6. The SSD low power consumption control method of claim 5, wherein the system-on-chip resumes continuous monitoring of the general purpose input output pins in response to a next valid power down notification signal after the power down control register is reconfigured to a disabled state.
  7. 7. The SSD low power consumption control method of claim 5, wherein the de-activation of the power-down notification signal means that the level on the gpio pin changes from a first level indicating active to a second level indicating inactive and a duration of the second level exceeds a second preset time threshold.
  8. 8. The SSD low power consumption control method of claim 1, wherein the overall power consumption of the solid state disk in the low power consumption state is lower than a preset power consumption threshold.
  9. 9. A computer device, characterized in that it comprises a memory on which a computer program is stored and a processor which, when executing the computer program, implements the method according to any of claims 1-7.
  10. 10. A computer readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any of claims 1-7.

Description

SSD low-power consumption control method apparatus and medium Technical Field The invention relates to the technical field of SSDs, in particular to a SSD low-power consumption control method, SSD low-power consumption control equipment and SSD low-power consumption control medium. Background In the field of low-power consumption control of solid state disks, two typical schemes mainly exist in the prior art. In the first scheme, the solid state disk is powered off partially, and only the power supply of the controller is reserved to maintain the wake-up function, but the solid state disk still has non-negligible static power consumption in a dormant state under the scheme. Furthermore, the second scheme is to add an electric capacitor to the solid state disk, when the host computer is ready to cut off the power supply, an indication signal is sent to the solid state disk, so that the data storage and the power-down preparation are completed by utilizing the electric energy stored in the capacitor, and the data integrity is ensured. However, both of the above schemes have significant limitations in that the former cannot achieve a complete power cut-off and the latter requires additional external hardware. Disclosure of Invention The embodiment of the invention provides a SSD low-power consumption control method, SSD low-power consumption control equipment and SSD low-power consumption control medium, and aims to solve the technical problem of how to provide a low-power consumption control scheme capable of realizing complete power failure of a solid state disk without depending on additional hardware such as a standby capacitor. In a first aspect, an embodiment of the present invention provides a method for controlling SSD low power consumption, where a solid state disk includes a system-level chip and a power management chip, the method including: the system-level chip receives an effective power-down notification signal from a host through a preset general input/output pin; in response to the valid power-down notification signal, the system-on-chip performs a data protection operation of writing data in a cache to a non-volatile storage medium of the solid state disk; after the data protection operation is completed, the system-on-chip sends a control instruction to the power management chip through a communication bus so as to configure a power-off control register of the power management chip into an enabling state; And the power management chip responds to the power-off control register in the enabling state, and cuts off all power output except the power input by the power management chip in the solid state disk, so that the solid state disk enters a low-power consumption state. Optionally, before the system-on-chip receives the valid power-down notification signal from the host through a preset general purpose input/output pin, the method further includes: After the solid state disk is powered on, the system level chip initially configures a power-off control register of the power management chip into a disabled state, and starts to monitor the state of the universal input/output pin. Optionally, the valid power-down notification signal is a level signal that is on the general purpose input output pin for a valid duration exceeding a first preset time threshold. Optionally, the communication bus is an I2C bus. Optionally, after the solid state disk enters the low power consumption state, the method further includes: the power management chip detects that the power-down notification signal on the general input/output pin is revoked; In response to the power-down notification signal being deactivated, the power management chip resumes power output to the solid state disk; After the solid state disk is powered on and initialized, the system level chip reconfigures the power-off control register of the power management chip into a disabled state through the communication bus. Optionally, after the power down control register is reconfigured to a disabled state, the system on chip resumes continuous monitoring of the general purpose input output pins in response to a next valid power down notification signal. Optionally, the power-down notification signal is deactivated, that is, the level on the universal input/output pin is changed from a first level indicating validity to a second level indicating invalidity, and the duration of the second level exceeds a second preset time threshold. Optionally, the overall power consumption of the solid state disk in the low power consumption state is lower than a preset power consumption threshold. In a second aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program. In a third aspect, embodiments of the present invention also provide a computer-readable storage medium storing a co