CN102929981B - Multimedia scanning file indexing means and device - Google Patents
Multimedia scanning file indexing means and device Download PDFInfo
- Publication number
- CN102929981B CN102929981B CN201210396489.XA CN201210396489A CN102929981B CN 102929981 B CN102929981 B CN 102929981B CN 201210396489 A CN201210396489 A CN 201210396489A CN 102929981 B CN102929981 B CN 102929981B
- Authority
- CN
- China
- Prior art keywords
- file
- multimedia
- database table
- 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.)
- Expired - Fee Related
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of multimedia scanning file indexing means and device, described method includes: after having detected that External memory equipment inserts, and main equipment starts scan procedure, and is stored in by the fileinfo scanned in internal multimedia database table;When the number of the file information entry in internal multimedia database table reaches default first threshold, then suspend scan procedure, create external multimedia database table, after establishment completes, then restart scan procedure and all store continuing to scan on the fileinfo obtained to external multimedia database table.Use the present invention, in the case of the original memory space inadequate of main equipment, then suspend scan procedure and create external multimedia database table, restart scan procedure after having created and all store continuing to scan on the fileinfo obtained to external multimedia database table, so, multimedia scanning can also fully be carried out, from without producing the situation that multimedia scanning file index is omitted.
Description
Technical field
The present invention relates to multimedia based on android system scanning (Media Scanner) technical field,
In particular to a kind of multimedia scanning file indexing means and device.
Background technology
At present, application based on intelligent operating systems such as android system is the most progressively from traditional mobile terminal
(such as mobile phone, panel computer) field to modern smart electronic consumer series products (such as: intelligent television,
Intelligence plays box) field development, such as based on android system multimedia scanning (Media Scanner)
Deng application.
The file being commonly stored on traditional mobile terminal is relatively fewer, when application of multimedia scans, sweeps
The file data amount also ratio described is relatively limited, therefore less demanding to scanning memory space.But, once
When multimedia scanning is applied on modern smart electronic consumer series products, the most necessary to scanning memory space
Have higher requirements, because these modern smart electronic consumer series products generally itself store substantial amounts of file,
Also through frequently as main equipment with External memory equipment (such as: peripheral hardware USB, portable hard drive or network online
Dish etc.) connect to use the resource of External memory equipment, so when application of multimedia scans, need to sweep
The data volume retouched just may be increased sharply, and directly contributes the original memory space inadequate of main equipment and (i.e. scans storage
Insufficient space), multimedia scanning cannot fully be carried out, thus causes multimedia scanning file index to be omitted,
Partial document cannot be indexed and present to user.
Summary of the invention
The multimedia that it is an object of the invention to solve prior art scans in application, because of main equipment storage sky
Between the not enough problem causing file index to be omitted, it is provided that one multimedia scanning file indexing means and device.
In order to realize foregoing invention purpose, the present invention realizes by the following technical solutions:
A kind of multimedia scanning file indexing means, including:
After having detected that External memory equipment inserts, main equipment starts scan procedure, and the literary composition that will scan
Part information is stored in internal multimedia database table;
When the number of the file information entry in internal multimedia database table reaches default first threshold
Time, then suspend scan procedure, create external multimedia database table, after having created, then restart scanning
Process also all stores continuing to scan on the fileinfo obtained to external multimedia database table.
Preferably, described multimedia scanning file indexing means also includes:
Creating File Index Table, the file index information of All Files information scanning obtained stores to this
In File Index Table and add call number respectively.
Preferably, the file index information stored to described File Index Table include file path information with
And file name information.
Preferably, described multimedia scanning file indexing means also includes:
After detecting that described External memory equipment removes, will be stored in the literary composition in main equipment/External memory equipment
The fileinfo of part removes from outer/inner portion multimedia database table, and according to the storage position of File Index Table
Put is that main equipment/External memory equipment removes the file being stored in External memory equipment/main equipment accordingly
Index information.
Preferably, described multimedia scanning file indexing means also includes:
The call number of fileinfo in File Index Table is updated, and according to the file index after updating
Table refreshes the fileinfo in internal multimedia database table and external multimedia database table, by file rope
Draw call number in table to deposit to external multimedia database table more than the fileinfo of first threshold, remaining
Deposit to internal multimedia database table.
Preferably, described first threshold is 5000.
A kind of multimedia scanning file indexing means, including:
After having detected that External memory equipment inserts, main equipment starts scan procedure, and the literary composition that will scan
Part information is stored in internal multimedia database table;
When the locally stored space of main equipment is deposited less than the peripheral hardware of the Second Threshold preset and External memory equipment
When storage space is more than three threshold value preset, then suspend scan procedure, create external multimedia database table,
After establishment completes, then restart scan procedure and all store to outside many by continuing to scan on the fileinfo obtained
In media database table.
Preferably, after execution institute is in steps, described method also includes:
Creating File Index Table, the file index information of All Files information scanning obtained stores to this
In File Index Table and add call number respectively.
Preferably, when the locally stored space of main equipment is not less than default Second Threshold, file is believed
Breath directly stores to internal multimedia database table, and sets up file index for it;
When judging to draw what External memory equipment was no more than preset without peripheral hardware memory space or peripheral hardware memory space
During three threshold values, then prompting user cannot continue to increase new index content.
A kind of multimedia scanning file indexing unit, including:
Detector unit, after being used for having detected that External memory equipment inserts, then starts scan procedure, and will
The fileinfo scanned is stored in internal multimedia database table;
Processing unit, for reaching pre-when the number of the file information entry in internal multimedia database table
If first threshold time, then suspend scan procedure, create external multimedia database table, after having created,
Then restart scan procedure and all store continuing to scan on the fileinfo obtained to external multimedia database table
In;Or for the locally stored space when main equipment less than the Second Threshold preset and External memory equipment
Peripheral hardware memory space more than three threshold value preset time, then suspend scan procedure, create external multimedia
Database table, after having created, then restarts scan procedure and all deposits continuing to scan on the fileinfo obtained
Store up to external multimedia database table.
Preferably, described processing unit is additionally operable to create File Index Table, and all literary compositions scanning obtained
The file index information of part information stores to this document concordance list and adds call number respectively.
Preferably, the file index information stored to described File Index Table include file path information with
And file name information.
Preferably, after detector unit detects that described External memory equipment removes further, processing unit
Then will be stored in the fileinfo of file in main equipment/External memory equipment from outer/inner portion multi-medium data
Storehouse table removes, and is that main equipment/External memory equipment removes accordingly according to the storage position of File Index Table
The index information of the file being stored in External memory equipment/main equipment.
Preferably, described multimedia scanning file indexing unit also includes:
Updating block, for being updated the call number of fileinfo in File Index Table, and according to more
File Index Table after Xin refreshes the file in internal multimedia database table and external multimedia database table
Information, deposits the call number in File Index Table to external multimedia more than the fileinfo of first threshold
Database table, remaining is deposited to internal multimedia database table.
Preferably, when the locally stored space of main equipment is not less than default Second Threshold, processing unit
Fileinfo is directly stored to internal multimedia database table, and set up file index for it;
When processing unit judges to show that External memory equipment is little without peripheral hardware memory space or peripheral hardware memory space
When three default threshold value, then prompting user cannot continue to increase new index content.
By the technical scheme of the invention described above it can be seen that at CE based on Android platform
(Consumer electronics, consumer electronics) kind equipment uses the present invention, deposits when main equipment is original
(the fileinfo bar stored in such as local inside multimedia database table in the case of storage insufficient space
When purpose number reaches certain threshold value), then suspend scan procedure and create external multimedia database table, wound
After having built, then restart scan procedure and all store continuing to scan on the fileinfo obtained to outside many matchmakers
In the table of volume data storehouse, so, even if just can be many in the case of the original memory space inadequate of main equipment
Media Survey can also fully be carried out, from without producing the situation that multimedia scanning file index is omitted.
Accompanying drawing explanation
Fig. 1 is the multimedia scanning file indexing means schematic flow sheet that the embodiment of the present invention provides;
Fig. 2 is that the multimedia scanning file indexing means that the embodiment of the present invention provides is embodied as flow chart;
Fig. 3 is the multimedia scanning file indexing unit structural representation that the embodiment of the present invention provides.
The realization of the object of the invention, functional characteristics and excellent effect, below in conjunction with specific embodiment and
Accompanying drawing is described further.
Detailed description of the invention
Make further to retouch in detail to technical scheme of the present invention with specific embodiment below in conjunction with the accompanying drawings
State, so that those skilled in the art can be better understood from the present invention and can be practiced, but lifted real
Execute example not as a limitation of the invention.
The present invention sets up multimedia database table to store fileinfo by extension on External memory equipment
Mode, solve multimedia scanning file index and cannot fully carry out because of memory space inadequate, cause
The problem that index is omitted.
Database table and (main equipment) locally created database table is set up at outside (External memory equipment)
The main distinction be storage device and storage position difference (such as storage device, its tool
Have local with outside point, the most external portable hard drive and main equipment itself), in addition, also deposit
The difference of storage installable file system, such as this locality is NTFS (New Technology File System) lattice
Formula, and outside is FAT (File Allocation Table, file configuration table) form, other are the most identical.
By file information storage outside or internal, database data is deposited and has a great impact,
System is required to know which index file information is stored in outside, and which index file information is
There is this locality.By index search and before obtaining file, it should first judge the position of fileinfo
(local or outside), is determined index range, is then completed the inquiry of file by the index of relevant position.
Meanwhile, need to ensure the local and integrity of external file information and the most repeated, and be not only storage
Enter the simplest, in addition it is also necessary to be also carried out processing accordingly in the foundation and maintenance of concordance list, below will
The solution embodiment of the present invention is discussed in detail realizes process.
As it is shown in figure 1, a kind of multimedia scanning file indexing means that one embodiment of the invention provides, including
Following concrete steps:
S10, detected that External memory equipment inserts after, main equipment starts scan procedure, and will scan
Fileinfo be stored in internal multimedia database table;
S11, reach the first default threshold when the number of the file information entry in internal multimedia database table
During value, then suspend scan procedure, create external multimedia database table, after having created, then restart and sweep
Retouch process and all store continuing to scan on the fileinfo obtained to external multimedia database table, preferably
Ground, in embodiment of the present invention one preferred implementation, described first threshold is 5000, the present embodiment
Why selecting first threshold is 5000, is because the present inventor and grinds through long-term program operation
Study carefully and test with result, find when file information entry in the sqlite3 database table that android system is local
When record is more than 5000, the warehouse-in of fileinfo can be the most slack-off.
Under preferred implementation, after performing above-mentioned steps, described multimedia scanning file indexing means
Also include:
S12, establishment File Index Table, and scan procedure will scan the file of the All Files information obtained
Index information stores to this document concordance list and adds call number respectively.This document concordance list can be according to need
Establishment to be passed through is stored in internal multimedia database table or external multimedia database table.The present embodiment
In " All Files information " refer to all fileinfos scanned, these fileinfos may all come
From the file of storage on main equipment, it is also possible to all from the file of storage in external storage device,
Being also possible to part simultaneously and come from the file of storage on main equipment, other parts come from external storage device
The file of upper storage, depending on sweep object.
Under preferred implementation, the file index information being stored in described File Index Table includes file road
Footpath information and file name information.
Under preferred implementation, after performing step S12, described multimedia scanning file indexing means
Also include:
S13, detect that External memory equipment removes after, will be stored in the literary composition in main equipment/External memory equipment
The fileinfo of part removes from outer/inner portion multimedia database table, and according to the storage position of File Index Table
Put is that main equipment/External memory equipment removes the file being stored in External memory equipment/main equipment accordingly
Index information.
In the present embodiment, when scanning to as if during main equipment, the fileinfo of the file of its storage has can
Can be stored in internal multimedia database table, it is also possible to be stored in external multimedia database table (when interior
During portion's multimedia database memory space inadequate);When scanning to as if during External memory equipment be also with
Reason, therefore after detecting that External memory equipment removes, can be accordingly by both fileinfos, file rope
Fuse breath separates.
Under preferred implementation, after performing step S13, described multimedia scanning file indexing means
Also include:
S14, the call number of fileinfo in File Index Table is updated, and according to the file after updating
Concordance list refreshes the fileinfo in internal multimedia database table and external multimedia database table, by literary composition
Call number in part concordance list is deposited to external multimedia database table more than the fileinfo of first threshold,
Remaining is deposited to internal multimedia database table.
Thought based on above step S10 to S14, one of them concrete Application Example bag of the present invention
Include following steps:
Step one, the foundation of external multimedia database table;
1, after detecting that External memory equipment inserts, system scan procedure starts to start.
2, the data on scan procedure scanning External memory equipment, and the fileinfo scanned is stored in interior
In portion's multimedia database table.
3, during warehouse-in, system judges the number of the file information entry in internal multimedia database table
Mesh, such as, when the number of the file information entry in internal multimedia database table reaches 5000,
Then suspend scan procedure, create external multimedia database table, after having created, start scan procedure,
Later scanning process scans the fileinfo obtained then be stored in external multimedia database table, its
In, the concrete creation method of this external multimedia database table can use prior art to be achieved, this
This is not run business into particular one and states by literary composition.
Step 2, the establishment of File Index Table and maintenance;
1, increasing File Index Table in internal multimedia database table, such as, this table content can be:
File path+filename, to form file index.
When 2, fileinfo being put in storage during scanning, the most simultaneously by the file index information of fileinfo
Storing in the File Index Table created and add call number, wherein, its call number starts to be incremented by from 0.
3, system External memory equipment during scanning likely removes, when detecting that outside storage sets
After removing, system scan procedure will be stored in the fileinfo of the file in main equipment/External memory equipment
Remove from outer/inner portion multimedia database table, remove in File Index Table peripheral storage device simultaneously
The index information of file, updates the call number of fileinfo remaining in File Index Table after removing, i.e.
Be incremented by successively from 0, and according to the File Index Table after refreshing again refresh internal multimedia database table and
Fileinfo in external multimedia database table, will call number in File Index Table more than 5000
What file was corresponding leaves in external multimedia database table, and remaining then leaves internal multi-medium data in
In the table of storehouse.
Step 3. data integrity and the most repeated guarantee;
Record in multimedia database table is with file path+file entitled database federation major key, so
Ensure that different storage device (main equipment or External memory equipment) if in have the file of same file name
The most identified, and the warehouse-in process of fileinfo is sequentially to carry out, and the most first enters internal many matchmakers
Volume data storehouse table, reenters external multimedia database table, so can ensure that same data can not be same
Time enter in two multimedia database tables, it is ensured that the integrity of data and the most repeated.
Step 4. quickly position the multimedia database table at file place;
Fileinfo is stored in after multimedia database table completes, and obtains certain in certain storage device wanting
During fileinfo, the index of this document can be found in File Index Table by file path+filename
Number, if this call number is more than 5000, then in outside multimedia database table, directly search this document letter
Breath, otherwise, fileinfo can be obtained from internal multimedia database table, such that it is able to quickly fixed
Position goes out the multimedia database table at file place to be searched, and directly obtains from this multimedia database table
Take file, it is to avoid at two multimedia database table all traversal queries, thus improve query rate.
Use the present invention, can improve multimedia file scanning index ability, strengthen index function for
The adaptability of memory space, does not omit the index to multimedia file, enhances when still there being memory space
Consumer's Experience.
In another embodiment of the present invention, with reference to Fig. 2, by judging local residual memory space capacity, when
When memory capacity is less than threshold value (a such as 30MB), on External memory equipment, many matchmakers are set up in extension
Volume data storehouse, the method for storing multimedia data index information solves multimedia file index because of storage sky
Between the not enough and problem that cannot continue to create.When extension index database also cannot be set up in outside, point out user
Cannot continue to increase new index content.
Specifically, a kind of multimedia scanning file indexing means that this embodiment of the invention provides, including such as
Lower concrete steps:
S20, detected that External memory equipment inserts after, main equipment starts scan procedure, and will scan
Fileinfo be stored in internal multimedia database table;
S21, when main equipment locally stored space less than preset Second Threshold and External memory equipment outside
If memory space is more than three threshold value preset, then suspend scan procedure, create external multimedia data
Storehouse table, after having created, then restart scan procedure and by continue to scan on the fileinfo obtained all store to
In external multimedia database table.
When being embodied as, described Second Threshold and the 3rd threshold value all can by those skilled in the art according to
Specific design demand can be designed without paying performing creative labour, does not run business into particular one this herein and states.
Preferably, after execution institute is in steps, described multimedia scanning file indexing means also includes:
S22, establishment File Index Table, and scan procedure will scan the file of the All Files information obtained
Index information stores to this document concordance list and adds call number respectively.
Preferably, when the locally stored space of main equipment is not less than default Second Threshold, file is believed
Breath directly stores to internal multimedia database table, and sets up file index for it;
When judging to draw what External memory equipment was no more than preset without peripheral hardware memory space or peripheral hardware memory space
During three threshold values, then prompting user cannot continue to increase new index content.
It addition, the embodiment of the present invention additionally provides a kind of multimedia scanning file indexing unit, with reference to Fig. 3,
It specifically includes:
Detector unit 10, after being used for having detected that External memory equipment (not shown) is inserted, then opens
Dynamic scan procedure, and the fileinfo scanned is stored in internal multimedia database table;
Processing unit 20, for reaching when the number of the file information entry in internal multimedia database table
During the first threshold preset, then suspending scan procedure, create external multimedia database table, establishment completes
After, then restart scan procedure and all store continuing to scan on the fileinfo obtained to external multimedia data
In the table of storehouse;Or for the locally stored space when main equipment less than the Second Threshold preset and outside storage
When the peripheral hardware memory space of equipment is more than three threshold value preset, then suspend scan procedure, create outside many
Media database table, after having created, then restarts scan procedure and will continue to scan on the fileinfo obtained
All store to external multimedia database table.
Preferably, described first threshold is 5000.Why the present embodiment selects first threshold to be 5000,
It is because through practical programs testing results result, when the sqlite3 database table that android system is local
When middle file record is more than 5000, the warehouse-in of fileinfo can be slack-off.
Certainly, described first threshold is in addition to being set to 5000, and those skilled in the art can also foundation
It is specifically intended is arbitrarily arranged.
Specifically, described processing unit 20 is additionally operable to create File Index Table, and will scan in scan procedure
The file index information of the All Files information obtained stores to this document concordance list and adds index respectively
Number.
In the present embodiment, the file index information stored to described File Index Table includes that file path is believed
Breath and file name information.
Owing to the record in multimedia database table is to set up with the entitled database federation of file path+file,
If this ensure that the file having same file name in different storage device is the most identified, and
The warehouse-in process of fileinfo be order carry out the most first enter internal multimedia database table, reenter outside many
Media database table, so can ensure that same data can not be entered to two multimedia databases simultaneously
In, it is ensured that the integrity of data and the most repeated.
Preferably, after detector unit 10 has detected that External memory equipment removes further, processing unit
The fileinfo of 20 files that will be stored in main equipment/External memory equipment is from outer/inner portion multimedia number
Remove according in the table of storehouse, and be that main equipment/External memory equipment moves accordingly according to the storage position of File Index Table
Index information except the file being stored in External memory equipment/main equipment.
Preferably, described multimedia scanning file indexing unit also includes:
Updating block 30, for the call number of fileinfo in File Index Table is updated, and according to
File Index Table after renewal refreshes the literary composition in internal multimedia database table and external multimedia database table
Part information, deposits the call number in File Index Table to outside many matchmakers more than the fileinfo of first threshold
Volume data storehouse table, remaining is deposited to internal multimedia database table.
After detector unit 10 detects that peripheral hardware removes, processing unit 20 can will be stored in main equipment/outside
The fileinfo of the file in storage device removes from outer/inner portion multimedia database table, and according to file
The storage position of concordance list is that main equipment/External memory equipment removes accordingly and is stored in External memory equipment/master
The index information of the file in equipment, by the index in fileinfo remaining in File Index Table after removing
Number update, be i.e. incremented by successively from 0, and again refresh internal multi-medium data according to the concordance list after refreshing
Fileinfo in storehouse table and external multimedia database table, will call number in concordance list more than 5000
File leave in external multimedia database table, remaining then leaves internal multimedia database table in
In.
Preferably, when the locally stored space of main equipment is not less than default Second Threshold, processing unit
Fileinfo is directly stored to internal multimedia database table by 20, and sets up file index for it;
When processing unit 20 judges to show that External memory equipment is without peripheral hardware memory space or peripheral hardware memory space not
During more than three threshold value preset, then prompting user cannot continue to increase new index content.
The foregoing is only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention,
Every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion, or directly
Or indirectly it is used in other relevant technical fields, the most in like manner it is included in the scope of patent protection of the present invention.
Claims (15)
1. a multimedia scanning file indexing means, it is characterised in that including:
After having detected that External memory equipment inserts, main equipment starts scan procedure, and will scan
Fileinfo is stored in internal multimedia database table;
When the number of the file information entry in internal multimedia database table reaches default first threshold
Time, then suspend scan procedure, create external multimedia database table, after having created, then weigh
Open scan procedure and all store continuing to scan on the fileinfo obtained to external multimedia data base
In table.
2. multimedia scanning file indexing means as claimed in claim 1, it is characterised in that also include:
Create File Index Table, the file index information of the All Files information that scanning is obtained store to
In this document concordance list and add call number respectively.
3. multimedia scanning file indexing means as claimed in claim 2, it is characterised in that store to institute
The file index information stated in File Index Table includes file path information and file name information.
4. multimedia scanning file indexing means as claimed in claim 2, it is characterised in that also include:
After detecting that described External memory equipment removes, will be stored in main equipment/External memory equipment
The fileinfo of file removes from outer/inner portion multimedia database table, and according to File Index Table
Storage position be that main equipment/External memory equipment removes accordingly and is stored in External memory equipment/master
The index information of the file in equipment.
5. multimedia scanning file indexing means as claimed in claim 4, it is characterised in that described method
Also include:
The call number of fileinfo in File Index Table is updated, and according to the file rope after updating
Draw table and refresh the fileinfo in internal multimedia database table and external multimedia database table,
Call number in File Index Table is deposited to external multimedia number more than the fileinfo of first threshold
According to storehouse table, remaining is deposited to internal multimedia database table.
6. the multimedia scanning file indexing means as described in claim 1-5 is arbitrary, it is characterised in that institute
Stating first threshold is 5000.
7. a multimedia scanning file indexing means, it is characterised in that including:
After having detected that External memory equipment inserts, main equipment starts scan procedure, and will scan
Fileinfo is stored in internal multimedia database table;
When the locally stored space of main equipment is less than the Second Threshold preset and the peripheral hardware of External memory equipment
When memory space is more than three threshold value preset, then suspend scan procedure, create external multimedia
Database table, after having created, then restarts scan procedure and will continue to scan on the file letter obtained
Breath all stores to external multimedia database table.
8. multimedia scanning file indexing means as claimed in claim 7, it is characterised in that performing institute
After in steps, described method also includes:
Create File Index Table, the file index information of the All Files information that scanning is obtained store to
In this document concordance list and add call number respectively.
9. multimedia scanning file indexing means as claimed in claim 8, it is characterised in that work as main equipment
Locally stored space when being not less than default Second Threshold, fileinfo is directly stored to interior
Portion's multimedia database table, and set up file index for it;
When judging that showing that External memory equipment is not more than without peripheral hardware memory space or peripheral hardware memory space presets
Three threshold values time, then prompting user cannot continue to increase new index content.
10. a multimedia scanning file indexing unit, it is characterised in that including:
Detector unit, after being used for having detected that External memory equipment inserts, then starts scan procedure, and
The fileinfo scanned is stored in internal multimedia database table;
Processing unit, for reaching when the number of the file information entry in internal multimedia database table
During the first threshold preset, then suspend scan procedure, create external multimedia database table, wound
After having built, then restart scan procedure and all store continuing to scan on the fileinfo obtained to outward
In portion's multimedia database table;Or for when main equipment locally stored space less than preset
Second Threshold and External memory equipment
Peripheral hardware memory space more than three threshold value preset time, then suspend scan procedure, create outside
Multimedia database table, after having created, then restarts scan procedure and obtains continuing to scan on
Fileinfo all stores to external multimedia database table.
11. multimedia scanning file indexing units as claimed in claim 10, it is characterised in that described place
Reason unit is additionally operable to create File Index Table, and the file of All Files information scanning obtained
Index information stores to this document concordance list and adds call number respectively.
12. multimedia scanning file indexing units as claimed in claim 11, it is characterised in that store to
File index information in described File Index Table includes file path information and file name information
。
13. multimedia scanning file indexing units as claimed in claim 10, it is characterised in that in detection
After unit detects that described External memory equipment removes further, processing unit then will be stored in main
The fileinfo of the file in equipment/External memory equipment is from outer/inner portion multimedia database table
Remove, and be that main equipment/External memory equipment removes accordingly according to the storage position of File Index Table
The index information of the file being stored in External memory equipment/main equipment.
14. multimedia scanning file indexing units as claimed in claim 13, it is characterised in that also include
:
Updating block, for the call number of fileinfo in File Index Table is updated, and according to
File Index Table after renewal refreshes internal multimedia database table and external multimedia database table
In fileinfo, the call number in File Index Table is deposited more than the fileinfo of first threshold
Putting to external multimedia database table, remaining is deposited to internal multimedia database table.
15. multimedia scanning file indexing units as claimed in claim 10, it is characterised in that set when main
When standby locally stored space is not less than default Second Threshold, processing unit is straight by fileinfo
Connect and store to internal multimedia database table, and set up file index for it;
When processing unit judges to show that External memory equipment is without peripheral hardware memory space or peripheral hardware memory space not
During more than three threshold value preset, then prompting user cannot continue to increase new index content.
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 CN102929981A (en) | 2013-02-13 |
CN102929981B true 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) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593451A (en) * | 2013-11-19 | 2014-02-19 | 乐视致新电子科技(天津)有限公司 | File scanning method and device |
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 |
CN104834549B (en) * | 2015-05-26 | 2018-06-22 | 广东小天才科技有限公司 | Application program file updating 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 |
CN107391699A (en) * | 2017-07-27 | 2017-11-24 | 深圳市泰衡诺科技有限公司 | A kind of display methods and display device of intelligent terminal file |
CN107357929B (en) * | 2017-07-27 | 2020-06-23 | Oppo广东移动通信有限公司 | File reading method, mobile terminal and readable storage medium |
CN108052575A (en) * | 2017-12-08 | 2018-05-18 | 深圳市创维软件有限公司 | File scanning method, equipment and storage medium |
Citations (3)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1622009A1 (en) * | 2004-07-27 | 2006-02-01 | Texas Instruments Incorporated | JSM architecture and systems |
-
2012
- 2012-10-17 CN CN201210396489.XA patent/CN102929981B/en not_active Expired - Fee Related
Patent Citations (3)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN102929981A (en) | 2013-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102929981B (en) | Multimedia scanning file indexing means and device | |
US10452609B2 (en) | Method and system for scanning local media file | |
CN104133822B (en) | A kind of method and device that file on memorizer is scanned | |
CN102521257B (en) | Method and device for providing corresponding on-line picture according to thumbnail | |
CN103884151A (en) | Method, refrigerator, user terminal and system for pushing menus according to user requirements | |
US9823945B2 (en) | Method and apparatus for managing application program | |
CN110019823B (en) | Method and device for updating knowledge graph | |
CN104462307A (en) | Searching method and device for object in terminal | |
CN103164247B (en) | The method and device that system application is repaired automatically | |
CN103809871A (en) | Processing method and mobile terminal for icon of application program | |
CN106068028B (en) | The method and terminal of wireless network name messy code are handled in terminal | |
CN105225212A (en) | A kind of image processing method and device | |
CN103365967A (en) | Automatic difference detection method and device based on crawler | |
CN103390127A (en) | Quitting method and device of operation interface of application program and terminal | |
CN105631044A (en) | Convergence method of network video resources | |
CN103823907A (en) | Method, device and engine for integrating on-line video resource addresses | |
CN104331376A (en) | Method and device for clearing installation package stored in mobile terminal | |
CN106598508A (en) | Solid-state hard disc and write-in arbitrating method and system thereof | |
CN104461920B (en) | A kind of method and device of storing data | |
CN104808995A (en) | Method and device for storing application contents over applications | |
KR101348849B1 (en) | Method for mining of frequent subgraph | |
CN102902791B (en) | Web page classification storage system and method | |
CN102831144B (en) | Based on the bookmark interaction processing method of mobile terminal, device and system | |
CN103186397A (en) | Data installing method and data installing system | |
CN103853791A (en) | Implementation method and device for quick file retrieving |
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 |