CN104111940A - Mobile terminal and file storage method implemented by same - Google Patents

Mobile terminal and file storage method implemented by same Download PDF

Info

Publication number
CN104111940A
CN104111940A CN201310136008.6A CN201310136008A CN104111940A CN 104111940 A CN104111940 A CN 104111940A CN 201310136008 A CN201310136008 A CN 201310136008A CN 104111940 A CN104111940 A CN 104111940A
Authority
CN
China
Prior art keywords
file
mobile terminal
new file
described new
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310136008.6A
Other languages
Chinese (zh)
Inventor
王琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310136008.6A priority Critical patent/CN104111940A/en
Publication of CN104111940A publication Critical patent/CN104111940A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a mobile terminal and a file storage method implemented by the same. The mobile terminal comprises a monitoring module, a first judging module, a second judging module, a third judging module and a new file operating module. The file storage method includes calling the first judging module to judge whether object files are listed or not when generation of new files is monitored by the monitoring module; calling the second judging module to judge whether file replacing instructions are received or not if the object files are listed, replacing the object files by the new files if the file replacing instructions are received, or canceling storage of the new files if the file replacing instructions are not received; calling the third judging module to judge whether filename extension of the new files is listed in sort file forms or not if the object files are not listed, storing the new files into file folders corresponding to the filename extension if the filename extension of the new files is listed in the sort file forms, or creating user-defined file folders if the filename extension is not listed in the sort file forms, and storing the new files in the user-defined file folders. The mobile terminal and the file storage method have the advantages the same types of files can be stored in the unified file folders, accordingly, file retrieval can be facilitated, and the use experience can be enhanced for users.

Description

