SSD Log Recording with Dual-Mode Storage for Power Failure

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing SSD systems with NVMe protocol interfaces face challenges in efficiently recording logs during abnormal power-offs, as current solutions rely on serial writing modes that are slow and inadequate for saving critical log data within the short available time.

Innovation Solution

The method configures a storage device with two areas: one for normal operation using serial writing and another for abnormal power-offs using a parallel writing mode, leveraging an emergency power supply to quickly store log data in a second storage area when the system is powered off.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If serial writing mode is used for log storage, then device complexity is reduced, but writing speed and reliability during abnormal power-off deteriorate

Engineering Contradiction:
Improvestorage structure complexityVSAvoidlog writing speed
Core Design Contradiction:
Device complexityVSSpeed

Solution Approach 1:

The storage device is segmented into two distinct storage areas: a first storage area using serial writing mode for normal operations, and a second storage area using parallel writing mode for abnormal power-off scenarios. This segmentation allows each area to be optimized for its specific function, resolving the contradiction between simplicity and speed by applying different writing strategies to different segments of the storage system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically switches between serial and parallel writing modes based on the operational state. During normal operation, the simpler serial mode is used; during abnormal power-off, the system transitions to parallel writing mode for faster log capture. This dynamic adaptation allows the system to maintain low complexity during normal operation while achieving high speed when needed.

Inventive Principle:
Principle #15Dynamics

2Ease of operation

If serial writing mode is used, then ease of operation is maintained, but log recording reliability during abnormal power-off deteriorates

Engineering Contradiction:
Improvelogging operation simplicityVSAvoidlog recording reliability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system performs preliminary action by switching to parallel writing mode in the second storage area specifically for abnormal power-off scenarios. This preparatory measure ensures that when an abnormal power-off occurs, the system is already configured for rapid, reliable log capture, thereby maintaining ease of operation during normal use while ensuring reliability when needed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Different quality characteristics are applied to different parts of the storage system. The first storage area maintains simple serial writing for ease of operation, while the second storage area implements parallel writing for high reliability during abnormal conditions. This local differentiation resolves the contradiction by optimizing each area for its specific requirement.

Inventive Principle:
Principle #3Local quality

3Speed

If parallel writing mode is used for abnormal power-off, then log writing speed improves, but device complexity increases

Engineering Contradiction:
Improvelog writing speedVSAvoidstorage system complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The storage system is divided into two areas with different writing modes. The second storage area uses parallel writing mode to achieve high writing speed during abnormal power-off, while the first storage area uses simple serial writing. This segmentation contains the complexity to only the necessary portion, resolving the contradiction between speed and overall system complexity.

Inventive Principle:
Principle #1Segmentation

4Device complexity

If single storage area with serial writing is used, then device complexity is low, but productivity during abnormal power-off deteriorates

Engineering Contradiction:
Improvestorage structure complexityVSAvoidlog recording efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The system dynamically adapts its writing mode based on operational conditions. During abnormal power-off, it switches to parallel writing mode in the second storage area to maximize log recording efficiency and productivity. During normal operation, it uses simple serial writing to maintain low complexity. This dynamic behavior resolves the contradiction between complexity and productivity.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12111742B2Method for log recording, electronic device and non-transitory computer-readable storage medium
Publication Date: 2024.10.08 INSPUR SUZHOU INTELLIGENT TECH CO LTD
  • US12111742B2 patent drawing

AI summary

A method and an apparatus for log recording, and an electronic device are provided. The method is applied to a storage device, wherein a storage space of the storage device is configured to be at least two storage areas, and the at least two storage areas includes at least one first storage area for storing data by using a serial writing mode and at least one second storage area for storing the data by using a parallel writing mode, the method includes: monitoring an operating state of a system of the storage device; when the operating state of the system of the storage device is normal, storing generated log data in the first storage area.