CN106528690B - A kind of method and mobile terminal of application program accessing storage media - Google Patents
A kind of method and mobile terminal of application program accessing storage media Download PDFInfo
- Publication number
- CN106528690B CN106528690B CN201610940753.XA CN201610940753A CN106528690B CN 106528690 B CN106528690 B CN 106528690B CN 201610940753 A CN201610940753 A CN 201610940753A CN 106528690 B CN106528690 B CN 106528690B
- Authority
- CN
- China
- Prior art keywords
- path
- mapping
- access
- application program
- default
- 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.)
- Active
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/13—File access structures, e.g. distributed indices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present invention provides the method and mobile terminal of a kind of application program accessing storage media, and wherein method includes: to receive the first access request of application program accessing storage media;Obtain the first access path for including in first access request;Judge the first mapping path corresponding with first access path whether has been recorded in default mapping table, the default mapping table is used for the mapping relations in record access path and mapping path;If record has first mapping path in the default mapping table, the application program is controlled according to first mapping path and accesses the storaging medium.In this way, method of the embodiment of the present invention by using mapping, the file created in storaging medium to application program are managed concentratedly, the purpose for making the file structure in storaging medium keep succinct is realized.
Description
Technical field
The present invention relates to the methods and movement of field of communication technology more particularly to a kind of application program accessing storage media eventually
End.
Background technique
Existing mobile terminal allows application program free access storaging medium to deposit as application program installation number increases
File directory quantity in storage medium is continuously increased, and document directory structure is also all the more complicated.In addition, major applications program is created
The file directory built does not have feature significantly related with the application program.In this way, user if desired locating file or file
Folder, then need to take a substantial amount of time.As it can be seen that there are document directory structures to answer for the method for application program accessing storage media at present
Problem miscellaneous, search efficiency is low.
Summary of the invention
The embodiment of the present invention provides the method and mobile terminal of a kind of application program accessing storage media, mobile whole to solve
The method for holding existing application program accessing storage media has that document directory structure is complicated, search efficiency is low.
In a first aspect, the embodiment of the invention provides a kind of methods of application program accessing storage media, comprising:
Receive the first access request of application program accessing storage media;
Obtain the first access path for including in first access request;
Judge whether recorded the first mapping path corresponding with first access path in default mapping table, it is described
Default mapping table is used for the mapping relations in record access path and mapping path;
If record has first mapping path in the default mapping table, the application program is controlled according to described the
One mapping path accesses the storaging medium.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, comprising:
Receiving module, for receiving the first access request of application program accessing storage media;
Module is obtained, for obtaining the include in received first access request of the receiving module first access road
Diameter;
Judgment module, for judging that whether recording obtain with the acquisition module described first in default mapping table visits
Corresponding first mapping path of diameter of asking the way, mapping of the default mapping table for record access path and mapping path are closed
System;
First execution module, if thering is described first to reflect for record in the default mapping table of judgment module judgement
Rays diameter then controls the application program according to first mapping path and accesses the storaging medium.
In this way, receiving the first access request of application program accessing storage media in the embodiment of the present invention;Obtain described
The first access path for including in one access request;Judge whether recorded and the first access path phase in default mapping table
Corresponding first mapping path, the default mapping table are used for the mapping relations in record access path and mapping path;If described
Record has first mapping path in default mapping table, then controls the application program and accessed according to first mapping path
The storaging medium.In this way, method of the embodiment of the present invention by using mapping, creates application program in storaging medium
File managed concentratedly, realize the purpose for making the file structure in storaging medium keep succinct.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Take other attached drawings.
Fig. 1 is the flow chart of the method for the application program accessing storage media that first embodiment of the invention provides;
Fig. 2 is the flow chart of the method for the application program accessing storage media that second embodiment of the invention provides;
Fig. 3 is the flow chart of the method for the application program accessing storage media that third embodiment of the invention provides;
Fig. 4 is the flow chart of the method for the application program accessing storage media that fourth embodiment of the invention provides;
Fig. 5 is the schematic diagram of the method for the application program accessing storage media that fifth embodiment of the invention provides;
Fig. 5-1 is the structure chart for the mapping table that fifth embodiment of the invention provides;
Fig. 5-2 is the structure chart for the mapping directory that fifth embodiment of the invention provides;
Fig. 6 is one of the structure chart of mobile terminal that sixth embodiment of the invention provides;
Fig. 7 is one of the structure chart of mobile terminal that sixth embodiment of the invention provides;
Fig. 8 is the three of the structure chart for the mobile terminal that sixth embodiment of the invention provides;
Fig. 9 is the four of the structure chart for the mobile terminal that sixth embodiment of the invention provides;
Figure 10 is the five of the structure chart for the mobile terminal that sixth embodiment of the invention provides;
Figure 11 is the structure chart for the mobile terminal that seventh embodiment of the invention provides;
Figure 12 is the structure chart for the mobile terminal that eighth embodiment of the invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, those of ordinary skill in the art's acquired every other implementation without creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
It is the flow chart of the method for application program accessing storage media provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, such as
Shown in Fig. 1, method includes the following steps:
Step 101, the first access request for receiving application program accessing storage media.
In the embodiment of the present invention, mobile terminal can receive any application program access storage installed on mobile terminal
The access request of medium, wherein storaging medium can be the memory that mobile terminal itself configures, and be also possible to SD card (Secure
Digital Memory Card) etc. extensions storaging medium.
Above-mentioned access request can be the access request that data are arbitrarily written in application program in storaging medium, such as newly-built
File, write-in file etc., the access request of data, etc. being also possible in level of application reading storaging medium.Generally
Come, access request includes but is not limited to access path, access intention (including read or be written).
In the step, mobile terminal can receive the first access request of application program accessing storage media.
Step 102 obtains the first access path for including in first access request.
In the embodiment of the present invention, mobile terminal can be asked according to the access of the application program accessing storage media received
It asks, obtains the access path for including in the access request.Wherein, access path means that application program it is expected in the access request
The path of access.
In the step, include in the first access request for receiving in the available step 101 of mobile terminal first is visited
It asks the way diameter.
Step 103 judges the first mapping corresponding with first access path whether has been recorded in default mapping table
Path, the default mapping table are used for the mapping relations in record access path and mapping path.
In the embodiment of the present invention, mobile terminal can preset a mapping table in storaging medium, and mobile terminal can
With will be present corresponding relationship access path and mapping path be stored in the mapping table same record in, make access path with
Mapping path forms one-to-one relationship, in order to retrieval and inquisition and link guidance.It is to be understood that mapping path is according to visit
It asks the way diameter, it is absolute path that being actually used in for being created, which provides the path of application program access,;And access path be can not be real
The path of border access, is relative path.
In the step, mobile terminal can search above-mentioned mapping table according to the first access path acquired in step 102
In whether record the first mapping path corresponding with the first access path.
If record has first mapping path in step 104, the default mapping table, the application program root is controlled
The storaging medium is accessed according to first mapping path.
In the step, if record has the first mapping path corresponding with the first access path, table in above-mentioned mapping table
Showing has file or folder pointed by first mapping path in the storaging medium of mobile terminal, it is seen then that mobile terminal can
To control application program accessing storage media according to first mapping path.
In the embodiment of the present invention, above-mentioned mobile terminal can be any equipment with storaging medium, such as: mobile phone is put down
Plate computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant
(personal digital assistant, abbreviation PDA), mobile Internet access electronic equipment (Mobile Internet Device,
MID), wearable device (Wearable Device) etc..
The method of the application program accessing storage media of the embodiment of the present invention receives the of application program accessing storage media
One access request;Obtain the first access path for including in first access request;Judge whether record in default mapping table
There is the first mapping path corresponding with first access path, the default mapping table is for record access path and mapping
The mapping relations in path;If record has first mapping path in the default mapping table, the application program root is controlled
The storaging medium is accessed according to first mapping path.In this way, method of the embodiment of the present invention by using mapping, to application
The file that program is created in storaging medium is managed concentratedly, and realizing makes the file structure in storaging medium keep succinct
Purpose.
Second embodiment
Referring to fig. 2, Fig. 2 is the flow chart of the method for application program accessing storage media provided in an embodiment of the present invention, such as
Shown in Fig. 2, method includes the following steps:
Step 201, the first access request for receiving application program accessing storage media.
In the embodiment of the present invention, mobile terminal can receive any application program access storage installed on mobile terminal
The access request of medium, wherein storaging medium can be the memory that mobile terminal itself configures, and be also possible to SD card (Secure
Digital Memory Card) etc. extensions storaging medium.
Above-mentioned access request can be the access request that data are arbitrarily written in application program in storaging medium, such as newly-built
File, write-in file etc., the access request of data, etc. being also possible in level of application reading storaging medium.Generally
Come, access request includes but is not limited to access path, access intention (including read or be written).
In the step, mobile terminal can receive the first access request of application program accessing storage media.
Step 202 obtains the first access path for including in first access request.
In the embodiment of the present invention, mobile terminal can be asked according to the access of the application program accessing storage media received
It asks, obtains the access path for including in the access request.Wherein, access path means that application program it is expected in the access request
The path of access.
In the step, include in the first access request for receiving in the available step 201 of mobile terminal first is visited
It asks the way diameter.
Step 203 judges the first mapping corresponding with first access path whether has been recorded in default mapping table
Path, the default mapping table are used for the mapping relations in record access path and mapping path.
In the embodiment of the present invention, mobile terminal can preset a mapping table in storaging medium, and mobile terminal can
With will be present corresponding relationship access path and mapping path be stored in the mapping table same record in, make access path with
Mapping path forms one-to-one relationship, in order to retrieval and inquisition and link guidance.It is to be understood that mapping path is according to visit
It asks the way diameter, it is absolute path that being actually used in for being created, which provides the path of application program access,;And access path be can not be real
The path of border access, is relative path.
In the step, mobile terminal can search above-mentioned mapping table according to the first access path acquired in step 202
In whether record the first mapping path corresponding with the first access path.
If record has first mapping path in step 204, the default mapping table, the application program root is controlled
The storaging medium is accessed according to first mapping path.
In the step, if record has the first mapping path corresponding with the first access path, table in above-mentioned mapping table
Showing has file or folder pointed by first mapping path in the storaging medium of mobile terminal, it is seen then that mobile terminal can
To control application program accessing storage media according to first mapping path.
If first mapping path is not recorded in step 205, the default mapping table, and first access request is
When the request of data is written, then the second mapping path corresponding with first access path is created.
In the step, if the first mapping path corresponding with the first access path, table are not recorded in above-mentioned mapping table
Show do not have file or folder pointed by first mapping path in the storaging medium of mobile terminal.At this point, can also be after
It is continuous to judge whether the first access request is when the request of data is written.For the access request of data is written, mobile terminal
Second mapping path corresponding with the first access path can be first created in storaging medium.
Step 206 records reflecting for first access path and second mapping path in the default mapping table
Penetrate relationship.
In the step, the second mapping path created in step 205 can be recorded in mapping table by mobile terminal, i.e.,
The mapping relations of the first access path Yu the second mapping path are recorded, in the mapping table to realize the new text to application program creation
The management of part or file.
Step 207, the control application program access the storaging medium according to second mapping path.
In the step, mobile terminal can be according to the second mapping path control application program access created in step 205
Storaging medium.
The method of the application program accessing storage media of the embodiment of the present invention receives the of application program accessing storage media
One access request;Obtain the first access path for including in first access request;Judge whether record in default mapping table
There is the first mapping path corresponding with first access path, the default mapping table is for record access path and mapping
The mapping relations in path;If record has first mapping path in the default mapping table, the application program root is controlled
The storaging medium is accessed according to first mapping path;If first mapping path is not recorded in the default mapping table,
And first access request is then to create the second mapping corresponding with first access path when request of data is written
Path;The mapping relations of first access path Yu second mapping path are recorded in the default mapping table;Control
The application program accesses the storaging medium according to second mapping path.In this way, the embodiment of the present invention is by using reflecting
The method penetrated, the file created in storaging medium to application program are managed concentratedly, and realizing makes in storaging medium
File structure keeps succinct purpose.
3rd embodiment
It is the flow chart of the method for application program accessing storage media provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, such as
Shown in Fig. 3, method includes the following steps:
Step 301, the first access request for receiving application program accessing storage media.
In the embodiment of the present invention, mobile terminal can receive any application program access storage installed on mobile terminal
The access request of medium, wherein storaging medium can be the memory that mobile terminal itself configures, and be also possible to SD card (Secure
Digital Memory Card) etc. extensions storaging medium.
Above-mentioned access request can be the access request that data are arbitrarily written in application program in storaging medium, such as newly-built
File, write-in file etc., the access request of data, etc. being also possible in level of application reading storaging medium.Generally
Come, access request includes but is not limited to that the packet name, access path, access of application program are intended to (including read or be written).
In the step, mobile terminal can receive the first access request of application program accessing storage media.
Step 302, the first packet name for obtaining the application program for including in first access request and the first access
Path.
In the embodiment of the present invention, mobile terminal can be asked according to the access of the application program accessing storage media received
It asks, obtains the packet name and access path of the application program for including in the access request.Wherein, packet name is the unique body of application program
Part identification title, each application program have its corresponding unique packet name, and access path means that application program is asked in the access
Ask the path of middle expectation access.
In the step, the first packet for including in the first access request for being received in the available step 301 of mobile terminal
Name and the first access path.
Step 303 judges the first mapping for whether having comprising the first packet name in the mapping directory of default mapping table
Catalogue, the mapping directory are used to record the mapping relations of packet name, access path and mapping path, and the default mapping table includes
At least one mapping directory.
As the function of mobile terminal is stronger and stronger, the application program installed on mobile terminal is more and more, stores matchmaker
The number of files stored in Jie is various, correspondingly, the mapping relations recorded in mapping table are also many.Consider factors above,
It, can be according to the packet name of application program, by the mapping relations recorded in mapping table according to application program in the embodiment of the present invention
Packet name is classified, and multiple mapping directories associated with the packet name of application program are formed, and correspondence can will be present in mobile terminal
The access path and mapping path of relationship are stored in some mapping directory of the mapping table, in order to faster retrieval and inquisition
It is guided with link.
In the step, mobile terminal can be searched in above-mentioned mapping table according to the first packet name acquired in step 302 is
It is no that there is the first mapping directory corresponding with the first packet name.
If having first mapping directory in step 304, the mapping directory, judge in first mapping directory
Whether record has the first mapping path corresponding with first access path.
In the step, if mobile terminal, which is found, has the first mapping directory in mapping table, continue to judge the first mapping
Whether with first access path corresponding first mapping path has been recorded in catalogue.
If record has first mapping path in step 305, first mapping directory, the application program is controlled
The storaging medium is accessed according to first mapping path.
In the step, if record has the first mapping corresponding with the first access path road in above-mentioned first mapping directory
Diameter, then it represents that there is file or folder pointed by first mapping path in the storaging medium of mobile terminal, it is seen then that mobile
Terminal can control application program accessing storage media according to first mapping path.
It should be noted that the embodiment of the present invention can also second embodiment as shown in connection with fig. 2 implement, in order to avoid weight
It is multiple, this is not repeated.
The method of the application program accessing storage media of the embodiment of the present invention receives the of application program accessing storage media
One access request;Obtain the first access path for including in first access request;Judge the mapping directory of default mapping table
In whether have the first mapping directory comprising the first packet name, the mapping directory for record packet name, access path with
The mapping relations of mapping path, the default mapping table include at least one mapping directory;If having institute in the mapping directory
The first mapping directory is stated, then judges whether recorded corresponding with first access path in first mapping directory
One mapping path;If in first mapping directory record have first mapping path, control the application program according to
First mapping path accesses the storaging medium.In this way, the embodiment of the present invention by by mapping table according to application program
Packet name is divided into the method for multiple mapping directories, and the file created in storaging medium to application program further quickly collects
Middle management realizes the purpose for making the file structure in storaging medium keep succinct.
Fourth embodiment
Referring to fig. 4, Fig. 4 is the flow chart of the method for application program accessing storage media provided in an embodiment of the present invention, such as
Shown in Fig. 4, method includes the following steps:
Step 401, the first access request for receiving application program accessing storage media.
In the embodiment of the present invention, mobile terminal can receive any application program access storage installed on mobile terminal
The access request of medium, wherein storaging medium can be the memory that mobile terminal itself configures, and be also possible to SD card (Secure
Digital Memory Card) etc. extensions storaging medium.
Above-mentioned access request can be the access request that data are arbitrarily written in application program in storaging medium, such as newly-built
File, write-in file etc., the access request of data, etc. being also possible in level of application reading storaging medium.Generally
Come, access request includes but is not limited to access path, access intention (including read or be written).
In the step, mobile terminal can receive the first access request of application program accessing storage media.
Step 402 obtains the first access path for including in first access request.
In the embodiment of the present invention, mobile terminal can be asked according to the access of the application program accessing storage media received
It asks, obtains the access path for including in the access request.Wherein, access path means that application program it is expected in the access request
The path of access.
In the step, include in the first access request for receiving in the available step 401 of mobile terminal first is visited
It asks the way diameter.
Step 403 judges the first mapping corresponding with first access path whether has been recorded in default mapping table
Path, the default mapping table are used for the mapping relations in record access path and mapping path.
In the embodiment of the present invention, mobile terminal can preset a mapping table in storaging medium, and mobile terminal can
With will be present corresponding relationship access path and mapping path be stored in the mapping table same record in, make access path with
Mapping path forms one-to-one relationship, in order to retrieval and inquisition and link guidance.It is to be understood that mapping path is according to visit
It asks the way diameter, it is absolute path that being actually used in for being created, which provides the path of application program access,;And access path be can not be real
The path of border access, is relative path.
In the step, mobile terminal can search above-mentioned mapping table according to the first access path acquired in step 402
In whether record the first mapping path corresponding with the first access path.
If record has first mapping path in step 404, the default mapping table, the application program root is controlled
The storaging medium is accessed according to first mapping path.
In the step, if record has the first mapping path corresponding with the first access path, table in above-mentioned mapping table
Showing has file or folder pointed by first mapping path in the storaging medium of mobile terminal, it is seen then that mobile terminal can
To control application program accessing storage media according to first mapping path.
If first mapping path is not recorded in step 405, the default mapping table, and first access request is
When the request of data is written, create with the application-specific path of the name nominating of the application program.
In the embodiment of the present invention, if the first mapping corresponding with the first access path road is not recorded in above-mentioned mapping table
Diameter, then it represents that do not have file or folder pointed by first mapping path in the storaging medium of mobile terminal.At this point, also
It can continue to judge whether the first access request is when the request of data is written.For the access request of data is written, move
Dynamic terminal can first create second mapping path corresponding with the first access path in storaging medium.
It is mobile in order to make the file of each application program creation is corresponding to be stored in corresponding region in the step
The application-specific path that terminal can be created with the name nominating of application program.For example, for application program 1, Ke Yi
The path of application program 1/ ... is created in storaging medium.
Step 406, creation corresponding with first access path second is reflected under the application-specific path
Rays diameter.
In the step, mobile terminal can create corresponding with the first access path under application-specific path
Two mapping paths.For example, application program 1/Pack1/ can be created for access path/Pack1/Data1 of application program 1
The path of Data1.
Step 407, described first recorded under the application-specific path in the default mapping table access road
The mapping relations of diameter and second mapping path.
In the step, the second mapping path created in a step 406 can be recorded in mapping table by mobile terminal, i.e.,
The mapping relations of the first access path and the second mapping path under the application-specific path are recorded, in the mapping table with reality
Now to the management of the new file or folder of application program creation.
Step 408, the control application program access the storaging medium according to second mapping path.
In the step, mobile terminal can be according to the second mapping path control application program access created in step 406
Storaging medium.
Optionally, the method also includes: if the application program unload, delete in the application-specific path
The mapping path of lower creation;Delete access path under the application-specific path recorded in the default mapping table with
The mapping relations of mapping path.
In embodiment of the present invention, by the creation in step 405 with the application journey of the name nominating of the application program
The exclusive path of sequence, it may also be used for be easily used for the unloading of supervision application program: when application program is unloaded, deleting automatically
Except all data corresponding under application-specific path, including file and file, to reach complete deletion, automatic cleaning
To discharge the purpose of memory space.
The method of the application program accessing storage media of the embodiment of the present invention receives the of application program accessing storage media
One access request;Obtain the first access path for including in first access request;Judge whether record in default mapping table
There is the first mapping path corresponding with first access path, the default mapping table is for record access path and mapping
The mapping relations in path;If first mapping path is not recorded in the default mapping table, and first access request is
When the request of data is written, create with the application-specific path of the name nominating of the application program;Journey is applied described
The second mapping path corresponding with first access path is created under the exclusive path of sequence;It is recorded in the default mapping table
The mapping relations of first access path and second mapping path under the application-specific path;Described in control
Application program accesses the storaging medium according to second mapping path.In this way, the embodiment of the present invention is by creation with described
The method in the application-specific path of the name nominating of application program, the file that application program is created in storaging medium
Concentration district management is carried out, the purpose for making the file structure in storaging medium keep succinct is realized.
5th embodiment
It is the schematic diagram of the method for application program accessing storage media provided in an embodiment of the present invention referring to Fig. 5, Fig. 5.
The present invention provides a kind of control system of application program accessing storage media, transports in mobile terminal operating system
Row principle as shown in figure 5, its operating point is located between the administrative file system of operating system and the carried application program of operating system,
Play the role of adapter tube, conversion and the mapping of storaging medium access request task.It is also understood that being equivalent in application program
A guide mark is inserted on channel between file system, any access behavior must all first pass through guide mark guiding, to refer to
To true storage region.
The control system should at least have following characteristics:
A) functional character:
Aa) application program should take over the access request of storaging medium in time;
Ab it) for application program to the access request of storaging medium, copes with its access path and does mapping processing;
Ac) above-mentioned mapping is handled, correspondence mappings table should be created, for mapping application program, application program access road
The one-to-one relationship of diameter, mapping path;
B) flow characteristics:
Ba) control system should have the priority higher than application program;
Bb) application program controls the access request of storaging medium by operating system, should first connect via control system
Pipe;
Bc) control system should constrain its additional data and include but be not limited to for the access request of application program: application packet
Name, access path, access are intended to (including read, be written);
Bd) control system should let pass according to additional data granting entrained by it and permit for the access request of application program,
The additional data as entrained by its request then refuses its access less than the constraint of above-mentioned Bc) item;
Be) for control system for the access request of application program, additional data as entrained by it meets above-mentioned Bc) Xiang Suoyue
Beam then provides clearance license, and according to the access path entrained by it, retrieves mapping table;
Bf) access path entrained by access request of the control system according to application program, retrieves local mapping table, such as retrieves
To effectively as a result, then the administrative file system of its access request turning-over operation system is handled;
Bg) additional data entrained by access request of the control system according to application program, retrieves local mapping table, does not examine such as
Rope is to effectively as a result, then taking intention according to its access request, for reading intention, directly transfer file system is handled;For
Write-in is intended to, it should be created under control system mapping directory and corresponds to application program mapping directory, and insertion is new in the mapping table
Map record, and after the taken path of its access request is linked to corresponding application program mapping directory, transfer at file system
Reason.
As shown in Fig. 5-1 and Fig. 5-2, the structure of the control system mapping table and mapping directory include the following:
A) mapping table, access limit should have following characteristics: control system owning user, can carry out to map file
Reading and write operation;The other users of user group where control system, can be read out map file, but can not be written;
The other user group users of operating system, non-readable map file, and map file can not be written;
B) map file, record should have structure as shown in fig. 5-1 comprising but be not limited to: packet name, application
Name, access path, mapping path;
C) access path, it is intended that application program it is expected the path of access, infers according to existing most of application programs,
Direct parent directory is mostly file system root directory, catalogue level and the self-built catalogue sane level of most users;
D) mapping path refers to absolute path in embodiments of the present invention, should distinguish with relative path;Mapping path, meaning
Refer to control system according to access path, being actually used in for being created provides the path of application program access, and control system should will deposit
In the same record that the access path and mapping path of corresponding relationship are stored in mapping table, one-to-one relationship is formed, with
Convenient for retrieval and inquisition and link guidance;
E) Relative Maps path should be different from mapping path, have following characteristics: direct parent directory is that control system is
It corresponds to using creation using exclusive catalogue, as shown in Fig. 5-2;Path hierarchical structure is consistent with access path;Each level
Directory name is consistent with each hierarchical directory name of access path;
F) exclusive catalogue is applied, has following characteristics: the application name name to correspond to application program;Direct parent directory is control
System root directory processed, as shown in Fig. 5-2;
G) control system root should be the direct subdirectory of file system root directory, and as shown in Fig. 5-2, name exists
In the embodiment of the present invention, it is defined as ControlSys, catalogue level and the self-built catalogue sane level of most users.
It is as follows that control system accesses logic:
For loading the mobile terminal of this control system, above-mentioned access path, only as create and inquiry mapping table according to
According to, pointed by path, will not be created;It, will be by this as shown in Fig. 5 and Fig. 5-2 for the access request of application program
Control system is according to mapping table under control system root, and creation corresponds to the exclusive catalogue applied first, secondly special in application
Belong to the mapping directory for creating same file structure under catalogue, and by the access request of application program respective path, is linked to correspondence
Mapping path.For example, application program 1 requests access to path ./Pack1/Data1, then according to shown in Fig. 5-1 first reflect
Penetrate record, this control system it is found that by the Route guiding to mapping path ./ControlSys/ application 1/Pack1/Data1, with
Application program 1 is set to read and write the file under the mapping directory.
By the logic, this control system is able to the catalogue for being created all application programs unified management, also, described
Using exclusive catalogue, has the function of the corresponding mapping directory founder of mark access catalogue.For example, as shown in fig. 5-1, application
The access catalogue ./Pack1/Data1 that program 1 is requested, corresponding mapping directory are located at ./ControlSys/ using 1/
Pack1/Data1, by " applying 1 " in path i.e. it is found that the founder of file Pack1 and its subdirectory Data1 are to answer
With program 1, user is facilitated to carry out accurately cleaning manually if necessary.
Sixth embodiment
It is the structure chart of mobile terminal provided in an embodiment of the present invention referring to Fig. 6, Fig. 6, as shown in fig. 6, mobile terminal
600, including receiving module 601, acquisition module 602, judgment module 603 and the first execution module 604, wherein receiving module 601
With obtain module 602 connect, obtain module 602 connect with judgment module 603, judgment module 603 and with the first execution module 604
Connection.
Receiving module 601, for receiving the first access request of application program accessing storage media.
Module 602 is obtained, is visited for obtaining include in received first access request of the receiving module first
It asks the way diameter.
Judgment module 603, for judging whether to record obtain with the acquisition module described the in default mapping table
Corresponding first mapping path of one access path, the default mapping table are used for the mapping in record access path and mapping path
Relationship.
First execution module 604, if having described for record in the default mapping table of judgment module judgement
One mapping path then controls the application program according to first mapping path and accesses the storaging medium.
Optionally, as shown in fig. 7, mobile terminal 600 further include:
Creation module 605 is reflected if not recording described first in the default mapping table judged for the judgment module
Rays diameter, and the access request is then to create described first obtained with the acquisition module when the request of data is written and visit
Corresponding second mapping path of diameter of asking the way;
Logging modle 606, for recording first access path and the creation module in the default mapping table
The mapping relations of second mapping path of creation;
Second execution module 607 is reflected for controlling the application program according to described second that the creation module creates
Penetrate storaging medium described in path access.
Optionally, as shown in figure 8, the judgment module 603 includes:
Whether the first judging unit 6031 has comprising the acquisition mould in the mapping directory for judging default mapping table
First mapping directory of the first packet name that block obtains, the mapping directory is for recording packet name, access path and mapping road
The mapping relations of diameter, the default mapping table include at least one mapping directory;
Second judgment unit 6032, if for having described the in the mapping directory of first judging unit judgement
One mapping directory then judges first access obtained with the acquisition module whether is recorded in first mapping directory
Corresponding first mapping path in path;
The module 602 that obtains is used to obtain include in received first access request of the receiving module described
First packet name of application program and the first access path.
Optionally, as shown in figure 9, the creation module 605 includes:
First creating unit 6051, for creating the application-specific path with the name nominating of the application program;
Second creating unit 6052, for being created under the application-specific path and the acquisition module acquisition
Corresponding second mapping path of first access path;
The logging modle 606 is answered described in the first creating unit creation for recording in the default mapping table
With the mapping relations of first access path and second mapping path under the exclusive path of program.
Optionally, as shown in Figure 10, mobile terminal 600 further include:
First removing module 608, if when for application program unloading, what deletion was created in first creating unit
The mapping path created under the application-specific path;
Second removing module 609, for deleting under the application-specific path recorded in the default mapping table
Access path and mapping path mapping relations.
Mobile terminal 600 can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 5, to keep away
Exempt to repeat, which is not described herein again.
The mobile terminal 600 of the embodiment of the present invention receives the first access request of application program accessing storage media;It obtains
The first access path for including in first access request;Judge whether recorded in default mapping table and first access
Corresponding first mapping path in path, the default mapping table are used for the mapping relations in record access path and mapping path;
If record has first mapping path in the default mapping table, the application program is controlled according to first mapping road
Diameter accesses the storaging medium.In this way, method of the embodiment of the present invention by using mapping, to application program in storaging medium
The file created is managed concentratedly, and the purpose for making the file structure in storaging medium keep succinct is realized.
7th embodiment
It is the structure chart that the present invention implements the mobile terminal provided, as shown in figure 11, mobile terminal referring to Figure 11, Figure 11
1100 include: at least one processor 1101, memory 1102, at least one network interface 1104 and user interface 1103.It moves
Various components in dynamic terminal 1100 are coupled by bus system 1105.It is understood that bus system 1105 for realizing
Connection communication between these components.Bus system 1105 further includes power bus, control bus in addition to including data/address bus
And status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1105 in Figure 11.
Wherein, user interface 1103 may 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 1102 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access
Memory (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
DataRate 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
(DirectRambus RAM, DRRAM).The memory 1102 of system and method described herein is intended to include but is not limited to these
With the memory of any other suitable type.
In some embodiments, memory 1102 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 11021 and application program 11022.
Wherein, operating system 11021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 11022 includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 11022.
In embodiments of the present invention, by the program or instruction of calling memory 1102 to store, specifically, can be application
The program or instruction stored in program 11022, processor 1101 are used for: receiving the first access of application program accessing storage media
Request;Obtain the first access path for including in first access request;Judge whether to have recorded in default mapping table and institute
State corresponding first mapping path of the first access path, the default mapping table is for record access path and mapping path
Mapping relations;If record has first mapping path in the default mapping table, the application program is controlled according to
First mapping path accesses the storaging medium.
The method that the embodiments of the present invention disclose can be applied in processor 1101, or real by processor 1101
It is existing.Processor 1101 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1101 or software form.Above-mentioned
Processor 1101 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1102, processor 1101 reads the information in memory 1102, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (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 processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, processor 1101 is also used to: if not recording first mapping path in the default mapping table, and institute
Stating the first access request is then to create the second mapping corresponding with first access path road when request of data is written
Diameter;The mapping relations of first access path Yu second mapping path are recorded in the default mapping table;Control institute
It states application program and the storaging medium is accessed according to second mapping path.
Optionally, processor 1101 is also used to: obtaining the of the application program for including in first access request
One packet name and the first access path;Judge whether there is first comprising the first packet name in the mapping directory of default mapping table
Mapping directory, the mapping directory are used to record the mapping relations of packet name, access path and mapping path, the default mapping table
Include at least one mapping directory;If having first mapping directory in the mapping directory, first mapping is judged
Whether with first access path corresponding first mapping path has been recorded in catalogue.
Optionally, processor 1101 is also used to: creation is with the application-specific road of the name nominating of the application program
Diameter;The second mapping path corresponding with first access path is created under the application-specific path;Described
First access path and second mapping path under the application-specific path are recorded in default mapping table
Mapping relations.
Optionally, processor 1101 is also used to: if the application program unloads, being deleted on the application-specific road
The mapping path created under diameter;Delete the access path under the application-specific path recorded in the default mapping table
With the mapping relations of mapping path.
Mobile terminal 1100 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal 1100 of the embodiment of the present invention receives the first access request of application program accessing storage media;It obtains
Take the first access path for including in first access request;Judge whether to have recorded in default mapping table and be visited with described first
Corresponding first mapping path of diameter of asking the way, mapping of the default mapping table for record access path and mapping path are closed
System;If record has first mapping path in the default mapping table, controls the application program and reflected according to described first
Penetrate storaging medium described in path access.In this way, method of the embodiment of the present invention by using mapping, to application program in storage matchmaker
The file created in Jie is managed concentratedly, and the purpose for making the file structure in storaging medium keep succinct is realized.
8th embodiment
Figure 12 is please referred to, Figure 12 is the structure chart that the present invention implements the mobile terminal provided, as shown in figure 12, mobile terminal
1200 include radio frequency (Radio Frequency, RF) circuit 1010, memory 1220, input unit 1230, display unit
1240, processor 1250, voicefrequency circuit 1260, communication module 1270, power supply 1280.
Wherein, input unit 1230 can be used for receiving the number or character information of user's input, and generate with movement eventually
The related signal input of the user setting and function control at end 1200.Specifically, in the embodiment of the present invention, the input unit
1230 may include touch panel 1231.Touch panel 1231, also referred to as touch screen collect the touching of user on it or nearby
It touches operation (for example user uses the operations of any suitable object or attachment on touch panel 1231 such as finger, stylus), and
Corresponding attachment device is driven according to preset formula.Optionally, touch panel 1231 may include touch detecting apparatus and
Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter
Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into
Contact coordinate, then give the processor 1250, and order that processor 1250 is sent can be received and executed.Furthermore, it is possible to
Touch panel 1231 is realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1231, input unit 1230 can also include other input equipments 1232, other input equipments 1232 can include but is not limited to
One of physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are more
Kind.
Wherein, display unit 1240 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 1200.Display unit 1240 may include display panel 1241, optionally, using LCD or can have
The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 1241.
It should be noted that touch panel 1231 can cover display panel 1241, touch display screen is formed, when the touch display screen
After detecting touch operation on it or nearby, processor 1250 is sent to determine the type of touch event, is followed by subsequent processing
Device 1250 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
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 elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 1250 is the control centre of mobile terminal 1200, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or execute the software program and/or module that are stored in first memory 1221, and call and deposit
The data in second memory 1222 are stored up, the various functions and processing data of mobile terminal 1200 are executed, thus eventually to movement
End 1200 carries out integral monitoring.Optionally, processor 1250 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 1221 in software program and/or module and/
Or the data in the second memory 1222, processor 1250 are used for: receiving the first access of application program accessing storage media
Request;Obtain the first access path for including in first access request;Judge whether to have recorded in default mapping table and institute
State corresponding first mapping path of the first access path, the default mapping table is for record access path and mapping path
Mapping relations;If record has first mapping path in the default mapping table, the application program is controlled according to
First mapping path accesses the storaging medium.
Optionally, processor 1250 is also used to: if not recording first mapping path in the default mapping table, and institute
Stating the first access request is then to create the second mapping corresponding with first access path road when request of data is written
Diameter;The mapping relations of first access path Yu second mapping path are recorded in the default mapping table;Control institute
It states application program and the storaging medium is accessed according to second mapping path.
Optionally, processor 1250 is also used to: obtaining the of the application program for including in first access request
One packet name and the first access path;Judge whether there is first comprising the first packet name in the mapping directory of default mapping table
Mapping directory, the mapping directory are used to record the mapping relations of packet name, access path and mapping path, the default mapping table
Include at least one mapping directory;If having first mapping directory in the mapping directory, first mapping is judged
Whether with first access path corresponding first mapping path has been recorded in catalogue.
Optionally, processor 1250 is also used to: creation is with the application-specific road of the name nominating of the application program
Diameter;The second mapping path corresponding with first access path is created under the application-specific path;Described
First access path and second mapping path under the application-specific path are recorded in default mapping table
Mapping relations.
Optionally, processor 1250 is also used to: if the application program unloads, being deleted on the application-specific road
The mapping path created under diameter;Delete the access path under the application-specific path recorded in the default mapping table
With the mapping relations of mapping path.
Mobile terminal 1200 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal 1200 of the embodiment of the present invention receives the first access request of application program accessing storage media;It obtains
Take the first access path for including in first access request;Judge whether to have recorded in default mapping table and be visited with described first
Corresponding first mapping path of diameter of asking the way, mapping of the default mapping table for record access path and mapping path are closed
System;If record has first mapping path in the default mapping table, controls the application program and reflected according to described first
Penetrate storaging medium described in path access.In this way, method of the embodiment of the present invention by using mapping, to application program in storage matchmaker
The file created in Jie is managed concentratedly, and the purpose for making the file structure in storaging medium keep succinct is realized.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present 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 mobile terminal and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method can pass through it
Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the unit is drawn
Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be through some interfaces, mobile terminal or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of method of application program accessing storage media characterized by comprising
Receive the first access request of application program accessing storage media;
Obtain the first access path for including in first access request;
Judge the first mapping path corresponding with first access path whether has been recorded in default mapping table, it is described default
Mapping table is used for the mapping relations in record access path and mapping path;
If record has first mapping path in the default mapping table, controls the application program and reflected according to described first
Penetrate storaging medium described in path access;
Wherein, the mapping path is the path for being actually used in offer application program and accessing created according to access path.
2. the method according to claim 1, wherein judging whether to have recorded in default mapping table and institute described
After the step of stating the first access path corresponding first mapping path, the method also includes:
If first mapping path is not recorded in the default mapping table, and first access request is that asking for data is written
When asking, then the second mapping path corresponding with first access path is created;
The mapping relations of first access path Yu second mapping path are recorded in the default mapping table;
It controls the application program and the storaging medium is accessed according to second mapping path.
3. method according to claim 1 or 2, which is characterized in that include in acquisition first access request
First access path, comprising:
Obtain the first packet name and the first access path of the application program for including in first access request;
It is described to judge whether recorded the first mapping path corresponding with first access path in default mapping table, it wraps
It includes:
Judge whether there is the first mapping directory comprising the first packet name, the mapping in the mapping directory of default mapping table
Catalogue is used to record the mapping relations of packet name, access path and mapping path, and the default mapping table includes at least one mapping
Catalogue;
If in the mapping directory have first mapping directory, judge whether to have recorded in first mapping directory with
Corresponding first mapping path of first access path.
4. according to the method described in claim 2, it is characterized in that, the creation corresponding with first access path the
Two mapping paths, comprising:
Creation is with the application-specific path of the name nominating of the application program;
The second mapping path corresponding with first access path is created under the application-specific path;
The mapping relations that first access path Yu second mapping path are recorded in the default mapping table, packet
It includes:
First access path and described second under the application-specific path is recorded in the default mapping table
The mapping relations of mapping path.
5. according to the method described in claim 4, it is characterized in that, the creation and described the under the application-specific path
After the step of one access path corresponding second mapping path, the method also includes:
If the application program unloads, the mapping path created under the application-specific path is deleted;
Delete reflecting for the access path and mapping path under the application-specific path recorded in the default mapping table
Penetrate relationship.
6. a kind of mobile terminal characterized by comprising
Receiving module, for receiving the first access request of application program accessing storage media;
Module is obtained, for obtaining the first access path for including in received first access request of the receiving module;
Judgment module, for judging whether record first access road obtained with the acquisition module in default mapping table
Corresponding first mapping path of diameter, the default mapping table are used for the mapping relations in record access path and mapping path;
First execution module, if having first mapping road for record in the default mapping table of judgment module judgement
Diameter then controls the application program according to first mapping path and accesses the storaging medium;
Wherein, the mapping path is the path for being actually used in offer application program and accessing created according to access path.
7. mobile terminal according to claim 6, which is characterized in that further include:
Creation module, if not recording first mapping path in the default mapping table judged for the judgment module,
And the access request is then to create the first access path phase obtained with the acquisition module when the request of data is written
Corresponding second mapping path;
Logging modle, for recording the institute of first access path and creation module creation in the default mapping table
State the mapping relations of the second mapping path;
Second execution module is visited for controlling the application program according to second mapping path that the creation module creates
Ask the storaging medium.
8. mobile terminal according to claim 6 or 7, which is characterized in that the acquisition module is for obtaining the reception
The the first packet name and the first access path for the application program for including in received first access request of module;
The judgment module includes:
Whether first judging unit, having in the mapping directory for judging default mapping table includes described to obtain what module obtained
First mapping directory of the first packet name, the mapping directory are used to record the mapping of packet name, access path and mapping path
Relationship, the default mapping table include at least one mapping directory;
Second judgment unit, if for having the first mapping mesh in the mapping directory of first judging unit judgement
Whether record then judges to record in first mapping directory opposite with first access path that the acquisition module obtains
The first mapping path answered.
9. mobile terminal according to claim 7, which is characterized in that the creation module includes:
First creating unit, for creating the application-specific path with the name nominating of the application program;
Second creating unit, for creating obtain with the acquisition module described first under the application-specific path
Corresponding second mapping path of access path;
The logging modle is used to record the application program of the first creating unit creation in the default mapping table
The mapping relations of first access path and second mapping path under exclusive path.
10. mobile terminal according to claim 9, which is characterized in that further include:
First removing module, if deleting and being answered described in being created in first creating unit when for application program unloading
With the mapping path created under the exclusive path of program;
Second removing module, for deleting the access road under the application-specific path recorded in the default mapping table
The mapping relations of diameter and mapping path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610940753.XA CN106528690B (en) | 2016-10-31 | 2016-10-31 | A kind of method and mobile terminal of application program accessing storage media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610940753.XA CN106528690B (en) | 2016-10-31 | 2016-10-31 | A kind of method and mobile terminal of application program accessing storage media |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106528690A CN106528690A (en) | 2017-03-22 |
CN106528690B true CN106528690B (en) | 2019-08-20 |
Family
ID=58293329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610940753.XA Active CN106528690B (en) | 2016-10-31 | 2016-10-31 | A kind of method and mobile terminal of application program accessing storage media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528690B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111723054A (en) * | 2020-06-29 | 2020-09-29 | 湖北亿咖通科技有限公司 | Method for accessing external storage device |
CN112185494B (en) * | 2020-09-03 | 2023-04-25 | 武汉联影医疗科技有限公司 | Data storage method, device, computer equipment and storage medium |
CN112257103A (en) * | 2020-10-10 | 2021-01-22 | 海信电子科技(深圳)有限公司 | Access right control method and display device |
CN113852717B (en) * | 2021-09-27 | 2024-03-19 | 努比亚技术有限公司 | Wallpaper module position migration method, equipment and computer readable storage medium |
CN114091027B (en) * | 2021-12-01 | 2023-08-29 | 海光信息技术股份有限公司 | Information configuration method, data access method, related device and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049405A (en) * | 2013-01-16 | 2013-04-17 | 珠海市君天电子科技有限公司 | Management method and system of android device files |
CN103631828A (en) * | 2012-08-28 | 2014-03-12 | 阿里巴巴集团控股有限公司 | Method and device for determining access path and method and system for determining page churn rate |
CN105975567A (en) * | 2016-05-03 | 2016-09-28 | 青岛海信移动通信技术股份有限公司 | Method and device for processing internal file of application program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100287205A1 (en) * | 2009-05-06 | 2010-11-11 | Htc Corporation | Operating system / electronic device and method for storing or reading a file |
-
2016
- 2016-10-31 CN CN201610940753.XA patent/CN106528690B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103631828A (en) * | 2012-08-28 | 2014-03-12 | 阿里巴巴集团控股有限公司 | Method and device for determining access path and method and system for determining page churn rate |
CN103049405A (en) * | 2013-01-16 | 2013-04-17 | 珠海市君天电子科技有限公司 | Management method and system of android device files |
CN105975567A (en) * | 2016-05-03 | 2016-09-28 | 青岛海信移动通信技术股份有限公司 | Method and device for processing internal file of application program |
Also Published As
Publication number | Publication date |
---|---|
CN106528690A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528690B (en) | A kind of method and mobile terminal of application program accessing storage media | |
CN106951141B (en) | A kind of processing method and mobile terminal of icon | |
CN106201321B (en) | A kind of application control method and mobile terminal | |
KR101795629B1 (en) | Method for managing file system in host and devices using the method | |
US8219919B2 (en) | Method for automating construction of the flow of data driven applications in an entity model | |
US8448093B2 (en) | Hierarchical organization chart for mobile applications | |
CN106528160B (en) | A kind of application program image target adding method and terminal | |
US9395890B2 (en) | Automatic discovery of system behavior | |
KR20180008480A (en) | System and method for extracting and sharing application-related user data | |
KR20050033419A (en) | Hierarchical in-place menus | |
CN106569635A (en) | Terminal suspension combination operation device and method thereof | |
CN106447324A (en) | Presentation method of payment methods and mobile terminal | |
US20080295018A1 (en) | Apparatus, method and computer program product providing an adaptive forward button for a browser application | |
US20130086510A1 (en) | Method and system to provide a user interface with respect to a plurality of applications | |
CN104238897A (en) | Menu item displaying method and device | |
CN107329689B (en) | A kind of backing method and mobile terminal of hand-writing input method | |
CN106775488A (en) | The storage method and mobile terminal of a kind of file | |
CN106503179A (en) | A kind of loading method of Webpage and mobile terminal | |
CN106407417A (en) | An application program data backup method and a mobile terminal | |
CN106776871A (en) | The storage method and mobile terminal of a kind of multimedia file | |
CN106027786B (en) | A kind of lookup method and mobile terminal of record list | |
CN106445669A (en) | Task processing method of application program and mobile terminal | |
CN106453778B (en) | A kind of contact photo setting method and mobile terminal | |
CN107145369A (en) | The discharging method and mobile terminal of a kind of application program | |
KR101170122B1 (en) | System and method for executing applications stored in the external storage apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |