Memory Controller Wear-Based Temporary Block Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The uneven wear of individual partitions in memory due to selecting a temporary block from a fixed partition affects the service life of the memory.
Innovation Solution
A method is implemented to determine a target partition based on the respective lifetimes of multiple partitions in the memory, and select a temporary block from this partition to store fragmented data, thereby avoiding excessive wear on a specific partition.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a temporary block is selected from a fixed partition for storing fragmented data, then the data storage operation is simplified, but uneven wear occurs on individual partitions affecting memory service life
Solution Approach 1:
The patent applies dynamics by making the temporary block selection dynamic rather than fixed. The controller dynamically selects which partition serves as the target partition based on real-time wear levels of different partitions. This allows the system to adapt to changing conditions and distribute wear evenly across all partitions over time, resolving the contradiction between operational simplicity and memory service life.
Solution Approach 2:
The patent changes the parameter of partition selection from static (fixed partition) to variable (partition with lowest wear level). By monitoring wear levels and selecting the target partition based on this parameter, the system achieves balanced wear distribution while maintaining simple data storage operations. The wear level parameter becomes the basis for dynamic decision-making.
2Productivity
If fragmented data is continuously written to the same temporary block, then write operations are efficient, but excessive wear occurs on that specific partition
Solution Approach 1:
The patent implements periodic action by regularly updating the wear level information of all partitions and periodically re-evaluating which partition should serve as the target partition. This periodic reassessment ensures that the system maintains high write efficiency by always using an appropriate temporary block while simultaneously preventing excessive wear on any single partition through systematic wear distribution over time.
3Reliability
If wear leveling is implemented by monitoring partition lifetimes, then memory service life is extended, but the complexity of memory management increases
Solution Approach 1:
The patent applies self-service by enabling the memory system to automatically monitor its own wear levels and make autonomous decisions about which partition to use as the target partition. The controller internally tracks wear information and dynamically adjusts temporary block selection without requiring external intervention or complex external management mechanisms, thus extending service life while limiting the increase in management complexity to internal automated processes.
Data Source
AI summary
Implementations of the present application disclose a method of operating a memory controller, a device and a storage medium. The controller is coupled to the memory, and the method includes: acquiring respective lifetimes of at least two partitions included in the memory, the lifetimes of the partitions being related to wear levels of the partitions; determining a target partition from the at least two partitions based on the respective lifetimes of the at least two partitions; and selecting a block from the target partition as a temporary block, the temporary block to store fragmented data. The above method avoids excessive wear to a certain fixed partition in the memory caused by setting the temporary block, thereby improving the service life of the memory.


