CN106776882A - A kind of file management method and mobile terminal - Google Patents
A kind of file management method and mobile terminal Download PDFInfo
- Publication number
- CN106776882A CN106776882A CN201611075650.8A CN201611075650A CN106776882A CN 106776882 A CN106776882 A CN 106776882A CN 201611075650 A CN201611075650 A CN 201611075650A CN 106776882 A CN106776882 A CN 106776882A
- Authority
- CN
- China
- Prior art keywords
- file
- source file
- routing information
- source
- directory
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
- G06F16/184—Distributed file systems implemented as replicated file system
- G06F16/1844—Management specifically adapted to replicated file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
Abstract
The embodiment of the invention provides a kind of file management method and mobile terminal.The method includes:When detecting the first predetermined registration operation for the first source file in the first file directory, obtain the routing information of first source file and record;When the second predetermined registration operation for the second source file in the second file directory is detected, obtain the routing information of second source file and record;When three predetermined registration operation for the 3rd file directory is detected, the routing information and the routing information of second source file of first source file according to record, first source file and second source file respectively replicated or sheared to the 3rd file directory.The present invention can by be located at different files under multiple file copy-onces or clip under another file.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of file management method and mobile terminal.
Background technology
At present, when the operation such as being replicated, sheared in the file or folder in mobile terminal, it is generally into mobile phone
" file management ", some file directory is entered in " file management ", then carried out in this catalogue the duplication of file/
Shearing manipulation, then opens file destination clip directory again, and paste operation is carried out to the file for replicating/shearing in this catalogue,
So as to realize the duplication or shearing of file or folder.
But, the file/folder if necessary to replicating or shearing is located under two different file directorys, then
When being operated, the file movement that just can only will move the need in first catalogue or replicate first or file destination is copied to
In catalogue, file movement that then will move the need in second catalogue or replicate again or file destination catalogue is copied to, with
This realizes the movement or duplication of the multiple file or folders in different file directorys, it is clear that this file management method
Need multi-pass operation, complex steps.
And for current Android mobile phone equipment, select file can only be replicated under a catalogue in file management
Or shearing, when the file under user wants to select another catalogue simultaneously, it is necessary to have selected for file before first exiting
Catalogue, entering back into another catalogue carries out the selection of file.And the continuation to file in another catalogue selects behaviour
Make, it will cause the covering to the file selected in previous catalogue, so that the file selected in first catalogue is lost.
Finally, when file is affixed into the 3rd catalogue, also only can be by selected in the file directory of last time operation
File is pasted.Cannot realize being replicated or shearing manipulation across the file of file directory in the case where step simplifies.
As can be seen here, the package management file of mobile terminal in a paste operation, can only be directed to one in the prior art
File or file under individual catalogue are replicated or sheared, and cannot be realized across file in the way of a paste operation
Duplication, the shearing manipulation of the multifile or file of catalogue.
The content of the invention
The embodiment of the present invention provides a kind of file management method and mobile terminal, to solve mobile terminal of the prior art
Package management file in a paste operation, can only be directed to a catalogue under file or file be replicated or
Shearing, and duplication, the shearing manipulation of multifile or file across file directory cannot be realized in the way of a paste operation.
In a first aspect, the embodiment of the invention provides a kind of file management method, mobile terminal, methods described bag are applied to
Include:
When detecting the first predetermined registration operation for the first source file in the first file directory, first source document is obtained
The routing information of part is simultaneously recorded;
When the second predetermined registration operation for the second source file in the second file directory is detected, second source is obtained
The routing information of file is simultaneously recorded;
When three predetermined registration operation for the 3rd file directory is detected, according to first source file of record
Routing information and second source file routing information, first source file and second source file are replicated respectively
Or shear to the 3rd file directory.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, and the mobile terminal includes:
First acquisition module, for working as the first predetermined registration operation detected for the first source file in the first file directory
When, obtain the routing information of first source file and record;
Second acquisition module, for working as the second predetermined registration operation detected for the second source file in the second file directory
When, obtain the routing information of second source file and record;
Shear module is replicated, for when three predetermined registration operation for the 3rd file directory is detected, according to note
Record first source file routing information and the routing information of second source file, respectively will first source file with
Second source file is replicated or sheared to the 3rd file directory.
So, in the embodiment of the present invention, can be introduced into first file directory carries out select file, is then back to enter
The file that second file directory selected under select file, and first catalogue can be recorded, so multiple
Can replicate or clip under destination folder across the selection of file, this mode simplifies user's selection across file
Operation when different files under folder are replicated or sheared.And Sexual behavior mode of user can be allowed to be located at different files
The lower file of folder, and the file copy-once or clip to separately that be located under different files for these by user can be facilitated
Under an outer file.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by institute in the description to the embodiment of the present invention
The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the flow chart of the file management method of first embodiment of the invention;
Fig. 2 is the flow chart of the file management method of second embodiment of the invention;
Fig. 3 is across the folder file selection operation schematic diagram of second and third embodiments of the present invention;
Fig. 4 is across the folder file duplication/shearing manipulation schematic diagram of second and third embodiments of the present invention;
Fig. 5 is the flow chart of the file management method of third embodiment of the invention;
Fig. 6 is the block diagram of the mobile terminal of fourth embodiment of the invention;
Fig. 7 is the block diagram of the mobile terminal of fifth embodiment of the invention;
Fig. 8 is the block diagram of the mobile terminal of sixth embodiment of the invention;
Fig. 9 is the structural representation of the mobile terminal of seventh embodiment of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
First embodiment
Reference picture 1, shows the flow chart of the file management method of one embodiment of the invention, is applied to mobile terminal,
Methods described specifically may include steps of:
Step 101, when the first predetermined registration operation for the first source file in first file directory is detected, obtains
Take the routing information of first source file and record;
Wherein, when user opens the file management page of mobile terminal (such as mobile phone), by opening the first file directory,
Then can to need to carry out in the first file directory across catalogue (that is, file) operation source file (can be file, can also
File) selected, and to select source file (such as file 1) select " across portfolio operations ", then system will examine
Measure for the source file across directory operation (i.e. the first predetermined registration operation), i.e. represent need to select source file carry out across
The duplication of catalogue or shearing manipulation, it is therefore desirable to obtain the routing information of the source file, and the routing information of acquisition are remembered
Record, wherein it is possible to record be stored in the database file of database (DB) in, in XML file, text it is medium.
Step 102, when the second predetermined registration operation for the second source file in second file directory is detected, obtains
Take the routing information of second source file and record;
Then, user can continue to open another file directory in the file management page of mobile terminal, it is possible to
To needing to carry out selection operation together with the source file selected in above-mentioned steps 101 in another file directory, so that complete
Into duplication, the shearing manipulation of the follow-up file or folder across catalogue.Specific selection mode is similar to step 101.That is, use
Family can to need to carry out in the second file directory across catalogue (that is, file) operation source file (can be file, can also
File) selected, and to select source file (such as file 4) select " across portfolio operations ", then system will examine
Measure for this document 4 across directory operation (i.e. the second predetermined registration operation), i.e. representing needs to carry out across mesh the file 4 for selecting
The duplication of record or shearing manipulation, it is therefore desirable to obtain the routing information of this document 4, and the routing information of acquisition are recorded,
Wherein it is possible to record be stored in the database file of database (DB) in, in XML file, text it is medium.
, wherein it is desired to it is noted that the routing information of the source file in belonging to different file directorys is preserved
When, they can be preserved into same text, it is also possible to preserve to different texts, i.e., the present invention is for source
The preservation form of the attribute information of file is simultaneously not especially limited.
Wherein, above the step of 101 and step 102 realize routing information respectively to the source file across file directory
Record.It is however noted that, be the step of due to selection operation to the source file in different file directorys it is similar,
Therefore, although the selection operation to the source file in two file directorys is only illustrated in this example, but user can select
The file or folder of more than two file directory is disposably replicated or shearing manipulation.
Step 103, when three predetermined registration operation for the 3rd file directory is detected, according to described the of record
The routing information of the routing information of one source file and second source file, respectively by first source file and second source
File is replicated or sheared into the 3rd file directory.
Across catalogue duplicate instructions or across catalogue shearing instruction
Wherein, user can open the file destination catalogue (i.e. for needing that the source file for selecting is replicated or sheared
Three file directorys).Specifically, user can open the file management page of mobile terminal, and open needs and will select above
Two source files replicate or mobile file destination catalogue.Then, user can just hit in this file destination list, point
" across file duplication " button or " across file shearing " button, such that it is able to detect the 3rd for the file destination catalogue
Predetermined registration operation (across catalogue duplication or across catalogue shearing manipulation).Then, the first of record will be found from the information of storage
The routing information of source file and the second source file;Then come the first source file and the second source document respectively according to two routing informations
Part is replicated or sheared in (i.e. mobile) to file destination catalogue.
By means of the technical scheme of the above embodiment of the present invention, the embodiment of the present invention can user can be introduced into first
File directory carries out select file, is then back to be carried out under select file, and first catalogue into second file directory
The file of selection can be recorded, and so repeatedly can replicate or clip to destination folder across the selection of file
Under, this mode simplifies user's selection in operation when the different files under file are replicated or sheared.And
The file that Sexual behavior mode of user can be allowed to be located under different files, and can facilitate user that these are located at into not identical text
Part folder under file copy-once or clip under another file.
Second embodiment
Reference picture 2, shows the file management method flow chart of another embodiment of the present invention, is applied to mobile terminal,
Specifically may include steps of:
Step 201, detects the first predetermined registration operation for the first source file in first file directory, in detection
To after the first predetermined registration operation, if receiving the instruction for closing first file directory, first source file is obtained
Routing information and the attribute information in addition to routing information are simultaneously recorded;
Wherein, the attribute information includes at least one of:File type, file size and last modification time.
Referring in particular to Fig. 3, user finds file 1 and opens by opening the file management application interface of mobile terminal
It can be seen that the All Files in file 1, here including file 1, file 2, file 3.Here user is needed file 1 and text
File in part 2 and another file is together in Move to Folder 3.Referring in particular to Fig. 3, user can be with select file pipe
The Edit button of application interface is managed, such that it is able to select to work as the file in the file 1 of front opening, user have selected file here
File 1 and file 2 in 1, from figure 3, it can be seen that they are in selected state.Then, user can click on the interface lower right corner
" more " button, such that it is able to the ejection operation list (not shown) in interface, " across file behaviour can be shown in list
Work, across file duplication, across file movement ", because file 1 and file 2 are the file for needing to be replicated here, therefore,
Here select across portfolio operations.Then, user can just click on the Back button shown in Fig. 3 upper left corners to exit this document
The catalogue of folder 1.
So when system exits file 1, it is possible to by means of the embodiment of the present invention service routine by calling text
The API that part management module is provided reads the routing information and the category in addition to routing information of selected file 1 and file 2
Property information, wherein, including routing information, wherein, the attribute information in addition to routing information can include it is following at least it
One:File type, file size and last modification time.
Finally, the information of acquisition is preserved into DB files.
Step 202, when the second predetermined registration operation for the second source file in the second file directory is detected, obtains institute
State the routing information of the second source file and record;
Wherein, user continues to open file 2 shown in dotted lines in Figure 3 after file 1 is closed, herein for
Convenient, the folder content in the interface that will be operated twice show in an accompanying drawing, be shown with dotted line frame here.Here
File 2 includes file 4, file 5 and file 6.Here user is also needed to the file 4 and file 5 in file 2 together with file
File 1 and file 2 in folder 1 are together in Move to Folder 3.Therefore, the embodiment of the present invention can be used such as step 201
Similar approach comes select file 4 and file 5, and detection across directory operation.Likewise, can also detect for file
File 4 and file 5 in 2 after directory operation, if receiving the instruction for closing file 2, obtain file 4 and file
5 routing information and the attribute information in addition to routing information.
Wherein, step 202 similar to step 201 circulation, if user also need to selection the 3rd file directory in
File carries out duplication operation, then can be circulated operation with continued reference to step 201, will not be repeated here.
Step 203, when three predetermined registration operation for the 3rd file directory is detected, according to described the of record
The routing information of the routing information of one source file and second source file, respectively by first source file and second source
File is replicated or sheared to the 3rd file directory.
Wherein, after user clicks the Back button shown in Fig. 3, the file 3 shown in Fig. 4 can be opened, wherein,
File 3 includes file 8 and file 9." more " button shown in Fig. 4 is can then click on, so as to show operating list, is had
Body includes " across file duplication, across file shearing ", here because user needs to carry out across file duplication, so alternative column
Across file duplication option in table, so as to detect across the catalogue duplicate instructions for the catalogue of file 3.Then just can basis
The file 1 that is recorded in DB files, file 2, file 4, the routing information of file 5 come to the file 1 and file 2 in file 1 with
And the file 4 and file 5 in file 2 carry out duplication operation, the duplicate of the document after being replicated, and duplicate of the document is affixed to
In file 3, so as to realize the file copy operation across file.
Certainly, if user needs across the file shearing choosing for being shearing manipulation, needing to select described in Fig. 4 for carrying out
, so that according to file 1, file 2, file 4, the routing information of file 5 recorded in DB files come to the file in file 1
1 and file 2 and file 2 in file 4 and file 5 carry out shearing manipulation, file 1 and file 2, file after being sheared
4 and file 5, and these files sheared are affixed into file 3, so as to realize being operated across the paper cut of file.
By the above-mentioned technical proposal of the embodiment of the present invention, the embodiment of the present invention is by receiving closing first text
During the instruction of part catalogue, the routing information of selected file 1 and file 2 is just obtained, referred to across directory operation rather than in reception
Order just obtains above-mentioned routing information, so may provide the user with the chance of the file for changing selection, i.e., in the closing of file 1
Before, user can arbitrarily change selected file, it is to avoid user still carries out across file duplication because file selects mistake
Or the problem of shearing manipulation.
3rd embodiment
Reference picture 3, Fig. 4 and Fig. 5, wherein, Fig. 5 shows the flow of the duplication method of attaching of another embodiment of the invention
Figure, specifically may include steps of:
Step 501, detects the first predetermined registration operation for the first source file in first file directory, in detection
After first predetermined registration operation, if receiving the instruction for closing first file directory, the road of first source file is obtained
Footpath information and the attribute information in addition to routing information are simultaneously recorded;
Wherein, the attribute information includes at least one of:File type, file size and last modification time.
The step of referring in particular to second embodiment 201 and Fig. 3, will not be repeated here.
Step 502, detects the second predetermined registration operation for the second source file in second file directory, in detection
To after the second predetermined registration operation, if receiving the instruction for closing second file directory, second source file is obtained
Routing information and the attribute information in addition to routing information are simultaneously recorded;
The step of referring in particular to second embodiment 202 and Fig. 3, will not be repeated here.
Step 503, when three predetermined registration operation for the 3rd file directory is detected, the source file that will be recorded
Attribute information in addition to routing information is shown;
Wherein, after user opens 3 catalogue of file shown in Fig. 4, wherein, file 3 includes file 8 and file 9.
Can then click on " more " button shown in Fig. 4, so as to show operating list, specifically include " across file duplication, across file
Tongs are cut ", here because user needs to carry out across file duplication, so across the file duplication option in selective listing, from
And detect across the catalogue duplication operation for the catalogue of file 3.
Here when across catalogue duplication operation is detected, can removing the file 1 of record, file 2, file 3 and file 4
Attribute information (such as file type, file size and last modification time etc.) outside path is shown.
So, even if having recorded the various attribute informations of the required file for being replicated in DB files, the present invention
Embodiment can also provide the user with the chance of the selected source file of Last modification, and user can be selected by checking
The attribute information in addition to path of source file carry out the document screening of last time, for example here user see file 1,
After the attribute information in addition to path of file 2, file 4 and file 5, merely desire to carry out across file file 1, file 2 and file 5
Folder replicates operation.The file 4 (option where the attribute information for showing) that need not be replicated can so be selected
Select.
Step 504, receives the selection operation of each source file for display, determines the target source file of selection;
In this manner it is possible to the selection operation of the file 4 for display is received, so that it is determined that selected target source document
Part:File 4.
Step 505, deletes the routing information and the category in addition to routing information recorded for the target source file
Property information;
Then, the routing information and the attribute information in addition to routing information of file 4 in DB files can be deleted.
Step 506, the routing information and the routing information of second source file of first source file according to record,
First source file and second source file are replicated or sheared to the 3rd file directory respectively.
Wherein, it is possible to according to file 1, file 2, the routing information of file 5 recorded in DB files come in file 1
File 1 and file 2 and file 2 in file 5 carry out duplication operation, the duplicate of the document after being replicated, and by file
Copy is affixed in file 3, so as to realize the file copy operation across file.
Certainly, if user needs across the file shearing choosing for being shearing manipulation, needing to select described in Fig. 4 for carrying out
, so that according to file 1, file 2, the routing information of file 5 recorded in DB files come to the file 1 and text in file 1
File 5 in part 2 and file 2 carries out shearing manipulation, file 1 and file 2 after being sheared, file 5, and by shear
These files are affixed in file 3, so as to realize being operated across the paper cut of file.
By the above-mentioned technical proposal of the embodiment of the present invention, the embodiment of the present invention can have recorded institute in DB files
After the routing information of the source file that needs are replicated, still may provide the user with last time and cancel selected source file
Chance, user can be by the text of checking the attribute information in addition to path of selected source file to carry out last time
Part is screened, such as after user sees the attribute information in addition to path of file 1, file 2, file 4 and file 5 here, merely desired to
Across file duplication operation is carried out to file 1, file 2 and file 5.So the file 4 that need not be replicated (can be shown
Option where the attribute information for showing) selected.
In addition, it should be noted that although the object across directory operation described in above-described embodiment is all file,
The object can also be file in other embodiments, you can be carried out across catalogue with to the file in different file directorys
File is replicated, shearing manipulation, and specific method is similar with the above-mentioned method across directory operation for file, no longer goes to live in the household of one's in-laws on getting married herein
State.
Fourth embodiment
Reference picture 6, shows the block diagram of the mobile terminal of one embodiment of the invention.Mobile terminal includes shown in Fig. 6:
First acquisition module 61, behaviour is preset for working as to detect for first of the first source file in the first file directory
When making, obtain the routing information of first source file and record;
Second acquisition module 62, behaviour is preset for working as to detect for second of the second source file in the second file directory
When making, obtain the routing information of second source file and record;
Shear module 63 is replicated, for when three predetermined registration operation for the 3rd file directory is detected, according to
The routing information and the routing information of second source file of first source file of record, respectively by first source file
Replicated with second source file or sheared to the 3rd file directory.
By means of the technical scheme of the above embodiment of the present invention, the embodiment of the present invention can user can be introduced into first
File directory carries out select file, is then back to be carried out under select file, and first catalogue into second file directory
The file of selection can be recorded, and so repeatedly can replicate or clip to destination folder across the selection of file
Under, this mode simplifies user's selection in operation when the different files under file are replicated or sheared.And
The file that Sexual behavior mode of user can be allowed to be located under different files, and can facilitate user that these are located at into not identical text
Part folder under file copy-once or clip under another file.
5th embodiment
Reference picture 7, shows the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal includes shown in Fig. 7:
First acquisition module 61, behaviour is preset for working as to detect for first of the first source file in the first file directory
When making, obtain the routing information of first source file and record;
Second acquisition module 62, behaviour is preset for working as to detect for second of the second source file in the second file directory
When making, obtain the routing information of second source file and record;
Shear module 63 is replicated, for when three predetermined registration operation for the 3rd file directory is detected, according to
The routing information and the routing information of second source file of first source file of record, respectively by first source file
Replicated with second source file or sheared to the 3rd file directory.
Wherein, first acquisition module 61 includes:
First acquisition submodule 611, for detecting for the first source file in first file directory
After one predetermined registration operation, if receiving the instruction for closing first file directory, the path of first source file is obtained
Information is simultaneously recorded.
3rd acquisition module 64, for when detecting for the first pre- of the first source file in first file directory
If during operation, obtaining the attribute information in addition to routing information of first source file and recording;
4th acquisition module 65, for when detecting for the second pre- of the second source file in second file directory
If during operation, obtaining the attribute information in addition to routing information of second source file and recording.
Display module 66, for when three predetermined registration operation for the 3rd file directory is detected, by what is recorded
The attribute information in addition to routing information of source file is shown;
Determine source file module 67, the selection operation for receiving each source file for display determines the mesh of selection
Mark source file;
Information module 68 is deleted, for deleting the routing information that is recorded for the target source file and except path letter
Attribute information outside breath.
Wherein, the attribute information includes at least one of:File type, file size and last modification time.
Mobile terminal can realize that mobile terminal in the embodiment of the method for Fig. 1 to Fig. 5 realizes in a paste operation,
The file or file that can be directed under different directories are replicated or sheared, so as to the reality in the way of a paste operation
The duplication of multifile or file now across file directory, the effect of shearing manipulation, to avoid repeating, repeat no more here.
Sixth embodiment
Fig. 8 is the block diagram of the mobile terminal of another embodiment of the invention.Mobile terminal 800 shown in Fig. 8 includes:At least
One processor 801, memory 802, at least one network interface 804 and user interface 803.Each in mobile terminal 800
Component is coupled by bus system 805.It is understood that bus system 805 is used to realize that the connection between these components to be led to
Letter.Bus system 805 in addition to including data/address bus, also including power bus, controlling bus and status signal bus in addition.It but is
For the sake of clear explanation, in fig. 8 various buses are all designated as bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside height
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 802 be intended to including but not limited to these
With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or
Person their subset, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc. are used for
Realize various basic businesses and process hardware based task.Application program 8022, comprising various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In embodiments of the present invention, by the program for calling memory 802 to store or instruction, specifically, can be application
The program stored in program 8022 or instruction, processor 801 are detected for the first source document in the first file directory for working as
During the first predetermined registration operation of part, obtain the routing information of first source file and record;When detecting for the second file mesh
During the second predetermined registration operation of the second source file in record, obtain the routing information of second source file and record;When detecting
For the 3rd file directory three predetermined registration operations when, the routing information of first source file according to record and described
The routing information of the second source file, first source file and second source file respectively replicated or sheared to the described 3rd
File directory.
The method that the embodiments of the present invention are disclosed can apply in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 801 or software form.Above-mentioned treatment
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module may be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 802, processor 801 reads the information in memory 802, with reference to the step of its hardware completion above method.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
In reason device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and by computing device.Memory can
To realize within a processor or outside processor.
Alternatively, processor 801 is additionally operable to:Detecting for the first source file in first file directory
After one predetermined registration operation, if receiving the instruction for closing first file directory, the path of first source file is obtained
Information is simultaneously recorded.
Alternatively, processor 801 is additionally operable to:When detecting for the first source file in first file directory
During one predetermined registration operation, obtain the attribute information in addition to routing information of first source file and record;It is directed to when detecting
During the second predetermined registration operation of the second source file in second file directory, obtain second source file except routing information
Outside attribute information and record.
Alternatively, processor 801 is additionally operable to:When three predetermined registration operation for the 3rd file directory is detected,
The attribute information in addition to routing information of the source file of record is shown;Receive the choosing of each source file for display
Operation is selected, the target source file of selection is determined;Delete the routing information that is recorded for the target source file and except path
Attribute information outside information.
Alternatively, the attribute information includes at least one of:
File type, file size and last modification time.
Mobile terminal 800 can realize that mobile terminal in previous embodiment realizes in a paste operation, Neng Gouzhen
File or file under different directories is replicated or sheared, so as to be realized across text in the way of a paste operation
The duplication of the multifile or file of part catalogue, the effect of shearing manipulation, to avoid repeating, repeat no more here.
7th embodiment
Fig. 9 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 9
900 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 900 in Fig. 9 includes radio frequency (Radio Frequency, RF) circuit 910, memory 920, input
Unit 930, display unit 940, processor 960, voicefrequency circuit 970, WiFi (Wireless Fidelity) module 980 and electricity
Source 990.
Wherein, input block 930 can be used for receive mobile terminal user input numeral or character information, and produce with
The mobile terminal user of mobile terminal 900 is set and the relevant signal input of function control.Specifically, the embodiment of the present invention
In, the input block 930 can include contact panel 931.Contact panel 931, also referred to as touch-screen, can collect mobile terminal use
Family thereon or neighbouring touch operation (such as mobile terminal user uses any suitable objects or annex such as finger, stylus
Operation on contact panel 931), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel
931 may include two parts of touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detect mobile terminal user's
Touch orientation, and the signal that touch operation brings is detected, transmit a signal to touch controller;Touch controller is from touch detection
Touch information is received on device, and is converted into contact coordinate, then give the processor 960, and energy receiving processor 960 is sent out
Come order and performed.Furthermore, it is possible to using the polytype reality such as resistance-type, condenser type, infrared ray and surface acoustic wave
Existing contact panel 931.Except contact panel 931, input block 930 can also include other input equipments 932, and other inputs set
Standby 932 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One or more in mark, action bars etc..
Wherein, display unit 940 can be used for display by the information of mobile terminal user's input or be supplied to mobile terminal to use
The information at family and the various menu interfaces of mobile terminal 900.Display unit 940 may include display panel 941, optionally, can
To configure display using the form such as LCD or Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
Panel 941.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when touch display screen inspection
Measure thereon or after neighbouring touch operation, processor 960 is sent to determine the type of touch event, with preprocessor
960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area be used for show utilization rate control higher, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 960 is the control centre of mobile terminal 900, using various interfaces and connection whole mobile phone
Various pieces, by running or performing software program and/or module of the storage in first memory 921, and call storage
Data in second memory 922, perform the various functions and processing data of mobile terminal 900, so as to mobile terminal 900
Carry out integral monitoring.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/
Or the data in the second memory 922, processor 960 is for that ought detect for the first source file in the first file directory
The first predetermined registration operation when, the routing information for obtaining first source file is simultaneously recorded;When detecting for the second file directory
In the second source file the second predetermined registration operation when, the routing information for obtaining second source file is simultaneously recorded;When detecting pin
During to three predetermined registration operation of the 3rd file directory, the routing information of first source file according to record and described the
The routing information of two source files, first source file and second source file respectively replicated or sheared to the described 3rd text
Part catalogue.
Alternatively, processor 960 is additionally operable to:Detecting for the first source file in first file directory
After one predetermined registration operation, if receiving the instruction for closing first file directory, the path of first source file is obtained
Information is simultaneously recorded.
Alternatively, processor 960 is additionally operable to:When detecting for the first source file in first file directory
During one predetermined registration operation, obtain the attribute information in addition to routing information of first source file and record;It is directed to when detecting
During the second predetermined registration operation of the second source file in second file directory, obtain second source file except routing information
Outside attribute information and record.
Alternatively, processor 960 is additionally operable to:When three predetermined registration operation for the 3rd file directory is detected,
The attribute information in addition to routing information of the source file of record is shown;Receive the choosing of each source file for display
Operation is selected, the target source file of selection is determined;Delete the routing information that is recorded for the target source file and except path
Attribute information outside information.
Alternatively, the attribute information includes at least one of:
File type, file size and last modification time.
It can be seen that, the embodiment of the present invention can realize in a paste operation, can be directed to different directories under file
Or file is replicated or sheared, so as to realize the multifile or text across file directory in the way of a paste operation
Duplication, the effect of shearing manipulation of part folder, to avoid repeating, repeat no more here.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be by other
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with
Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. a kind of file management method, it is characterised in that methods described includes:
When the first predetermined registration operation for the first source file in the first file directory is detected, first source file is obtained
Routing information and record;
When the second predetermined registration operation for the second source file in the second file directory is detected, second source file is obtained
Routing information and record;
When three predetermined registration operation for the 3rd file directory is detected, the road of first source file according to record
The routing information of footpath information and second source file, first source file and second source file respectively replicated or cut
It is switched to the 3rd file directory.
2. method according to claim 1, it is characterised in that the routing information of acquisition first source file is simultaneously remembered
The step of record, including:
After the first predetermined registration operation for the first source file in first file directory is detected, if receiving closing
The instruction of first file directory, then obtain the routing information of first source file and record.
3. method according to claim 1, it is characterised in that methods described also includes:
When the first predetermined registration operation for the first source file in first file directory is detected, first source is obtained
The attribute information in addition to routing information of file is simultaneously recorded;
When the second predetermined registration operation for the second source file in second file directory is detected, second source is obtained
The attribute information in addition to routing information of file is simultaneously recorded.
4. method according to claim 3, it is characterised in that the path letter of first source file according to record
The routing information of breath and second source file, first source file and second source file respectively replicated or sheared extremely
Before the step of three file directory, methods described also includes:
When three predetermined registration operation for the 3rd file directory is detected, will record source file except routing information it
Outer attribute information is shown;
The selection operation of each source file for display is received, the target source file of selection is determined;
Delete the routing information and the attribute information in addition to routing information recorded for the target source file.
5. method according to claim 3, it is characterised in that the attribute information includes at least one of:
File type, file size and last modification time.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
First acquisition module, for when the first predetermined registration operation for the first source file in the first file directory is detected,
Obtain the routing information of first source file and record;
Second acquisition module, for when the second predetermined registration operation for the second source file in the second file directory is detected,
Obtain the routing information of second source file and record;
Shear module is replicated, for when three predetermined registration operation for the 3rd file directory is detected, according to record
The routing information of the routing information of first source file and second source file, respectively by first source file and described
Second source file is replicated or sheared to the 3rd file directory.
7. mobile terminal according to claim 6, it is characterised in that first acquisition module includes:
First acquisition submodule, for detecting the first default behaviour for the first source file in first file directory
After work, if receiving the instruction for closing first file directory, obtain the routing information of first source file and remember
Record.
8. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
3rd acquisition module, for working as the first predetermined registration operation detected for the first source file in first file directory
When, obtain the attribute information in addition to routing information of first source file and record;
4th acquisition module, for working as the second predetermined registration operation detected for the second source file in second file directory
When, obtain the attribute information in addition to routing information of second source file and record.
9. mobile terminal according to claim 8, it is characterised in that the mobile terminal also includes:
Display module, for when three predetermined registration operation for the 3rd file directory is detected, the source file that will be recorded
The attribute information in addition to routing information shown;
Determine source file module, the selection operation for receiving each source file for display determines the target source document of selection
Part;
Information module is deleted, for deleting the routing information that is recorded for the target source file and in addition to routing information
Attribute information.
10. mobile terminal according to claim 8, it is characterised in that the attribute information includes at least one of:
File type, file size and last modification time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611075650.8A CN106776882A (en) | 2016-11-25 | 2016-11-25 | A kind of file management method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611075650.8A CN106776882A (en) | 2016-11-25 | 2016-11-25 | A kind of file management method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106776882A true CN106776882A (en) | 2017-05-31 |
Family
ID=58900740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611075650.8A Pending CN106776882A (en) | 2016-11-25 | 2016-11-25 | A kind of file management method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776882A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508880A (en) * | 2011-10-18 | 2012-06-20 | 广东威创视讯科技股份有限公司 | Method for joining files and method for splitting files |
CN103631644A (en) * | 2012-08-24 | 2014-03-12 | 腾讯科技(深圳)有限公司 | File selecting method and device |
CN105306564A (en) * | 2015-10-20 | 2016-02-03 | 浪潮集团有限公司 | Database-based network disk file replication method and server |
CN105843824A (en) * | 2015-02-28 | 2016-08-10 | 深圳市创达天盛智能科技有限公司 | Multi-object copy method and device |
CN105843903A (en) * | 2016-03-23 | 2016-08-10 | 深圳市金立通信设备有限公司 | File management method and terminal |
CN106021614A (en) * | 2016-06-30 | 2016-10-12 | 深圳市金立通信设备有限公司 | File processing method and device |
-
2016
- 2016-11-25 CN CN201611075650.8A patent/CN106776882A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508880A (en) * | 2011-10-18 | 2012-06-20 | 广东威创视讯科技股份有限公司 | Method for joining files and method for splitting files |
CN103631644A (en) * | 2012-08-24 | 2014-03-12 | 腾讯科技(深圳)有限公司 | File selecting method and device |
CN105843824A (en) * | 2015-02-28 | 2016-08-10 | 深圳市创达天盛智能科技有限公司 | Multi-object copy method and device |
CN105306564A (en) * | 2015-10-20 | 2016-02-03 | 浪潮集团有限公司 | Database-based network disk file replication method and server |
CN105843903A (en) * | 2016-03-23 | 2016-08-10 | 深圳市金立通信设备有限公司 | File management method and terminal |
CN106021614A (en) * | 2016-06-30 | 2016-10-12 | 深圳市金立通信设备有限公司 | File processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106681711A (en) | Method for content sharing under split screen mode and mobile terminal | |
CN106681623A (en) | Screenshot picture sharing method and mobile terminal | |
CN106919307B (en) | A kind of text clone method and mobile terminal | |
CN106775252A (en) | The message treatment method and mobile terminal of a kind of mobile terminal | |
CN106959901B (en) | A kind of multipath replicates method of attaching and mobile terminal | |
CN106951141A (en) | The processing method and mobile terminal of a kind of icon | |
CN106528160A (en) | Adding method of application icons and terminal | |
CN106776821B (en) | A kind of album creating method and terminal | |
CN106874046A (en) | The operating method and mobile terminal of a kind of application program | |
CN106648382A (en) | Picture browsing method and mobile terminal | |
CN106776871A (en) | The storage method and mobile terminal of a kind of multimedia file | |
CN106355395A (en) | Payment method and mobile terminal | |
CN106527906A (en) | Picture capture method and mobile terminal | |
CN107506130A (en) | A kind of word delet method and mobile terminal | |
CN107390991A (en) | The processing method and mobile terminal of a kind of sectional drawing | |
CN107643859A (en) | A kind of running status restoration methods and mobile terminal | |
CN106648329A (en) | Application icon display method and mobile terminal | |
CN106293705A (en) | A kind of collecting method and mobile terminal | |
CN106055232A (en) | Message processing method and mobile terminal | |
CN107632854A (en) | A kind of screenshotss processing method and mobile terminal | |
CN106231113A (en) | A kind of Dialing Method and mobile terminal | |
CN107678813A (en) | A kind of switching method and mobile terminal of the theme of desktop icons | |
CN107145369A (en) | The discharging method and mobile terminal of a kind of application program | |
CN106055215A (en) | Event time recording method and mobile terminal | |
CN106936695A (en) | A kind of mail archiving method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |