CN102541881A - File preview image display method and electronic equipment - Google Patents

File preview image display method and electronic equipment Download PDF

Info

Publication number
CN102541881A
CN102541881A CN2010105945339A CN201010594533A CN102541881A CN 102541881 A CN102541881 A CN 102541881A CN 2010105945339 A CN2010105945339 A CN 2010105945339A CN 201010594533 A CN201010594533 A CN 201010594533A CN 102541881 A CN102541881 A CN 102541881A
Authority
CN
China
Prior art keywords
preview image
file
time
files
descriptor
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.)
Pending
Application number
CN2010105945339A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2010105945339A priority Critical patent/CN102541881A/en
Publication of CN102541881A publication Critical patent/CN102541881A/en
Pending legal-status Critical Current

Links

Images

Abstract

An embodiment of the invention provides a file preview image display method applied to electronic equipment and the corresponding electronic equipment. The file preview image display method applied to the electronic equipment includes the steps: scanning at least two media files stored in at least one storage device; acquiring description information corresponding to each of the at least two media files; classifying the at least two media files according to the description information and obtaining a file queue corresponding to each type; estimating a first time for generating a preview image of each media file according to the description information; estimating a second time for generating preview images of all the media files in each media file queue according to the first time; determining the priority level of the media file queues according to the second time; and generating and displaying the preview images of the media files in the corresponding file queues according to the priority level.

Description

