Distributed file storage and reading method, terminal equipment and storage medium
A distributed file and file storage technology, which is applied in the direction of instruments, computing, and electrical digital data processing, etc., can solve the problems of large memory space, many files, and affecting the efficiency of file reading, so as to improve writing efficiency and reduce The effect of IO processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] The embodiment of the present invention provides a distributed file storage and reading method, such as figure 1 As shown, it includes two processes of file storage and file reading.
[0025] File storage includes:
[0026] Step 1: Generate a fixed-length unique file identifier for the file to be stored according to the server ID of the file to be stored, the date contained in the file storage request information, and a random code.
[0027] In this embodiment, the unique identifier of the set file includes 39 bits, wherein:
[0028] The first bit is a reserved bit. In this embodiment, the first bit is used to store the value representing the type of file storage request information. If the type of the request information is set to HTTP type, the value is 0, and if it is HTTPS type, the value is 0. 1.
[0029] The second and third bits are used to store the server ID, encode the server ID in hexadecimal, and store the result in the adjacent two bits uniquely identifi...
Embodiment 2
[0050] The present invention also provides a distributed file storage and reading terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor executes the computer program The steps in the above method embodiment of Embodiment 1 of the present invention are realized at the same time.
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap