CN102929981A - Media scanned file indexing method and device - Google Patents

Media scanned file indexing method and device Download PDF

Info

Publication number
CN102929981A
CN102929981A CN201210396489XA CN201210396489A CN102929981A CN 102929981 A CN102929981 A CN 102929981A CN 201210396489X A CN201210396489X A CN 201210396489XA CN 201210396489 A CN201210396489 A CN 201210396489A CN 102929981 A CN102929981 A CN 102929981A
Authority
CN
China
Prior art keywords
database table
file
multimedia
fileinfo
multimedia database
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
CN201210396489XA
Other languages
Chinese (zh)
Other versions
CN102929981B (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.)
TCL Tongli Electronics Huizhou Co Ltd
Original Assignee
TCL Tongli Electronics Huizhou 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 TCL Tongli Electronics Huizhou Co Ltd filed Critical TCL Tongli Electronics Huizhou Co Ltd
Priority to CN201210396489.XA priority Critical patent/CN102929981B/en
Publication of CN102929981A publication Critical patent/CN102929981A/en
Application granted granted Critical
Publication of CN102929981B publication Critical patent/CN102929981B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a media scanned file indexing method and device. The method comprises the following steps of: after detecting that an external storage device is inserted, starting the scanning process and storing the scanned file information into an internal media database table by a main device; and when the number of the entries of the file information in the internal media database table reaches the preset first threshold, suspending the scanning process, creating an external media database table and restarting the scanning process and storing the continuously scanned file information into the external media database table after completing creation. By adopting the method and the device, under the condition that the original storage space of the main device is insufficient, the scanning process is suspended, the external media database table is created and the scanning process is restarted and the continuously scanned file information is stored into the external media database table after completing creation, so media scanning can be fully carried out, thus avoiding omission of the media scanned file indexes.

Description

