1. Technical Field
The present disclosure relates to a file managing system and a file managing method.
2. Description of Related Art
Nowadays, with the development of science and technology, more and more mobile devices are coming into use. When files in the mobile devices are uploaded into the computer system, users often need to classify the files into different categories for searching easily later. As a result, it is inconvenient for users to classify the files manually, especially, when there are large numbers of files.
Referring to
The computer system 30 is generally controlled and coordinated by an operating system, such as the UNIX, Linux, Windows 95, 98, NT, 2000, XP, Vista, Mac OS X, an embedded operating system, or any other compatible operating system. In other embodiments, the computer system 30 may be controlled by a proprietary operating system. Conventional operating systems control and schedule computer processes for execution, perform memory management, provide file system, networking, and I/O services, and provide a user interface, such as a graphical user interface (GUI), among other things.
Referring to
In general, the word “module,” as used herein, refers to logic stored in hardware, or to a collection of software instructions, written in a programming languages, such as, Java, C, or assembly. One or more software instructions in the modules may be stored in hardware, such as the hard disk. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
The instruction receiving module 22 receives an instruction, to activate the setting module 23, the searching module 24, the establishing module 25, and the copying module 26, or not to activate these modules according to the instruction. The meaning of activating a module is that the module is caused to function, and the meaning of not activating a module is that the module is not caused to function. In the embodiment, the instruction may include a copying instruction and an examining instruction. Upon the condition that the instruction receiving module 22 receives the copying instruction, the instruction receiving module 22 activates the setting module 23, the searching module 24, the establishing module 25, and the copying module 26. Upon the condition that the instruction receiving module 22 receives the examining instruction, the instruction receiving module 22 does not activate the setting module 23, the searching module 24, the establishing module 25, and the copying module 26.
The setting module 23 builds a storing rule according to users' habit. It can be understood that the users' habit is how the users normally classify the files. For example, the users classify music files into different categories according to publish time and singer. As a result, the storing rule the setting module 23 builds may include a first level folder named Music, a second level folder named with singers' names, such as “Linkin Park”, and a third level folder named by year “2008.” In other embodiments, the storing rule can be modified according to need. For example, users can modify the second level folder with year “2008,” and the third level folder named “Linkin Park.”
The searching module 24 obtains information of the files in the mobile device 10 according to the storing rule. In the embodiment, the information of the files may include format of the files and summaries of the files. It can be understood that the format of the files denotes that the files are video files, music files, or other files. The searching module 24 can obtain the format of the files according to name extensions of the files. For example, a file with a name extension of “.avi” is a video file, and another file with a name extension of “.mp3” is a music file. The summaries of the files may include authors and remarks of the files.
The establishing module 25 creates new folders in the computer system 30 according to the storing rule, and names the new folders according to the information of the files in the mobile device 10. For example, the establishing module 25 creates first level new folders and names the new folders as Music and Video.
The copying module 26 copies the files in the mobile device 10 into the new folders in the computer system 30 according to the information of the files. For example, the copying module 26 copies the files with a name extension of “.avi” into the folders named Video, and copies the files with a name extension of “.mp3” into the folders named Music.
Referring to
In step S1, the instruction receiving module 22 receives an instruction. In the embodiment, the instruction may include the copying instruction and the examining instruction. The instruction receiving module 22 determines whether the instruction received is the copying instruction or the examining instruction. Upon the condition that the instruction received is the copying instruction, the flow goes to step S2. Upon the condition that the instruction received is the examining instruction, the flow goes to step S3.
In step S2, the instruction receiving module 22 activates the setting module 23, the searching module 24, the establishing module 25, and the copying module 26. The flow goes to step S4.
In step S3, the instruction receiving module 22 does not activate the setting module 23, the searching module 24, the establishing module 25, and the copying module 26. It can be understood that users do not need to copy files in the mobile device 10 into the computer system 30. As a result, the flow ends.
In step S4, the setting module 23 builds the storing rule according to users' habit. For example, the storing rule that the setting module 23 builds may include a first level folder named Music, a second level folder named singers' names, such as “Linkin Park,” and a third level folder named 2008. The setting module 23 further determines whether the storing rule needs to be modified. Upon the condition that the storing rule needs to be modified, the flow goes to step S5. Upon the condition that the storing rule needs not to be modified, the flow goes to step S6.
In step S5, the setting module 23 modifies the storing rule according to need. For example, the storing rule includes the first level folder named Music, the second level folder named 2008, and the third level folder named singers' name, such as “Linkin Park.” The flow goes to step S6.
In step S6, the searching module 24 obtains information of the files in the mobile device 10 according to the storing rule. It can be understood that the information of the files may include format of the files and summaries of the files.
In step S7, the setting module 25 creates new folders in the computer system 30 according to the storing rule, and names the new folders according to the information of the files in the mobile device 10. For example, the setting module 25 creates a first new folder and a second new folder, and names the first new folder as Music and names the second new folder as 2008.
In step S8, the copying module 26 copies the files in the mobile device 10 into the new folders in the computer system 30 according to the information of the files. For example, the copying module 26 copies the files with a name extension of “.avi” into the folders named Video, and copies the files with a name extension of “.mp3” into the folders named Music.
Referring to
The USB device 200 stores a plurality of music files and video files. When the file managing system 1 is at work, a monitor of the computer system 30 displays a first dialog box shown in
Upon the condition that the Examining Mode button is pressed, the file managing system 1 stops working. The monitor displays the files in the USB device 200. Upon the condition that the Copying Mode button is pressed, the monitor displays a second dialog box shown in
Upon the condition that the storing rule needs to be modified, the Modify button is pressed. As a result, a modify dialog box is displayed on the monitor. Users can modify the storing rule according to need. The Ok button is pressed to save the storing rule.
After the modification is accomplished, the monitor displays a third dialog box shown in
After the search is accomplished, the file managing system 1 creates a plurality of new folders in the computer system 30, as shown in
The copying module 26 copies the files in the USB device 200 into the computer system 30 correspondingly. As a result, the files can be found easily in the computer system 30.
The foregoing description of the exemplary embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above everything. The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others of ordinary skill in the art to utilize the disclosure and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those of ordinary skills in the art to which the present disclosure pertains without departing from its spirit and scope. Accordingly, the scope of the present disclosure is defined by the appended claims rather than the foregoing description and the exemplary embodiments described therein.
Number | Date | Country | Kind |
---|---|---|---|
200910301513.5 | Apr 2009 | CN | national |