CN107357929A - File reading, mobile terminal and readable storage medium storing program for executing - Google Patents
File reading, mobile terminal and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN107357929A CN107357929A CN201710623632.7A CN201710623632A CN107357929A CN 107357929 A CN107357929 A CN 107357929A CN 201710623632 A CN201710623632 A CN 201710623632A CN 107357929 A CN107357929 A CN 107357929A
- Authority
- CN
- China
- Prior art keywords
- program
- read
- continues
- file
- reading
- 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
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/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/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)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of file reading, and applied to technical field of mobile terminals, this method includes:The data storage path for reading mark, the identification information of the program fetch that continues and the program fetch that continues of the program fetch that continues in database, generate index file, the index file includes the corresponding relation between the identification information of the program fetch that continues and the data storage path of the program fetch that continues, receive the file read request of external equipment, and whether the mode for judging to read file is preset mode, if so, then send the index file to the external equipment.The embodiment of the invention also discloses a kind of mobile terminal and computer-readable recording medium, can improve the speed that file is read from mobile terminal.
Description
Technical field
The invention belongs to technical field of mobile terminals, more particularly to a kind of file reading, mobile terminal and readable deposit
Storage media.
Background technology
With the popularization of mobile terminal device, it is often necessary to the file in mobile terminal device is read, generally, when user will
When external equipment connects with mobile terminal and reads file, when the data storage of mobile terminal reaches the situation of certain amount level
Under, reading file speed is very slow, while occurs in reading process and read file as sky, so as to cause period of reservation of number mistake
Long, the efficiency for reading file is low.
The content of the invention
The present invention provides a kind of file reading, mobile terminal and readable storage medium storing program for executing, to by according to be read
The reading mark of program, generation include the rope of the corresponding relation between the identification information and data storage path of the program fetch that continues
Quotation part, the data storage path in index file obtain the file for the program fetch that continues, improve file reading speed.
First aspect of the embodiment of the present invention provides a kind of file reading, including:
The reading mark of the program fetch that continues in database, the identification information of the program fetch that continues and described continue
The data storage path of program fetch, generates index file, the index file include the program fetch that continues identification information and
Corresponding relation between the data storage path of the program fetch that continues;
The file read request of external equipment is received, and whether the mode for judging to read file is preset mode;
If so, then send the index file to the external equipment.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal, including:
Generation module, the mark of reading mark, the program fetch that continues for the program fetch that continues in database
The data storage path of information and the program fetch that continues, generates index file, and the index file includes the journey to be read
Corresponding relation between the data storage path of the identification information of sequence and the program fetch that continues;
Receiving module, for receiving the file read request of external equipment;
Judge module, whether the mode for judging to read file is preset mode;
Sending module, if for judge module judge read file mode for the preset mode, to the outside
Equipment sends the index file.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including:
Memory, processor and storage are on a memory and the computer program that can run on a processor, its feature exist
The file reading that first aspect of the embodiment of the present invention provides is realized when, the computing device described program.
Fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer journey
Sequence, the computer program realize the file reading that first aspect of the embodiment of the present invention provides when being executed by processor.
It was found from the embodiments of the present invention, file reading, mobile terminal and readable storage medium provided by the invention
Matter, reading mark, identification information and the data storage path of the program fetch that continues in database, index file is generated, should
Index file includes the corresponding relation between the identification information and data storage path of the program fetch that continues, is read in outside device request
When taking file, the index file is sent to the external equipment, so as to be read journey of the external equipment in the index file
Corresponding relation between the identification information and data storage path of sequence, quickly read the program fetch that continues under data storage path
File data, improve reading speed and efficiency, also, the reading for the program fetch that continues is marked by user's mark, it is possible to achieve press
The demand of user reads the program file needed, improves the convenience for reading file.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention.
Fig. 1 is the schematic flow sheet for the file reading that first embodiment of the invention provides;
Fig. 2 is the schematic flow sheet for the file reading that second embodiment of the invention provides;
Fig. 3 is the structural representation for the mobile terminal that third embodiment of the invention provides;
Fig. 4 is the structural representation for the mobile terminal that fourth embodiment of the invention provides;
Fig. 5 shows a kind of hardware structure diagram of mobile terminal.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality
It is only part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art
The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
File reading provided in an embodiment of the present invention, the application program in mobile terminal is read applied to external equipment
Associated documents, the external equipment can be terminal device or another such as hand such as PC (PERSONAL COMPUTER) machine
The mobile terminals such as machine, notebook, PAD.
External equipment and mobile terminal are connected to one by USB (USB, Universal Serial Bus)
Rise, external equipment sends file read request to mobile terminal, after mobile terminal receives the request, judges to read the mould of file
Whether formula is MTP (MEDIA TRANSFER PROTOCOL) pattern, if so, index file is then sent to external equipment, the rope
Quotation part be continue program fetch identification information and continue program fetch data storage path corresponding relation, external equipment should
All data storage paths corresponding to program fetch that continue access one time in index file, read out the number of all program fetches that continue
According to.
Referring to Fig. 1, Fig. 1 is the implementation process schematic diagram for the file reading that first embodiment of the invention provides, can
Applied to the file that reading user specifies from mobile terminal, this method comprises the following steps:
S101, the reading mark of the program fetch that continues in database, the program fetch that continues identification information and this treat
The data storage path of reading program, index file is generated, the identification information and be somebody's turn to do that the index file includes the program fetch that continues
The corresponding relation to continue between the data storage path of program fetch;
The reading, which marks, to be used to identify whether a program is to be read, and user sets the reading mark for the program for needing to read
It is set to be read, the reading of the program that need not be read mark is arranged to non-to be read.The program fetch that continues is that setting needs
Read the program of mark.
The index file be continue program fetch identification information and data storage path between corresponding relation, data storage
Path indicates partition holding and the position of the data for the program fetch that continues.
S102, the file read request for receiving external equipment, and whether the mode for judging to read file is preset mode;
After external equipment and mobile terminal link together, file read request is sent to mobile terminal, this document is read
Ask the data for reading application program to mobile terminal request.
Mobile terminal receive external equipment file read request, and judge external equipment read file mode whether be
Preset mode, such as, if it is MTP modes.Can for the data transfer mode of the later mobile phone of Android 4.0 and PC from system version
With using MTP transmission data, advantage in data transmission procedure mobile phone remain to operate storage facilities.
S103, if so, sending the index file to the external equipment.
If the mode that external equipment reads file is preset mode, mobile terminal sends index text to the external equipment
Part, so that the data storage of the identification information of continue program fetch of the external equipment in the index file and the program fetch that continues
Corresponding relation between path, according to the partition holding where the data storage path and position, read the phase for the program fetch that continues
Close file data.
If the mode that external equipment reads file is preset mode, mobile terminal does not send the index to the external equipment
File, the external equipment read file by other means.
In the embodiment of the present invention, reading mark, identification information and the data storage of the program fetch that continues in database
Path, generates index file, and the index file includes the correspondence between the identification information and data storage path of the program fetch that continues
Relation, when outside device request reads file, the index file is sent to the external equipment, so that the external equipment is according to this
Corresponding relation between the identification information and data storage path of the program fetch that continues in index file, quickly read data and deposit
Store up the file data of the program fetch that continues under path, improve reading speed and efficiency, also, the reading mark for the program fetch that continues by
User's mark, it is possible to achieve the program file needed is read by the demand of user, improves the convenience for reading file.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of the file reading in second embodiment of the invention, can be applied to
The file that user specifies is read from mobile terminal, this method comprises the following steps:
S201, judge whether residual memory space reaches default value;
The default value can be set according to the size of memory space, for example, the 40% of memory space is arranged to, if storage
Space is 10GB, and the default value is 4GB.
Judge whether residual memory space reaches default value, if not up to, representing residual memory space in mobile terminal
It is smaller, the reading of the file to mobile terminal storage can be influenceed, then performs step S202;
If reach, then it represents that residual memory space is not enough to influence the reading of the file to mobile terminal storage in mobile terminal
Take, then do not perform step S202, do not increase unnecessary data processing for system, avoid dragging the operation fluency of slow system, with
And influence the operation of other programs.
S202, if it is not, then preserved in database each application program reading mark, each application program identification information and
Corresponding relation between the data storage path of each application program, reading mark are defaulted as non-to be read;
Specifically, the identification information of application program can be the bag name of application program.
Read mark and be defaulted as non-to be read, it is or 0 to represent non-targeted item that can specifically mark.
It is corresponding, it is arranged to be read when reading mark, it is or 1 to be expressed as target item that can specifically mark.
Wherein, the data storage of the reading mark of each application program, the identification information of each application program and each application program
Corresponding relation between path, it can specifically save as following table:
Table 1
Symbol | Package | Path |
N | com.abc.bac | /storage/sdcard0/xxx/1234/ |
N | com.abc.bac | /storage/sdcard0/yyy/1234/ |
N | com.abc.bac | /storage/sdcard0/zzz/1234/ |
N | com.aaa.bbb | /storage/sdcard0/aaa/1234/ |
N | com.aaa.bbb | /storage/sdcard0/bbb/1234/ |
It should be noted that Symbol fields represent the reading mark of application program in upper table, read mark and be defaulted as N,
Represent non-to be read, Package fields represent the bag name of application program, and Path fields represent the data storage road of application program
Footpath.
S203, when the mark instructions for receiving user, search the application program that the mark instructions indicate in the database, if
Reading mark is then arranged to be read labeled as non-to be read by the reading of the application program found;
When receiving the mark instructions of user, the application program with mark instructions instruction in the database is searched, if
Reading mark is then arranged to be read labeled as non-to be read by the reading of the application program found, if what is found should
With the reading of program labeled as to be read, then reading mark is not changed.
Specifically, when two application programs in the first row and row second from the bottom in table 1 are by user's mark, then it will read and mark
Remember that relative set is " Y ", reading mark, the identification information of each application program and each application program of each application program after setting
Data storage path between corresponding relation, it is as shown in the table:
Table 2
It should be noted that the mark letter of the reading mark for the program fetch that continues being stored in database, the program fetch that continues
The corresponding relation between the data storage path for the program fetch that continues is ceased, the form of above-mentioned Tables 1 and 2 is not limited to, can also be
Above-mentioned corresponding relation is stored with chain tableau format.
S204, search to read and be labeled as the program fetch that continues to be read, obtain the bag name of the program fetch that continues found with
Data storage path, according to the corresponding relation between the bag name of the program fetch that continues of acquisition and data storage path, generation index
File;
The index file includes the corresponding pass continued between the bag name of program fetch and the data storage path for the program fetch that continues
System.
It will read after mark is arranged to be read, and search to read and be labeled as program to be read, i.e. lookup is continued program fetch,
The bag name and data storage path of the program fetch that continues found are obtained, is deposited according to the bag name of the program fetch that continues of acquisition and data
The corresponding relation between path is stored up, generates index file, i.e. reading is only preserved in index file and is labeled as program to be read
The corresponding relation of bag name and data storage path.
Specifically, the form of the index file generated according to above-mentioned table 2 can be with as shown in the table:
Table 3
Package | Path |
com.abc.bac | /storage/sdcard0/xxx/1234/ |
com.aaa.bbb | /storage/sdcard0/aaa/1234/ |
S205, the file read request for receiving external equipment, and whether the mode for judging to read file is preset mode;
After external equipment and mobile terminal link together, file read request is sent to mobile terminal, this document is read
Ask the data for reading application program to mobile terminal request.
Mobile terminal receive external equipment file read request, and judge external equipment read file mode whether be
Preset mode, such as, if it is MTP modes.
S206, if so, sending the index file to the external equipment.
If the mode that external equipment reads file is preset mode, mobile terminal sends index text to the external equipment
Part, so that the data storage path of the bag name of continue program fetch of the external equipment in the index file and the program fetch that continues
Between corresponding relation, according to the partition holding where the data storage path and position, read the correlation text for the program fetch that continues
Number of packages evidence.
If the mode that external equipment reads file is preset mode, mobile terminal does not send the index to the external equipment
File, the external equipment read file by other means.
In the embodiment of the present invention, reading mark, bag name and the data storage path of the program fetch that continues in database,
Index file is generated, the index file includes the corresponding relation between the bag name for the program fetch that continues and data storage path, outside
When portion's device request reads file, the index file is sent to the external equipment, so that the external equipment is according to the index file
In the program fetch that continues bag name and data storage path between corresponding relation, quickly read and treated under data storage path
The file data of reading program, reading speed and efficiency are improved, also, the reading for the program fetch that continues is marked by user's mark, and can
To realize that the demand by user reads the program file needed, the convenience for reading file is improved.
Fig. 3 is referred to, Fig. 3 is the structural representation of mobile terminal in third embodiment of the invention, and the mobile terminal is used for
The file reading in above-mentioned embodiment illustrated in fig. 1 is performed, the mobile terminal includes:Generation module 301, receiving module 302,
Judge module 303 and sending module 304.
Generation module 301, the mark of reading mark, the program fetch that continues for the program fetch that continues in database
The data storage path of information and the program fetch that continues, generates index file, and the index file includes the mark of the program fetch that continues
Know the corresponding relation between information and the data storage path of the program fetch that continues;
The reading, which marks, to be used to identify whether a program is to be read, and user sets the reading mark for the program for needing to read
It is set to be read, the reading of the program that need not be read mark is arranged to non-to be read.The program fetch that continues is that setting needs
Read the program of mark.
The index file be continue program fetch identification information and data storage path between corresponding relation, data storage
Path indicates partition holding and the position of the data for the program fetch that continues.
Receiving module 302, for receiving the file read request of external equipment;
Judge module 303, whether the mode for judging to read file is preset mode;
Sending module 304, if for judge module 303 judge read file mode for preset mode, to this outside
Equipment sends the index file.
If the mode that external equipment reads file is preset mode, sending module 304 sends the rope to the external equipment
Quotation part, so that the data of the identification information of continue program fetch of the external equipment in the index file and the program fetch that continues
Corresponding relation between store path, according to the partition holding where the data storage path and position, read the program fetch that continues
Associated documents data.
The details of the present embodiment not to the greatest extent, refers to the description of foregoing embodiment illustrated in fig. 1, here is omitted.
In the embodiment of the present invention, reading mark, identification information and the data storage of the program fetch that continues in database
Path, generates index file, and the index file includes the correspondence between the identification information and data storage path of the program fetch that continues
Relation, when outside device request reads file, the index file is sent to the external equipment, so that the external equipment is according to this
Corresponding relation between the identification information and data storage path of the program fetch that continues in index file, quickly read data and deposit
Store up the file data of the program fetch that continues under path, improve reading speed and efficiency, also, the reading mark for the program fetch that continues by
User's mark, it is possible to achieve the program file needed is read by the demand of user, improves the convenience for reading file.
Fig. 4 is referred to, Fig. 4 is the structural representation of mobile terminal in fourth embodiment of the invention, and the mobile terminal is used for
The file reading in above-mentioned embodiment illustrated in fig. 2 is performed, the mobile terminal and the mobile end in foregoing embodiment illustrated in fig. 3
End difference is:
Further, the mobile terminal, in addition to:
Preserving module 401, the reading for preserving each application program in the database marks, the mark of each application program
Corresponding relation between the data storage path of information and each application program, reading mark are defaulted as non-to be read.
Specifically, the identification information of application program can be the bag name of application program.
Read mark and be defaulted as non-to be read, it is or 0 to represent non-targeted item that can specifically mark.
The mobile terminal can also further include:
Searching modul 402, for when the mark instructions for receiving user, searching what the mark instructions in the database indicated
Application program;
Setup module 403, if being marked the reading labeled as non-to be read for the reading of application program that finds
It is arranged to be read.
Further, generation module 301 also includes:
Submodule 3011 is searched, the program fetch that continues to be read is labeled as searching to read;
Acquisition submodule 3012, for obtaining the bag name and data storage path of the program fetch that continues found;
Submodule 3013 is generated, for the correspondence between the bag name and data storage path of the program fetch that continues according to acquisition
Relation, generate the index file.
Further, judge module 303, it is additionally operable to judge whether residual memory space reaches default value;
If judge module 303 judges that residual memory space is not up to default value, then it represents that remaining storage in mobile terminal
Space is smaller, can influence the reading of the file to mobile terminal storage.
If judge module 303 judges that residual memory space reaches the default value, then it represents that remaining storage in mobile terminal
Insufficient space with influence to mobile terminal storage file reading.
Preserving module 401, if being additionally operable to judge module 303 judges that residual memory space is not up to default value, in number
According to the data storage path for reading mark, the identification information of each application program and each application program that each application program is preserved in storehouse
Between corresponding relation, the reading mark be defaulted as it is non-to be read.
The details of the present embodiment not to the greatest extent, refers to the description of foregoing embodiments, here is omitted.
In the embodiment of the present invention, reading mark, bag name and the data storage path of the program fetch that continues in database,
Index file is generated, the index file includes the corresponding relation between the bag name for the program fetch that continues and data storage path, outside
When portion's device request reads file, the index file is sent to the external equipment, so that the external equipment is according to the index file
In the program fetch that continues bag name and data storage path between corresponding relation, quickly read and treated under data storage path
The file data of reading program, reading speed and efficiency are improved, also, the reading for the program fetch that continues is marked by user's mark, and can
To realize that the demand by user reads the program file needed, the convenience for reading file is improved.
Referring to Fig. 5, Fig. 5 is mobile terminal hardware architecture diagram provided in an embodiment of the present invention.
Mobile terminal described in the present embodiment, including:
Memory 51, processor 52 and the computer program that can be run on memory 51 and on a processor is stored in, located
Reason device realizes the file reading described in foregoing embodiments when performing described program.
Further, the mobile terminal also includes:
At least one input equipment 53;At least one output equipment 54.
Above-mentioned memory 51, the input equipment 53 of processor 52 and output equipment 54 are connected by bus 55.
Wherein, input equipment 53 concretely camera, contact panel, physical button or mouse etc..Output equipment
54 concretely display screens.
Memory 51 can be high random access memory body (RAM, Random Access Memory) memory, also may be used
For non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 51 is used for one group of storage can
Configuration processor code, processor 52 couple with memory 51.
Further, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, the computer-readable storage
Medium can be disposed in the mobile terminal in the various embodiments described above, and the computer-readable recording medium can be earlier figures 5
Memory in illustrated embodiment.Computer program is stored with the computer-readable recording medium, the program is held by processor
Earlier figures 1, the file reading described in embodiment illustrated in fig. 2 are realized during row.Further, the computer can storage medium
Can also be USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that each functional module in each embodiment of the present invention can be integrated in a processing module
In or modules be individually physically present, can also two or more modules be integrated in a module.It is above-mentioned
Integrated module can both be realized in the form of hardware, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody.
It should be noted that for foregoing each method embodiment, in order to which simplicity describes, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
It is that file reading provided by the present invention, mobile terminal and computer-readable recording medium are retouched above
State, for those skilled in the art, according to the thought of the embodiment of the present invention, can in specific embodiments and applications
There is change part, to sum up, this specification content should not be construed as limiting the invention.
Claims (12)
1. a kind of file reading, it is characterised in that methods described includes:
Reading mark, the identification information of the program fetch that continues and the journey to be read of the program fetch that continues in database
The data storage path of sequence, generates index file, and the index file includes the identification information of the program fetch that continues and described
The corresponding relation to continue between the data storage path of program fetch;
The file read request of external equipment is received, and whether the mode for judging to read file is preset mode;
If so, then send the index file to the external equipment.
2. according to the method for claim 1, it is characterised in that the reading mark of the program fetch that continues in database
The data storage path of note, the identification information of the program fetch that continues and the program fetch that continues, generation index file wrap before
Include:
The reading mark of each application program, the identification information of each application program and each application program are preserved in the database
Corresponding relation between data storage path, the reading mark are defaulted as non-to be read.
3. according to the method for claim 2, it is characterised in that the reading for preserving each application program in the database
The corresponding relation between the data storage path of mark, the identification information of each application program and each application program is taken, is also wrapped afterwards
Include:
When the mark instructions for receiving user, the application program that mark instructions described in the database indicate is searched;
If the reading of the application program found is arranged to be read labeled as non-to be read, by the reading mark.
4. according to the method for claim 3, it is characterised in that the reading mark of the program fetch that continues in database
The data storage path of note, the identification information of the program fetch that continues and the program fetch that continues, index file is generated, including:
Search to read and be labeled as the program fetch that continues to be read;
Obtain the bag name and data storage path of the program fetch that continues found;
According to the corresponding relation between the bag name of the program fetch that continues of acquisition and data storage path, the index file is generated.
5. according to the method for claim 2, it is characterised in that the reading mark that each application program is preserved in database
Corresponding relation between the data storage path of note, the identification information of each application program and each application program, it is described to read mark
It is defaulted as non-to be read, includes before:
Judge whether residual memory space reaches default value;
If it is not, the reading mark of each application program, the identification information of each application program are then preserved in database and respectively applies journey
Corresponding relation between the data storage path of sequence, the reading mark are defaulted as non-to be read.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Generation module, the identification information of reading mark, the program fetch that continues for the program fetch that continues in database
With the data storage path of the program fetch that continues, index file is generated, the index file includes the program fetch that continues
Corresponding relation between the data storage path of identification information and the program fetch that continues;
Receiving module, for receiving the file read request of external equipment;
Judge module, whether the mode for judging to read file is preset mode;
Sending module, if for judge module judge read file mode for the preset mode, to the external equipment
Send the index file.
7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Preserving module, the reading for preserving each application program in the database marks, the identification information of each application program
Corresponding relation between the data storage path of each application program, the reading mark are defaulted as non-to be read.
8. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:
Searching modul, for when the mark instructions for receiving user, searching answering for the instruction of mark instructions described in the database
Use program;
Setup module, if being set the mark that reads labeled as non-to be read for the reading of application program that finds
To be to be read.
9. mobile terminal according to claim 8, it is characterised in that the generation module includes:
Submodule is searched, the program fetch that continues to be read is labeled as searching to read;
Acquisition submodule, for obtaining the bag name and data storage path of the program fetch that continues found;
Submodule is generated, it is raw for the corresponding relation between the bag name and data storage path of the program fetch that continues according to acquisition
Into the index file.
10. mobile terminal according to claim 7, it is characterised in that
The judge module, it is additionally operable to judge whether residual memory space reaches default value;
The preserving module, if being additionally operable to the judge module judges that residual memory space is not up to default value, in data
Preserved in storehouse the reading mark of each application program, the identification information of each application program and each application program data storage path it
Between corresponding relation, it is described reading mark be defaulted as it is non-to be read.
11. a kind of mobile terminal, including:Memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, it is characterised in that the file described in any one of claim 1 to 5 is realized during the computing device described program
Read method.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program
The file reading described in any one of claim 1 to 5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710623632.7A CN107357929B (en) | 2017-07-27 | 2017-07-27 | File reading method, mobile terminal and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710623632.7A CN107357929B (en) | 2017-07-27 | 2017-07-27 | File reading method, mobile terminal and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107357929A true CN107357929A (en) | 2017-11-17 |
CN107357929B CN107357929B (en) | 2020-06-23 |
Family
ID=60285041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710623632.7A Active CN107357929B (en) | 2017-07-27 | 2017-07-27 | File reading method, mobile terminal and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107357929B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107562372A (en) * | 2017-08-01 | 2018-01-09 | 广东欧珀移动通信有限公司 | A kind of electronic equipment and its data managing method, computer-readable recording medium |
CN109271363A (en) * | 2018-09-17 | 2019-01-25 | 平安科技(深圳)有限公司 | A kind of method and apparatus of file storage |
CN110166430A (en) * | 2019-04-15 | 2019-08-23 | 珠海全志科技股份有限公司 | A kind of method and system optimizing MTP protocol strategy |
CN110727639A (en) * | 2019-10-08 | 2020-01-24 | 深圳市网心科技有限公司 | Fragment data reading method, electronic device, system and medium |
CN110851665A (en) * | 2019-11-12 | 2020-02-28 | 上海元城汽车技术有限公司 | Calibration information extraction method and device, electronic equipment and storage medium |
CN111008178A (en) * | 2019-11-05 | 2020-04-14 | 北京字节跳动网络技术有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
CN111464419A (en) * | 2020-04-13 | 2020-07-28 | 中国人民解放军国防科技大学 | Data transmission control method based on bus network communication |
CN111597098A (en) * | 2020-05-14 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Data processing method and equipment |
CN112783843A (en) * | 2020-12-31 | 2021-05-11 | 北京聚云科技有限公司 | Data reading method and device and electronic equipment |
CN113220656A (en) * | 2020-12-10 | 2021-08-06 | 格创东智(深圳)科技有限公司 | Method and device for analyzing liquid crystal panel glass production data file |
CN113242321A (en) * | 2021-07-12 | 2021-08-10 | 广东睿江云计算股份有限公司 | Data transmission method for mobile storage device |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101126988A (en) * | 2007-10-11 | 2008-02-20 | 金蝶软件(中国)有限公司 | Class file loading method and system |
CN101447937A (en) * | 2009-02-27 | 2009-06-03 | 北京理工大学 | Rapid data positioning method based on path division and multi-distributed-directory |
CN102184211A (en) * | 2011-05-03 | 2011-09-14 | 成都市华为赛门铁克科技有限公司 | File system, and method and device for retrieving, writing, modifying or deleting file |
CN102236589A (en) * | 2010-05-04 | 2011-11-09 | 南京壹进制信息技术有限公司 | Data protection method for managing increment file based on digital identifiers |
CN102929982A (en) * | 2012-10-17 | 2013-02-13 | Tcl通力电子(惠州)有限公司 | Media scanned file indexing method and device |
CN102929981A (en) * | 2012-10-17 | 2013-02-13 | Tcl通力电子(惠州)有限公司 | Media scanned file indexing method and device |
CN103229173A (en) * | 2012-12-26 | 2013-07-31 | 华为技术有限公司 | Metadata management method and system |
CN103246730A (en) * | 2013-05-08 | 2013-08-14 | 网易(杭州)网络有限公司 | File storage method and device and file sensing method and device |
CN104133641A (en) * | 2014-07-24 | 2014-11-05 | 深圳市同洲电子股份有限公司 | External storage equipment file deleting method and device |
CN104268225A (en) * | 2014-09-26 | 2015-01-07 | 山西达鑫核科技有限公司 | File system architecture for addressing in multidimensional degree of freedom, as well as generating and accessing mode thereof |
CN104375781A (en) * | 2013-08-16 | 2015-02-25 | 深圳市腾讯计算机系统有限公司 | Data access method and device |
CN105760199A (en) * | 2016-02-23 | 2016-07-13 | 腾讯科技(深圳)有限公司 | Method and equipment for loading application resource |
CN106104514A (en) * | 2014-03-20 | 2016-11-09 | 国际商业机器公司 | Acceleration to the object in the object repository utilizing document storage system to implement accesses |
US20170046510A1 (en) * | 2015-08-14 | 2017-02-16 | Qualcomm Incorporated | Methods and Systems of Building Classifier Models in Computing Devices |
-
2017
- 2017-07-27 CN CN201710623632.7A patent/CN107357929B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101126988A (en) * | 2007-10-11 | 2008-02-20 | 金蝶软件(中国)有限公司 | Class file loading method and system |
CN101447937A (en) * | 2009-02-27 | 2009-06-03 | 北京理工大学 | Rapid data positioning method based on path division and multi-distributed-directory |
CN102236589A (en) * | 2010-05-04 | 2011-11-09 | 南京壹进制信息技术有限公司 | Data protection method for managing increment file based on digital identifiers |
CN102184211A (en) * | 2011-05-03 | 2011-09-14 | 成都市华为赛门铁克科技有限公司 | File system, and method and device for retrieving, writing, modifying or deleting file |
CN102929982A (en) * | 2012-10-17 | 2013-02-13 | Tcl通力电子(惠州)有限公司 | Media scanned file indexing method and device |
CN102929981A (en) * | 2012-10-17 | 2013-02-13 | Tcl通力电子(惠州)有限公司 | Media scanned file indexing method and device |
CN103229173A (en) * | 2012-12-26 | 2013-07-31 | 华为技术有限公司 | Metadata management method and system |
CN103246730A (en) * | 2013-05-08 | 2013-08-14 | 网易(杭州)网络有限公司 | File storage method and device and file sensing method and device |
CN104375781A (en) * | 2013-08-16 | 2015-02-25 | 深圳市腾讯计算机系统有限公司 | Data access method and device |
CN106104514A (en) * | 2014-03-20 | 2016-11-09 | 国际商业机器公司 | Acceleration to the object in the object repository utilizing document storage system to implement accesses |
CN104133641A (en) * | 2014-07-24 | 2014-11-05 | 深圳市同洲电子股份有限公司 | External storage equipment file deleting method and device |
CN104268225A (en) * | 2014-09-26 | 2015-01-07 | 山西达鑫核科技有限公司 | File system architecture for addressing in multidimensional degree of freedom, as well as generating and accessing mode thereof |
US20170046510A1 (en) * | 2015-08-14 | 2017-02-16 | Qualcomm Incorporated | Methods and Systems of Building Classifier Models in Computing Devices |
CN105760199A (en) * | 2016-02-23 | 2016-07-13 | 腾讯科技(深圳)有限公司 | Method and equipment for loading application resource |
Non-Patent Citations (1)
Title |
---|
刘新: "《Java程序设计教程》", 31 August 2012 * |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107562372B (en) * | 2017-08-01 | 2021-04-27 | Oppo广东移动通信有限公司 | Electronic equipment, data management method thereof and computer readable storage medium |
CN107562372A (en) * | 2017-08-01 | 2018-01-09 | 广东欧珀移动通信有限公司 | A kind of electronic equipment and its data managing method, computer-readable recording medium |
CN109271363A (en) * | 2018-09-17 | 2019-01-25 | 平安科技(深圳)有限公司 | A kind of method and apparatus of file storage |
CN109271363B (en) * | 2018-09-17 | 2023-05-26 | 平安科技(深圳)有限公司 | File storage method and device |
CN110166430B (en) * | 2019-04-15 | 2021-11-30 | 珠海全志科技股份有限公司 | Method and system for optimizing MTP (multiple time transfer protocol) strategy |
CN110166430A (en) * | 2019-04-15 | 2019-08-23 | 珠海全志科技股份有限公司 | A kind of method and system optimizing MTP protocol strategy |
CN110727639A (en) * | 2019-10-08 | 2020-01-24 | 深圳市网心科技有限公司 | Fragment data reading method, electronic device, system and medium |
CN110727639B (en) * | 2019-10-08 | 2023-09-19 | 深圳市网心科技有限公司 | Fragment data reading method, electronic device, system and medium |
CN111008178B (en) * | 2019-11-05 | 2024-04-30 | 北京字节跳动网络技术有限公司 | Data processing method, device, electronic equipment and computer readable storage medium |
CN111008178A (en) * | 2019-11-05 | 2020-04-14 | 北京字节跳动网络技术有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
CN110851665A (en) * | 2019-11-12 | 2020-02-28 | 上海元城汽车技术有限公司 | Calibration information extraction method and device, electronic equipment and storage medium |
CN110851665B (en) * | 2019-11-12 | 2022-07-12 | 上海元城汽车技术有限公司 | Calibration information extraction method and device, electronic equipment and storage medium |
CN111464419A (en) * | 2020-04-13 | 2020-07-28 | 中国人民解放军国防科技大学 | Data transmission control method based on bus network communication |
CN111597098A (en) * | 2020-05-14 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Data processing method and equipment |
CN113220656A (en) * | 2020-12-10 | 2021-08-06 | 格创东智(深圳)科技有限公司 | Method and device for analyzing liquid crystal panel glass production data file |
CN113220656B (en) * | 2020-12-10 | 2024-04-16 | 格创东智(深圳)科技有限公司 | Analysis method and device for liquid crystal panel glass production data file |
CN112783843A (en) * | 2020-12-31 | 2021-05-11 | 北京聚云科技有限公司 | Data reading method and device and electronic equipment |
CN113242321A (en) * | 2021-07-12 | 2021-08-10 | 广东睿江云计算股份有限公司 | Data transmission method for mobile storage device |
Also Published As
Publication number | Publication date |
---|---|
CN107357929B (en) | 2020-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107357929A (en) | File reading, mobile terminal and readable storage medium storing program for executing | |
CN108664812A (en) | Information desensitization method, apparatus and system | |
CN106897341A (en) | 2 D code information querying method, server, client and system | |
CN105138340A (en) | Interaction method and system for Native and Web pages | |
CN105488125A (en) | Page access method and apparatus | |
CN107679208A (en) | A kind of searching method of picture, terminal device and storage medium | |
CN107291759A (en) | The treating method and apparatus of browser page resource | |
CN107741972A (en) | A kind of searching method of picture, terminal device and storage medium | |
CN108415714A (en) | The method for upgrading system and device of mobile terminal | |
CN108241795A (en) | A kind of method for identifying ID and device | |
CN109739524A (en) | A kind of generation method, device, electronic equipment and the storage medium of software installation packet | |
CN112529694A (en) | Credit processing method, device, equipment and system | |
CN108089870A (en) | For repairing the method and apparatus of application | |
CN106649210A (en) | Data conversion method and device | |
CN108009036A (en) | A kind of method and server for positioning the operation for causing data exception | |
JP2012194918A (en) | Communication medium, ic card, and communication method | |
CN105191419B (en) | It enables the device to find to service via network controller or group owner | |
CN116483745A (en) | Data transmission method, device, power module and storage medium | |
CN105068850A (en) | Resource bundle loading device, method and computing device | |
CN104992134B (en) | Label immediate processing method | |
CN103645917A (en) | Java code patching method of Java card | |
CN110471708B (en) | Method and device for acquiring configuration items based on reusable components | |
CN108694045A (en) | A kind of data processing method and device | |
CN107294948A (en) | Handle computer implemented method, device and the data handling system of media data | |
CN104156745A (en) | Method of reading SIM card at high speed on set-card separation type terminal, and device of reading SIM card at high speed on set-card separation type terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |