Event Log Buffer Management for Storage Devices

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In the context of portable electronic devices, existing data storage devices using memory devices face challenges in managing event logs efficiently, leading to reduced available memory capacity and loss of old event logs when new events occur.

Innovation Solution

An event log management method and controller that determine new events, store new event logs in an event log buffer, and delete old event logs from the oldest event log chunk, allowing new event logs to be stored at the start position, thereby optimizing memory usage and minimizing log loss.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If all event logs are buffered in memory, then event log information is preserved, but memory capacity is reduced

Engineering Contradiction:
Improveevent log preservationVSAvoidmemory capacity
Core Design Contradiction:
Loss of informationVSQuantity of substance

Solution Approach 1:

The patent extracts only the necessary portion of event logs (new event logs) for buffering in memory, while excluding old event logs from the buffer. This selective extraction approach preserves critical event information while minimizing memory consumption, directly resolving the contradiction between information preservation and memory capacity.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies different quality characteristics to different portions of event logs by implementing selective buffering. New event logs receive high-priority buffering with guaranteed storage space, while old event logs are excluded from buffering. This local differentiation optimizes memory allocation based on the relative importance and recency of event logs.

Inventive Principle:
Principle #3Local quality

2Productivity

If new event logs are stored in memory, then event logging continues, but old event logs are lost

Engineering Contradiction:
Improveevent logging continuityVSAvoidold event log loss
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent performs preliminary identification and selection of new event logs before storing them in the buffer. By pre-determining which logs are new and important, the system ensures continuous logging capability while minimizing old log loss through advance planning of buffer allocation and management strategies.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements dynamic buffer management where the buffer content is continuously updated with new event logs while old logs are selectively excluded. This dynamic approach allows the system to adapt to changing logging requirements and maintain logging continuity while preserving important event information.

Inventive Principle:
Principle #15Dynamics

3Loss of information

If event log buffer size is increased, then more event logs are preserved, but available memory for other data decreases

Engineering Contradiction:
Improveevent log preservationVSAvoidavailable memory capacity
Core Design Contradiction:
Loss of informationVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential new event logs from the complete event log stream and buffers only this extracted portion in memory. This selective extraction minimizes the buffer size requirement while preserving critical event information, thereby maintaining adequate available memory capacity for other data storage needs.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the parameter of buffer content selection from including all event logs to including only new event logs. This parameter change optimizes the balance between event log preservation and available memory capacity by adjusting what information is buffered based on its recency and importance.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12032824B2Event log management method, controller and storage device
Publication Date: 2024.07.09 SK HYNIX INC
  • US12032824B2 patent drawing
  • US12032824B2 patent drawing
  • US12032824B2 patent drawing

AI summary

An event log management technique may include determining a new event associated with a storage device has occurred, determining a new event log can be stored in an event log chunk stored in an event log buffer, and deleting a number of old event logs starting from an oldest event log among old event logs of the event log chunk stored in the event log buffer if the new event log can be stored in the event log chunk stored in the event log buffer. The number of old event logs being deleted corresponds to a size of a new event log associated with the new event. The technique may also include storing the new event log starting at a start position of the oldest event log.