CN106528690A - Method for accessing storage medium by application and mobile terminal - Google Patents

Method for accessing storage medium by application and mobile terminal Download PDF

Info

Publication number
CN106528690A
CN106528690A CN201610940753.XA CN201610940753A CN106528690A CN 106528690 A CN106528690 A CN 106528690A CN 201610940753 A CN201610940753 A CN 201610940753A CN 106528690 A CN106528690 A CN 106528690A
Authority
CN
China
Prior art keywords
mapping
path
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.)
Granted
Application number
CN201610940753.XA
Other languages
Chinese (zh)
Other versions
CN106528690B (en
Inventor
曹元�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610940753.XA priority Critical patent/CN106528690B/en
Publication of CN106528690A publication Critical patent/CN106528690A/en
Application granted granted Critical
Publication of CN106528690B publication Critical patent/CN106528690B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Landscapes

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

Abstract

Embodiments of the invention provide a method for accessing a storage medium by an application and a mobile terminal. The method comprises the steps of receiving a first access request of accessing the storage medium by the application; obtaining a first access path contained in the first access request; judging whether a first mapping path corresponding to the first access path is recorded in a preset mapping table or not, wherein the preset mapping table is used for recording a mapping relationship between the access path and the mapping path; and if the first mapping path is recorded in the preset mapping table, controlling the application to access the storage medium according to the first mapping path. According to the method and the mobile terminal provided by the embodiments of the invention, files created in the storage medium by the application are subjected to centralized management by adopting a mapping method, so that the purpose of keeping concise file structure in the storage medium is achieved.

Description

A kind of method of application program accessing storage media and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of method of application program accessing storage media and movement are eventually End.
Background technology
Existing mobile terminal allows application program free access to store medium, as application program installation number increases, deposits File directory quantity in storage medium is continuously increased, and document directory structure is also all the more complicated.Additionally, major applications program is created The file directory built does not possess significantly relevant with application program feature.So, user's if desired locating file or file Folder, then need to take a substantial amount of time.It can be seen that, there is document directory structure again in the method for current application program accessing storage media The low problem of miscellaneous, search efficiency.
The content of the invention
The embodiment of the present invention provides a kind of method of application program accessing storage media and mobile terminal, mobile whole to solve The method of existing application program accessing storage media is held to there is a problem of that document directory structure complexity, search efficiency are low.
In a first aspect, a kind of method of application program accessing storage media is embodiments provided, including:
Receive the first access request of application program accessing storage media;
The first access path included in obtaining first access request;
Whether with first access path corresponding first mapping path is recorded in judging 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 storage medium.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:
Receiver module, for receiving the first access request of application program accessing storage media;
Acquisition module, for obtaining the include in first access request that the receiver module is received first access road Footpath;
Whether judge module, visit with the acquisition module is obtained described first for judging to record in default mapping table Ask the way the first corresponding mapping path of footpath, the default mapping table is used for the mapping of record access path and mapping path and closes System;
First performing module, if record has described first to reflect in the described default mapping table judged for the judge module Rays footpath, then control the application program and access the storage medium according to first mapping path.
So, in the embodiment of the present invention, receive the first access request of application program accessing storage media;Obtain described The first access path included in one access request;Whether record and the first access path phase in judging 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 In default mapping table, record has first mapping path, then control the application program and accessed according to first mapping path The storage medium.So, the embodiment of the present invention is created to application program in storage medium by the method using mapping File managed concentratedly, realizing makes the file structure in storage medium keep succinct purpose.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to needed for embodiment of the present invention description Accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can be being obtained according to these accompanying drawings Take other accompanying drawings.
Fig. 1 is the flow chart of the method for the application program accessing storage media that first embodiment of the invention is provided;
Fig. 2 is the flow chart of the method for the application program accessing storage media that second embodiment of the invention is provided;
Fig. 3 is the flow chart of the method for the application program accessing storage media that third embodiment of the invention is provided;
Fig. 4 is the flow chart of the method for the application program accessing storage media that fourth embodiment of the invention is provided;
Fig. 5 is the schematic diagram of the method for the application program accessing storage media that fifth embodiment of the invention is provided;
Fig. 5-1 is the structure chart of the mapping table that fifth embodiment of the invention is provided;
Fig. 5-2 is the structure chart of the mapping directory that fifth embodiment of the invention is provided;
Fig. 6 is one of structure chart of mobile terminal that sixth embodiment of the invention is provided;
Fig. 7 is one of structure chart of mobile terminal that sixth embodiment of the invention is provided;
Fig. 8 is the three of the structure chart of the mobile terminal that sixth embodiment of the invention is provided;
Fig. 9 is the four of the structure chart of the mobile terminal that sixth embodiment of the invention is provided;
Figure 10 is the five of the structure chart of the mobile terminal that sixth embodiment of the invention is provided;
Figure 11 is the structure chart of the mobile terminal that seventh embodiment of the invention is provided;
Figure 12 is the structure chart of the mobile terminal that eighth embodiment of the invention is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this Embodiment in bright, the acquired every other enforcement under the premise of creative work is not made of those of ordinary skill in the art Example, belongs to the scope of protection of the invention.
First embodiment
Referring to Fig. 1, Fig. 1 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. 1, the method is comprised 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 installed on mobile terminal and access storage The access request of medium, wherein, stores internal memory, or SD card (Secure that medium can be mobile terminal configuration itself Digital Memory Card) etc. extension storage medium.
Above-mentioned access request, can be the access request of application program any write data in storage medium, such as newly-built File, write file etc., or level of application read access request of data in storage medium, etc..Generally Come, access request includes but is not limited to access path, accesses intention (including reading or writing).
In the step, mobile terminal can receive the first access request of application program accessing storage media.
The first access path included in step 102, acquisition 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 for receiving Ask, the access path included in obtaining the access request.Wherein, access path means that application program is expected in the access request The path of access.
In the step, the first visit that mobile terminal can be to include in the first access request for receiving in obtaining step 101 Ask the way footpath.
Whether with first access path corresponding first mapping is recorded in step 103, the default mapping table of judgement 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 pre-set a mapping table in storage medium, and mobile terminal can Be stored in the same record of the mapping table with the access path that there will be corresponding relation and mapping path, make access path with Mapping path forms one-to-one relationship, in order to retrieval and inquisition and link guiding.It is to be understood that mapping path is according to visit Ask the way footpath, what is created is actually used in the path for providing that application program is accessed, and is absolute path;And access path be can not be real The path that border accesses, 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 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 storage medium is accessed according to first mapping path.
In the step, if record has first mapping path corresponding with the first access path, table in above-mentioned mapping table There is the file or folder pointed by the first mapping path in the storage medium for showing 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 storage medium, for example:It is mobile phone, flat Plate computer (Tablet Personal Computer), kneetop 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;The first access path included in obtaining first access request;Whether record in judging default mapping table There is first mapping path corresponding with first access path, the default mapping table is used 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 storage medium is accessed according to first mapping path.So, method of the embodiment of the present invention by adopting mapping, to application Program file for being created in storage medium is managed concentratedly, and realizing makes the file structure in storage 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, the method is comprised 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 installed on mobile terminal and access storage The access request of medium, wherein, stores internal memory, or SD card (Secure that medium can be mobile terminal configuration itself Digital Memory Card) etc. extension storage medium.
Above-mentioned access request, can be the access request of application program any write data in storage medium, such as newly-built File, write file etc., or level of application read access request of data in storage medium, etc..Generally Come, access request includes but is not limited to access path, accesses intention (including reading or writing).
In the step, mobile terminal can receive the first access request of application program accessing storage media.
The first access path included in step 202, acquisition 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 for receiving Ask, the access path included in obtaining the access request.Wherein, access path means that application program is expected in the access request The path of access.
In the step, the first visit that mobile terminal can be to include in the first access request for receiving in obtaining step 201 Ask the way footpath.
Whether with first access path corresponding first mapping is recorded in step 203, the default mapping table of judgement 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 pre-set a mapping table in storage medium, and mobile terminal can Be stored in the same record of the mapping table with the access path that there will be corresponding relation and mapping path, make access path with Mapping path forms one-to-one relationship, in order to retrieval and inquisition and link guiding.It is to be understood that mapping path is according to visit Ask the way footpath, what is created is actually used in the path for providing that application program is accessed, and is absolute path;And access path be can not be real The path that border accesses, 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 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 storage medium is accessed according to first mapping path.
In the step, if record has first mapping path corresponding with the first access path, table in above-mentioned mapping table There is the file or folder pointed by the first mapping path in the storage medium for showing mobile terminal, it is seen then that mobile terminal can To control application program accessing storage media according to first mapping path.
If not recording first mapping path in step 205, the default mapping table, and first access request being During the request of write data, then second mapping path corresponding with first access path is created.
In the step, if not recording first mapping path corresponding with the first access path, table in above-mentioned mapping table There is no the file or folder pointed by the first mapping path in the storage medium for showing mobile terminal.Now, can with after It is continuous when whether judge the first access request be the request of write data.For the access request of write data, mobile terminal Second mapping path corresponding with the first access path can be created in storage medium first.
Step 206, reflecting for first access path and second mapping path is recorded in the default mapping table Penetrate relation.
In the step, mobile terminal can be recorded in the second mapping path for creating in step 205 in mapping table, i.e., The mapping relations of the first access path and the second mapping path are recorded in the mapping table, to realize to the new text using program creation The management of part or file.
Step 207, the control application program access the storage medium according to second mapping path.
In the step, mobile terminal can be accessed according to the second mapping path control application program created in step 205 Storage 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;The first access path included in obtaining first access request;Whether record in judging default mapping table There is first mapping path corresponding with first access path, the default mapping table is used 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 storage medium is accessed according to first mapping path;If not recording first mapping path in the default mapping table, And first access request is when being to write the request of data, then corresponding with first access path the second mapping is created Path;The mapping relations of first access path and second mapping path are recorded in the default mapping table;Control The application program accesses the storage medium according to second mapping path.So, the embodiment of the present invention is reflected by adopting The method penetrated, manages concentratedly to the file created in storage medium by application program, realizes in making storage medium File structure keeps succinct purpose.
3rd embodiment
Referring to Fig. 3, Fig. 3 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. 3, the method is comprised 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 installed on mobile terminal and access storage The access request of medium, wherein, stores internal memory, or SD card (Secure that medium can be mobile terminal configuration itself Digital Memory Card) etc. extension storage medium.
Above-mentioned access request, can be the access request of application program any write data in storage medium, such as newly-built File, write file etc., or level of application read access request of data in storage medium, etc..Generally Come, access request including but not limited to the bag name of application program, access path, access are intended to (including reading or writing).
In the step, mobile terminal can receive the first access request of application program accessing storage media.
The first bag name and first of the application program included in step 302, acquisition first access request is accessed Path.
In the embodiment of the present invention, mobile terminal can be asked according to the access of the application program accessing storage media for receiving Ask, the bag name of the application program included in obtaining the access request and access path.Wherein, bag name is the unique body of application program Part identification title, each application program have its corresponding unique bag name, and access path means that application program please in the access Ask the middle path expected and access.
In the step, the first bag that mobile terminal can be to include in the first access request for receiving in obtaining step 301 Name and the first access path.
Whether there is the comprising the first bag name first mapping in step 303, the mapping directory of the default mapping table of judgement Catalogue, the mapping directory are used for recording the mapping relations of bag name, access path and mapping path, and the default mapping table is included 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, and accordingly, the mapping relations recorded in mapping table are also many.Consider factors above, In the embodiment of the present invention, can be according to the bag name of application program, by the mapping relations recorded in mapping table according to application program Bag name is classified, and forms the associated plurality of mapping directory of bag name with application program, and mobile terminal can there will be correspondence The access path and mapping path of relation is stored in certain mapping directory of the mapping table, in order to faster retrieval and inquisition With link guiding.
In the step, mobile terminal can be searched in above-mentioned mapping table according to the first bag name acquired in step 302 is It is no with the first bag corresponding first mapping directory of famous prime minister.
If there is first mapping directory, in judging first mapping directory in step 304, the mapping directory Whether record has first mapping path corresponding with first access path.
In the step, if mobile terminal has the first mapping directory in finding mapping table, continuation judges the first mapping Whether with first access path corresponding first mapping path is recorded in catalogue.
If record has first mapping path in step 305, first mapping directory, the application program is controlled The storage medium is accessed according to first mapping path.
In the step, if record has the first mapping road corresponding with the first access path in above-mentioned first mapping directory Footpath, then it represents that there is the file or folder pointed by the first mapping path in the storage 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 be with reference to shown in Fig. 2 second embodiment 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;The first access path included in obtaining first access request;Judge the mapping directory of default mapping table In whether there is the first mapping directory comprising the first bag name, the mapping directory be used for recording bag 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 whether records corresponding with first access path in judging 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 storage medium.So, the embodiment of the present invention by by mapping table according to application program Bag name is divided into the method for multiple mapping directories, and the file created in storage medium by application program is further quickly collected Middle management, realizing makes the file structure in storage medium keep succinct purpose.
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, the method is comprised 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 installed on mobile terminal and access storage The access request of medium, wherein, stores internal memory, or SD card (Secure that medium can be mobile terminal configuration itself Digital Memory Card) etc. extension storage medium.
Above-mentioned access request, can be the access request of application program any write data in storage medium, such as newly-built File, write file etc., or level of application read access request of data in storage medium, etc..Generally Come, access request includes but is not limited to access path, accesses intention (including reading or writing).
In the step, mobile terminal can receive the first access request of application program accessing storage media.
The first access path included in step 402, acquisition 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 for receiving Ask, the access path included in obtaining the access request.Wherein, access path means that application program is expected in the access request The path of access.
In the step, the first visit that mobile terminal can be to include in the first access request for receiving in obtaining step 401 Ask the way footpath.
Whether with first access path corresponding first mapping is recorded in step 403, the default mapping table of judgement 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 pre-set a mapping table in storage medium, and mobile terminal can Be stored in the same record of the mapping table with the access path that there will be corresponding relation and mapping path, make access path with Mapping path forms one-to-one relationship, in order to retrieval and inquisition and link guiding.It is to be understood that mapping path is according to visit Ask the way footpath, what is created is actually used in the path for providing that application program is accessed, and is absolute path;And access path be can not be real The path that border accesses, 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 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 storage medium is accessed according to first mapping path.
In the step, if record has first mapping path corresponding with the first access path, table in above-mentioned mapping table There is the file or folder pointed by the first mapping path in the storage medium for showing mobile terminal, it is seen then that mobile terminal can To control application program accessing storage media according to first mapping path.
If not recording first mapping path in step 405, the default mapping table, and first access request being During the request of write data, create with the application-specific path of the name nominating of the application program.
In the embodiment of the present invention, if not recording the first mapping road corresponding with the first access path in above-mentioned mapping table Footpath, then it represents that there is no the file or folder pointed by the first mapping path in the storage medium of mobile terminal.Now, also When whether can continue to judge the first access request be to write the request of data.For the access request of write data, move Dynamic terminal first can create second mapping path corresponding with the first access path in storage medium.
In the step, in order that the file of each application program establishment is corresponding be stored in corresponding region, it is mobile Terminal can create the application-specific path of the name nominating with application program.For example, for application program 1, Ke Yi The path of application program 1/ ... is created in storage medium.
Step 406, second corresponding with first access path is created under the application-specific path and reflect Rays footpath.
In the step, mobile terminal can create corresponding with the first access path under application-specific path Two mapping paths.For example, for the access path/Pack1/Data1 of application program 1, application program 1/Pack1/ can be created The path of Data1.
Step 407, described first recorded in the default mapping table under the application-specific path access road The mapping relations of footpath and second mapping path.
In the step, mobile terminal can be recorded in the second mapping path for creating in a step 406 in mapping table, i.e., The mapping relations of the first access path under the application-specific path and the second mapping path are recorded in the mapping table, with reality The now management to the new file using program creation or file.
Step 408, the control application program access the storage medium according to second mapping path.
In the step, mobile terminal can be accessed according to the second mapping path control application program created in step 406 Storage medium.
Optionally, methods described also includes:If the application program is unloaded, delete in the application-specific path The mapping path of lower establishment;Access path under the application-specific path recorded in deleting the default mapping table with The mapping relations of mapping path.
In embodiment of the present invention, by the establishment 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 easily for the unloading of supervision application program:When application program is unloaded, delete automatically Except corresponding all data under application-specific path, including file and file, so as to reaching complete deletion, clearing up automatically 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;The first access path included in obtaining first access request;Whether record in judging default mapping table There is first mapping path corresponding with first access path, the default mapping table is used for record access path and mapping The mapping relations in path;If not recording first mapping path in the default mapping table, and first access request being During the request of write data, create with the application-specific path of the name nominating of the application program;In the application journey Second mapping path corresponding with first access path is created under the exclusive path of sequence;Record in the default mapping table The mapping relations of first access path under the application-specific path and second mapping path;Control is described Application program accesses the storage medium according to second mapping path.So, the embodiment of the present invention is by creating with described The method in the application-specific path of the name nominating of application program, the file created in storage medium by application program Concentration district management is carried out, realizing makes the file structure in storage medium keep succinct purpose.
5th embodiment
Referring to Fig. 5, Fig. 5 is the schematic diagram of the method for application program accessing storage media provided in an embodiment of the present invention.
The present invention provides a kind of control system of application program accessing storage media, and which is transported in mobile terminal operating system Row principle as shown in figure 5, its operating point be located between the administrative file system of operating system and the carried application program of operating system, Play a part of to store adapter, conversion and the mapping of medium access request task.It is also understood that equivalent in application program A guide mark is inserted on passage between file system, and any access behavior must all first pass through guide mark guiding, so as to refer to To real memory area.
The control system should at least possess following characteristics:
A) functional character:
Aa) access request for application program to storage medium, should be taken in time;
Ab) the access request for application program to storage medium, tackles its access path and does mapping process;
Ac) for above-mentioned mapping is processed, correspondence mappings table should be created, road is accessed for mapping application program, application program Footpath, the one-to-one relationship of mapping path;
B) flow characteristics:
Ba) control system should possess the priority higher than application program;
Bb) application program, first should be connect via control system by operating system control for the access request of storage medium Pipe;
Bc) control system should constrain its additional data and include but be not limited to for the access request of application program:Using bag Name, access path, access are intended to (including reading, writing);
Bd) control system should be let pass according to additional data granting entrained by which and be permitted for the access request of application program, As its request entrained by additional data be less than above-mentioned Bc) item constraint, then refuse its access;
Be) control system for the access request of application program, additional data as entrained by which meets above-mentioned Bc) Xiang Suoyue Beam, then provide license of letting pass, and according to the access path entrained by which, retrieves mapping table;
Bf) access path entrained by the access request of control system foundation application program, retrieves local mapping table, such as retrieves To effective result, then by the process of its access request turning-over operation system administrative file system;
Bg) additional data entrained by the access request of control system foundation application program, retrieves local mapping table, does not such as examine Rope is then intended to according to its access request is taken, is intended to for reading, directly transferred file system and process to effective result;For Write is intended to, and should create its correspondence application program mapping directory, and insert in the mapping table new under control system mapping directory Map record, and its access request taken path is linked to after correspondence application program mapping directory, is transferred 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 includes following:
A) mapping table, its access limit should possess following characteristics:Control system owning user, can be carried out to map file Read and write operation;Control system place user's group other users, can be read out to map file, but can not write; Operating system other user's groups user, non-readable map file, and map file can not be write;
B) map file, its record should possess structure as shown in fig. 5-1, and which includes but is not limited to:Bag name, application Name, access path, mapping path;
C) access path, it is intended that application program expects the path for accessing, and infers according to existing most of application programs, its Directly parent directory mostly is file system root directory, its catalogue level and the self-built catalogue sane level of most of 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, what is created is actually used in the path for providing that application program is accessed, and control system will should be deposited It is stored in the same record of mapping table in the access path and mapping path of corresponding relation, forms one-to-one relationship, with It is easy to retrieval and inquisition and link guiding;
E) Relative Maps path, should be different from mapping path, and which possesses following characteristics:Directly parent directory for control system is The exclusive catalogue of application that correspondence application is created, 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, possesses following characteristics:With the application name name of correspondence application program;Directly 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, its name exists In the embodiment of the present invention, ControlSys is defined as, its catalogue level and the self-built catalogue sane level of most of users.
It is as follows that control system accesses logic:
For load this control system mobile terminal, above-mentioned access path, only as create and inquire about mapping table according to According to the path pointed by which will not be created;For the access request of application program, as shown in Fig. 5 and Fig. 5-2, will be by this Control system creates the exclusive catalogue of correspondence application according to mapping table under control system root first, secondly special in application The mapping directory of same file structure is created under category catalogue, and by the access request of application program respective path, is linked to correspondence Mapping path.For example, application program 1 asks access path ./Pack1/Data1, then first according to Fig. 5-1 is reflected Penetrate record, this control system understands, by the Route guiding to mapping path ./ControlSys/ application 1/Pack1/Data1, with The file for making application program 1 read and write under the mapping directory.
By the logic, this control system is able to the catalogue unified management for creating all application programs, also, described Using exclusive catalogue, the effect with the corresponding mapping directory founder of mark access catalogue.For example, as shown in fig. 5-1, apply Access catalogue ./Pack1/Data1 of the request of program 1, its corresponding mapping directory apply 1/ positioned at ./ControlSys/ Pack1/Data1, from path in " applying 1 " i.e., the founder of file Pack1 and its subdirectory Data1 is should With program 1, user is facilitated to carry out when necessary accurately clearing up manually.
Sixth embodiment
Referring to Fig. 6, Fig. 6 is the structure chart of mobile terminal provided in an embodiment of the present invention, as shown in fig. 6, mobile terminal 600, including receiver module 601, acquisition module 602, judge module 603 and the first performing module 604, wherein, receiver module 601 Be connected with acquisition module 602, acquisition module 602 is connected with judge module 603, judge module 603 with the first performing module 604 Connection.
Receiver module 601, for receiving the first access request of application program accessing storage media.
Acquisition module 602, for obtaining the include in first access request that the receiver module is received first visit Ask the way footpath.
Judge module 603, for judging whether to record obtain with the acquisition module described the in default mapping table The first corresponding mapping path of one access path, the default mapping table are used for the mapping in record access path and mapping path Relation.
First performing module 604, if record has described the in the described default mapping table judged for the judge module One mapping path, then control the application program and access the storage medium according to first mapping path.
Optionally, as shown in fig. 7, mobile terminal 600 also includes:
Creation module 605, if do not record described first in the described default mapping table judged for the judge module reflect Rays footpath, and the access request be write data request when, then create with the acquisition module obtain it is described first visit Ask the way the second corresponding mapping path of footpath;
Logging modle 606, for recording first access path and the creation module in the default mapping table The mapping relations of second mapping path for creating;
Second performing module 607, reflects according to the creation module is created described second for controlling the application program Penetrate.
Optionally, as shown in figure 8, the judge module 603 includes:
First judging unit 6031, for judging whether have comprising the acquisition mould in the mapping directory of default mapping table First mapping directory of the first bag name that block is obtained, the mapping directory are used for recording bag name, access path with mapping road The mapping relations in footpath, the default mapping table include at least one mapping directory;
Second judging unit 6032, if having described the in the mapping directory judged for first judging unit Whether one mapping directory, then record in judging first mapping directory and access with the acquisition module is obtained described first The first corresponding mapping path of path;
It is described that the acquisition module 602 is included in being used for obtaining first access request that the receiver module is received First bag 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 creating and acquisition module acquisition under the application-specific path The second corresponding mapping path of first access path;
The logging modle 606 should described in the first creating unit establishment for recording in the default mapping table With the mapping relations of first access path under the exclusive path of program and second mapping path.
Optionally, as shown in Figure 10, mobile terminal 600 also includes:
First removing module 608, if unload for the application program, deletes what is 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 realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 5, for keeping away Exempt to repeat, repeat no more here.
The mobile terminal 600 of the embodiment of the present invention, receives the first access request of application program accessing storage media;Obtain The first access path included in first access request;Whether record in judging default mapping table and accessed with described first The first corresponding mapping path of 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 the described first mapping road Footpath accesses the storage medium.So, the embodiment of the present invention is being stored in medium to application program by the method using mapping The file for being created is managed concentratedly, and realizing makes the file structure in storage medium keep succinct purpose.
7th embodiment
Referring to Figure 11, Figure 11 is the structure chart of the mobile terminal that the present invention implements to provide, as shown in figure 11, mobile terminal 1100 include:At least one processor 1101, memorizer 1102, at least one network interface 1104 and user interface 1103.Move Each component in dynamic terminal 1100 is coupled by bus system 1105.It is understood that bus system 1105 is used for realizing Connection communication between these components.Bus system 1105 except including in addition to data/address bus, also including power bus, controlling bus And status signal bus in addition.But for the sake of for clear explanation, various buses are all designated as into bus system 1105 in fig. 11.
Wherein, user interface 1103 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memorizer 1102 in the embodiment of the present invention can be volatile memory or non-volatile memories Device, or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only Read memorizer (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, ) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), its use Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static random-access Memorizer (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access Memorizer (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double DataRate SDRAM, DDRSDRAM), enhancement mode 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 memorizer 1102 of system and method described herein be intended to including but not limited to these With the memorizer of any other suitable type.
In some embodiments, memorizer 1102 stores following element, can perform module or data structure, or Person their subset, or their superset:Operating system 11021 and application program 11022.
Wherein, operating system 11021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and process hardware based task.Application program 11022, comprising 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 is may be embodied in application program 11022.
In embodiments of the present invention, by call memorizer 1102 storage program or instruction, specifically, can be application The program stored in program 11022 or instruction, processor 1101 are used for:Receive the first access of application program accessing storage media Request;The first access path included in obtaining first access request;Whether record and institute in judging default mapping table The first corresponding mapping path of the first access path is stated, the default mapping table is used for record access path with mapping path Mapping relations;If record has first mapping path in the default mapping table, the application program is controlled according to described First mapping path accesses the storage medium.
The method that the embodiments of the present invention are disclosed is can apply in processor 1101, or real by processor 1101 It is existing.A kind of possibly IC chip of processor 1101, the disposal ability with signal.During realization, said 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), special Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute The step of disclosed method, can be embodied directly in hardware decoding processor and perform and complete, or with the hardware in decoding processor And software module combination execution is completed.Software module may be located at random access memory, and flash memory, read only memory may be programmed read-only In the ripe storage medium in this area such as memorizer or electrically erasable programmable memory, depositor.The storage medium is located at Memorizer 1102, processor 1101 read the information in memorizer 1102, the step of complete said method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine to realize.For hardware is realized, processing unit can be realized in one or more special ICs (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 performing herein described function or its combination.
For software is realized, can be realized herein by the module (such as process, function etc.) of execution function described herein Described technology.During software code is storable in memorizer and by computing device.Memorizer can within a processor or Realize outside processor.
Optionally, processor 1101 is additionally operable to:If do not record first mapping path in the default mapping table, and institute When stating the request that the first access request is write data, then the second mapping road corresponding with first access path is created Footpath;The mapping relations of first access path and second mapping path are recorded in the default mapping table;Control institute State application program and the storage medium is accessed according to second mapping path.
Optionally, processor 1101 is additionally operable to:The of the application program included in obtaining first access request One bag name and the first access path;Whether comprising the first bag name first is had in judging the mapping directory of default mapping table Mapping directory, the mapping directory are used for recording the mapping relations of bag name, access path and mapping path, the default mapping table Comprising 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 is recorded in catalogue.
Optionally, processor 1101 is additionally operable to:Create with the application-specific road of the name nominating of the application program Footpath;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 is recorded in default mapping table Mapping relations.
Optionally, processor 1101 is additionally operable to:If the application program is unloaded, delete on the application-specific road The mapping path created under footpath;Access path under the application-specific path recorded in deleting the default mapping table With the mapping relations of mapping path.
Mobile terminal 1 100 can realize each process of mobile terminal realization in previous embodiment, for avoiding repeating, this In repeat no more.
The mobile terminal 1 100 of the embodiment of the present invention, receives the first access request of application program accessing storage media;Obtain The first access path included in taking first access request;Whether record in judging default mapping table and visited with described first Ask the way the first corresponding mapping path of footpath, the default mapping table is used for the mapping of record access path and mapping path and closes System;If record has first mapping path in the default mapping table, control the application program and reflect according to described first Penetrate.So, the embodiment of the present invention is storing matchmaker by the method using mapping to application program The file created in Jie is managed concentratedly, and realizing makes the file structure in storage medium keep succinct purpose.
8th embodiment
Figure 12 is referred to, Figure 12 is the structure chart of the mobile terminal that the present invention implements to provide, as shown in figure 12, mobile terminal 1200 include radio frequency (Radio Frequency, RF) circuit 1010, memorizer 1220, input block 1230, display unit 1240th, processor 1250, voicefrequency circuit 1260, communication module 1270, power supply 1280.
Wherein, input block 1230 can be used for numeral or the character information of receiving user's input, and produce whole with mobile The signal input that the user at end 1200 is arranged and function control is relevant.Specifically, in the embodiment of the present invention, the input block 1230 can include contact panel 1231.Contact panel 1231, also referred to as touch screen, can collect user thereon or neighbouring touch Operation (such as user uses the operations of any suitable object or adnexa on contact panel 1231 such as finger, stylus) is touched, and Corresponding attachment means are driven according to formula set in advance.Optionally, contact 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 the letter that touch operation brings 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 the order sent of receiving processor 1250 can be performed.Furthermore, it is possible to Contact panel 1231 is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1231, input block 1230 can also include other input equipments 1232, and other input equipments 1232 can be including but not limited to One kind or many in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Wherein, display unit 1240 can be used for display by the information of user input or be supplied to information and the movement of user The various menu interfaces of terminal 1200.Display unit 1240 may include display floater 1241, optionally, can adopt LCD or have The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) are configuring display floater 1241.
It should be noted that contact panel 1231 can cover display floater 1241, touch display screen is formed, when the touch display screen Detect thereon or after neighbouring touch operation, processor 1250 is sent to determine the type of touch event, with post processing Device 1250 provides corresponding visual output in touch display screen according to the type of touch event.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area be used for show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 1250 is the control centre of mobile terminal 1 200, using various interfaces and connection whole mobile phone Various pieces, be stored in software program and/or module in first memory 1221 by running or performing, and call and deposit The data in second memory 1222 are stored up, the various functions and processing data of mobile terminal 1 200 are performed, so as to mobile whole 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 is used for:Receive the first access of application program accessing storage media Request;The first access path included in obtaining first access request;Whether record and institute in judging default mapping table The first corresponding mapping path of the first access path is stated, the default mapping table is used for record access path with mapping path Mapping relations;If record has first mapping path in the default mapping table, the application program is controlled according to described First mapping path accesses the storage medium.
Optionally, processor 1250 is additionally operable to:If do not record first mapping path in the default mapping table, and institute When stating the request that the first access request is write data, then the second mapping road corresponding with first access path is created Footpath;The mapping relations of first access path and second mapping path are recorded in the default mapping table;Control institute State application program and the storage medium is accessed according to second mapping path.
Optionally, processor 1250 is additionally operable to:The of the application program included in obtaining first access request One bag name and the first access path;Whether comprising the first bag name first is had in judging the mapping directory of default mapping table Mapping directory, the mapping directory are used for recording the mapping relations of bag name, access path and mapping path, the default mapping table Comprising 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 is recorded in catalogue.
Optionally, processor 1250 is additionally operable to:Create with the application-specific road of the name nominating of the application program Footpath;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 is recorded in default mapping table Mapping relations.
Optionally, processor 1250 is additionally operable to:If the application program is unloaded, delete on the application-specific road The mapping path created under footpath;Access path under the application-specific path recorded in deleting the default mapping table With the mapping relations of mapping path.
Mobile terminal 1 200 can realize each process of mobile terminal realization in previous embodiment, for avoiding repeating, this In repeat no more.
The mobile terminal 1 200 of the embodiment of the present invention, receives the first access request of application program accessing storage media;Obtain The first access path included in taking first access request;Whether record in judging default mapping table and visited with described first Ask the way the first corresponding mapping path of footpath, the default mapping table is used for the mapping of record access path and mapping path and closes System;If record has first mapping path in the default mapping table, control the application program and reflect according to described first Penetrate.So, the embodiment of the present invention is storing matchmaker by the method using mapping to application program The file created in Jie is managed concentratedly, and realizing makes the file structure in storage medium keep succinct purpose.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, the application-specific and design constraint depending on technical scheme.Professional and technical personnel Each specific application can be used different methods to realize described function, but this realization it is not considered that exceeding The scope of the present invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, The specific work process of mobile terminal and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method, which can be passed through Its mode is realized.For example, mobile terminal embodiment described above is only schematic, and for example, the unit is drawn Point, only a kind of division of logic function can have other dividing mode when actually realizing, such as multiple units or component can To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg for By coupling each other direct-coupling or communication connection can be by the indirect of some interfaces, mobile terminal or unit Coupling is communicated to connect, and can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or when using, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of method of application program accessing storage media, it is characterised in that include:
Receive the first access request of application program accessing storage media;
The first access path included in obtaining first access request;
Whether with first access path corresponding first mapping path is recorded in judging 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, control the application program and reflect according to described first Penetrate.
2. method according to claim 1, it is characterised in that it is described judge default mapping table in whether recorded and institute After the step of stating the first access path corresponding the first mapping path, methods described also includes:
If not recording first mapping path in the default mapping table, and first access request being to write asking for data When asking, then second mapping path corresponding with first access path is created;
The mapping relations of first access path and second mapping path are recorded in the default mapping table;
Control the application program and the storage medium is accessed according to second mapping path.
3. method according to claim 1 and 2, it is characterised in that include in the acquisition first access request First access path, including:
First bag name of the application program included in obtaining first access request and the first access path;
Whether the judgement records first mapping path corresponding with first access path in presetting mapping table, wraps Include:
Whether there is the first mapping directory comprising the first bag name, the mapping in judging the mapping directory of default mapping table Catalogue is used for recording the mapping relations of bag 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, whether recorded in judging first mapping directory with The first corresponding mapping path of first access path.
4. method according to claim 2, it is characterised in that the establishment it is corresponding with first access path Two mapping paths, including:
Create with the application-specific path of the name nominating of the application program;
Second mapping path corresponding with first access path is created under the application-specific path;
The mapping relations for recording first access path and second mapping path in the default mapping table, bag Include:
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. method according to claim 4, it is characterised in that create under the application-specific path and described After the step of one access path corresponding the second mapping path, methods described also includes:
If the application program is unloaded, the mapping path created under the application-specific path is deleted;
Access path under the application-specific path recorded in deleting the default mapping table is reflected with mapping path Penetrate relation.
6. a kind of mobile terminal, it is characterised in that include:
Receiver module, for receiving the first access request of application program accessing storage media;
Acquisition module, for obtaining the first access path included in first access request that the receiver module is received;
Judge module, accesses road for judging whether to record in default mapping table with the acquisition module is obtained described first The first corresponding mapping path of footpath, the default mapping table are used for the mapping relations in record access path and mapping path;
First performing module, if record has the first mapping road in the described default mapping table judged for the judge module Footpath, then control the application program and access the storage medium according to first mapping path.
7. mobile terminal according to claim 6, it is characterised in that also include:
Creation module, if not recording first mapping path in the described default mapping table judged for the judge module, And the access request be write data request when, then create with the acquisition module obtain the first access path phase Corresponding second mapping path;
Logging modle, for recording the institute that first access path and the creation module are created in the default mapping table State the mapping relations of the second mapping path;
Second performing module, visits according to second mapping path that the creation module is created for controlling the application program Ask the storage medium.
8. the mobile terminal according to claim 6 or 7, it is characterised in that the acquisition module is used for obtaining the reception The first bag name and the first access path of the application program included in first access request that module is received;
The judge module includes:
First judging unit, for judging whether there is what is obtained comprising the acquisition module in the mapping directory of default mapping table First mapping directory of the first bag name, the mapping directory are used for recording the mapping of bag name, access path and mapping path Relation, the default mapping table include at least one mapping directory;
Second judging unit, if with the described first mapping mesh in the mapping directory judged for first judging unit Whether record, then record relative with first access path that the acquisition module is obtained in judging first mapping directory The first mapping path answered.
9. mobile terminal according to claim 7, it is characterised 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 The second corresponding mapping path of access path;
The logging modle is for recording the application program that first creating unit is created in the default mapping table The mapping relations of first access path under exclusive path and second mapping path.
10. mobile terminal according to claim 9, it is characterised in that also include:
First removing module, if unload for the application program, deleting should described in creating in first creating unit 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 Footpath and the mapping relations of mapping path.
CN201610940753.XA 2016-10-31 2016-10-31 A kind of method and mobile terminal of application program accessing storage media Active CN106528690B (en)

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 true CN106528690A (en) 2017-03-22
CN106528690B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111723054A (en) * 2020-06-29 2020-09-29 湖北亿咖通科技有限公司 Method for accessing external storage device
CN112185494A (en) * 2020-09-03 2021-01-05 武汉联影医疗科技有限公司 Data storage method and device, computer equipment and storage medium
CN112257103A (en) * 2020-10-10 2021-01-22 海信电子科技(深圳)有限公司 Access right control method and display device
CN113852717A (en) * 2021-09-27 2021-12-28 努比亚技术有限公司 Wallpaper module position migration method and device and computer-readable storage medium
CN114091027A (en) * 2021-12-01 2022-02-25 海光信息技术股份有限公司 Information configuration method, data access method, related device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
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
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111723054A (en) * 2020-06-29 2020-09-29 湖北亿咖通科技有限公司 Method for accessing external storage device
CN112185494A (en) * 2020-09-03 2021-01-05 武汉联影医疗科技有限公司 Data storage method and device, computer equipment and storage medium
CN112257103A (en) * 2020-10-10 2021-01-22 海信电子科技(深圳)有限公司 Access right control method and display device
CN113852717A (en) * 2021-09-27 2021-12-28 努比亚技术有限公司 Wallpaper module position migration method and device and computer-readable storage medium
CN113852717B (en) * 2021-09-27 2024-03-19 努比亚技术有限公司 Wallpaper module position migration method, equipment and computer readable storage medium
CN114091027A (en) * 2021-12-01 2022-02-25 海光信息技术股份有限公司 Information configuration method, data access method, related device and equipment
CN114091027B (en) * 2021-12-01 2023-08-29 海光信息技术股份有限公司 Information configuration method, data access method, related device and equipment

Also Published As

Publication number Publication date
CN106528690B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN106528690A (en) Method for accessing storage medium by application and mobile terminal
CN106951141B (en) A kind of processing method and mobile terminal of icon
CN106201321A (en) A kind of application control method and mobile terminal
CN106447324A (en) Presentation method of payment methods and mobile terminal
CN104238897A (en) Menu item displaying method and device
CN106569635A (en) Terminal suspension combination operation device and method thereof
CN106648329A (en) Application icon display method and mobile terminal
CN107122429A (en) The method and apparatus and mobile terminal of a kind of file management
CN106528160A (en) Adding method of application icons and terminal
CN106503179A (en) A kind of loading method of Webpage and mobile terminal
CN106407417A (en) An application program data backup method and a mobile terminal
CN107203624A (en) The single generation method of one kind song and mobile terminal
CN107390991B (en) A kind of processing method and mobile terminal of screenshot
CN106293705A (en) A kind of collecting method and mobile terminal
CN106776871A (en) The storage method and mobile terminal of a kind of multimedia file
CN107544729A (en) The interface switching method and mobile terminal of a kind of application
CN107797738A (en) The preview display method and mobile terminal of a kind of picture
CN106445669A (en) Task processing method of application program and mobile terminal
CN106027786B (en) A kind of lookup method and mobile terminal of record list
CN107632748A (en) A kind of information processing method and mobile terminal
CN107145369A (en) The discharging method and mobile terminal of a kind of application program
CN1833218A (en) Information retrieval apparatus and method
CN106325942A (en) Application program data processing method and mobile terminal
CN106126301A (en) The installation method of a kind of application software, processing method and mobile terminal
CN1829955A (en) A hand held display device and method

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