Flash Memory Management for Remaining Capacity Calculation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional memory devices, such as magnetic disks and non-volatile flash memory, face challenges in managing remaining storage capacity effectively due to varying read/write times and limited lifespan, necessitating a method to calculate and display this capacity accurately.
Innovation Solution
A memory management apparatus and method that calculates the number of bad blocks and reserved blocks in flash memory, computes the remaining storage capacity based on these values, and displays it in a level gauge format, with an optional alarm system for threshold alerts.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the number of bad blocks and reserved blocks is calculated to determine remaining storage capacity, then the accuracy of storage capacity measurement is improved, but the device complexity increases
Solution Approach 1:
The memory management apparatus automatically calculates bad blocks, reserved blocks, and remaining storage capacity without requiring external intervention. The system self-monitors its own health status and provides accurate capacity measurement through internal calculations, resolving the contradiction by enabling precise measurement while avoiding additional external complexity
Solution Approach 2:
The apparatus continuously monitors and calculates the number of bad blocks and reserved blocks, providing feedback on storage capacity status. This feedback mechanism enables accurate real-time measurement of remaining storage capacity while the calculations are performed internally by the management apparatus, maintaining precision without proportionally increasing external device complexity
2Reliability
If real-time monitoring of remaining storage capacity is implemented, then the reliability of data storage is improved, but the use of energy increases
Solution Approach 1:
The memory management apparatus continuously monitors storage capacity and calculates block status without interruption. This continuous monitoring ensures reliable real-time detection of storage status and potential failures, while the calculations are performed efficiently using internal resources, achieving high reliability with acceptable energy consumption
Solution Approach 2:
The system performs self-monitoring and self-diagnosis of storage capacity and block health status. By using its own internal calculating unit to assess its own state, the apparatus achieves reliable real-time monitoring without requiring additional external energy-intensive systems, thus improving reliability while controlling energy usage
3Measurement precision
If the number of block-erases is calculated to assess remaining capacity, then the accuracy of lifespan estimation is improved, but the calculation time increases
Solution Approach 1:
The memory management apparatus pre-calculates and stores information about block-erases and block statuses during normal operation. This preliminary action allows the system to quickly determine remaining capacity and lifespan without performing time-consuming calculations at the moment of query, thus improving lifespan estimation accuracy while minimizing calculation time
Solution Approach 2:
The system calculates and monitors the number of block-erases for each block individually, accumulating this data over time. By performing these calculations continuously during normal operations rather than on-demand, the system achieves accurate lifespan estimation while the actual calculation time at any given moment is minimized, resolving the contradiction between precision and time loss
Data Source
AI summary
A memory management method and apparatus are disclosed. The memory management apparatus may compute a remaining storage capacity of a flash memory based on a number of bad blocks in a flash memory or a number of block-erases of each of a plurality of blocks, and may display the computed remaining storage capacity of the flash memory.


