Storage Server Directory Deletion Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing directory deletion process in network-attached storage (NAS) systems is inefficient, requiring extensive information exchange between the host and server, leading to prolonged deletion times due to the need for repeated verification and confirmation, especially when dealing with large directories.

Innovation Solution

A method and apparatus that enhance directory deletion efficiency by allowing the storage server to locally store user information and perform concurrent deletions using multiple threads, reducing the need for frequent host-server communication and minimizing resource and bandwidth usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If the host and NAS server exchange information for each deletion operation, then deletion accuracy is maintained, but deletion time increases significantly

Engineering Contradiction:
Improvedeletion timeVSAvoiddeletion accuracy
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent applies preliminary action by having the host perform a recursive traversal and set deletion flags on all files and subdirectories before the actual deletion occurs. This pre-processing step marks all target objects in advance, so that during the actual deletion phase, the server only needs to execute pre-marked items without repeated verification, significantly reducing deletion time while maintaining accuracy through the pre-established deletion markers.

Inventive Principle:
Principle #10Preliminary action

2Loss of energy

If the storage server performs verification with the host for each file or directory, then permission control is ensured, but bandwidth consumption increases

Engineering Contradiction:
Improvebandwidth consumptionVSAvoidpermission control
Core Design Contradiction:
Loss of energyVSReliability

Solution Approach 1:

The patent reduces bandwidth consumption by performing permission verification in advance. The host obtains deletion permission and sets deletion flags on all target files and subdirectories during the traversal phase. Once the deletion flag is set, subsequent deletion operations on marked items do not require repeated permission verification with the server, thereby reducing bandwidth consumption while maintaining permission control through the pre-established deletion markers.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If the host traverses and verifies each subdirectory and file individually, then deletion precision is maintained, but occupied resources increase

Engineering Contradiction:
Improvedeletion efficiencyVSAvoidoccupied resources
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent improves deletion efficiency by performing a comprehensive recursive traversal and setting deletion flags on all target files and subdirectories in advance. This pre-processing phase consolidates the resource-intensive traversal and verification operations into a single pass, after which the actual deletion can proceed efficiently by simply executing the pre-marked items without requiring repeated resource consumption for verification.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11687488B2Directory deletion method and apparatus, and storage server
Publication Date: 2023.06.27 HUAWEI TECH CO LTD
  • US11687488B2 patent drawing
  • US11687488B2 patent drawing
  • US11687488B2 patent drawing

AI summary

A directory deletion method and apparatus, and a storage server, where the directory deletion method includes receiving, by a storage server, a delete operation authentication request of a host, where the delete operation authentication request carries user information and information about a target directory, storing, by the storage server, the user information and returning a file identifier (FID) of the target directory to the host after authentication succeeds, sending, by the host to the storage server, a delete request carrying the FID, performing, by the storage server, verification on the file and the subdirectory using the user information, and deleting a successfully verified empty subdirectory and a successfully verified file. Hence, the directory deletion method and the apparatus, and the storage server improve directory deletion efficiency.