Storage Controller Predicts Ungraceful Shutdown to Reduce Data Loss

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Sudden power loss in data storage devices can lead to data loss and disrupt firmware operations, and existing power-loss-prevention methods, such as using large capacitors and DRAM for caching, are costly and complex.

Innovation Solution

A data storage device with a controller that predicts the probability of an ungraceful shutdown using machine-learning models, selecting appropriate actions to reduce data loss risk, such as flushing caches, limiting cache size, and managing internal operations, and utilizing capacitors for power supply during shutdown.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If large capacitors and DRAM are used for power-loss prevention, then data protection during ungraceful shutdown is improved, but device cost and complexity increase

Engineering Contradiction:
Improvedata protection during ungraceful shutdownVSAvoiddevice cost and complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The controller predicts the probability of ungraceful shutdown events and takes preliminary actions to flush caches and save critical data before power loss occurs. By using machine-learning models to anticipate power loss scenarios, the system proactively protects data without requiring large capacitors or additional DRAM capacity, thus resolving the contradiction between reliability and device complexity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses its existing processing capabilities and stored data structures to perform power-loss prevention functions. The controller leverages its own computational resources to execute flush operations and manage cache memory during predicted power loss events, eliminating the need for separate dedicated power-loss prevention hardware components

Inventive Principle:
Principle #25Self-service

2Reliability

If prediction-based cache management is implemented, then data loss risk is reduced, but processing time for prediction and response actions increases

Engineering Contradiction:
Improvedata loss riskVSAvoidprocessing time for prediction and response
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system dynamically adjusts cache management strategies based on real-time prediction results. When the machine-learning model indicates high probability of ungraceful shutdown, the controller immediately transitions to protective modes by flushing critical caches. This dynamic response optimizes the balance between prediction accuracy and response time, minimizing data loss risk while managing processing time through adaptive rather than static cache policies

Inventive Principle:
Principle #15Dynamics

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This approach reduces the need for large capacitors and DRAM, lowering costs and complexity while ensuring data integrity by anticipating and preparing for potential power loss scenarios, thereby minimizing data loss and operational disruptions.

Implementation Method 1

Power-loss-prevention (PLP) data storage devices can protect against such ungraceful shutdown (UGSD) situations. For example, a PLP data storage device can include large capacitors that store enough power to allow the data storage device to postpone shutting down until necessary internal operations are completed.

Methodology Applied
Scientific EffectCapacitance: Capacitance

Data Source

PatentUS12045473B2Data storage device and method for prediction-based improved power-loss handling
Publication Date: 2024.07.23 WESTERN DIGITAL TECHNOLOGIES INC
  • US12045473B2 patent drawing
  • US12045473B2 patent drawing
  • US12045473B2 patent drawing

AI summary

A data storage device and method for prediction-based improved power-loss handling. In one embodiment, a data storage device is provided comprising a memory and a controller. The controller is configured to predict a probability of an ungraceful shutdown of the data storage device; determine whether the probability is greater than a threshold; and in response to determining that the probability is greater than the threshold, reduce a risk of data loss that would occur in response to the ungraceful shutdown of the data storage device. Other embodiments are possible, and each of the embodiments can be used alone or together in combination.