Mobile terminal and file memory method thereof
Technical field
The present invention relates to a kind of mobile terminal and file memory method thereof, particularly relate to a kind of mobile terminal and a kind of file memory method that utilizes the mobile terminal that described mobile terminal realizes that can carry out to the new file producing in mobile terminal self-defining classification storage.
Background technology
Existing mobile phone is particularly in the mobile phone of Android system, if there is new file to enter mobile phone memory, generally all can be stored in file, the storage of new file is mixed and disorderly, for example can give tacit consent to below the file that leaves bluetooth in as the file receiving from bluetooth, can give tacit consent to below the file that leaves browser in by the file of browser downloads.Can cause like this file of same type to be stored in different files because the channel obtaining is different, such as being equally the file of this type of picture, some figure sector-meeting is stored under the catalogue file folder of camera, some picture can be stored under the picture file folder of system default, and some picture can be dispersed under other file.Therefore, in existing mobile phone, do not carry out unified management and storage for file, causing retrieving certain file neither be very convenient, need to from whole mobile phone memory, retrieve, lose time so very much, and effectiveness of retrieval is also very low, and this drawback is along with the quantity of documents of storing in mobile phone increases and becomes more and more obvious.
Summary of the invention
The technical problem to be solved in the present invention is, in order to overcome in prior art, the file in mobile phone is not carried out to unified management and storage, cause document retrieval to be lost time very much and also very low defect of recall precision, a kind of mobile terminal and a kind of file memory method that utilizes the mobile terminal that described mobile terminal realizes that can carry out to the new file producing in mobile terminal self-defining classification storage is provided.
The present invention solves above-mentioned technical matters by following technical proposals:
The invention provides a kind of mobile terminal, its feature is, in described mobile terminal, be provided with at least one file, in each file, all store at least one file, the file extension of the file of storing in each file includes at least one, in described mobile terminal, also store a global profile name list and a sort file list, in described global profile name list, show primary filename and the file extension of the All Files of described mobile terminal stores, in described sort file list, show the file extension of the file of corresponding stored in the title of each file and described file,
Described mobile terminal comprises a monitoring module, one first judge module, one second judge module, one the 3rd judge module and a new file operation module, and described mobile terminal adopts scheme one or scheme two;
Scheme one is: whether described monitoring module is used for monitoring described mobile terminal has new file to produce, and monitoring when being, call described the first judge module and judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension;
If show described file destination, call described the second judge module and judge whether described mobile terminal receives a file replacement instruction, if, call the described new file of described new file operation module and replace described file destination, if not, call described new file operation module and cancel the described new file of storage;
If do not show described file destination, call described the 3rd judge module and judge the file extension of whether showing described new file in described sort file list, if, calling described new file operation module is stored to described new file in the file corresponding with the file extension of described new file, if not, call described new file operation module creation one user-defined file folder, and described new file is stored in described user-defined file folder;
Scheme two is: whether described monitoring module is used for monitoring described mobile terminal has new file to produce, and monitoring when being, calls described the 3rd judge module and judge the file extension of whether showing described new file in described sort file list;
If so, call described the first judge module and judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension; If show described file destination, call described the second judge module and judge whether described mobile terminal receives a file replacement instruction, if receive, call the described new file of described new file operation module and replace described file destination, if do not receive, call described new file operation module and cancel the described new file of storage, if do not show described file destination, call described new file operation module described new file is stored in the file corresponding with the file extension of described new file;
If not, call described new file operation module creation one user-defined file folder, and described new file is stored in described user-defined file folder.
Wherein, described mobile terminal is can implementation one or the mobile terminal of scheme two, and the function of modules in above-mentioned mobile terminal can both realize by programming, particularly, for the mobile terminal of the Android system the present invention is directed to, can utilize mono-kind of JAVA(can write the object-oriented programming language of cross-platform software) method realization.And after in described new file is stored to described mobile terminal by described new file operation module, the primary filename of described new file and file extension can also be stored in described global profile name list.
Thereby utilize mobile terminal of the present invention just can carry out unified management and storage to the file in mobile terminal, file identical type can be stored in unified file, and primary filename and the file extension of the corresponding relation of file extension and file and whole file can be stored in list, make the management specification more of file, and then facilitate searching and retrieving file, improve effectiveness of retrieval, facilitate user, promoted user's experience.
Preferably, described the second judge module is in the time being judged as NO, also for judging whether described mobile terminal receives a file renamed instructions, if, call described new file operation module described new file is carried out to rename, and described new file is stored in the file corresponding with the file extension of described new file, if not, call described new file operation module and cancel the described new file of storage.
After by described new file rename, just can ensure can not exist again in described mobile terminal and all identical files of the primary filename of the new file after described rename and file extension, and then also just not need execute file replacement operation just can store described new file.
Preferably, described mobile terminal also comprises a destination folder, described the 3rd judge module is in the time being judged as NO, also for judging whether described mobile terminal receives a file and create instruction, if so, call described new file operation module creation one user-defined file folder, and described new file is stored in described user-defined file folder, if not, calling described new file operation module is stored to described new file in described destination folder.
Described destination folder can be stored the new file of the newtype of not yet storing in described mobile terminal, be not listed in the new file in described sort file list for file extension yet, can create a user-defined file folder stores, also can directly be stored in described destination folder, thereby enrich user's selection, promoted user's experience.
Preferably, described mobile terminal also comprises a document retrieval module, for receiving after a document retrieval instruction, from described global profile name list, carries out document retrieval.
Like this, utilize described document retrieval module just can directly in global profile name list, carry out document retrieval, retrieve thereby need to not go out to send from the storer of whole mobile terminal, improved effectiveness of retrieval, saved retrieval time.
Preferably, described mobile terminal also comprises that a file adds module, for searching out after the specific file extension that described sort file list do not show, is stored to described specific file extension in described sort file list.
Preferably, described new file operation module also, for after described new file being stored to described user-defined file folder, is stored to the file extension of the described new file of the title of described user-defined file folder and correspondence in described sort file list.
The object of the invention is to also provide a kind of file memory method of mobile terminal, its feature is, it utilizes above-mentioned mobile terminal to realize, and described file memory method is carried out a first pass or one second flow process;
Described first pass comprises:
S 11, monitor and in described mobile terminal, whether have new file produce, and perform step S when being monitoring 12;
S 12, judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension, if so, perform step S 13, if not, perform step S 14;
S 13, judge whether described mobile terminal receives a file replacement instruction, if so, replace described file destination with described new file, then process ends, if not, cancel storage described new file, then process ends;
S 14, judge and if so, perform step S by the file extension of whether showing described new file in described sort file list 15, if not, perform step S 16;
S 15, described new file is stored in the file corresponding with the file extension of described new file to then process ends;
S 16, create a user-defined file folder, and will described new file be stored to during described user-defined file presss from both sides;
Described the second flow process comprises:
S 21, monitor and in described mobile terminal, whether have new file produce, and perform step S when being monitoring 22;
S 22, judge and if so, perform step S by the file extension of whether showing described new file in described sort file list 23, if not, perform step S 26;
S 23, judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension, if so, perform step S 24, if not, perform step S 25;
S 24, judge whether described mobile terminal receives a file replacement instruction, if so, replace described file destination with described new file, then process ends, if not, cancel storage described new file, then process ends;
S 25, described new file is stored in the file corresponding with the file extension of described new file to then process ends;
S 26, create a user-defined file folder, and will described new file be stored to during described user-defined file presss from both sides.
Preferably, in the time that described file memory method is carried out described first pass, step S 13in in the time being judged as NO, also judge whether described mobile terminal receives a file renamed instructions, if so, described new file is carried out to rename, then performs step S 15, if not, cancel the described new file of storage, then process ends;
In the time that described file memory method is carried out described the second flow process, step S 24in in the time being judged as NO, also judge whether described mobile terminal receives a file renamed instructions, if so, described new file is carried out to rename, then performs step S 25, if not, cancel the described new file of storage, then process ends.
Preferably, described mobile terminal also comprises a destination folder, in the time that described file memory method is carried out described first pass, and step S 16comprise:
Judge whether described mobile terminal receives a document creation instruction, if so, create a user-defined file folder, and described new file is stored in described user-defined file folder, if not, described new file is stored in described destination folder;
In the time that described file memory method is carried out described the second flow process, step S 26comprise:
Judge whether described mobile terminal receives a document creation instruction, if so, create a user-defined file folder, and described new file is stored in described user-defined file folder, if not, described new file is stored in described destination folder.
Preferably, described file memory method also comprises a document retrieval step: receiving after a document retrieval instruction, from described global profile name list, carrying out document retrieval.
Preferably, described file memory method also comprises that a file adds step: searching out after a specific file extension of not showing in described sort file list, described specific file extension is stored in described sort file list.
Preferably, in the time that described file memory method is carried out described first pass, step S 16in after described new file being stored in described user-defined file folder, also the file extension of the title of described user-defined file folder and corresponding described new file is stored in described sort file list;
In the time that described file memory method is carried out described the second flow process, step S 26in after described new file being stored in described user-defined file folder, also the file extension of the title of described user-defined file folder and corresponding described new file is stored in described sort file list.
Positive progressive effect of the present invention is: the present invention can carry out unified management and storage to the file in mobile terminal, file identical type can be stored in unified file, and primary filename and the file extension of the corresponding relation of file extension and file and whole file can be stored in list, make the management specification more of file, and then facilitate searching and retrieving file, and in the time of retrieving files, need to not go out to send from the storer of whole mobile terminal and retrieve, improve effectiveness of retrieval, save retrieval time, facilitate user, promote user's experience.
Brief description of the drawings
Fig. 1 is the structural representation of the mobile terminal of embodiments of the invention 1.
Fig. 2 is the process flow diagram of the file memory method of the mobile terminal of embodiments of the invention 1.
Fig. 3 is the process flow diagram of the file memory method of the mobile terminal of embodiments of the invention 2.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail.
Embodiment 1:
The mobile terminal of the present embodiment is the mobile terminal of Android system, in wherein said mobile terminal, be provided with at least one file, in each file, all store at least one file, the file extension of the file of storing in each file includes at least one, in described mobile terminal, also store a global profile name list and a sort file list, in described global profile name list, show primary filename and the file extension of the All Files of described mobile terminal stores, in described sort file list, show the file extension of the file of corresponding stored in the title of each file and described file.
For example, in the mobile terminal of the present embodiment, be provided with name and be called Software, Document, Audio, Video, Picture ... file, wherein, in Software file, store the file of file extent exe by name and apk, in Document file, store file extent doc by name, the file of txt and pdf, in Audio file, store the file of file extent mp3 by name, in Video file, store file extent avi by name, the file of mpeg, in Picture file, store the file of file extent bmp by name and jpeg ... like this, corresponding relation between the file extension of the file of storing in the title of above-mentioned file and file will be stored in described sort file list.The tabular form of described global profile name list can be presented as "/sdcard/Document/ Zhang San .doc ", "/sdcard/Audio/ Li Si .mp3 ", "/sdcard/Picure/ king five .bmp "
As shown in Figure 1, the mobile terminal of the present embodiment comprises that a monitoring module 1, one first judge module 2, one second judge module 3, one the 3rd judge module 4, a new file operation module 5, a document retrieval module 6 and a file add module 7.
Whether first described monitoring module 1 is monitored in described mobile terminal has new file to produce, and monitoring when being, call described the first judge module 2 and judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension.
If show described file destination, call described the second judge module 3 and judge whether described mobile terminal receives a file replacement instruction, described file replacement instruction can be sent by button or touch screen by user, if, call the described new file of described new file operation module 5 use and replace described file destination, like this, also just directly described new file is stored to the position of the original storage of described file destination.If not, described the second judge module 3 continues to judge whether described mobile terminal receives a file renamed instructions, equally, described file renamed instructions can be sent by button or touch screen by user, if receive, call described new file operation module 5 described new file is carried out to rename, and described new file is stored in the file corresponding with the file extension of described new file, if not, call described new file operation module 5 and cancel the described new file of storage.
If do not show described file destination, call described the 3rd judge module 4 and judge the file extension of whether showing described new file in described sort file list, if, calling described new file operation module 5 is stored to described new file in the file corresponding with the file extension of described new file, like this, file that just can type is identical (being that file extension is identical) is stored in unified file.If not, described mobile terminal also comprises a destination folder, described the 3rd judge module 4 also judges whether described mobile terminal receives a file and create instruction, if, call described new file operation module 5 and create a user-defined file folder, and described new file is stored in described user-defined file folder, if not, call described new file operation module 5 described new file is stored in described destination folder.
And described new file operation module 5 is also after being stored to described new file in described user-defined file folder, the file extension of the described new file of the title of described user-defined file folder and correspondence is stored in described sort file list, and the primary filename of described new file and file extension are stored in described global profile name list.
And in specific embodiment of the invention process, 6 of described document retrieval modules are receiving after a document retrieval instruction, from described global profile name list, carry out document retrieval.
Like this, utilize described document retrieval module 6 just can directly in global profile name list, carry out document retrieval, retrieve thereby need to not go out to send from the storer of whole mobile terminal, improved effectiveness of retrieval, saved retrieval time.
Described file adds 7 of modules searching out after a specific file extension of not showing in described sort file list, described specific file extension is stored in described sort file list, thus the type of the file extension in described sort file list that can upgrade in time.
For example, the file of file extent " png " by name characterizes picture equally, in above-mentioned Picture file, also do not show the file of file extent " png " by name, like this, when described file interpolation module 7 searches out after the file of file extent " png " by name from server, " png " this file extension will be stored in described sort file list, simultaneously the corresponding relation of itself and Picture file has also been listed in described sort file list simultaneously.
As shown in Figure 2, the present invention utilizes the file memory method of the mobile terminal of the mobile terminal realization of the present embodiment to comprise the following steps:
Step 100, monitor and in described mobile terminal, whether have new file produce, and perform step 101 when being monitoring.
Step 101, judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension, if so, perform step 102, if not, perform step 104.
Step 102, judge whether described mobile terminal receives a file replacement instruction, if so, replace described file destination with described new file, then process ends, if not, execution step 103.
Step 103, judge whether described mobile terminal receives a file renamed instructions, if so, described new file is carried out to rename, then performs step 105, if not, cancel the described new file of storage, then process ends.
Step 104, judge the file extension of whether showing described new file in described sort file list, if so, perform step 105, if not, perform step 106.
Step 105, described new file is stored in the file corresponding with the file extension of described new file to then process ends.
Step 106, establishment one user-defined file folder, and described new file is stored in described user-defined file folder.
Certainly, in the concrete process of carrying out of flow process of the file memory method of the mobile terminal of the present embodiment, in step 106, can also first judge whether described mobile terminal receives a document creation instruction, if so, create a user-defined file folder, and described new file is stored in described user-defined file folder, if not, described new file is stored in described destination folder.
And above-mentioned file memory method can also comprise a document retrieval step: receiving after a document retrieval instruction, carry out document retrieval from described global profile name list.
Described file memory method can also comprise that a file adds step: searching out after a specific file extension of not showing in described sort file list, described specific file extension is stored in described sort file list.
In step 106, after described new file being stored in described user-defined file folder, also the file extension of the described new file of the title of described user-defined file folder and correspondence is stored in described sort file list.
Wherein, in specific embodiment of the invention process, the realization of concrete functions of modules and the realization of method flow can realize by JAVA method, for example described monitoring module 1 can be by Android system API(application programming interface) whether the FileObserver abstract class (a kind of file monitor mechanism) that provides is monitored in described mobile terminal have the event that creates file to occur, and judge in mobile phone memory and whether have new file to produce.
Specific procedure is as follows:
(1) audiomonitor that creaties directory
(2) to catalogue, audiomonitor is set:
SDCardListener listener=new SDCardListener (" catalogue ");
// start to monitor
listener.startWatching();
And for the file extension of described new file, can utilize equally JAVA method to extract.
JAVA obtains file extension a lot of methods, as used
Javax.activation.Mimety pesFile TypeMap; Use java.net.URL; Use Apache Tika; Use JMimeMagic; Use mime-util etc. (the above-mentioned JAVA instrument that is), can obtain file extension.Generally speaking these class methods are mainly by obtaining a complete file name, as (automatic document classifying .doc) ". " character string " doc " below, think that this character string " doc " is exactly the file extension of this file.
For example, can adopt following program to realize:
{ filename of // acquiescence, as (wherein parameter f ilename=D:/My Documents/ automatic document classifying .doc) for public static String getExtensionName (String filename)
If ((filename unequal to null) & & (filename.length () >0)) // judge whether this filename exists
Int dot=filename.lastIndexOf (' .'); // return from alphabetical D and start to the figure place of character '. '
If ((dot>-1) & & (dot< (filename.length ()-1))) if // this condition is true, illustrates that parameter f ilename is the file taking character '. ' as file extension specificator
Return filename.substring (dot+1); // return character '. ' file extension afterwards.As ' doc ' }
}
Return filename; If there is no character '. ' in // filename, return and pass the parameter f ilename of coming in
}
Embodiment 2:
As shown in Figure 1, the mobile terminal of the present embodiment comprises that a monitoring module 1, one first judge module 2, one second judge module 3, one the 3rd judge module 4, a new file operation module 5, a document retrieval module 6 and a file add module 7 equally.
The difference of the present embodiment and embodiment 1 is: in the present embodiment, whether described monitoring module 1 is monitored in described mobile terminal has new file to produce, and monitoring when being, call described the 3rd judge module 4 and judge the file extension of whether showing described new file in described sort file list.
If so, call described the first judge module 2 and judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension, if show described file destination, call described the second judge module 3 and judge whether described mobile terminal receives a file replacement instruction, if receive, call the described new file of described new file operation module and replace described file destination, if do not receive, described the second judge module 3 continues to judge whether described mobile terminal receives a file renamed instructions, if receive described file renamed instructions, call described new file operation module 5 described new file is carried out to rename, and described new file is stored in the file corresponding with the file extension of described new file, if receive described file renamed instructions, call described new file operation module 5 and cancel the described new file of storage.Do not show described file destination if described the first judge module 2 is judged, call described new file operation module described new file is stored in the file corresponding with the file extension of described new file.
If not, described the 3rd judge module 4 also judges whether described mobile terminal receives a file and create instruction, if, call described new file operation module 5 and create a user-defined file folder, and described new file is stored in described user-defined file folder, if not, calling described new file operation module 5 is stored to described new file in described destination folder.
As shown in Figure 2, the present invention utilizes the file memory method of the mobile terminal of the mobile terminal realization of the present embodiment to comprise the following steps:
Step 200, monitor and in described mobile terminal, whether have new file produce, and perform step 201 when being monitoring.
Step 201, judge the file extension of whether showing described new file in described sort file list, if so, perform step 202, if not, perform step 206.
Step 202, judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension, if so, perform step 203, if not, perform step 204.
Step 203, judge whether described mobile terminal receives a file replacement instruction, if so, replace described file destination with described new file, then process ends, if not, performs step 204.
Step 204, judge whether described mobile terminal receives a file renamed instructions, if so, described new file is carried out to rename, then performs step 205, if not, cancel the described new file of storage, then process ends.
Step 205, described new file is stored in the file corresponding with the file extension of described new file to then process ends.
Step 206, establishment one user-defined file folder, and described new file is stored in described user-defined file folder.
Equally, in the concrete implementation of the file memory method of the present embodiment, in step 206, can also first judge whether described mobile terminal receives a document creation instruction, if, create a user-defined file folder, and described new file is stored in described user-defined file folder, if not, described new file is stored in described destination folder.
Although more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited by appended claims.Those skilled in the art is not deviating under the prerequisite of principle of the present invention and essence, can make various changes or modifications to these embodiments, but these changes and amendment all fall into protection scope of the present invention.

Claims (12)

1. a mobile terminal, it is characterized in that, in described mobile terminal, be provided with at least one file, in each file, all store at least one file, the file extension of the file of storing in each file includes at least one, in described mobile terminal, also store a global profile name list and a sort file list, in described global profile name list, show primary filename and the file extension of the All Files of described mobile terminal stores, in described sort file list, show the file extension of the file of corresponding stored in the title of each file and described file,
Described mobile terminal comprises a monitoring module, one first judge module, one second judge module, one the 3rd judge module and a new file operation module, and described mobile terminal adopts scheme one or scheme two;
Scheme one is: whether described monitoring module is used for monitoring described mobile terminal has new file to produce, and monitoring when being, call described the first judge module and judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension;
If show described file destination, call described the second judge module and judge whether described mobile terminal receives a file replacement instruction, if, call the described new file of described new file operation module and replace described file destination, if not, call described new file operation module and cancel the described new file of storage;
If do not show described file destination, call described the 3rd judge module and judge the file extension of whether showing described new file in described sort file list, if, calling described new file operation module is stored to described new file in the file corresponding with the file extension of described new file, if not, call described new file operation module creation one user-defined file folder, and described new file is stored in described user-defined file folder;
Scheme two is: whether described monitoring module is used for monitoring described mobile terminal has new file to produce, and monitoring when being, calls described the 3rd judge module and judge the file extension of whether showing described new file in described sort file list;
If so, call described the first judge module and judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension; If show described file destination, call described the second judge module and judge whether described mobile terminal receives a file replacement instruction, if receive, call the described new file of described new file operation module and replace described file destination, if do not receive, call described new file operation module and cancel the described new file of storage, if do not show described file destination, call described new file operation module described new file is stored in the file corresponding with the file extension of described new file;
If not, call described new file operation module creation one user-defined file folder, and described new file is stored in described user-defined file folder.
2. mobile terminal as claimed in claim 1, it is characterized in that, described the second judge module is in the time being judged as NO, also for judging whether described mobile terminal receives a file renamed instructions, if so, call described new file operation module described new file is carried out to rename, and described new file is stored in the file corresponding with the file extension of described new file, if not, call described new file operation module and cancel the described new file of storage.
3. mobile terminal as claimed in claim 2, it is characterized in that, described mobile terminal also comprises a destination folder, described the 3rd judge module is in the time being judged as NO, also for judging whether described mobile terminal receives a file and create instruction, if, call described new file operation module creation one user-defined file folder, and described new file is stored in described user-defined file folder, if not, calling described new file operation module is stored to described new file in described destination folder.
4. the mobile terminal as described in any one in claim 1-3, is characterized in that, described mobile terminal also comprises a document retrieval module, for receiving after a document retrieval instruction, from described global profile name list, carries out document retrieval.
5. mobile terminal as claimed in claim 4, it is characterized in that, described mobile terminal also comprises that a file adds module, for searching out after the specific file extension that described sort file list do not show, is stored to described specific file extension in described sort file list.
6. mobile terminal as claimed in claim 5, it is characterized in that, described new file operation module also, for after described new file being stored to described user-defined file folder, is stored to the file extension of the described new file of the title of described user-defined file folder and correspondence in described sort file list.
7. a file memory method for mobile terminal, is characterized in that, it utilizes mobile terminal as claimed in claim 1 to realize, and described file memory method is carried out a first pass or one second flow process;
Described first pass comprises:
S 11, monitor and in described mobile terminal, whether have new file produce, and perform step S when being monitoring 12;
S 12, judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension, if so, perform step S 13, if not, perform step S 14;
S 13, judge whether described mobile terminal receives a file replacement instruction, if so, replace described file destination with described new file, then process ends, if not, cancel storage described new file, then process ends;
S 14, judge and if so, perform step S by the file extension of whether showing described new file in described sort file list 15, if not, perform step S 16;
S 15, described new file is stored in the file corresponding with the file extension of described new file to then process ends;
S 16, create a user-defined file folder, and will described new file be stored to during described user-defined file presss from both sides;
Described the second flow process comprises:
S 21, monitor and in described mobile terminal, whether have new file produce, and perform step S when being monitoring 22;
S 22, judge and if so, perform step S by the file extension of whether showing described new file in described sort file list 23, if not, perform step S 26;
S 23, judge in described global profile name list, whether to show and all identical file destinations of the primary filename of described new file and file extension, if so, perform step S 24, if not, perform step S 25;
S 24, judge whether described mobile terminal receives a file replacement instruction, if so, replace described file destination with described new file, then process ends, if not, cancel storage described new file, then process ends;
S 25, described new file is stored in the file corresponding with the file extension of described new file to then process ends;
S 26, create a user-defined file folder, and will described new file be stored to during described user-defined file presss from both sides.
8. file memory method as claimed in claim 7, is characterized in that, in the time that described file memory method is carried out described first pass, and step S 13in in the time being judged as NO, also judge whether described mobile terminal receives a file renamed instructions, if so, described new file is carried out to rename, then performs step S 15, if not, cancel the described new file of storage, then process ends;
In the time that described file memory method is carried out described the second flow process, step S 24in in the time being judged as NO, also judge whether described mobile terminal receives a file renamed instructions, if so, described new file is carried out to rename, then performs step S 25, if not, cancel the described new file of storage, then process ends.
9. file memory method as claimed in claim 8, is characterized in that, described mobile terminal also comprises a destination folder, in the time that described file memory method is carried out described first pass, and step S 16comprise:
Judge whether described mobile terminal receives a document creation instruction, if so, create a user-defined file folder, and described new file is stored in described user-defined file folder, if not, described new file is stored in described destination folder;
In the time that described file memory method is carried out described the second flow process, step S 26comprise:
Judge whether described mobile terminal receives a document creation instruction, if so, create a user-defined file folder, and described new file is stored in described user-defined file folder, if not, described new file is stored in described destination folder.
10. the file memory method as described in any one in claim 7-9, is characterized in that, described file memory method also comprises a document retrieval step: receiving after a document retrieval instruction, from described global profile name list, carrying out document retrieval.
11. file memory methods as claimed in claim 10, it is characterized in that, described file memory method also comprises that a file adds step: searching out after a specific file extension of not showing in described sort file list, described specific file extension is stored in described sort file list.
12. file memory methods as claimed in claim 11, is characterized in that, in the time that described file memory method is carried out described first pass, and step S 16in after described new file being stored in described user-defined file folder, also the file extension of the title of described user-defined file folder and corresponding described new file is stored in described sort file list;
In the time that described file memory method is carried out described the second flow process, step S 26in after described new file being stored in described user-defined file folder, also the file extension of the title of described user-defined file folder and corresponding described new file is stored in described sort file list.
CN201310136008.6A 2013-04-18 2013-04-18 Mobile terminal and file storage method implemented by same Pending CN104111940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310136008.6A CN104111940A (en) 2013-04-18 2013-04-18 Mobile terminal and file storage method implemented by same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310136008.6A CN104111940A (en) 2013-04-18 2013-04-18 Mobile terminal and file storage method implemented by same