Multimedia scanning document indexing means and device
Technical field
The present invention relates to multimedia scanning (Media Scanner) technical field based on the Android system, in particular to a kind of multimedia scanning document indexing means and device.
Background technology
At present, application based on intelligent operating systems such as Android systems just progressively develops from traditional portable terminal (for example mobile phone, panel computer) field to modern smart electronics consumer product (for example: intelligent television, intelligent playing box) field, such as the multimedia scanning application such as (Media Scanner) based on the Android system.
The file of storage is relatively less usually on traditional portable terminal, and when application of multimedia scanned, the file data amount that scans was also more limited, and is therefore less demanding to the scanning storage space.But, in case when being applied to multimedia scanning on the modern smart electronics consumer product, just must have higher requirements to the scanning storage space, because these modern smart electronics consumer products itself are being stored a large amount of files usually, also often as main equipment and External memory equipment (for example: peripheral hardware USB, portable hard drive or network online dish etc.) connect to use the resource of External memory equipment, like this when application of multimedia scans, need the data volume of scanning just may increase sharply, directly cause the original memory space inadequate of main equipment (namely scanning memory space inadequate), multimedia scanning can't fully be carried out, thereby cause multimedia scanning document index to be omitted, partial document can't be indexed and be presented to the user.
Summary of the invention
The object of the invention is to solve in the multimedia scanning application of prior art, the problem because the main equipment memory space inadequate causes file index to be omitted provides a kind of multimedia scanning document indexing means and device.
In order to realize the foregoing invention purpose, the present invention realizes by the following technical solutions:
A kind of multimedia scanning document indexing means comprises:
After having detected the External memory equipment insertion, main equipment starts scan procedure, and the fileinfo that scans is deposited in the inner multimedia database table;
When the number of the fileinfo clauses and subclauses in the inner multimedia database table reaches default first threshold, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table.
Preferably, described multimedia scanning document indexing means also comprises:
Create File Index Table, the file index information of the All Files information that scanning is obtained is stored in this document concordance list and adds respectively call number.
Preferably, the file index information that is stored in the described File Index Table comprises file path information and file name information.
Preferably, described multimedia scanning document indexing means also comprises:
After detecting described External memory equipment and removing, the fileinfo that is stored in the file in main equipment/External memory equipment is removed from outer/inner multimedia database table, and be the corresponding index information that is stored in the file in External memory equipment/main equipment that removes of main equipment/External memory equipment according to the memory location of File Index Table.
Preferably, described multimedia scanning document indexing means also comprises:
Call number to File Index Table File information is upgraded, and refresh fileinfo in inner multimedia database table and the external multimedia database table according to the File Index Table after upgrading, call number in the File Index Table is deposited to the external multimedia database table greater than the fileinfo of first threshold, and remaining is deposited to inner multimedia database table.
Preferably, described first threshold is 5000.
A kind of multimedia scanning document indexing means comprises:
After having detected the External memory equipment insertion, main equipment starts scan procedure, and the fileinfo that scans is deposited in the inner multimedia database table;
The peripheral hardware storage space that is lower than default Second Threshold and External memory equipment when the local storage space of main equipment is during greater than default the 3rd threshold value, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table.
Preferably, carry out institute in steps after, described method also comprises:
Create File Index Table, the file index information of the All Files information that scanning is obtained is stored in this document concordance list and adds respectively call number.
Preferably, when the local storage space of main equipment is not less than default Second Threshold, fileinfo directly is stored to inner multimedia database table, and sets up file index for it;
When judgement drew External memory equipment and is not more than the 3rd default threshold value without peripheral hardware storage space or peripheral hardware storage space, then prompting user can't continue to increase new index content.
A kind of multimedia scanning document indexing unit comprises:
Detecting unit for detection of after have External memory equipment to insert, then starts scan procedure, and the fileinfo that scans is deposited in the inner multimedia database table;
Processing unit, when being used for number when the fileinfo clauses and subclauses of inner multimedia database table and reaching default first threshold, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table; When perhaps being used for peripheral hardware storage space that local storage space when main equipment is lower than default Second Threshold and External memory equipment greater than the 3rd threshold value preset, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table.
Preferably, described processing unit also be used for to create File Index Table, and the file index information of the All Files information that scanning is obtained is stored in this document concordance list and adds respectively call number.
Preferably, the file index information that is stored in the described File Index Table comprises file path information and file name information.
Preferably, after detecting unit further detects described External memory equipment and removes, the fileinfo that processing unit then will be stored in the file in main equipment/External memory equipment removes from outer/inner multimedia database table, and is the corresponding index information that is stored in the file in External memory equipment/main equipment that removes of main equipment/External memory equipment according to the memory location of File Index Table.
Preferably, described multimedia scanning document indexing unit also comprises:
Updating block, be used for the call number of File Index Table File information is upgraded, and refresh fileinfo in inner multimedia database table and the external multimedia database table according to the File Index Table after upgrading, call number in the File Index Table is deposited to the external multimedia database table greater than the fileinfo of first threshold, and remaining is deposited to inner multimedia database table.
Preferably, when the local storage space of main equipment was not less than default Second Threshold, processing unit directly was stored to inner multimedia database table with fileinfo, and set up file index for it;
When processing unit judged that draw External memory equipment is not more than the 3rd default threshold value without peripheral hardware storage space or peripheral hardware storage space, then prompting user can't continue to increase new index content.
Technical scheme by the invention described above can be found out, at the CE(Consumer electronics based on the Android platform, consumer electronics) adopt the present invention in the kind equipment, when (when the number of the fileinfo clauses and subclauses of for example storing in the local inside multimedia database table reaches certain threshold value) in the situation of the original memory space inadequate of main equipment, then suspend scan procedure and create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo that obtains and all be stored in the external multimedia database table, so, even just can be in the situation of the original memory space inadequate of main equipment, multimedia scanning also can fully be carried out, thereby can not produce the situation that multimedia scanning document index is omitted.
Description of drawings
Fig. 1 is the multimedia scanning document indexing means schematic flow sheet that the embodiment of the invention provides;
Fig. 2 is the multimedia scanning document indexing means implementation process flow diagram that the embodiment of the invention provides;
Fig. 3 is the multimedia scanning document indexing unit structural representation that the embodiment of the invention provides.
The realization of the object of the invention, functional characteristics and excellent effect are described further below in conjunction with specific embodiment and accompanying drawing.
Embodiment
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is described in further detail, can be implemented so that those skilled in the art can better understand the present invention also, but illustrated embodiment is not as a limitation of the invention.
The present invention sets up the multimedia database table in the mode of storage file information by expansion on the memory device externally, solves the problem that multimedia scanning document index can't fully carry out, cause index to omit because of memory space inadequate.
Externally the key distinction of (External memory equipment) building database table and (main equipment) local building database table is that the difference of memory device and memory location is (for example for memory device, it has dividing of local and outside, external portable hard drive and main equipment itself for example), in addition, also has the difference of memory device file system, for example this locality is NTFS(New Technology File System) form, and the outside is FAT(File Allocation Table, file configuration table) form, other are then all identical.
File information storage is externally still inner, have a great impact for depositing of database data, it is outside that system needs to know which index file information is stored in, and which index file information is to have this locality.By index search and before obtaining file, should judge first the position (local or outside) of fileinfo, determine index range, then finish the inquiry of file by the index of relevant position.Simultaneously, need to guarantee local and external file information integrity and not repeated, and it is so simple to be not only that storage is entered, and also need to and safeguard in the foundation of concordance list and also process accordingly, below will introduce in detail the implementation procedure that solves the embodiment of the invention.
As shown in Figure 1, a kind of multimedia scanning document indexing means that one embodiment of the invention provides comprises following concrete steps:
S10, detected External memory equipment and inserted after, main equipment starts scan procedure, and the fileinfo that scans is deposited in the inner multimedia database table;
S11, when the number of the fileinfo clauses and subclauses in the inner multimedia database table reaches default first threshold, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo that obtains and all be stored in the external multimedia database table, preferably, in a kind of preferred implementation of the embodiment of the invention, described first threshold is 5000, why present embodiment selects first threshold is 5000, because the present inventor tests through long-term program operation study and result, find that the warehouse-in of fileinfo can be obviously slack-off when the sqlite3 database table File data entries record of Android system this locality surpasses 5000.
Under the preferred implementation, after carrying out above-mentioned steps, described multimedia scanning document indexing means also comprises:
S12, create File Index Table, and the file index information of the All Files information that scanning in the scan procedure is obtained is stored in this document concordance list and adds respectively call number.This document concordance list can be stored in inner multimedia database table or the external multimedia database table by establishment as required." All Files information " refers to the fileinfo that all scan in the present embodiment, these fileinfos may all come from the file of storing on the main equipment, also may all come from the file of storing on the external storage device, also may partly come from the file of storing on the main equipment simultaneously, other parts come from the file of storing on the external storage device, specifically decide according to sweep object.
Under the preferred implementation, the file index information that is stored in the described File Index Table comprises file path information and file name information.
Under the preferred implementation, after execution in step S12, described multimedia scanning document indexing means also comprises:
S13, detect External memory equipment and remove after, the fileinfo that is stored in the file in main equipment/External memory equipment is removed from outer/inner multimedia database table, and be the corresponding index information that is stored in the file in External memory equipment/main equipment that removes of main equipment/External memory equipment according to the memory location of File Index Table.
In the present embodiment, when scanning to as if during main equipment, the fileinfo of the file of its storage might deposit in the inner multimedia database table, also might deposit in (when inner multimedia database memory space inadequate) in the external multimedia database table; When scanning to as if also be in like manner during External memory equipment, therefore after detecting External memory equipment and removing, can corresponding fileinfo with both, the file index information separated.
Under the preferred implementation, after execution in step S13, described multimedia scanning document indexing means also comprises:
S14, the call number of File Index Table File information is upgraded, and refresh fileinfo in inner multimedia database table and the external multimedia database table according to the File Index Table after upgrading, call number in the File Index Table is deposited to the external multimedia database table greater than the fileinfo of first threshold, and remaining is deposited to inner multimedia database table.
Based on the thought of above step S10 to S14, one of them concrete Application Example of the present invention may further comprise the steps:
The foundation of step 1, external multimedia database table;
1, detect External memory equipment and insert after, the system scan process begins to start.
2, scan procedure scans the data on the External memory equipment, and the fileinfo that scans is deposited in the inner multimedia database table.
3, in the process of warehouse-in, the number of the fileinfo clauses and subclauses in the inner multimedia database table is judged by system, for example, when the number of the fileinfo clauses and subclauses in the inner multimedia database table reaches 5000, then suspend scan procedure, create the external multimedia database table, after establishment is finished, start scan procedure, the fileinfo that scanning obtains in the later scanning process then is stored in the external multimedia database table, wherein, the concrete creation method of this external multimedia database table can adopt prior art to be achieved, and this paper does not run business into particular one to this and states.
The establishment of step 2, File Index Table and maintenance;
1, increase File Index Table in inner multimedia database table, for example, this table content can be file path+filename, to form file index.
When 2, in the process of scanning fileinfo being put in storage, also simultaneously the file index information of fileinfo is stored in the File Index Table of establishment and add call number, wherein, its call number increases progressively since 0.
3, system might remove at the process peripheral memory device of scanning, after detecting External memory equipment and removing, the fileinfo that the system scan process will be stored in the file in main equipment/External memory equipment removes from outer/inner multimedia database table, remove simultaneously the index information of the file on the File Index Table peripheral memory device, after removing the call number of remaining fileinfo in the File Index Table is upgraded, namely increase progressively successively from 0, and again refresh fileinfo in inner multimedia database table and the external multimedia database table according to the File Index Table after refreshing, be about to call number in the File Index Table greater than 5000 corresponding the leaving in the external multimedia database table of file, remaining then leaves in the inner multimedia database table.
Step 3. data integrity and not repeated assurance;
Record in the multimedia database table is with file path+file database associating by name major key, guaranteed like this different storage device (main equipment or External memory equipment) if in have the file of same file name can be identified equally, and the warehouse-in process of fileinfo is in sequence, namely enter first inner multimedia database table, reenter the external multimedia database table, can guarantee that like this same data can not be entered in two multimedia database tables simultaneously, have guaranteed the integrality of data and not repeated.
Four. the multimedia database table at locating file place fast;
Fileinfo deposits the multimedia database table in finish after, when certain fileinfo of wanting to obtain in certain memory device, can cross together file path+filename finds this document in File Index Table call number, if this call number is greater than 5000, then directly externally search this document information in the multimedia database table, otherwise, obtain fileinfo in the multimedia database table internally, thereby can orient fast the multimedia database table at the file place that will search, and directly from this multimedia database table, obtain file, avoided at two multimedia database tables traversal queries all, thereby improved query rate.
Adopt the present invention, can improve the index ability of multimedia file scanning, strengthen index function for the adaptability of storage space, when still having storage space, do not omit the index to multimedia file, strengthened user's experience.
In the another embodiment of the present invention, with reference to figure 2, by judging local residual memory space capacity, when memory capacity during less than a threshold value (for example 30MB), externally multimedia database is set up in expansion on the memory device, and the method for storing multimedia data index information solves the problem that the multimedia file index can't continue to create because of memory space inadequate.When the expansion index database also can't be set up in the outside, prompting user can't continue to increase new index content.
Particularly, a kind of multimedia scanning document indexing means that this embodiment of the invention provides comprises following concrete steps:
S20, detected External memory equipment and inserted after, main equipment starts scan procedure, and the fileinfo that scans is deposited in the inner multimedia database table;
S21, the peripheral hardware storage space during greater than default the 3rd threshold value that is lower than default Second Threshold and External memory equipment when the local storage space of main equipment, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table.
During implementation, described Second Threshold and the 3rd threshold value all can need not to pay performing creative labour according to the specific design demand by those skilled in the art and can design, and this paper does not run business into particular one to this and states.
Preferably, carry out institute in steps after, described multimedia scanning document indexing means also comprises:
S22, create File Index Table, and the file index information of the All Files information that scanning in the scan procedure is obtained is stored in this document concordance list and adds respectively call number.
Preferably, when the local storage space of main equipment is not less than default Second Threshold, fileinfo directly is stored to inner multimedia database table, and sets up file index for it;
When judgement drew External memory equipment and is not more than the 3rd default threshold value without peripheral hardware storage space or peripheral hardware storage space, then prompting user can't continue to increase new index content.
In addition, the embodiment of the invention also provides a kind of multimedia scanning document indexing unit, and with reference to figure 3, it specifically comprises:
Detecting unit 10 for detection of after have the External memory equipment (not shown) to insert, then starts scan procedure, and the fileinfo that scans is deposited in the inner multimedia database table;
Processing unit 20, when being used for number when the fileinfo clauses and subclauses of inner multimedia database table and reaching default first threshold, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table; When perhaps being used for peripheral hardware storage space that local storage space when main equipment is lower than default Second Threshold and External memory equipment greater than the 3rd threshold value preset, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table.
Preferably, described first threshold is 5000.Why present embodiment selects first threshold is 5000, is that when the sqlite3 database table File record of Android system this locality surpassed 5000, the warehouse-in of fileinfo can be slack-off because through practical programs operation test result.
Certainly, described first threshold is except being set to 5000, and those skilled in the art can also arrange arbitrarily according to its concrete intention.
Particularly, described processing unit 20 also be used for to create File Index Table, and the file index information of the All Files information that scanning in the scan procedure is obtained is stored in this document concordance list and adds respectively call number.
In the present embodiment, the file index information that is stored to described File Index Table comprises file path information and file name information.
Because the record in the multimedia database table is with file path+file database amalgamated consolidation by name, if guaranteed like this to have in the different storage device file of same file name can be identified equally, and the warehouse-in process of fileinfo is namely to enter first in sequence inner multimedia database table, reenter the external multimedia database table, can guarantee that like this same data can not be entered in two multimedia databases simultaneously, have guaranteed the integrality of data and not repeated.
Preferably, after detecting unit 10 has further detected External memory equipment and has removed, the fileinfo that 20 of processing units will be stored in the file in main equipment/External memory equipment removes from outer/inner multimedia database table, and is the corresponding index information that is stored in the file in External memory equipment/main equipment that removes of main equipment/External memory equipment according to the memory location of File Index Table.
Preferably, described multimedia scanning document indexing unit also comprises:
Updating block 30, be used for the call number of File Index Table File information is upgraded, and refresh fileinfo in inner multimedia database table and the external multimedia database table according to the File Index Table after upgrading, call number in the File Index Table is deposited to the external multimedia database table greater than the fileinfo of first threshold, and remaining is deposited to inner multimedia database table.
After detecting unit 10 detects peripheral hardware and removes, the fileinfo that processing unit 20 can will be stored in the file in main equipment/External memory equipment removes from outer/inner multimedia database table, and be the corresponding index information that is stored in the file in External memory equipment/main equipment that removes of main equipment/External memory equipment according to the memory location of File Index Table, after removing the call number in the remaining fileinfo in the File Index Table is upgraded, namely increase progressively successively from 0, and again refresh fileinfo in inner multimedia database table and the external multimedia database table according to the concordance list after refreshing, the call number that is about in the concordance list leaves in the external multimedia database table greater than 5000 file, and remaining then leaves in the inner multimedia database table.
Preferably, when the local storage space of main equipment was not less than default Second Threshold, processing unit 20 directly was stored to inner multimedia database table with fileinfo, and set up file index for it;
When processing unit 20 judged that drawing External memory equipment is not more than the 3rd default threshold value without peripheral hardware storage space or peripheral hardware storage space, then prompting user can't continue to increase new index content.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (15)

