Summary of the invention
technical matters
In view of this, the technical problem to be solved in the present invention is when using the file manager of external unit or mobile terminal to conduct interviews to this locality storage of mobile terminal, how to search easily file corresponding to certain application program.
solution
In order to solve the problems of the technologies described above, according to one embodiment of the invention, in first aspect, provide a kind of file management method of mobile terminal, comprising:
Determine and pay close attention to application program, wherein, described concern application program comprises the application program of moving on current described mobile terminal or the application program of being selected by user;
According to corresponding relation, determine the storage directory of described concern application program, wherein, described corresponding relation is associated the application program on described mobile terminal with the storage directory of described application program, described storage directory represents for storing by carry out the memory address of the file that described concern application program generates on described mobile terminal;
Show the fileinfo under the storage directory of described concern application program.
In conjunction with first aspect, in the possible embodiment of the first, show the fileinfo under the storage directory of described concern application program, comprising:
The file manager of described mobile terminal is mapped as a subregion by the storage directory of described concern application program, so as external unit can by and described mobile terminal between subregion described in the file transfer channel access set up.
In conjunction with first aspect, in the possible embodiment of the second, show the fileinfo under the storage directory of described concern application program, comprising:
The file manager of described mobile terminal shows the fileinfo under the storage directory of described concern application program.
In conjunction with the first two of first aspect, plant possible embodiment, in the third possible embodiment, before determining the storage directory of described concern application program according to corresponding relation, also comprise:
Obtain the application program and the storage directory that are arranged on described mobile terminal;
Corresponding relation described in information creating based on accessed.
In conjunction with first three of first aspect, plant possible embodiment, in the 4th kind of possible embodiment, also comprise:
Detect the current application program of moving of described mobile terminal; And
The described application program of moving is defined as to described concern application program.
In conjunction with front four kinds of possible embodiments of first aspect, in the 5th kind of possible embodiment, described definite concern application program, comprising:
Show and be arranged on all application programs on described mobile terminal; And
Detect in the given time in the situation that user selected certain application program, selected application program is defined as to described concern application program.
In conjunction with the first five of first aspect, plant possible embodiment, in the 6th kind of possible embodiment, before described definite concern application program, also comprise:
Whether detect the file manager of described mobile terminal opens; Or
Detect described mobile terminal and whether set up file transfer passage with external unit;
And, in the situation that the result of arbitrary above-mentioned detection is to be, start to carry out the step of described definite concern application program.
In conjunction with the first six of first aspect, plant possible embodiment, in the 7th kind of possible embodiment, described file transfer passage is the data transmission channel of support media file transfer protocol (FTP).
In order to solve the problems of the technologies described above, according to further embodiment of this invention, in second aspect, provide a kind of document management apparatus of mobile terminal, comprising:
Concern program determination module, pays close attention to application program for determining, wherein, described concern application program comprises the application program of moving on current described mobile terminal or the application program of being selected by user;
Catalogue determination module, be connected with described concern program determination module, for determine the storage directory of described concern application program according to corresponding relation, wherein, described corresponding relation is associated the application program on described mobile terminal with the storage directory of described application program, described storage directory represents for storing by carry out the memory address of the file that described concern application program generates on described mobile terminal;
File display module, is connected with described catalogue determination module, for showing the fileinfo under the storage directory of described concern application program.
In conjunction with second aspect, in the possible embodiment of the first, described file display module is configured to:
File manager to described mobile terminal sends mapping instruction, so that the file manager of described mobile terminal is mapped as a subregion by the storage directory of described concern application program, thus external unit can by and described mobile terminal between subregion described in the file transfer channel access set up.
In conjunction with second aspect, in the possible embodiment of the second, described file display module is configured to:
To the file manager of described mobile terminal, send idsplay order, so that the file manager of described mobile terminal shows the fileinfo under the storage directory of described concern application program.
In conjunction with the first two of second aspect, plant possible embodiment, in the third possible embodiment, also comprise:
Acquisition module, for obtaining application program and the storage directory being arranged on described mobile terminal;
Creation module, is connected with described acquisition module and described catalogue determination module, for corresponding relation described in the information creating getting based on described acquisition module.
In conjunction with first three of second aspect, plant possible embodiment, in the 4th kind of possible embodiment, also comprise:
Working procedure detection module, is connected with described concern program determination module, for detection of the current application program of moving of described mobile terminal; And
Described concern program determination module is configured to: the described application program of moving is defined as to described concern application program.
Front four kinds of possible embodiments in conjunction with second aspect, in the 5th kind of possible embodiment, also comprise:
Select interface display module, for showing all application programs that are arranged on described mobile terminal; And
Selection procedure detection module, is connected with described selection interface display module, for detection of user, whether from the application program showing by described selection interface display module, has selected certain application program,
And described concern program determination module is configured to: in the situation that described selection procedure detection module detects in the given time user and selected certain application program, selected application program is defined as to described concern application program.
In conjunction with the first five of second aspect, plant possible embodiment, in the 6th kind of possible embodiment, also comprise:
Whether file manager detection module, open for detection of the file manager of described mobile terminal; And
Whether transmission channel detection module, set up file transfer passage with external unit for detection of described mobile terminal,
And, in the situation that arbitrary testing result is to be in described file manager detection module and described transmission channel detection module, start described concern program determination module.
In conjunction with the first six of second aspect, plant possible embodiment, in the 7th kind of possible embodiment, described file transfer passage is the data transmission channel of support media file transfer protocol (FTP).
beneficial effect
By the corresponding relation being associated with the storage directory of described application program according to the application program on described mobile terminal, determine the storage directory of paying close attention to application program, according to the file management method of a kind of mobile terminal of the present invention and device, can make user find very easily file corresponding to certain application program, by the file manager in mobile terminal, show the file that this application program is corresponding, or by external device access and show the file that this application program is corresponding.
According to below with reference to accompanying drawing to detailed description of illustrative embodiments, it is clear that further feature of the present invention and aspect will become.
Embodiment
Below with reference to accompanying drawing, describe various exemplary embodiments of the present invention, feature and aspect in detail.The identical same or analogous element of Reference numeral presentation function in accompanying drawing.Although the various aspects of embodiment shown in the drawings, unless otherwise indicated, needn't draw accompanying drawing in proportion.
Here special-purpose word " exemplary " means " as example, embodiment or illustrative ".Here as " exemplary " illustrated any embodiment, needn't be interpreted as being better than or being better than other embodiment.
In addition, for better explanation the present invention, in embodiment below, provided numerous details.It will be appreciated by those skilled in the art that and there is no these details, the present invention can implement equally.In other example, the method for knowing for everybody, means, element and circuit are not described in detail, so that highlight purport of the present invention.
As described in the background section, due to a large amount of application programs being installed on mobile terminal, and each application program storage directory title separately does not adopt Chinese character to avoid showing mess code conventionally, and it is very inconvenient that this makes to search file corresponding to certain application program.In view of this, the inventor proposes originally, can determine the storage directory of paying close attention to application program by the corresponding relation based on the application program on mobile terminal is associated with the storage directory of described application program, thereby facilitate user to search the file corresponding with paying close attention to application program.
Based on above inventive concept, according to an aspect of the present invention, provide a kind of file management method of mobile terminal, it comprises: determine and pay close attention to application program, wherein, described concern application program comprises the application program of moving on current described mobile terminal or the application program of being selected by user; According to corresponding relation, determine the storage directory of described concern application program, wherein, described corresponding relation represents for storing by carry out the memory address of the file that described concern application program generates on described mobile terminal for representing the corresponding relation that all application programs on described mobile terminal are associated with storage directory, described storage directory; Show the fileinfo under the storage directory of described concern application program.
Hereinafter with reference to accompanying drawing, introduce in detail the various specific implementations of foregoing invention design of the present invention.
embodiment 1
Fig. 1 illustrates the process flow diagram of the file management method of mobile terminal according to an embodiment of the invention.As shown in Figure 1, the method mainly comprises:
Whether the file manager of step S101, detection mobile terminal is opened; Wherein, the file manager of described mobile terminal is mainly used in the file resource in managing mobile terminal conventionally, and these file resources include but not limited to the file that is created, edited by the application program being arranged in mobile terminal.In the situation that the file manager of mobile terminal detected, open, carry out following steps.
Step S102, definite application program of paying close attention to, wherein, pay close attention to application program and comprise the current application program of just moving or the application program of being selected by user on this mobile terminal.
Step S103, according to corresponding relation, determine the storage directory of described concern application program, wherein, described corresponding relation is associated the application program on described mobile terminal with the storage directory of described application program, described storage directory represents for storing by carry out the memory address of the file that described concern application program generates on described mobile terminal.
In a kind of possible embodiment, before step S103, also comprise: obtain the application program and the storage directory that are arranged on mobile terminal; And this corresponding relation of the information creating based on accessed.
Obtain the mode of the storage directory that is arranged on the application program on mobile terminal, can comprise: from the local storage directory that extracts application program of mobile terminal.For example, when mobile terminal, the beautiful figure show of application program show has been installed, can have extracted MTXX catalogue corresponding to beautiful figure show show from mobile terminal.The embodiment of the present invention can also be from supporting the webserver of the file management method of the embodiment of the present invention to obtain the storage directory of this application program.This webserver information can constantly be carried out updating maintenance, guarantees that the corresponding relation of application program and its catalogue can be acquired.For example, user is when the beautiful figure of set up applications is elegant, and the correspondence relationship information that U.S. can be schemed to elegant and catalogue MTXX uploads to the server of the file management method of supporting the embodiment of the present invention.When carrying out this step, the title of application program can be sent to this server, to obtain the storage directory of this application program based on this correspondence relationship information of preserving in this server, and be updated to this locality.And, after getting the corresponding relation of application program beautiful figure show show and its storage directory MTXX, in this mobile terminal, create the mapping table that records this corresponding relation.
In step S102, U.S.A is schemed to the elegant application program that is defined as paying close attention to, in step S103, the corresponding relation according to U.S. figure show show of recording in mapping table with its storage directory MTXX, determines the beautiful elegant storage directory MTXX of show that schemes.
The file manager of step S104, mobile terminal shows the fileinfo under the storage directory of paying close attention to application program.
The beautiful figure of the application program of still take is elegant is example, the elegant storage directory MTXX of U.S. figure definite in step S103 is sent to the file manager of mobile terminal, and the file manager of mobile terminal shows the fileinfo in MTXX.
In a kind of possible embodiment, in step S102, mobile terminal can be determined concern application program in real time.For example, the current application A of moving can switch to application program B, or the application program of being selected by user changes to B by A, mobile terminal can redefine concern application program in real time, according to the change of paying close attention to application program, redefine storage directory, send to file manager, by file manager, shown the fileinfo under the storage directory of paying close attention to application program.
The file management method of the mobile terminal providing according to the embodiment of the present invention, can make user find very easily file corresponding to certain application program, and shows the fileinfo under the storage directory of paying close attention to application program by the file manager of mobile terminal.
embodiment 2
Fig. 2 illustrates the process flow diagram of the file management method of mobile terminal according to another embodiment of the present invention.As shown in Figure 2, the method mainly comprises:
Whether step S201, detection mobile terminal have set up file transfer passage with external unit.
This document transmission channel can be support media host-host protocol (English: Media Transfer Protocol, abbreviation: data transmission channel MTP).MTP is based on picture transfer protocol (English: Picture Transfer Protocol, abbreviation: expansion PTP), be mainly used in transmission medium file, MTP can realize at USB (universal serial bus) (English: Universal Serial Bus, abbreviation USB) upper, for example, detect and whether set up USB connection, after setting up USB connection, detect the MTP equipment of whether selecting.PC can conduct interviews to the memory card contents of mobile phone by MTP mode,, on PC, after whole pictures, audio frequency or video file on mobile phone memory card are arranged separately, lists.Like this, user can see by PC the storage directory of mobile phone memory card, and file is wherein carried out to read-write operation.
The embodiment of the present invention for be in the situation that, is carried out following step in above-mentioned detection.
In step S202-step S203 and embodiment 1, step S102-step S103 is similar, does not repeat them here.
Step S204, the storage directory of this concern application program is sent to the file manager of mobile terminal, the file manager of mobile terminal is mapped as a subregion by the storage directory of paying close attention to application program, so as external unit can by and mobile terminal between subregion described in the file transfer channel access set up.
For example, the elegant corresponding storage directory MXTT of U.S. figure definite in step S203 is sent to file manager, by file manager, this storage directory is mapped as to a subregion, for example can adopt user's space file system (English: Filesystem in Userspace, abbreviation: FUSE) or safe digital card (English: Secure Digital Memory Card, abbreviation: alternative document system SD card), is mapped as a subregion by this storage directory.External unit, as personal computer (English: personal computer, abbreviation: PC) can access this subregion by MTP.
In a kind of possible implementation, mobile terminal can be mapped as the catalogue of whole built-in SD card a subregion, and the storage directory of paying close attention to application program is mapped as to another independent subregion.For example, in two subregions of mobile terminal mapping, one is the subregion of the whole catalogue of corresponding built-in SD card, and another is the subregion of corresponding MTXX catalogue.In the possible implementation of another kind, user can select only the storage directory of paying close attention to application program to be mapped as to a subregion.For example, only shine upon the subregion of corresponding MTXX catalogue.
In another possible embodiment, in step S202, mobile terminal can be determined concern application program in real time.For example, the current application A of moving can switch to application program B, or the application program of being selected by user becomes B from A, mobile terminal can redefine concern application program in real time, according to the change of paying close attention to application program, redefine storage directory, send to file manager, by the file manager subregion that remaps.
In conjunction with the embodiments 1 with embodiment 2, in another possible embodiment, can be simultaneously by file manager, show the fileinfo under the storage directory of paying close attention to application program, by PC, show the fileinfo under this storage directory again.
The file management method of the mobile terminal providing according to the embodiment of the present invention, can make user find very easily file corresponding to certain application program, and is shown and accessed file corresponding to this application program by PC.
embodiment 3
Fig. 3 is illustrated in the process flow diagram of determining concern application program in a kind of possible specific implementation.As shown in Figure 3, determine that the step of concern application program is the step S102 in embodiment 1, specifically can comprise:
Step S301, the current application program of moving of detection mobile terminal;
In conjunction with the embodiments 1 and embodiment 2 described in the file manager of detection mobile terminal whether open; And detect mobile terminal and whether set up file transfer passage with external unit; In the situation that the result of arbitrary above-mentioned detection is to be, detect the current application program of moving of mobile terminal.For example, the beautiful figure that running application on mobile terminal detected elegant, wherein, beautiful figure is elegant can be to open before setting up file transfer passage at mobile terminal file opening manager or with external unit, and be detected in this step, also can be to open after setting up file transfer passage at mobile terminal file opening manager or with external unit, and be detected in this step.If mobile phone detected in such as public interfaces such as main interfaces, represent that user does not need to shine upon separately the corresponding catalogue of certain application program, no longer carries out following steps.
Step S302, the application program of moving is defined as paying close attention to application program.
For example, the U.S.A detecting in step S301 is schemed to the elegant application program that is defined as paying close attention to.
embodiment 4
Fig. 4 is illustrated in another kind of possible specific implementation and determines the process flow diagram of paying close attention to application program.As shown in Figure 4, determine that the step of concern application program is the step S102 in embodiment 1, specifically can comprise:
Step S401, demonstration are arranged on all application programs on mobile terminal;
In conjunction with the embodiments 1 and embodiment 2 described in the file manager of detection mobile terminal whether open; And detect mobile terminal and whether set up file transfer passage with external unit; In the situation that the result of arbitrary above-mentioned detection is to be, with the form demonstration of list, be arranged on the title of all application programs on this mobile terminal.
Step S402, detect in the situation that user selected certain application program in the given time, selected application program is defined as to described concern application program.
For example, user chooses the beautiful figure of application program elegant from list, and mobile terminal is schemed the elegant application program that is defined as concern by U.S.A.In this step, if user does not select application program in the given time, represent that user does not need to shine upon separately the corresponding catalogue of certain application program.
embodiment 5
The structural representation of the document management apparatus of the mobile terminal providing according to one embodiment of the invention is provided Fig. 5.As shown in Figure 5, this device 10 mainly comprises: pay close attention to program determination module 110, catalogue determination module 120, file display module 130.
Concern program determination module 110, pays close attention to application program for determining, wherein, pays close attention to application program and comprise the current application program of just moving or the application program of being selected by user on mobile terminal;
Catalogue determination module 120, be connected with the program of concern determination module 110, for determine the storage directory of paying close attention to application program according to corresponding relation, wherein, corresponding relation is associated the application program on mobile terminal with the storage directory of application program, storage directory represents for storing by the memory address of the file that execution concern application program generates on mobile terminal;
File display module 130, is connected with catalogue determination module 120, for showing the fileinfo under the storage directory of paying close attention to application program.
In a kind of possible embodiment, file display module 130 is configured to: the file manager to mobile terminal sends mapping instruction, so that the file manager of mobile terminal is mapped as a subregion by the storage directory of paying close attention to application program, thus external unit can by and mobile terminal between this subregion of file transfer channel access of setting up.
In the possible embodiment of another kind, file display module 130 is configured to: the file manager to mobile terminal sends idsplay order, so that the file manager of mobile terminal shows the fileinfo under the storage directory of paying close attention to application program.
In another possible embodiment, the document management apparatus 10 of mobile terminal also comprises: acquisition module 140, creation module 150.
Acquisition module 140, for obtaining application program and the storage directory being arranged on this mobile terminal;
Creation module 150, is connected with acquisition module 140 and catalogue determination module 120, for corresponding relation described in the information creating getting based on acquisition module 140.
In lower a kind of possible embodiment, the document management apparatus 10 of mobile terminal also comprises: working procedure detection module 170.
Working procedure detection module 170 is for detection of the current application program of moving of mobile terminal; And the program of concern determination module 110 is configured to: the described application program of moving is defined as to described concern application program.
In lower a kind of possible embodiment, the document management apparatus 10 of mobile terminal also comprises: select interface display module 180, selection procedure detection module 190.
Select interface display module 180, be connected with the program of concern determination module 110, for showing all application programs that are arranged on described mobile terminal; And selection procedure detection module 190, be connected with selecting interface display module 180 and the program of concern determination module 110, for detection of user, whether from the application program by selecting interface display module 180 to show, selected certain application program, and, concern program determination module 110 is configured to: in the situation that selection procedure detection module 190 detects in the given time user and selected certain application program, selected application program is defined as to described concern application program.
In lower a kind of possible embodiment, the document management apparatus 10 of mobile terminal also comprises: file manager detection module 210, transmission channel detection module 220.
Whether file manager detection module 210, open for detection of the file manager of mobile terminal; And
Whether transmission channel detection module 220, set up file transfer passage with external unit for detection of mobile terminal,
And, in the situation that arbitrary testing result is to be in file manager detection module 210 and transmission channel detection module 220, start concern program determination module 110.
The document management apparatus of the mobile terminal providing according to the embodiment of the present invention, can make user find very easily file corresponding to certain application program, by the file manager in mobile terminal, show the file that this application program is corresponding, or show and access file corresponding to this application program by PC.
embodiment 6
Fig. 6 shows the structured flowchart of document management apparatus of a kind of mobile terminal of an alternative embodiment of the invention.The document management apparatus 1100 of described mobile terminal can be host server, personal computer PC or portable portable computer or the terminal etc. that possess computing power.The specific embodiment of the invention does not limit the specific implementation of computing node.
The described network equipment 1100 comprises processor (processor) 1110, communication interface (Communications Interface) 1120, storer (memory) 1130 and bus 1140.Wherein, processor 1110, communication interface 1120 and storer 1130 complete mutual communication by bus 1140.
Communication interface 1120 is for communicating by letter with the network equipment, and wherein the network equipment comprises such as Virtual Machine Manager center, shares storage etc.
Processor 1110 is for executive routine.Processor 1110 may be a central processor CPU, or application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or is configured to implement one or more integrated circuit of the embodiment of the present invention.
Storer 1130 is for storing documents.Storer 1130 may comprise high-speed RAM storer, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.Storer 1130 can be also memory array.Storer 1130 also may be by piecemeal, and described can become virtual volume by certain principle combinations.
In a kind of possible embodiment, the said procedure of depositing in storer 1130 can be the program code that comprises computer-managed instruction.And processor 1110, by carrying out this program, specifically can be used for:
Determine and pay close attention to application program, wherein, described concern application program comprises the application program of moving on current described mobile terminal or the application program of being selected by user;
According to corresponding relation, determine the storage directory of described concern application program, wherein, described corresponding relation is associated the application program on described mobile terminal with the storage directory of described application program, described storage directory represents for storing by carry out the memory address of the file that described concern application program generates on described mobile terminal;
Show the fileinfo under the storage directory of described concern application program.
In a kind of possible embodiment, show the fileinfo under the storage directory of described concern application program, comprising:
The file manager of described mobile terminal is mapped as a subregion by the storage directory of described concern application program, so as external unit can by and described mobile terminal between subregion described in the file transfer channel access set up.
In a kind of possible embodiment, show the fileinfo under the storage directory of described concern application program, comprising:
The file manager of described mobile terminal shows the fileinfo under the storage directory of described concern application program.
In a kind of possible embodiment, before determining the storage directory of described concern application program according to corresponding relation, this program also comprises:
Obtain the application program and the storage directory that are arranged on described mobile terminal;
Corresponding relation described in information creating based on accessed.
In a kind of possible embodiment, this program also comprises:
Detect the current application program of moving of described mobile terminal; And
The described application program of moving is defined as to described concern application program.
In a kind of possible embodiment, described definite concern application program, comprising:
Show and be arranged on all application programs on described mobile terminal; And
Detect in the given time in the situation that user selected certain application program, selected application program is defined as to described concern application program.
In a kind of possible embodiment, before described definite concern application program, this program also comprises:
Whether detect the file manager of described mobile terminal opens; Or
Detect described mobile terminal and whether set up file transfer passage with external unit;
And, in the situation that the result of arbitrary above-mentioned detection is to be, start to carry out the step of described definite concern application program.
In a kind of possible embodiment, described file transfer passage is the data transmission channel of support media file transfer protocol (FTP).
Those of ordinary skills can recognize, each exemplary cell and algorithm steps in embodiment described herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions realize with hardware or form of software actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function for specific application choice diverse ways, but this realization should not thought and exceeds scope of the present invention.
If the form of computer software of usining realizes described function and as production marketing independently or while using, can think to a certain extent that all or part of (part for example prior art being contributed) of technical scheme of the present invention is with the form embodiment of computer software product.This computer software product is stored in the non-volatile memory medium of embodied on computer readable conventionally, comprises that some instructions are used so that computer equipment (can be personal computer, server or the network equipment etc.) is carried out all or part of step of various embodiments of the present invention method.And aforesaid storage medium comprises the various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection domain with claim.