Memory Controller Mode Switching for Garbage Collection Thresholds

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing garbage collection strategies in non-volatile memory modules reduce write speed and affect read and write efficiency, necessitating improved methods to manage storage space and ensure service quality.

Innovation Solution

A memory controller and data storage system that allows a host system to select a data consolidation mode, using different strategies based on user needs and scenario-specific parameters to manage physical cell states and storage space efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If garbage collection is performed to release storage space, then storage space utilization is improved, but write speed is reduced

Engineering Contradiction:
Improvestorage spaceVSAvoidwrite speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The patent implements dynamic garbage collection mode switching based on real-time monitoring of physical cell states. The system transitions between different garbage collection modes (first garbage collection mode and second garbage collection mode) depending on the number of physical cells requiring consolidation, thereby adapting the collection strategy to current storage conditions and minimizing write speed impact.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of garbage collection threshold to determine when consolidation is needed. By monitoring the number of physical cells with invalid data and comparing it against a threshold, the system dynamically adjusts whether to perform garbage collection, thereby optimizing the balance between storage space release and write performance.

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If existing garbage collection strategy is used, then storage space is managed, but read and write efficiency is affected

Engineering Contradiction:
Improvestorage space managementVSAvoidread and write efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The memory controller autonomously monitors the state of physical cells and automatically determines when garbage collection is needed based on the number of cells requiring consolidation. This self-service mechanism eliminates the need for external intervention and optimizes storage space management while minimizing impact on read and write operations.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system dynamically adjusts garbage collection behavior based on real-time storage conditions. When the number of physical cells with invalid data exceeds the threshold, the system activates appropriate garbage collection modes, thereby maintaining storage efficiency without compromising read and write performance during normal operations.

Inventive Principle:
Principle #15Dynamics

3Quantity of substance

If data consolidation is performed, then storage space is optimized, but service quality may be impacted

Engineering Contradiction:
Improvestorage space optimizationVSAvoidservice quality
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent uses the parameter of physical cell state (number of cells with invalid data) to trigger data consolidation only when necessary. By monitoring this parameter and comparing it against a threshold, the system ensures that consolidation operations are performed only when storage space optimization is needed, thereby maintaining service quality while achieving storage optimization.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The memory controller continuously monitors the state of physical cells and uses this feedback to determine when garbage collection is required. This feedback mechanism ensures that data consolidation is performed only when the number of physical cells with invalid data exceeds the threshold, thereby optimizing storage space while maintaining service quality through timely and necessary consolidation operations.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20260029913A1Memory controller and data storage system
Publication Date: 2026.01.29 HEFEI KAIMENG TECHNOLOGY CO LTD
  • US20260029913A1 patent drawing
  • US20260029913A1 patent drawing
  • US20260029913A1 patent drawing

AI summary

Provided are a memory controller and a data storage system. The memory controller is used to perform multiple steps. In response to a first parameter of a register being updated, a default mode is switched to a specified mode. A second parameter of the register is read to determine a specified threshold. State information of the physical cell is obtained according to the specified mode. If the state information of the physical cell meets the specified threshold, a data consolidation program is performed on the memory according to the specified mode. In this way, the memory controller operates in different modes in different situations to perform the data consolidation program.