Storage Medium File Defragmentation via Integrity Thresholds

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current file defragmentation methods in storage devices are inefficient, leading to increased processor and I/O resource usage due to the need to scan and reorganize multiple data fragments, which reduces reading and writing performance and wastes resources.

Innovation Solution

A system and method that determines a parameter representing the integrity of data fragments in a storage medium, with files being defragmented only if the parameter is below a preset threshold, optimizing the defragmentation process by reducing unnecessary operations and conserving resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If all files in the storage medium are scanned and defragmented, then the reading and writing efficiency is improved, but the processor resources and I/O interface resources are wasted

Engineering Contradiction:
Improvereading and writing efficiencyVSAvoidprocessor resources and I/O interface resources
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent introduces a parameter (integrity parameter) to characterize the fragmentation state of files, and uses threshold comparison to determine whether defragmentation is necessary. This parameter-based decision mechanism avoids unnecessary defragmentation operations on already well-organized files, thereby reducing resource consumption while maintaining reading and writing efficiency.

Inventive Principle:
Principle #35Parameter changes

2Loss of time

If files with multiple data fragments are defragmented, then the track seeking operations are reduced, but the defragmentation process consumes processor resources and I/O resources

Engineering Contradiction:
Improvetrack seeking timeVSAvoiddefragmentation process complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

Instead of defragmenting all files without distinction, the patent applies defragmentation selectively based on the integrity parameter threshold. Only files that meet the criterion (integrity parameter ≤ threshold) undergo defragmentation, which is a partial action approach that reduces unnecessary operations and associated resource consumption.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system automatically evaluates the integrity parameter of each file and makes autonomous decisions about whether defragmentation is needed, without requiring manual intervention or comprehensive scanning of all files. This self-service mechanism optimizes the balance between reducing track seeking time and minimizing processor and I/O resource consumption.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12001399B2Systems and methods for storage medium management
Publication Date: 2024.06.04 ZHEJIANG DAHUA TECH CO LTD
  • US12001399B2 patent drawing
  • US12001399B2 patent drawing
  • US12001399B2 patent drawing

AI summary

The present disclosure relates to a system and method for managing files stored in a storage medium. The method may include obtaining file information of a file stored in the storage medium, wherein the file includes at least two data fragments, each two of the at least two data fragments are stored separately in two discontinuous storage units in the storage medium. The method may also include determining a first parameter of the file according to the file information, wherein the first parameter represents an integrity of the at least two data fragments in the storage medium. The method may further include determining whether the first parameter is equal to or smaller than a preset threshold. The method may still further include defragmenting the at least two data fragments in the storage medium if the first parameter is equal to or smaller than the preset threshold.