IP Disk File Storage via Key-Value Translation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing file management systems in network-attached storage (NAS) technologies, particularly those using Internet Protocol (IP) disks, require modifications to applications to manage files effectively, leading to reduced application stability due to the need for key-value correspondence, which affects normal usage and stability.
Innovation Solution
A method and apparatus that convert operation information of operation requests into key values using a type-length-value (TLV) algorithm, allowing existing applications to access IP disks without modification by generating a unique key value for each file, including type, path, content identifier, and content length, enabling seamless interaction with IP disks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If files in IP disk are managed using key values to simplify spatial organization, then file management complexity is reduced, but application stability deteriorates due to required application modifications
Solution Approach 1:
The patent introduces an intermediary component that translates between traditional file operation requests and key-value operations. This mediator layer allows existing applications to continue using conventional file access methods while the system internally manages files through key-value correspondence, thus simplifying file management without requiring application modifications and maintaining application stability.
2Adaptability or versatility
If applications are modified to generate operation requests with key values for IP disk access, then file access capability is improved, but application stability deteriorates due to normal usage being affected
Solution Approach 1:
Instead of modifying applications to generate key-value operation requests, the system inverts the approach by automatically generating key values from traditional file operation requests. This allows applications to continue using conventional file access methods while the system performs the key-value translation internally, thereby improving file access capability without compromising application stability.
3Device complexity
If key value storage technology is used to manage files in IP disk, then spatial organization is simplified, but storage space efficiency deteriorates due to increased key value storage requirements
Solution Approach 1:
The patent employs parameter changes by dynamically optimizing key value encoding based on file characteristics and access patterns. The system adjusts the structure and length of key values to balance between simplifying spatial organization and minimizing storage space consumption, thereby resolving the contradiction between organizational simplicity and storage efficiency.
Data Source
AI summary
A method and an apparatus for implementing storage of a file in an Internet Protocol (IP) disk, where the method includes receiving an operation request for a target file, converting operation information of the operation request into a key value of the target file, acquiring, according to the key value, an identifier of a target IP disk corresponding to the operation request, and sending, to the target IP disk identified by the identifier, the operation request carrying the key value such that the application stability can be improved.


