Large-capacity optical disc library-based file system and file storage method and system
A file storage and CD library technology, applied in the file system, file/folder operation, file access structure, etc., can solve the problem of unrealistically managing thousands of CD data manually
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] Such as figure 1 Shown is a file system and file storage method based on a large-capacity optical disc library provided by an embodiment of the present invention, and the method includes the following execution steps:
[0051] In step 201, a file access request initiated by an application program or a user is received, and the file access request carries a file identifier.
[0052] Wherein, the access operation includes: one or more combinations of opening a file, reading a file, writing a file, copying a file, and cutting a file.
[0053] In step 202, the file directory tree is searched according to the file identifier, and it is confirmed whether the file corresponding to the file identifier is stored in the temporary storage or in the optical disc library.
[0054] Wherein, the file directory tree includes: the file identification of each file stored in the temporary storage and its virtual address in the temporary storage; and / or, the physical address of the file, wh...
Embodiment 2
[0075] Such as figure 2 As shown, the embodiment of the present invention also provides a file storage system based on a large-capacity optical disc library. The system includes: a temporary storage, an optical drive group, an optical disc group, a mechanical disc removal device, and a server. Specifically:
[0076] The temporary memory is used to temporarily store the file data to be imported into the optical disc library and cache the file data obtained from the optical disc library;
[0077] The optical drive group is used to realize physical recording and reading of optical disc data;
[0078] The optical disc group is used for storing optical discs;
[0079] The mechanical disc removal device realizes the physical loading and ejection of the optical disc from the optical drive through the mechanical arm;
[0080] The server is used to store the file directory tree, and is used to realize the mapping between the file identifier stored in the temporary memory, the virtua...
Embodiment 3
[0085] Such as image 3 Shown is the logical structure diagram of the new file system of the large-capacity optical disc library, which includes file directory tree, mapping relationship, cache file and optical disc library.
[0086] The directory tree file records the global directory tree information, constructs the global directory tree structure, and improves the efficiency of file directory traversal. Any file and directory has a unique absolute path. In a specific implementation, the file storage system in the embodiment of the present invention uses the absolute path of the file and directory as a key to calculate the corresponding ID as a file identifier.
[0087] The cache file caches the recently imported and frequently accessed file index information. The index information includes the absolute path (physical address) of the file in the optical disc library, the virtual address cached in the temporary storage, etc. The system uses the absolute path of the file to ac...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 