1. a multimedia scanning document indexing means is characterized in that, comprising:
After having detected the External memory equipment insertion, main equipment starts scan procedure, and the fileinfo that scans is deposited in the inner multimedia database table;
When the number of the fileinfo clauses and subclauses in the inner multimedia database table reaches default first threshold, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table.
2. multimedia scanning document indexing means as claimed in claim 1 is characterized in that, also comprises:
Create File Index Table, the file index information of the All Files information that scanning is obtained is stored in this document concordance list and adds respectively call number.
3. multimedia scanning document indexing means as claimed in claim 2 is characterized in that, the file index information that is stored in the described File Index Table comprises file path information and file name information.
4. multimedia scanning document indexing means as claimed in claim 2 is characterized in that, also comprises:
After detecting described External memory equipment and removing, the fileinfo that is stored in the file in main equipment/External memory equipment is removed from outer/inner multimedia database table, and be the corresponding index information that is stored in the file in External memory equipment/main equipment that removes of main equipment/External memory equipment according to the memory location of File Index Table.
5. multimedia scanning document indexing means as claimed in claim 4 is characterized in that described method also comprises:
Call number to File Index Table File information is upgraded, and refresh fileinfo in inner multimedia database table and the external multimedia database table according to the File Index Table after upgrading, call number in the File Index Table is deposited to the external multimedia database table greater than the fileinfo of first threshold, and remaining is deposited to inner multimedia database table.
6. such as the arbitrary described multimedia scanning document indexing means of claim 1-5, it is characterized in that described first threshold is 5000.
7. a multimedia scanning document indexing means is characterized in that, comprising:
After having detected the External memory equipment insertion, main equipment starts scan procedure, and the fileinfo that scans is deposited in the inner multimedia database table;
The peripheral hardware storage space that is lower than default Second Threshold and External memory equipment when the local storage space of main equipment is during greater than default the 3rd threshold value, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table.
8. multimedia scanning document indexing means as claimed in claim 7 is characterized in that, carry out institute in steps after, described method also comprises:
Create File Index Table, the file index information of the All Files information that scanning is obtained is stored in this document concordance list and adds respectively call number.
9. multimedia scanning document indexing means as claimed in claim 8 is characterized in that, when the local storage space of main equipment is not less than default Second Threshold, fileinfo directly is stored to inner multimedia database table, and sets up file index for it;
When judgement drew External memory equipment and is not more than the 3rd default threshold value without peripheral hardware storage space or peripheral hardware storage space, then prompting user can't continue to increase new index content.
10. a multimedia scanning document indexing unit is characterized in that, comprising:
Detecting unit for detection of after have External memory equipment to insert, then starts scan procedure, and the fileinfo that scans is deposited in the inner multimedia database table;
Processing unit, when being used for number when the fileinfo clauses and subclauses of inner multimedia database table and reaching default first threshold, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table; When perhaps being used for peripheral hardware storage space that local storage space when main equipment is lower than default Second Threshold and External memory equipment greater than the 3rd threshold value preset, then suspend scan procedure, create the external multimedia database table, after establishment is finished, then restart scan procedure and will continue to scan the fileinfo obtain and all be stored in the external multimedia database table.
11. multimedia scanning document indexing unit as claimed in claim 10, it is characterized in that, described processing unit also be used for to create File Index Table, and the file index information of the All Files information that scanning is obtained is stored in this document concordance list and adds respectively call number.
12. multimedia scanning document indexing unit as claimed in claim 11 is characterized in that the file index information that is stored in the described File Index Table comprises file path information and file name information.
13. multimedia scanning document indexing unit as claimed in claim 10, it is characterized in that, after detecting unit further detects described External memory equipment and removes, the fileinfo that processing unit then will be stored in the file in main equipment/External memory equipment removes from outer/inner multimedia database table, and is the corresponding index information that is stored in the file in External memory equipment/main equipment that removes of main equipment/External memory equipment according to the memory location of File Index Table.
14. multimedia scanning document indexing unit as claimed in claim 13 is characterized in that, also comprises:
Updating block, be used for the call number of File Index Table File information is upgraded, and refresh fileinfo in inner multimedia database table and the external multimedia database table according to the File Index Table after upgrading, call number in the File Index Table is deposited to the external multimedia database table greater than the fileinfo of first threshold, and remaining is deposited to inner multimedia database table.
15. multimedia scanning document indexing unit as claimed in claim 10, it is characterized in that, when the local storage space of main equipment was not less than default Second Threshold, processing unit directly was stored to inner multimedia database table with fileinfo, and set up file index for it;
When processing unit judged that draw External memory equipment is not more than the 3rd default threshold value without peripheral hardware storage space or peripheral hardware storage space, then prompting user can't continue to increase new index content.
CN201210396489.XA 2012-10-17 2012-10-17 Multimedia scanning file indexing means and device Expired - Fee Related CN102929981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210396489.XA CN102929981B (en) 2012-10-17 2012-10-17 Multimedia scanning file indexing means and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210396489.XA CN102929981B (en) 2012-10-17 2012-10-17 Multimedia scanning file indexing means and device

