File Resource Grace Period Segmentation for NFS Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current Network File System (NFS) protocols face limitations during failure recovery, where the server is restricted to only reestablishing resource state operations within the grace period, leading to prolonged unavailability and reduced file system usability.

Innovation Solution

Implement a method where the file resource processing apparatus determines if a file resource access request is for reestablishing a resource state or not, marking only the target file resource as being in a grace period for reestablishment requests while allowing other requests to proceed normally, thus reducing the scope of limited services during failure recovery.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the server enters a grace period for failure recovery, then the resource state can be reestablished, but the file system becomes unavailable for a long time

Engineering Contradiction:
Improveresource state reestablishmentVSAvoidfile system unavailability duration
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the grace period into two distinct states: a first grace period state where only resource state reestablishment is allowed, and a second grace period state where normal file service operations are permitted. This segmentation allows different operations to proceed at different times, resolving the contradiction between ensuring reliable resource state recovery and minimizing file system unavailability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent dynamically transitions the server between different grace period states based on the completion of resource state reestablishment. The server enters the first grace period state upon detecting failure, completes resource state recovery, then transitions to the second grace period state where normal operations resume. This dynamic state management allows the system to adapt its behavior to the current recovery stage, balancing reliability and availability.

Inventive Principle:
Principle #15Dynamics

2Reliability

If the server prohibits other operations during grace period, then resource state reestablishment is ensured, but service usability is reduced

Engineering Contradiction:
Improveresource state reestablishment guaranteeVSAvoidfile service usability
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent segments the grace period operations into two distinct phases: the first grace period state dedicated solely to resource state reestablishment, and the second grace period state that permits normal file service operations. This segmentation ensures that resource state recovery is guaranteed in the first phase while restoring service usability in the second phase, thereby resolving the contradiction between reliability and ease of operation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent enables continuous useful action by allowing normal file service operations to proceed during the second grace period state while resource state reestablishment completes in the background. This continuity ensures that the file system remains usable and productive throughout the recovery process, rather than being completely unavailable, thus resolving the contradiction between ensuring reliable recovery and maintaining operational ease.

Inventive Principle:
Principle #20Continuity of useful action

3Ease of operation

If the server allows normal operations during grace period, then file system usability improves, but resource state consistency may be compromised

Engineering Contradiction:
Improvefile service availabilityVSAvoidresource state consistency
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent segments the grace period into two sequential states: the first grace period state where only resource state reestablishment is permitted (ensuring consistency), and the second grace period state where normal file service operations are allowed (improving availability). This sequential segmentation ensures that resource state consistency is established first, then availability is improved, resolving the contradiction between these two requirements.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary resource state reestablishment in the first grace period state before allowing normal file service operations in the second state. This preliminary action ensures that the resource state is consistent and ready before normal operations resume, thereby maintaining reliability while improving ease of operation during the recovery process.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP3846419B1File resource processing method and apparatus, device and medium
Publication Date: 2023.06.28 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • EP3846419B1 patent drawingFigure 1
  • EP3846419B1 patent drawingFigure 2
  • EP3846419B1 patent drawingFigure 3

AI summary

The embodiment of the present application discloses a file resource processing method and apparatus, a device and a medium, relates to a file system processing technology and the field of cloud computing. Herein, the file resource processing method includes the following steps of: receiving a file resource access request of a terminal, and determining a target file resource requested to be accessed by the terminal according to the file resource access request; marking the target file resource as a state of entering a grace period, in response to determining that the file resource access request belongs to a reestablishing resource state request; and executing an access operation corresponding to the file resource access request based on the target file resource, in response to determining that the file resource access request does not belong to the reestablishing resource state request. The embodiment of the present application realizes to provide a brand-new failure recovery mechanism of a network file system, reduces the range of limited services in a failure recovery grace period from a system level (or a terminal level) to a resource level, and improves the usability of the file system.