The display packing of file preview image and electronic equipment
Technical field
The present invention relates to be applied to the display packing and the corresponding electronic device of the file preview image of electronic equipment.
Background technology
The Android system has become more and more universal at present, and architecture design and open source code organizational form that the Android system is good have also attracted the support of more and more programmers and manufacturer.The Android system is also from only supporting mobile phone, gradually develop into support TV, panel computer, the consumer electronics product that navigator etc. are more and more abundanter.
In the Android system, use institute's files stored in unified system file medium scanning service (MediaScanner) the scanning external storage; And set up unified formation and sort; Then in this inner queue, order obtain fileinfo and spanned file preview.Because it is longer to generate the pre-review information time of video, the pre-review information time of pre-review information and music that generates picture file is shorter, and it is slower that this simple strategy can make that the user feels to generate the speed of pre-review information of picture.Particularly when in formation, having the file that its time that generates pre-review information is grown; In original Android system, could generate pre-review information to short file of times that it generates pre-review information to other behind the pre-review information of this document to be generated such as needs, thus maybe be because certain file in the formation cause the delay to All Files generation pre-review information after this document.
And along with Android expands to panel computer and TV domain; Be included in the electronic equipment or with memory device that electronic equipment is connected in to preserve file more and more; If use the Android original mechanism; Will make that to obtain the file pre-review information very slow, the administrative mechanism that therefore need provide a kind of preview of file comparatively efficiently to show the Android system extension.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of display packing and corresponding electronic device of file preview image, to address the above problem.
The embodiment of the invention provides a kind of display packing of file preview image, is applied to electronic equipment, and said method comprises: scan at least two media files storing at least one memory device; For the descriptor of each acquisition at least two files corresponding to this media file; At least two media files are classified and obtain document queue according to descriptor corresponding to each type; The very first time that is used to generate the preview image of each media file according to descriptor estimation; Second time that is used for generating the preview image of each media file formation All Files according to very first time estimation; Confirm the priority of each document queue according to second time; And the preview image that generates and show the media file in the corresponding document formation according to priority.
Another embodiment of the present invention provides a kind of display packing of file preview image, comprising: scan at least two files storing at least one memory device; For the descriptor of each acquisition at least two files corresponding to this document; The very first time that is used to generate the preview image of each file according to descriptor estimation; Confirm to generate and show the order of the preview image of at least two files according to the very first time; And according to the preview image that generates and show said at least two files in proper order.
Another embodiment of the present invention provides a kind of electronic equipment; Comprise: scanning element; Configuration scans at least two media files storing at least one memory device, and for the descriptor of each acquisition at least two files corresponding to this media file; The formation generation unit, configuration is classified at least two media files according to descriptor and is obtained the document queue corresponding to each type; Evaluation unit, configuration come according to descriptor estimation to be used to generate very first time of the preview image of each media file, and are used for generating second time of the preview image of each media file formation All Files according to very first time estimation; Priority determining unit, configuration confirms according to second time priority of each document queue; And the preview image generation unit, configuration comes to generate according to priority the preview image of the media file in the corresponding document formation.
Another embodiment of the present invention provides a kind of electronic equipment; Comprise: scanning element; Configuration scans at least two media files storing at least one memory device, and for the descriptor of each acquisition at least two files corresponding to this media file; Evaluation unit, configuration come according to descriptor estimation to be used to generate the very first time of the preview image of each media file; Order is confirmed the unit, and configuration confirms to generate and show according to the very first time order of the preview image of at least two files; And the preview image generation unit, configuration comes to generate and show according to order the preview image of at least two files.
The scheme that provides through the invention described above embodiment; Make when the memory device to electronic equipment conducts interviews, can be fast through generating and the mode of demonstration preview image and not only come the content-data to be visited stored in the preview memory device through the filename mode.
In addition, through the scheme that the invention described above embodiment provides, expand the function of Android system, and improved the generation strategy of preview file under the Android system, made the user can obtain preview image as much as possible apace.Even thereby when the electronic equipment that uses the Android system has a plurality of connected memory device, also can generate preview image to files stored in the memory device fast.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, will do to introduce simply to the accompanying drawing of required use in the description of embodiment below.Accompanying drawing in describing below only is an exemplary embodiment of the present invention.
Fig. 1 is the process flow diagram of having described according to the display packing of the file preview image of the embodiment of the invention.
Fig. 2 has described the process flow diagram of the display packing of file preview image according to another embodiment of the present invention.
Fig. 3 is the demonstrative structure block diagram that illustrates according to the electronic equipment of the embodiment of the invention.
Fig. 4 illustrates the demonstrative structure block diagram of electronic equipment according to another embodiment of the present invention.
Embodiment
Hereinafter, with preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.Note, in this instructions and accompanying drawing, have substantially the same step and represent with identical Reference numeral, and will be omitted the repetition of explanation of these steps and element with element.
In following examples of the present invention, electronic equipment refer to can with the equipment of other devices communicatings.The concrete form of electronic equipment includes but not limited to mobile phone, flat board (pad) computing machine, personal digital assistant, portable computer, multimedia player etc.Media file can comprise music, video, picture and document files etc.The particular type of media file does not constitute qualification of the present invention.
Fig. 1 is the process flow diagram of having described according to the display packing 1000 of the file preview image of the embodiment of the invention.Display packing 1000 according to the file preview image of the embodiment of the invention can be used for electronic equipment.Below, will the display packing according to the file preview image of the embodiment of the invention be described with reference to Fig. 1.
As shown in Figure 1, in step S1010, scan at least two media files storing at least one memory device.Memory device can be the internal storage device of electronic equipment, also can be the external storage that is connected with electronic equipment.Memory device can be, for example, Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), disk (as, hard disk, circle disk etc.), CD, perhaps magneto-optic (MO) dish, flash memory, storage card etc.
Can when starting electronic equipment, carry out scan operation to internal storage device in the electronic equipment and the external storage that is connected to electronic equipment.Replacedly, also can, external storage carry out scan operation when being connected to electronic equipment.
In addition, when need when the user presents the media file under the particular category, can the media file under the respective directories in the memory device be scanned in the application program.For example, when the user uses the music application program, possibly under particular category, select media file to create playlist.Can the media file under this particular category be scanned in the case, rather than all media files of storing on the memory device are scanned.
In addition, can obtain the quantity of the preview image that in the user interface that application program generates, can show.When the number of media files in the particular category of memory device or memory device surpasses the quantity of the preview image that can show in the user interface, can the media file in the particular category of memory device or memory device be scanned according to the quantity of the preview image that can show in the user interface.For example, can show the media file number of 6 media file numbers in the user interface that application program generated of the current use of user, and comprise 12 media files in the particular category of in this application program, opening.In the case, can at first scan preceding 6 media files in 12 media files.
In step S1020, for the descriptor of each acquisition at least two files corresponding to this media file.Descriptor can comprise and the type of the corresponding file of media file and the storage space that takies etc.File type can comprise, for example, and video type, audio types, picture/mb-type, text etc.Can comprise the multiple file layout that belongs to this document type in the file type.For example, image file can comprise bmp form, jpg form, tiff form etc.
According to the descriptor that in step S1020, obtains, in step S1030, at least two media files storing at least one memory device are classified and obtained the document queue corresponding to each type.In addition, according to the descriptor that in step S1020, obtains, estimation is used to generate the very first time of the preview image of each media file in step S1040.For example; For common file type; Can preserve in advance and be used to store corresponding to the reference rate of the generation preview image of file type and/or the experience database of reference time; And utilize experience database, estimate the very first time of the preview image of spanned file according to the descriptor that in step S1020, obtains.
Particularly; For example for the file of image type; Because it is mainly relevant with the storage space (the perhaps size of file) that this document takies to generate the time of its preview image; Therefore, can store in advance about required time of the preview image of the media file that generates unit storage space speed as a reference.When the media file of storing in according to the descriptor memory device comprises the media file of image type, the very first time of the preview image that can estimate spanned file according to the shared storage space of this document in the descriptor and reference rate.Preferably, also can comprise file layout in the descriptor.Can store in advance about required time of the preview image that generates unit storage space speed as a reference to the file of specific format, and the very first time of the preview image of estimating spanned file according to the shared storage space of the file layout in descriptor, this document and reference rate.
Replacedly, for example,, can generate the particular preview image of its type of indication for the file that belongs to audio types because the file of audio types does not comprise the picture material data for the file of audio types.That is to say that belong at medium under the situation of file of audio types, it is irrelevant to generate the time of its preview image and the storage space that this document takies (the perhaps size of file).Therefore; Can store reference time in advance about the preview image that generates the type file; When the media file of storing in according to the descriptor memory device comprises the media file of audio types, can estimate the very first time of the preview image of spanned file according to the reference time.
In addition; In experience database, can preserve reference rate and/or reference time to the processing power of hardware platform; And, estimation can obtain processing power information when being used to generate very first time of preview image of each media file about electronic equipment; So that when the very first time of the preview image of estimating spanned file, consider the processing power of hardware platform, thereby obtain evaluation time more accurately.
In step S1050; Second time that is used for generating the preview image of each media file formation All Files according to very first time estimation; And in step S1060, confirm the priority of each document queue according to second time of in step S1050, estimating.Replacedly; Can confirm the priority of each document queue according to the file number that is comprised in second time that generates the preview image of All Files in each media file formation and each document queue, thereby can in the shortest time, generate preview image as much as possible.In addition, when confirming the priority of each document queue, also can consider the occupancy of CPU of user's current place catalogue and electronic equipment.For example, low in the occupancy of the CPU of current electronic device, that is, under the relatively more idle situation of CPU, can be set to identical priority by a plurality of document queues, so that simultaneously the file in these a plurality of document queues is generated preview image.And it is high in the occupancy of preceding CPU; Promptly; Under the busier situation of CPU, the priority that can generate the document queue of more preview image in the short period of time is set to height, makes electronic equipment can preferentially generate the preview image of this document formation file.
At last, in step S1070, generate and show the preview image of the media file in the corresponding document formation according to priority.In addition; When having selected according to priority to generate and show the document queue of the preview image of media file wherein; Also can sort for the media file in the selected document queue according to the very first time, and at first for generating the short media file generation of preview image required time and showing its preview image.
Through the display packing of the file preview image in the present embodiment, when the internal storage device of electronic equipment or external storage are conducted interviews, can be through generating apace and showing that preview image comes the content-data of storing in the preview memory device to be visited.Through at first generating preview image for generating the short file type of preview image required time; Make the user can view the preview image of media file as much as possible in the memory device at short notice; Thereby reduced user's stand-by period, improved user experience.
The electronic equipment that can be used for using Android operating system according to the display packing 1000 of the file preview image of the embodiment of the invention.In the following description, term " service " is meant the specific function that realizes through the specific function in the Android operating system.In the Android system; Multi-media module is made up of three infrastructure services; Be respectively the MediaProvider service of being responsible for providing to the external world data access, the MediaScannerReceiver that monitors media data scanning dependent event serves and carries out the MediaScannerService service of media data scanning.Can serve a plurality of steps in the display packing 1000 that realizes the preview image shown in Fig. 1 through the service of the MediaProvider in the Android system, MediaScannerService service and worker.
Particularly, in step S1010, can be through calling at least two media files storing at least one memory device of MediaScannerService service scan in the Android operating system.For example, at least two media files be numbered f1, f2......fn, wherein n is the integer more than or equal to 2.
In step S1020, also can be through calling the MediaScannerService service to obtain descriptor corresponding to this media file for each media file f1, f2......fn.As stated, descriptor can comprise and the type of media file f1, the corresponding file of f2......fn and the storage space that takies etc.
In step S1030, according to descriptor media file f1, f2......fn are classified through the MediaProvider service of calling in the Android operating system.For the sake of simplicity; Here suppose that media file is divided into two type g1 and g2; Wherein g1 comprises the document queue that media file f1 to fm forms, and g2 comprises the document queue that remaining media file f (m+1) forms to fn, and m is for more than or equal to 1 and be less than or equal to the integer of n.The file type number that it should be noted that in this step to be divided is not limited to two kinds, and the number of files that is comprised in each type also can change according to actual conditions.
In step S1040, also can be through calling MediaProvider service to estimate very first time t1, the t2......tn of the preview image that is used to generate each media file f1, f2......fn respectively according to descriptor.For example, can adopt above-mentioned method to estimate the very first time according to reference rate.
In step S1050, also can be through calling MediaProvider service to estimate second time T 1 and the T2 of the preview image that is used for generating each media file formation g1 and g2 All Files respectively according to very first time t1, t2......tn.For example, T1=t1+t2......+tm, T2=t (m+1)+t (m+2) ...+tn.The computing method that it should be noted that for second time are not limited to aforesaidly simply add up.
In step S1060; Also can call worker service worker1 and worker2 respectively for each document queue g1 and g2, and confirm the priority that the worker corresponding with each document queue g1 and g2 serves with T2 according to second time T 1 through calling the MediaProvider service corresponding to this document formation.According to one embodiment of present invention, can confirm the priority of worker1 and worker2 according to the size of T1 and T2.For example, if T1 less than T2, then the priority of worker1 can be higher than the priority of worker2, vice versa.In addition, if T1 equals T2, then worker1 can have identical priority with worker2.
Last in step S1070, start the preview image that thread independently generated and showed the media file in the corresponding document formation through corresponding worker1 and worker2 according to said priority.For example; Can have under the situation of identical priority at worker1 and worker2; Can through worker1 start that thread L1 generates and display file formation g1 in the preview image of media file f1 to fm, simultaneously can through worker2 start that thread L2 generates and display file formation g2 in media file f (m+1) to the preview image of fn.
In the system of existing Android, when existence is connected to the memory device of electronic equipment, and detects new media file and add fashionablely, the MedieScanner service is distributed to the MediaScannerClient service with scan task.The data of new media file are perhaps inserted in the MediaScannerClient service with renewal through the MediaProvider service.Wroker of MediaProvider service call service, and by this worker service will in generate and the preview image of display media file according to the sequencing of the media file that obtains through scanning.Therefore when existing its preview image of generation to need the file of long period in the document queue of preview image to be generated, cause All Files after this document is generated the delay of pre-review information.
And according in the display packing of the file preview image of the embodiment of the invention; The MediaScannerService service not only obtains the data of media file when the scanning memory device; Also further obtain descriptor, thereby the media file of storing in the memory device is classified and obtain document queue corresponding to each type according to descriptor corresponding to this media file at least two files each.The very first time that is used to generate the preview image of each file through MediaProvider service estimation; And generate second time of the preview image of All Files in each media file formation according to the very first time estimation of the preview image that generates each file; Thereby confirm the priority of document queue, and generate and show the preview image of the media file in the corresponding document formation according to priority.
Therefore through improvement to media file preview image generting machanism in the system of existing Android; According to avoided using in traditional Android operating system in the display packing of the file preview image of the embodiment of the invention; Owing to generate and the mechanism of the preview image of display media file causes when existing in the document queue of preview image to be generated when generating its preview image and needing the file of long period, to the problem of the delay of All Files generation pre-review information after this document according to the sequencing of the media file that obtains through scanning.
In addition; In the display packing of the file preview image of the embodiment of the invention; Also call worker service corresponding to this document formation to each document queue; And each worker service can start independently that thread generates and show the preview image of the media file in the corresponding document formation, thereby changes in traditional Android operating system the mode with single-threaded generation preview image.Through using a plurality of parallel worker services to generate preview image, improved the efficient of system.
Fig. 2 has described the process flow diagram of the display packing 2000 of file preview image according to another embodiment of the present invention.Below, will the display packing of file preview image according to another embodiment of the present invention be described with reference to Fig. 2.
As shown in Figure 2, with step S1010, step S1020 and the step S1040 of the display packing 1000 of the file preview image shown in Fig. 1 similarly, in step S2010, scan at least two files storing at least one memory device; In step S2020, for the descriptor of each acquisition at least two files corresponding to this document; Among the step S2030, be used to generate the very first time of the preview image of each file according to descriptor estimation.
The display packing 2000 of the file preview image shown in Fig. 2 is with the difference of the display packing 1000 of file preview image; In the display packing 2000 of file preview image, do not comprise at least two media files storing at least one memory device are classified and obtained to be used for generating corresponding to the step (step S1030) of the document queue of each type with according to very first time estimation second time (step S1050) of the preview image of each media file formation All Files.In step S2040, confirm to generate and show the order of the preview image of at least two files according to the very first time; And in step S2050, generate and show the preview image of at least two files according to determined order.
In the display packing 2000 of file preview image; Be used for generating the media file that very first time of the preview image of each file stores the memory device that is scanned according to descriptor estimation and sort, and generate the preview image of media file in order.Therefore through improvement to media file preview image generting machanism in the system of existing Android; According to avoided using in traditional Android operating system in the display packing of the file preview image of the embodiment of the invention; Owing to generate and the mechanism of the preview image of display media file causes when existing in the document queue of preview image to be generated when generating its preview image and needing the file of long period, to the problem of the delay of All Files generation pre-review information after this document according to the sequencing of the media file that obtains through scanning.
In addition because can be through the display packing 2000 of single-threaded realization file preview image, so the display packing 2000 of file preview image be interrupted the back and be interrupted than the display packing 1000 of file preview image after recovery more easily.
Below, the electronic equipment of embodiments of the invention is described with reference to Fig. 3.Fig. 3 is the demonstrative structure block diagram that illustrates according to the electronic equipment 300 of the embodiment of the invention.As shown in Figure 3, the electronic equipment 300 of present embodiment comprises scanning element 310, formation generation unit 320, evaluation unit 330, priority determining unit 340 and preview image generation unit 350.
Each module of electronic equipment 300 is carried out each step/function of the display packing of the file preview image among above-mentioned Fig. 1, and is therefore succinct in order to describe, and no longer specifically describes.
For example, scanning element 310 can scan at least two media files storing at least one memory device, and for the descriptor of each acquisition at least two files corresponding to this media file.Descriptor can comprise the type of file and the storage space that takies.Formation generation unit 320 can be classified at least two media files and obtains the document queue corresponding to each type according to descriptor.Evaluation unit 330 can be used to generate the very first time of the preview image of each media file according to descriptor estimation, and is used for generating second time of the preview image of each media file formation All Files according to very first time estimation.Preferably, electronic equipment also can comprise empirical data library unit (not shown).The empirical data library unit can be stored reference rate and/or the reference time corresponding to the generation preview image of file type.Evaluation unit experience database capable of using generates the very first time of the preview image of said file according to said descriptor estimation.Priority determining unit 340 can be confirmed the priority of each document queue according to second time.Preview image generation unit 350 can generate the preview image of the media file in the corresponding document formation according to priority.
Through the electronic equipment in the present embodiment, when the internal storage device of electronic equipment or external storage are conducted interviews, can be through generating apace and showing that preview image comes the content-data of storing in the preview memory device to be visited.Through at first generating preview image for generating the short file type of preview image required time; Make the user can view the preview image of media file as much as possible in the memory device at short notice; Thereby reduced user's stand-by period, improved user experience.
Preferably, the electronic equipment in the present embodiment uses Android operating system.The formation generation unit can call the worker service corresponding to this document formation for each document queue through the service of the MediaProvider in the Android operating system.Priority determining unit can be confirmed the priority of the worker service corresponding with each document queue according to second time.The preview image generation unit calls the preview image that corresponding worker service generated and showed the media file in the corresponding document formation according to priority.When calling corresponding worker function according to priority, the startup of invoked each worker service independently thread generates and shows the preview image of the media file in the corresponding document formation.Occupancy at the CPU of current electronic device is low, that is, under the relatively more idle situation of CPU, worker service that can a plurality of document queues is set to identical priority, so that simultaneously the file in these a plurality of document queues is generated preview image.Through using a plurality of parallel worker services to generate preview image, improved the efficient of system.
Below, with reference to Fig. 4 electronic equipment according to another embodiment of the present invention is described.Fig. 4 illustrates the demonstrative structure block diagram of electronic equipment 400 according to another embodiment of the present invention.Each module of electronic equipment 400 is carried out each step/function of the display packing of the file preview image among above-mentioned Fig. 2, and is therefore succinct in order to describe, and no longer specifically describes.
As shown in Figure 4, electronic equipment 400 comprise with electronic equipment 300 in scanning element 310, evaluation unit 320 similar scanning elements 410, evaluation unit 420.Scanning element 410 can scan at least two media files storing at least one memory device, and for the descriptor of each acquisition at least two files corresponding to this media file.Evaluation unit 420 can be used to generate the very first time of the preview image of each media file according to descriptor estimation.
Electronic equipment 400 in the present embodiment also comprises definite unit 430 of order and preview image generation unit 440.Order confirms that unit 430 can be according to definite order that generates and show the preview image of at least two files of the very first time.Preview image generation unit 440 can be confirmed order generation of confirming unit 430 and the preview image that shows at least two files in order.
Through the electronic equipment in the present embodiment, be used for generating the media file that very first time of the preview image of each file stores the memory device that is scanned according to descriptor estimation and sort, and generate the preview image of media file in order.Thereby preview image through single-threaded generation and display media file.Therefore after the thread interrupt that generates the preview image of display media file also, be resumed easily.
It should be noted that the method shown in Fig. 1 to Fig. 2 each step needn't according to shown in order carry out.Can put upside down or carry out concurrently some step.For example; According to descriptor at least two media files are classified and obtain corresponding to each type document queue (step S1030) and according to the very first time (step S1040) that descriptor estimation is used to generate the preview image of each media file can be to carry out simultaneously; Also can first execution in step S1040, execution in step S1030 again.
Those of ordinary skills can recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.Those skilled in the art can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
It should be appreciated by those skilled in the art that can be dependent on design requirement and other factors carries out various modifications, combination, part combination and replacement to the present invention, as long as they are in the scope of appended claims and equivalent thereof.