Publications (2)

Publication Number Publication Date
CN102929981A true CN102929981A (en) 2013-02-13
CN102929981B CN102929981B (en) 2016-09-21

Family

ID=47644779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210396489.XA Expired - Fee Related CN102929981B (en) 2012-10-17 2012-10-17 Multimedia scanning file indexing means and device

Country Status (1)

Country Link
CN (1) CN102929981B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015074545A1 (en) * 2013-11-19 2015-05-28 乐视致新电子科技(天津)有限公司 File scanning method and apparatus
CN104809149A (en) * 2015-03-02 2015-07-29 小米科技有限责任公司 Rich media file index creating method and device in router
CN104834549A (en) * 2015-05-26 2015-08-12 广东小天才科技有限公司 Mobile terminal application program file updating method and device
CN105204835A (en) * 2014-06-26 2015-12-30 阿里巴巴集团控股有限公司 Scanning method and device for operation object
CN105653719A (en) * 2016-01-06 2016-06-08 上海斐讯数据通信技术有限公司 Method and system for rapidly acquiring files of external storage equipment and router
CN107357929A (en) * 2017-07-27 2017-11-17 广东欧珀移动通信有限公司 File reading, mobile terminal and readable storage medium storing program for executing
CN107391699A (en) * 2017-07-27 2017-11-24 深圳市泰衡诺科技有限公司 A kind of display methods and display device of intelligent terminal file
CN108052575A (en) * 2017-12-08 2018-05-18 深圳市创维软件有限公司 File scanning method, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6584459B1 (en) * 1998-10-08 2003-06-24 International Business Machines Corporation Database extender for storing, querying, and retrieving structured documents
US20060023517A1 (en) * 2004-07-27 2006-02-02 Texas Instruments Incorporated Method and system for dynamic address translation
CN102411629A (en) * 2011-12-21 2012-04-11 Tcl集团股份有限公司 File scanning method and device based on android system
CN102567415A (en) * 2010-12-31 2012-07-11 百度在线网络技术(北京)有限公司 Control method and device of database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6584459B1 (en) * 1998-10-08 2003-06-24 International Business Machines Corporation Database extender for storing, querying, and retrieving structured documents
US20060023517A1 (en) * 2004-07-27 2006-02-02 Texas Instruments Incorporated Method and system for dynamic address translation
CN102567415A (en) * 2010-12-31 2012-07-11 百度在线网络技术(北京)有限公司 Control method and device of database
CN102411629A (en) * 2011-12-21 2012-04-11 Tcl集团股份有限公司 File scanning method and device based on android system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015074545A1 (en) * 2013-11-19 2015-05-28 乐视致新电子科技(天津)有限公司 File scanning method and apparatus
CN105204835A (en) * 2014-06-26 2015-12-30 阿里巴巴集团控股有限公司 Scanning method and device for operation object
CN104809149A (en) * 2015-03-02 2015-07-29 小米科技有限责任公司 Rich media file index creating method and device in router
CN104834549A (en) * 2015-05-26 2015-08-12 广东小天才科技有限公司 Mobile terminal application program file updating method and device
CN104834549B (en) * 2015-05-26 2018-06-22 广东小天才科技有限公司 The application file update method and device of mobile terminal
CN105653719A (en) * 2016-01-06 2016-06-08 上海斐讯数据通信技术有限公司 Method and system for rapidly acquiring files of external storage equipment and router
CN107357929A (en) * 2017-07-27 2017-11-17 广东欧珀移动通信有限公司 File reading, mobile terminal and readable storage medium storing program for executing
CN107391699A (en) * 2017-07-27 2017-11-24 深圳市泰衡诺科技有限公司 A kind of display methods and display device of intelligent terminal file
CN108052575A (en) * 2017-12-08 2018-05-18 深圳市创维软件有限公司 File scanning method, equipment and storage medium

