Memory Controller Buffer Data Protection During Long Procedures
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Data stored in the buffer of a memory controller can be lost due to power failures during procedures with long execution times in portable devices using rewritable non-volatile memory modules, as the process may not be finished within the backup power supply time.
Innovation Solution
A data protecting method and memory control circuit unit that determines if a procedure is of a first type (long execution time) and temporarily stops receiving data corresponding to a write command until the procedure is finished, preventing data loss by ensuring data is not written to the buffer during power instability.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If data is stored in the buffer during long-execution procedures, then data transmission efficiency is improved, but data loss risk increases due to power failures
Solution Approach 1:
The memory controller checks whether a long-execution procedure is being performed before storing data in the buffer. This preliminary check prevents data from being stored during vulnerable periods when power failures would cause data loss, while still allowing buffer storage during safe periods when procedures are complete or short-lived.
Solution Approach 2:
The buffer storage capability is made dynamic rather than static. The memory controller adjusts whether data can be stored in the buffer based on the real-time state of procedures being executed. When a long-execution procedure is detected, the buffer storage is temporarily disabled; when no such procedure is running, buffer storage is enabled, thus adapting to changing system conditions.
2Speed
If data is temporarily stored in the buffer, then data handling speed is improved, but data integrity deteriorates during power instability
Solution Approach 1:
The memory controller acts as an intermediary between the host system and the buffer. It intercepts data from the host system and decides whether to forward it to the buffer based on the procedure state. This intermediary function protects data integrity by filtering out data that would be stored during unsafe periods while maintaining fast data handling during safe periods.
Solution Approach 2:
The system performs a preliminary check of the procedure state before data is written to the buffer. This advance verification ensures that data integrity conditions are met before storage occurs, preventing data loss while maintaining efficient data handling when conditions are favorable.
Data Source
AI summary
A data protecting method, a memory storage apparatus and a memory control circuit unit are provided. The method includes: determining whether a first procedure being executed or about to be executed by the memory storage device is a first type procedure; and if the first procedure being executed or about to be executed by the memory storage device is the first type procedure, temporarily stopping receiving a first data corresponding to a first write command before the first procedure is finished.