Publications (1)

Publication Number Publication Date
CN104111940A true CN104111940A (en) 2014-10-22

Family

ID=51708735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310136008.6A Pending CN104111940A (en) 2013-04-18 2013-04-18 Mobile terminal and file storage method implemented by same

Country Status (1)

Country Link
CN (1) CN104111940A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484394A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Item set processing method and item set processing device
CN105373595A (en) * 2015-10-22 2016-03-02 广东欧珀移动通信有限公司 Data automatic sorting storage method and terminal
CN106406755A (en) * 2016-08-31 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Application file storage method and terminal
CN106844619A (en) * 2017-01-17 2017-06-13 深圳市金立通信设备有限公司 A kind of file clean-up method and terminal
CN107403000A (en) * 2017-07-07 2017-11-28 齐鲁工业大学 A kind of computer resource management system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996283A (en) * 2005-12-31 2007-07-11 英保达股份有限公司 File sorting-save management method and system therefor
CN101916164A (en) * 2010-08-11 2010-12-15 中兴通讯股份有限公司 Mobile terminal and file browsing method implemented by same
CN102752383A (en) * 2012-07-02 2012-10-24 惠州Tcl移动通信有限公司 File downloading and storing method based on wireless communication equipment and wireless communication equipment
US20130091458A1 (en) * 2011-10-05 2013-04-11 Kia Motors Corporation Album list management system and method in mobile device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996283A (en) * 2005-12-31 2007-07-11 英保达股份有限公司 File sorting-save management method and system therefor
CN101916164A (en) * 2010-08-11 2010-12-15 中兴通讯股份有限公司 Mobile terminal and file browsing method implemented by same
US20130091458A1 (en) * 2011-10-05 2013-04-11 Kia Motors Corporation Album list management system and method in mobile device
CN102752383A (en) * 2012-07-02 2012-10-24 惠州Tcl移动通信有限公司 File downloading and storing method based on wireless communication equipment and wireless communication equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484394A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Item set processing method and item set processing device
CN104484394B (en) * 2014-12-12 2018-11-06 北京国双科技有限公司 The processing method and processing device of project set
CN105373595A (en) * 2015-10-22 2016-03-02 广东欧珀移动通信有限公司 Data automatic sorting storage method and terminal
CN105373595B (en) * 2015-10-22 2020-01-31 Oppo广东移动通信有限公司 data self-classification storage method and terminal
CN106406755A (en) * 2016-08-31 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Application file storage method and terminal
CN106844619A (en) * 2017-01-17 2017-06-13 深圳市金立通信设备有限公司 A kind of file clean-up method and terminal
CN107403000A (en) * 2017-07-07 2017-11-28 齐鲁工业大学 A kind of computer resource management system

