The invention discloses a fast data protection method and device for SSD abnormal power failure, equipment and a medium, and relates to the field of SSDs, and the method comprises the steps: monitoring a
power supply voltage, and generating an interrupt
signal when the
power supply voltage is lower than a preset threshold value; in response to the interrupt
signal, turning off a power supply of a preset non-
data path hardware module through the SSD controller; stopping scheduling all operation commands for the
NAND flash memory through the SSD
firmware, and emptying a
data path in an
NAND flash memory controller; writing the user data in the host write cache and the command information corresponding to the user data into a special
physical address block reserved in the SSD in advance; after the SSD is powered on again, the
address mapping table is recovered by scanning the write-in point in the
NAND flash memory, the
backup data and the command information in the special
physical address block are read, and the
backup data are written into the user data area according to the command information. According to the method, the key data
backup time during abnormal power failure is shortened, the capacity requirement for the standby
capacitor is reduced, and the problem that the cost is increased due to the fact that the backup time is too long is effectively solved.