Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2014-03-26
TCL CORPORATION
View PDF6 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides a method and system for batch uploading of files by classification, aiming to solve the problem that existing file classification batch upload methods are cumbersome to operate and easily cause misinformation and missing files

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for uploading files in classifying and batching mode
  • Method and system for uploading files in classifying and batching mode

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is suitable for the technical field of computer data transmission and provides a method and system for uploading files in a classifying and batching mode. The method comprises the steps that a terminal classifies the files in folders to be uploaded according to filename extensions, corresponding uploading subfolders are set up according to different file types, folder names of the uploading subfolders comprise the folder names and the file types of the folders to be uploaded, the files are copied to the uploading subfolders with the folder names comprising the file types of the files, the uploading subfolders are compressed into packages with names the same as the folder names of the uploading subfolders, and the packages are uploaded into storage servers. According to the method and the system, the files of a plurality of types are classified and uploaded to the different storage servers, the defect that the file batch uploading function is operated for many times due to difference of the file types is overcome, error and leakage of uploading are reduced, and the work efficiency is improved.

Description

technical field [0001] The invention belongs to the technical field of computer data transmission, and in particular relates to a method and system for classifying and uploading files in batches. Background technique [0002] Both the current network system and applications need to use the file batch upload function. The general implementation method is to batch the files in the subfolders to be uploaded into file packages corresponding to the folder names, and then deploy the packaged files through upload function on the WEB server to upload to the specified directory of the corresponding file storage server. However, when there are multiple types of files in the uploaded folder, such as text files, video files, picture files, audio files, etc., they need to be uploaded to the corresponding file storage server, such as text files uploaded to text File storage server, video files are uploaded to the video file storage server, picture files are uploaded to the picture file s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/06
Inventor 伍志平
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products