Volatile Memory Data Preservation During Power Outages
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Storage devices face data loss during sudden power shortages or power glitches due to the inability to effectively transfer volatile memory data to nonvolatile memory in time, leading to potential data loss.
Innovation Solution
A storage device method that partitions volatile memory into partial areas, generates a data priority list based on query plans, and selectively moves necessary data to these areas while providing spare power to the designated areas during power outages, ensuring data preservation until main power is restored.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If data is stored in volatile memory for fast access, then read/write speed is improved, but data loss occurs when power is not supplied
Solution Approach 1:
The volatile memory is divided into multiple partial areas, with only the necessary partial area being maintained during power shortage. This segmentation allows the system to preserve critical data in a limited powered region while reducing overall power consumption and risk of data loss.
Solution Approach 2:
The system identifies and moves necessary data to a designated partial area before power is completely lost. By performing this data relocation in advance during the power transition period, the system ensures critical data is preserved in the maintained partial area before total power failure occurs.
2Reliability
If all volatile memory is maintained during power shortage, then data retention is improved, but power consumption increases
Solution Approach 1:
Instead of maintaining the entire volatile memory, the system applies power only to a specific partial area where necessary data is stored. This local quality approach ensures that only the critical region consumes power during the shortage period, minimizing energy usage while preserving essential data.
Solution Approach 2:
The system performs partial action by maintaining only a portion of the volatile memory rather than the entire memory. This selective maintenance reduces power consumption to the minimum necessary level while still preserving the critical data required for system recovery.
3Reliability
If data is moved to nonvolatile memory during operation, then data retention is improved, but system performance decreases due to slower access speed
Solution Approach 1:
The volatile memory's partial area serves as an intermediary storage region during power shortages. Data remains in this volatile partial area which is maintained by spare power, providing faster access than nonvolatile memory while still ensuring data retention. This intermediary approach balances the speed advantage of volatile memory with the reliability of preserved data.
Data Source
AI summary
The present disclosure provides methods and apparatuses for data loss prevention of a storage device. In some embodiments, the data loss preventing method includes receiving, from a host system, a query plan corresponding to necessary data to be stored in a volatile memory. The data loss preventing method further includes generating, based on the query plan, a data priority list corresponding to the necessary data. The data loss preventing method further includes selecting, based on the data priority list, at least one portion of the volatile memory, when a main power supplied by the host system drops to or below a power level threshold. The data loss preventing method further includes moving the necessary data to the at least one portion of the volatile memory.


