Method and system for uploading files in classifying and batching mode
A file classification and file type technology, applied in the direction of input/output to record carrier, etc., can solve the problems of missing files, misinformation, cumbersome operation, etc., and achieve the effect of reducing misinformation, reducing cumbersomeness, and improving work efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It shows the implementation process of the method for file classification and batch upload provided by Embodiment 1 of the present invention, and the details are as follows:
[0024] In step S101, the terminal classifies the files in the folder to be uploaded according to the suffix of the file name.
[0025] In this embodiment, the file name suffix includes but not limited to rmvb, avi, jpg, gif, doc, ppt, wma, mp3. Specifically, when there are multiple file types in the folder to be uploaded, the terminal calls the File class, that is, the list() method in the basic file class to obtain the file names of the files in the folder to be uploaded, and then recursively Get the file name suffix of the file and classify it. The file name is in the form of a character string. Among them, if the file name suffix is rmvb, avi, the file is a video file; if the file name suffix is jpg, gif, the file is a picture file; if the file name suffix is doc, ppt, the fil...
Embodiment 2
[0037] figure 2 A specific structural block diagram of the system for classifying and uploading files in batches provided by Embodiment 2 of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown. In this embodiment, the system for classifying and uploading files in batches includes: a terminal 1, a web server 2 and a storage server 3, and the three are connected and communicated through a network.
[0038] Wherein, the terminal 1 includes:
[0039] The file classification unit 11 is used to classify the files in the folder to be uploaded according to the file name suffix;
[0040]The folder creation unit 12 is used to create corresponding upload subfolders according to different file types, and the folder name of the upload subfolder includes the folder name and file type of the folder to be uploaded;
[0041] A file copying unit 13, configured to copy the file to the upload subfolder ...
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