NVS Real and Alternate Segments for Data Integrity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional Non-Volatile Storage (NVS) systems face challenges in efficiently managing write requests, particularly in maintaining a valid previous copy of data and handling errors during the writing process, as they require asynchronous operations and do not allow in-place updates, leading to limitations in data retention and error recovery.

Innovation Solution

The use of real segments and alternate segments in NVS, where data is alternately written to and merged from these segments, with indicators tracking storage locations, allows for efficient data management, error recovery, and asynchronous merging to maintain previous data copies, enabling efficient NVS operations without in-place updates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional asynchronous write operations are used in NVS, then data can be written to cache and NVS separately, but it becomes difficult to maintain valid previous copies and handle errors during writing

Engineering Contradiction:
Improvedata integrityVSAvoidwrite operation management
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the NVS write operation into two distinct segments: real segments for current data and alternate segments for previous copies. This segmentation allows the system to maintain both current and previous data versions simultaneously, enabling error recovery while managing write operations through a structured approach with clear separation of data states.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary action by pre-allocating alternate segments before write operations occur. These alternate segments are prepared in advance to receive previous data copies, ensuring that when a write operation fails or needs to be rolled back, the previous valid copy is already preserved and accessible without requiring complex recovery procedures.

Inventive Principle:
Principle #10Preliminary action

2Loss of information

If in-place updates are used to write data into NVS, then write operations become simpler, but previous copies of data are overwritten and cannot be retained

Engineering Contradiction:
Improveprevious data copy retentionVSAvoidwrite operation simplicity
Core Design Contradiction:
Loss of informationVSEase of operation

Solution Approach 1:

The patent implements copying by creating a duplicate copy of the previous data version and storing it in alternate segments before writing new data to real segments. This copying mechanism ensures that previous data copies are retained without requiring in-place updates, as the new data is written to a separate location while the old data remains intact in its original location.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent transitions from a single-dimension storage approach (one location per data) to a two-dimension approach by introducing alternate segments as a separate dimension for storing previous copies. This dimensional change allows the system to maintain both current and previous data versions simultaneously without overwriting, resolving the conflict between data retention and write simplicity.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Productivity

If the host is not allowed to re-write records until commit is complete, then data consistency is maintained, but write throughput is reduced

Engineering Contradiction:
Improvewrite throughputVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements self-service by enabling the NVS system to automatically manage data consistency through its internal real and alternate segment structure. The system autonomously tracks which segments contain valid data and which contain previous copies, allowing the host to initiate write operations without waiting for commit completion while the NVS system itself ensures consistency through its segmented architecture and indicator management.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11314659B2Using real segments and alternate segments in non-volatile storage
Publication Date: 2022.04.26 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11314659B2 patent drawing
  • US11314659B2 patent drawing
  • US11314659B2 patent drawing

AI summary

Provided are techniques for using real segments and alternate segments in Non-Volatile Storage (NVS). One or more write requests for a track are executed by alternating between storing data in one or more sectors of real segments and one or more sectors of alternate segments for each of the write requests, while setting indicators in a real sector structure and an alternate sector structure. In response to determining that the one or more write requests for the track have completed, the data stored in the one or more sectors of the real segments and in the one or more sectors of the alternate segments are merged to form newly written data. In response to determining that a hardened, previously written data of a track does exist in Non-Volatile Storage (NVS), the newly written data is merged with the hardened, previously written data in the NVS. The merged data is committed.