Method for reading file, storage device and reading system
A storage device and file reading technology, which is applied in the direction of file system, memory system, file access structure, etc., can solve the problems of increasing hardware cost and expensive SSD
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0154] An embodiment of the present invention provides a file reading method, which is suitable for reading files stored on a storage device. see figure 2 , the method flow includes:
[0155]Step 101: the storage device receives a first read request sent by a client (client), the data requested by the first read request is called data to be read, and the data to be read is a part of a file. The reading of the file can be completed in multiple times or at one time. When it is completed in multiple times, a read request is sent each time, requesting to read a part of the file, and the first read request is one of these requests.
[0156] Wherein, the storage device includes a first storage medium and a cache, the access speed of the cache is higher than that of the first storage medium, and there are multiple containers on the first storage medium. The file includes a plurality of file fragments, and the file fragments constituting the file are all stored in the first storage...
Embodiment 2
[0166] In this embodiment, a deduplicated file is taken as an example to describe a file reading method provided by the present invention in detail. The following briefly introduces the application scenarios of the embodiments of the present invention, but is not limited thereto. The embodiments of the present invention are applicable to any scenario where deduplicated files need to be read. A deduplicated file is usually used for backup and is a backup file of an original file, and the content of the deduplicated file is at least the same as most of the content of the corresponding original file. During the process of backing up the original file, the corresponding relationship between the deduplicated file and the backed up original file will be established.
[0167] Assuming that the original file is damaged, the user intends to read the backup deduplicated file to restore the original file. At this time, the user starts the user interface of the client (such as a backup a...
Embodiment 3
[0216] An embodiment of the present invention provides a file reading method. This embodiment differs from Embodiment 2 of the present invention in that (1) the way of pre-reading data of at least one container from the first storage medium is different, and (2) the pre-reading trigger condition is different. see Figure 5 , the method flow includes:
[0217] Step 301: the client receives a user's original file restoration request, and generates multiple read requests according to the original file restoration request.
[0218] This step 301 is the same as step 201 in the second embodiment, and will not be described in detail here.
[0219] Step 302: the client sends a read request to the storage device, and the data to be read requested by the read request is a part of the file.
[0220] This step 302 is the same as step 202 in the second embodiment, and will not be described in detail here.
[0221] Step 303: the storage device receives a read request sent by the client,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com