Storage Device Encoding Progress Recovery via Flag Variables

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for recording progress during encoding operations on storage devices, such as hard disks, fail to effectively prevent data loss and inaccessibility due to power failures, as they do not adequately manage the offset updates and data integrity during encryption processes.

Innovation Solution

A progress recording method that utilizes flag variables to track the execution progress of sub-operations and performs data backups to ensure that encoding operations can be correctly resumed after interruptions, such as power failures, by initializing and updating flag variables and backing up data to a separate storage area.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a conventional offset recording method is used to track encoding progress, then the encoding operation can be resumed after interruption, but data damage and loss occur because the offset cannot be accurately restored

Engineering Contradiction:
Improvedata integrityVSAvoidencoding progress information
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The encoding operation is divided into multiple sub-operations, each tracked by a separate flag variable. This segmentation allows the system to identify exactly which sub-operation failed and resume from that specific point, rather than losing track of the entire encoding process.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Backup data is written to the storage area before the encoding operation modifies it. This preliminary action ensures that if the encoding fails or is interrupted, the original data remains intact and can be used to restore the storage area to its pre-encoding state.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If the encoding operation is resumed from the last recorded offset, then the operation can continue, but data is encoded twice causing damage

Engineering Contradiction:
Improveencoding operation continuityVSAvoiddata damage from double encoding
Core Design Contradiction:
ProductivityVSObject-generated harmful factors

Solution Approach 1:

Flag variables provide feedback about the execution status of each sub-operation. By checking these flags before resuming, the system can determine whether a sub-operation was already completed or failed, preventing duplicate execution and associated data damage.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

Flag variables act as intermediaries between the encoding operation and the resume logic. These flags store the execution status of each sub-operation, allowing the system to make informed decisions about which operations to re-execute and which to skip.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Manufacturing precision

If the encoding operation takes several days to complete, then thorough encoding is achieved, but the risk of power failure and data loss increases drastically

Engineering Contradiction:
Improveencoding completion qualityVSAvoidoperation continuity under contingency
Core Design Contradiction:
Manufacturing precisionVSReliability

Solution Approach 1:

Backup data is prepared in advance before the encoding operation begins. This preliminary backup ensures that even if the operation takes several days, the original data is protected and can be restored if a power failure or contingency occurs during the extended encoding process.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The backup data serves as a cushion against potential failures during the lengthy encoding operation. By having this protective measure in place before encoding begins, the system can withstand contingencies without losing data or requiring complete re-encoding.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS9323622B2Progress recording method and recovering method for encoding operation on storage device
Publication Date: 2016.04.26 VIA TECH INC
  • US9323622B2 patent drawing
  • US9323622B2 patent drawing
  • US9323622B2 patent drawing

AI summary

A recovering method is adapted to an encoding operation performed on a storage area of a storage device. The recovering method includes: reading a variable set, wherein the encoding operation comprises a plurality of sub-operations, and each of the sub-operations is corresponding to at least one flag variable in the variable set; determining whether any one of the sub-operations is interrupted according to the variable set; when one of the sub-operations is interrupted, recovering the sub-operation according to the at least one flag variable corresponding to the sub-operation; and carrying on the encoding operation according to a process recorded by the flag variables in the variable set.