Method, device and system for storing and reading catalogue index
A directory index and directory storage technology, which is applied in the field of storage and reading directory index, can solve the problems of enlarged directory index access times, low access performance, and inability to meet massive distributed storage, so as to improve access performance and refine granularity Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] This embodiment provides a method for storing directory indexes, see figure 1 , the method process provided by this embodiment includes:
[0052]Step 101: configure identifiers for all directories in the directory index;
[0053] Step 102: Split the directory index according to each directory identifier to obtain directory split items corresponding to each directory identifier; wherein, each directory split item includes at least a corresponding subdirectory identifier and a corresponding file storage address;
[0054] Step 103: Store each directory split item and its corresponding directory identifier as a record item.
[0055] Further, the method provided in this embodiment also includes:
[0056] receiving a directory index query request carrying a directory identifier to be queried;
[0057] Find the record item containing the directory identifier to be queried, and return the directory split item in the found record item as the query result.
[0058] Further, ...
Embodiment 2
[0072] An embodiment of the present invention provides a method for storing a directory index, which stores the directory index and actual file data separately. like figure 2 As shown, after the index storage server stores the directory index, the user can send a directory index access request to the directory view server through the user terminal to perform related access operations. After receiving the directory index access request from the user terminal, the directory view server will read the directory index corresponding to the directory index access request in the index storage server, and return the directory index to the user terminal, so that the user terminal The index to file storage server accesses the actual file data corresponding to the directory index. For ease of understanding, this embodiment combines figure 2 The above-mentioned content and the content of the above-mentioned Embodiment 1 are explained in detail about the manner of storing the directory ...
Embodiment 3
[0105] This embodiment provides a method for reading directory index, see Figure 8 , the method flow provided by this embodiment includes:
[0106] Step 801: Receive a directory index read request carrying a directory identifier to be read;
[0107] For this step, after receiving the directory index read request carrying the directory identifier to be read, the directory index read request may be stored in a storage medium. Wherein, the storage medium may specifically be a read-only register. Of course, the type of the storage medium may be other types of storage medium besides the above-mentioned read-only register, for example, a flash memory or a hard disk, etc. The type of the storage medium in this embodiment Not specifically limited.
[0108] Wherein, in addition to carrying the identifier of the directory to be read, the directory index reading request may also carry other information, for example, the creation time of the directory to be read. This embodiment does n...
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