Claims (16)

1. the display packing of a file preview image is applied to electronic equipment, and said method comprises:
Scan at least two media files storing at least one memory device;
For the descriptor of each acquisition in said at least two files corresponding to this media file;
Said at least two media files are classified and obtain document queue according to said descriptor corresponding to each type;
Estimation is used to generate the very first time of the preview image of each media file according to said descriptor;
Second time that is used for generating the preview image of each media file formation All Files according to the estimation of said very first time;
Confirm the priority of each said document queue according to said second time; And
Generate and show the preview image of the media file in the corresponding document formation according to said priority.
2. the method for claim 1, wherein said descriptor comprise the type of file and the storage space that takies.
3. method as claimed in claim 2, the wherein said very first time that estimation is used to generate the preview image of each file according to said descriptor comprises:
Utilize the very first time of experience database according to the preview image of the said file of said descriptor estimation generation,
Wherein said experience database is used to store reference rate and/or the reference time corresponding to the generation preview image of file type.
4. like claim 1 or 3 described methods, wherein
Said electronic equipment uses Android operating system.
5. method as claimed in claim 4, at least two files storing at least one memory device of wherein said scanning and said in said at least two files each obtain to comprise corresponding to the descriptor of this media file:
Call MediaScannerService service, to scan at least two media files storing at least one memory device and to obtain descriptor corresponding to this media file in said at least two files each.
6. method as claimed in claim 4, wherein said estimation is used for generating the preview image of each file according to said descriptor the very first time and said second time that is used to generate the preview image of each media file formation All Files according to said very first time estimation comprise:
Call MediaProvider service, be used to generate second time of the preview image of each media file formation All Files with very first time of the preview image that is used for generating each file according to said descriptor estimation and according to said very first time estimation.
7. method as claimed in claim 4, wherein
Saidly confirm that according to said second time priority of each said document queue comprises: serve through MediaProvider; Call worker service for each document queue, confirm the priority of the worker service corresponding according to said second time with each said document queue corresponding to this document formation; And
Saidly generate and show that the preview image of the media file in the corresponding document formation comprises: start the preview image that thread independently generated and showed the media file in the corresponding document formation through corresponding worker service according to said priority according to said priority.
8. the method for claim 1, saidly confirm that according to said second time priority of each said document queue also comprises:
Confirm the priority of each said document queue according to the file number that is comprised in said each said document queue.
9. the display packing of a file preview image comprises:
Scan at least two files storing at least one memory device;
For the descriptor of each acquisition in said at least two files corresponding to this document;
Estimation is used to generate the very first time of the preview image of each file according to said descriptor;
Confirm to generate and show the order of the preview image of said at least two files according to the said very first time; And
Generate and show the preview image of said at least two files according to said order.
10. electronic equipment comprises:
Scanning element, configuration scans at least two media files storing at least one memory device, and for the descriptor of each acquisition in said at least two files corresponding to this media file;
The formation generation unit, configuration is classified to said two media files according to said descriptor and obtain the document queue corresponding to each type at least;
Evaluation unit, configuration come to be used to generate according to said descriptor estimation the very first time of the preview image of each media file, and are used for generating second time of the preview image of each media file formation All Files according to said very first time estimation;
Priority determining unit, configuration confirms according to said second time priority of each said document queue; And
The preview image generation unit, configuration comes to generate according to said priority the preview image of the media file in the corresponding document formation.
11. electronic equipment as claimed in claim 10, wherein said descriptor comprise the type of file and the storage space that takies.
12. electronic equipment as claimed in claim 11 also comprises:
The empirical data library unit, configuration is stored reference rate and/or the reference time corresponding to the generation preview image of file type,
Said evaluation unit utilizes said experience database to generate the very first time of the preview image of said file according to said descriptor estimation.
13. like claim 10 or 12 described electronic equipments, wherein
Said electronic equipment uses Android operating system.
14. electronic equipment as claimed in claim 13, wherein
Said formation generation unit calls the worker service corresponding to this document formation through the MediaProvider service for each document queue,
Said priority determining unit is confirmed the priority that the worker corresponding with each said document queue serves according to said second time, and
Said preview image generation unit calls the preview image that corresponding worker service generated and showed the media file in the corresponding document formation according to said priority; Wherein when calling corresponding worker function according to said priority, the startup of invoked each said worker service independently thread generates and shows the preview image of the media file in the corresponding document formation.
15. electronic equipment as claimed in claim 10, wherein
Said priority determining unit also disposes the priority of confirming each said document queue according to the file number that is comprised in said each said document queue.
16. an electronic equipment comprises:
Scanning element, configuration scans at least two media files storing at least one memory device, and for the descriptor of each acquisition in said at least two files corresponding to this media file;
Evaluation unit, configuration come to be used to generate according to said descriptor estimation the very first time of the preview image of each media file;
Order is confirmed the unit, and configuration confirms to generate and show according to the said very first time order of the preview image of said at least two files; And
The preview image generation unit, configuration comes to generate and show according to said order the preview image of said at least two files.
CN2010105945339A 2010-12-17 2010-12-17 File preview image display method and electronic equipment Pending CN102541881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105945339A CN102541881A (en) 2010-12-17 2010-12-17 File preview image display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105945339A CN102541881A (en) 2010-12-17 2010-12-17 File preview image display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN102541881A true CN102541881A (en) 2012-07-04

