Method and device suitable for cloud storage of large-scale small files
A small file, cloud storage technology, applied in file systems, file/folder operations, electrical components, etc., can solve problems such as high cost and difficulty in implementation, and achieve utilization of storage space, increase upload speed, and facilitate file update and access. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Such as figure 1 , this embodiment discloses a method suitable for cloud storage of large batches of small files, including the following steps:
[0040] S1: File upload: According to the file splicing method, the files are selectively spliced to obtain the processed file and uploaded;
[0041] Specifically, such as figure 2 , the file splicing method is:
[0042] Determine the size of the file. When the size of the file is larger than the preset size, it is considered as a non-small file and uploaded independently; when the size of the file is smaller than or equal to the preset size, it is considered as a small file and needs to be spliced; Files larger than 512k are generally not considered small files, so the default size in this embodiment is set to 512k.
[0043] Among them, the splicing method is: combining small files into medium-sized processing files whose maximum size does not exceed the set threshold;
[0044] The specific splicing method is as follow...
Embodiment 2
[0076] Such as image 3 , this embodiment is similar to Embodiment 1, the difference is that in this implementation, in step S2, when there is a processing file that needs to be stored, according to the current processing file, a data block with a suitable storage grid is preferentially searched for or established for the current Process files for storage.
[0077] A suitable storage grid means that the storage capacity occupied by the currently processed file is exactly or close to the capacity provided by a storage grid, that is, the currently processed file can be stored in a storage grid. Of course, when the size of the processed file is not When the integer multiple of 8k is used, the size of the grid created or searched will be slightly larger than the size of the processed file.
[0078] That is to say, the size of the storage grid searched or established by this embodiment is equal to or nearly equal to the size of the processed file.
[0079] A suitable storage grid...
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