Also Published As

Publication number Publication date
CN102929981B (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN102929981A (en) Media scanned file indexing method and device
US10452609B2 (en) Method and system for scanning local media file
US10551996B2 (en) Method and apparatus for starting an application in a screen-locked state
CN105550123B (en) Electronic device and its memory space management
CN103884151A (en) Method, refrigerator, user terminal and system for pushing menus according to user requirements
CN103809871A (en) Processing method and mobile terminal for icon of application program
CN103164247B (en) The method and device that system application is repaired automatically
CN103559276A (en) Method and device for clearing useless files
CN104866510A (en) Method and device for removing residual file and method and device for establishing feature library of residual file
WO2018072430A1 (en) Method for scanning and parsing installation package, apparatus, mobile terminal and machine-readable storage medium
CN102521257A (en) Method and device for providing corresponding on-line picture according to thumbnail
CN105159975A (en) To-be-cleaned data identification method and device and electronic equipment
CN104166730A (en) Method and device for displaying search result
CN104331376A (en) Method and device for clearing installation package stored in mobile terminal
CN104766082A (en) Image recognition method and device based on android system
CN104536780A (en) Electronic game resource high-efficiency loading method and system
CN103064934B (en) Android file management method and device
CN105426544B (en) Method and device for monitoring database state
CN104778252A (en) Index storage method and index storage device
CN104808995A (en) Method and device for storing application contents over applications
CN108595262B (en) Data processing method and device
CN104461920B (en) A kind of method and device of storing data
EP2990983A1 (en) Method and apparatus for scanning files
CN103853791A (en) Implementation method and device for quick file retrieving
CN111143293B (en) Metadata acquisition method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160921

Termination date: 20201017

CF01 Termination of patent right due to non-payment of annual fee