Multi-file batch packaging method under distributed file system and storage medium
A distributed file and multi-file technology, applied in the field of web service packaging, can solve the problems of large disk IO on the client side, performance degradation of client service, mixed code logic, etc., to reduce file IO operations, improve packaging efficiency and reliable packaging sexual effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] Please refer to figure 2, the present embodiment provides a file packaging method under the distributed file system, including:
[0057] S1: After receiving a packaging request corresponding to more than two target files, the client generates a corresponding packaging description file.
[0058] The client refers to any device that can send packaging requests to the packaging server.
[0059] Specifically, including:
[0060] 1.1. After the user checks multiple scattered file information to be packaged on the client terminal, a package service request is generated;
[0061] 1.2. After receiving the packaging service request initiated by the user, the client will list the target file information list corresponding to the current packaging request (generally corresponding to a large number of scattered files or folders) based on its own business needs; finally, according to the client system The listed target file list generates the corresponding packaging description ...
Embodiment 2
[0092] This embodiment corresponds to Embodiment 1, and provides a file packaging system under a distributed file system, including a client, a packaging server, and a distributed file system.
[0093] The client is specifically used for:
[0094] 1. Receive the packaging service request corresponding to the user;
[0095] 2. Combined with its own business needs, list the file list required by the current user request (usually a large number of scattered files or folders);
[0096] 3. Generate a resource packaging description file recognizable by the packaging service according to the file list listed by the system, which includes the compressed package type, the generated file name (namely the compressed package file name), the source file path, and the target file path; wherein, the The resource packaging description file is a description file in json format;
[0097] 4. After sending the packaging description file to the packaging service, obtain a UUID returned by the pa...
Embodiment 3
[0111] This embodiment corresponds to Embodiment 1, and provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the file under the distributed file system described in Embodiment 1 above can be realized. The steps involved in the packaging method. The specific steps will not be repeated here, please refer to the description of Embodiment 1 for details.
[0112]Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
[0113] In summary, the file packaging method and storage medium under the distributed file system provided by the present invention separate the download business of multiple files from the client business service, and hand it over to an independent packaging server for realization, and at the same time improve the package download service. Efficiency and packaged reliab...
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