Similar Documents

Publication Publication Date Title
AU2008205032B2 (en) Data backup for mobile device
CN104461504B (en) A kind of management method of end application
CN109739815B (en) File processing method, system, device, equipment and storage medium
US20140222824A1 (en) Method and apparatus for portable index on a removable storage medium
CN104111940A (en) Mobile terminal and file storage method implemented by same
EP1942424A2 (en) Background data transmission between media device and host device
US11210269B2 (en) System and method for deduplicating container image storage data
WO2015117426A1 (en) File management method and device
KR20070008564A (en) Display of menu items in a user interface
CN108121783A (en) A kind of automatic cleaning method, device, computer and storage medium for storing data
WO2014015488A1 (en) Method and apparatus for data storage and query
KR20150004877A (en) Associating a file type with an application in a network storage service
CN101916164A (en) Mobile terminal and file browsing method implemented by same
US20140059165A1 (en) Method, apparatus and system for auto-synchronization of compressed content files
CN108563440B (en) Automatic adding method and device of list controller codes and readable storage medium
WO2008086253A2 (en) Background data transmission between media device and host device
WO2013185554A1 (en) Method, device and computer storage media for offline web page browsing
CN104461505B (en) A kind of terminal
US10375149B2 (en) Application registration and interaction
CN112114849B (en) Resource updating method and device
CN106406755A (en) Application file storage method and terminal
CN102968321A (en) Application program installation device and application program installation method
WO2016070655A1 (en) Information backup method, device, server and terminal
CN105978944A (en) Object storage method and device
CN103888513B (en) Server end multifile method for down loading and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141022