Distributed NAS Directory Deletion With Batch Server Dispatch

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing NAS-based directory deletion method requires numerous interactions between the NAS client and server, consuming significant network bandwidth and memory resources, particularly when dealing with large directories, leading to prolonged response times and resource overheads.

Innovation Solution

Implement a distributed NAS server cluster that processes directory deletion using batch delete instructions, reducing interactions by generating distributed delete instructions for subdirectories across multiple servers, thereby minimizing client-side caching and resource consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the NAS client traverses subdirectories and sends readdir instructions to obtain metadata for each file, then the deletion operation can be completed, but the network bandwidth resources are consumed and response time is prolonged

Engineering Contradiction:
Improvedeletion operation completionVSAvoidresponse time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The server performs preliminary actions by maintaining directory structure information and file metadata in its memory. When a deletion request arrives, the server already has the necessary information about subdirectories and files, eliminating the need for the client to traverse and query each directory. The server can immediately process the deletion based on pre-existing knowledge of the directory structure.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the NAS client caches metadata of each file in memory during directory traversal, then the deletion can be performed, but a large quantity of memory resources and computing resources are consumed

Engineering Contradiction:
Improvedeletion operationVSAvoidmemory resources and computing resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts the memory caching function from the client side and transfers it to the server side. The server maintains directory structure information and file metadata in its own memory, while the client only needs to send deletion requests without caching any metadata. This extraction of the information storage function resolves the memory consumption problem on the client.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If numerous interactions between NAS client and server are performed for directory deletion, then complete deletion can be achieved, but network bandwidth resources are occupied

Engineering Contradiction:
Improvecomplete deletionVSAvoidnetwork bandwidth resources
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent merges multiple separate interactions into a single deletion request. Instead of the client sending separate readdir instructions for each subdirectory and delete instructions for each file, the client sends one batch deletion request that the server processes internally. The server combines all necessary operations (traversing subdirectories, identifying files, deleting each file) into a single response, dramatically reducing network interactions.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS20260093666A1NAS-Based Directory Deletion Method and Apparatus, Client, and Server
Publication Date: 2026.04.02 HUAWEI TECH CO LTD
  • US20260093666A1 patent drawing
  • US20260093666A1 patent drawing
  • US20260093666A1 patent drawing

AI summary

A NAS-based directory deletion method and apparatus, a client, and a server are provided, relating to the field of storage technologies. In the method, after receiving a batch delete instruction that is sent by a NAS client and that instructs to delete a target directory, a first NAS server in a distributed NAS server cluster generates distributed delete instructions for a plurality of subdirectories in the target directory, sends a corresponding distributed delete instruction to a NAS server in which a subdirectory is located, and sends a deletion complete response to the NAS client. According to the method, a large quantity of readdir instructions and delete instructions of the NAS client are replaced by a single batch delete instruction.