Family

ID=46348801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105945339A Pending CN102541881A (en) 2010-12-17 2010-12-17 File preview image display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN102541881A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999386A (en) * 2012-11-08 2013-03-27 山东大学 Method for achieving multi-message queue mechanism to improve performance in single process
CN103414944A (en) * 2013-07-16 2013-11-27 深圳Tcl新技术有限公司 Method and apparatus for fast previewing object file
CN107766488A (en) * 2017-10-17 2018-03-06 广东欧珀移动通信有限公司 A kind of information query method, terminal, computer-readable recording medium
CN111881305A (en) * 2020-06-23 2020-11-03 上海博泰悦臻电子设备制造有限公司 Scanning method and related equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1422068A (en) * 2001-11-23 2003-06-04 力捷电脑股份有限公司 Scanning method
CN1652565A (en) * 2003-12-01 2005-08-10 索尼株式会社 Image taking apparatus
US20060036568A1 (en) * 2003-03-24 2006-02-16 Microsoft Corporation File system shell
CN1855988A (en) * 2005-04-27 2006-11-01 三星电子株式会社 Image scanning apparatus with preview function and method therefor
CN1910577A (en) * 2004-01-15 2007-02-07 松下电器产业株式会社 Image file list display device
CN1936802A (en) * 2005-09-23 2007-03-28 联想(北京)有限公司 Document browsing and positioning method and system
US20090201316A1 (en) * 2008-02-11 2009-08-13 Nikhil Bhatt Image Application Performance Optimization
CN101777066A (en) * 2009-12-31 2010-07-14 优视科技有限公司 Web page rendering and browsing system for mobile communication equipment terminals and application method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1422068A (en) * 2001-11-23 2003-06-04 力捷电脑股份有限公司 Scanning method
US20060036568A1 (en) * 2003-03-24 2006-02-16 Microsoft Corporation File system shell
CN1652565A (en) * 2003-12-01 2005-08-10 索尼株式会社 Image taking apparatus
CN1910577A (en) * 2004-01-15 2007-02-07 松下电器产业株式会社 Image file list display device
CN1855988A (en) * 2005-04-27 2006-11-01 三星电子株式会社 Image scanning apparatus with preview function and method therefor
CN1936802A (en) * 2005-09-23 2007-03-28 联想(北京)有限公司 Document browsing and positioning method and system
US20090201316A1 (en) * 2008-02-11 2009-08-13 Nikhil Bhatt Image Application Performance Optimization
CN101777066A (en) * 2009-12-31 2010-07-14 优视科技有限公司 Web page rendering and browsing system for mobile communication equipment terminals and application method thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999386A (en) * 2012-11-08 2013-03-27 山东大学 Method for achieving multi-message queue mechanism to improve performance in single process
CN102999386B (en) * 2012-11-08 2015-05-27 山东大学 Method for achieving multi-message queue mechanism to improve performance in single process
CN103414944A (en) * 2013-07-16 2013-11-27 深圳Tcl新技术有限公司 Method and apparatus for fast previewing object file
CN103414944B (en) * 2013-07-16 2017-07-25 深圳Tcl新技术有限公司 The method and apparatus of rapid preview file destination
CN107766488A (en) * 2017-10-17 2018-03-06 广东欧珀移动通信有限公司 A kind of information query method, terminal, computer-readable recording medium
CN107766488B (en) * 2017-10-17 2021-08-06 Oppo广东移动通信有限公司 Information query method, terminal and computer readable storage medium
CN111881305A (en) * 2020-06-23 2020-11-03 上海博泰悦臻电子设备制造有限公司 Scanning method and related equipment
CN111881305B (en) * 2020-06-23 2024-03-01 博泰车联网科技(上海)股份有限公司 Scanning method and related equipment

