File Managing Module Hash Structure Generation Number Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In cloud-based networks, consistent hashing can lead to issues when files are moved, renamed, or deleted without updating the necessary data, causing delays and potential system errors due to the difficulty in accurately accessing the updated file locations.

Innovation Solution

Implementing a system that monitors file locations mapped to a hash structure using a file managing module to track generation numbers, which indicate modification or relocation history, ensuring accurate file retrieval by comparing these numbers before accessing the file.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If consistent hashing is used to map files to storage locations, then the system can handle dynamic addition and removal of storage resources efficiently, but file location accuracy deteriorates when files are moved, renamed, or deleted without proper updates

Engineering Contradiction:
Improvedynamic resource handlingVSAvoidfile location accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system performs preliminary verification by comparing the generation number in the hash structure with the current generation number of the file before accessing it. This preliminary check prevents accessing stale or incorrect file locations that may have resulted from unsynchronized updates by multiple entities.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a feedback mechanism where the generation number is continuously updated and verified. When a file is accessed, the system checks if the generation number matches; if not, it retrieves the updated location information. This feedback loop ensures that the most current file location information is used, resolving the contradiction between dynamic resource handling and location accuracy.

Inventive Principle:
Principle #23Feedback

2Ease of operation

If multiple entities have access to move, rename, or delete files, then the system's operational flexibility increases, but the risk of inconsistent file location data and system errors increases

Engineering Contradiction:
Improveoperational flexibilityVSAvoidsystem errors
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The generation number mechanism provides continuous feedback about the current state of the file. Each entity that modifies the file updates the generation number, and this updated information is reflected in the hash structure. When any entity accesses the file, it verifies the generation number to ensure it has the correct location, preventing system errors even with multiple concurrent operations.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system enables self-service verification where each accessing entity independently checks the generation number against the current file state. This self-verification mechanism allows multiple entities to operate flexibly while automatically detecting and correcting any inconsistencies, preventing system errors without requiring centralized control.

Inventive Principle:
Principle #25Self-service

3Productivity

If file location updates are not synchronized across all entities, then the system maintains high operational speed, but file retrieval accuracy decreases

Engineering Contradiction:
Improveoperational speedVSAvoidfile location accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system replaces the mechanical synchronization approach (where all entities would need to coordinate and update locations simultaneously) with a generation number verification mechanism. This substitution allows asynchronous operations to proceed at high speed while the lightweight generation number check ensures accuracy, resolving the contradiction between operational speed and location precision.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS8660996B2Monitoring files in cloud-based networks
Publication Date: 2014.02.25 RED HAT INC
  • US8660996B2 patent drawing
  • US8660996B2 patent drawing
  • US8660996B2 patent drawing

AI summary

Embodiments relate to systems and methods for monitoring files in cloud-based networks. In particular, a file managing module can manage the access and retrieval of files stored in cloud-based networks on a distributed basis. In embodiments, the file managing module can receive a file access request from a requesting entity. The file managing module can use the file access request to determine a storage location mapped to a hash structure. Generation numbers associated with the both the storage location and the actual file at the storage location can be compared to determine whether the file has been unexpectedly modified or relocated. The file managing module can sync any discrepancy between the generation numbers and retrieve the file for the requesting entity.