Similar Documents

Publication Publication Date Title
JP6047669B2 (en) Data synchronization
KR101164353B1 (en) Method and apparatus for browsing and executing media contents
KR20140123073A (en) Power efficient application notification system
US20120246390A1 (en) Information processing apparatus, program product, and data writing method
US20070245006A1 (en) Apparatus, method and computer program product to provide ad hoc message recipient lists
CN101320445B (en) Merging distributed mail into a unified folder view
KR20100021725A (en) Apparatus and method for reallocation of memory in mobile communication terminal
CN101826089A (en) Synchronizing media files available from multiple sources
US20130067346A1 (en) Content User Experience
CN105190525A (en) Management of access to a hybrid drive in power saving mode
KR20170054407A (en) Personalized contextual menu for inserting content in a current application
CN102541881A (en) File preview image display method and electronic equipment
US20110009159A1 (en) Method for capturing files with a portable electronic device
CN103577522A (en) Method for managing data and an electronic device thereof
CN102509553A (en) Electronic device and method for playing multimedia files thereof
JP2004185214A (en) File management device
KR101527492B1 (en) Sound storage service system and method
US9087057B2 (en) Content processing apparatus, method, and system
CN104756103A (en) Display system with content presentation mechanism and method of operation thereof
EP2458513A1 (en) Note management methods and systems
KR20120076523A (en) Distribution management method and system for providing integrative contents and advertisements through n-screen
CN101281516A (en) Method and device for making electric newspaper printing plate
CN113190306B (en) Display hierarchy switching method, device, equipment and storage medium
JP2020119343A (en) Information processing system, method, and information processing apparatus
CN102027493B (en) Method and device for resource management, and recording medium for said method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120704