CN101807199B - Thumbnail display method and device - Google Patents

Thumbnail display method and device Download PDF

Info

Publication number
CN101807199B
CN101807199B CN201010110385A CN201010110385A CN101807199B CN 101807199 B CN101807199 B CN 101807199B CN 201010110385 A CN201010110385 A CN 201010110385A CN 201010110385 A CN201010110385 A CN 201010110385A CN 101807199 B CN101807199 B CN 101807199B
Authority
CN
China
Prior art keywords
thumbnail
picture
timestamp
disk
show
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.)
Active
Application number
CN201010110385A
Other languages
Chinese (zh)
Other versions
CN101807199A (en
Inventor
罗匡
傅斌
王建宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201010110385A priority Critical patent/CN101807199B/en
Publication of CN101807199A publication Critical patent/CN101807199A/en
Application granted granted Critical
Publication of CN101807199B publication Critical patent/CN101807199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a thumbnail display method and a device, wherein the method comprises the following steps: determining a picture needing to display a thumbnail, and inquiring the thumbnail corresponding to the picture in a magnetic disk; judging whether the time stamp of the thumbnail is consistent with the time stamp of the corresponding picture thereof; if judging so, displaying the thumbnail; and if judging not, updating the thumbnail corresponding to the picture, and displaying the thumbnail after updating. By implementing the thumbnail display method and the device provided by the invention, the picture can be rapidly and fluently viewed, and the wasted time due to original picture decoding is reduced. Meanwhile, after the picture is edited and modified by a user, the thumbnail can be updated according to the time stamp, and the thumbnail displayed to the user is ensured to be the newest.

Description

A kind of method for viewing thumbnail and device
Technical field
The present invention relates to computer realm, relate in particular to a kind of method for viewing thumbnail and device.
Background technology
The continuous development of Along with computer technology, various instruments with the aid of pictures are used widely.For ease of the user search fast, browsing pictures, instrument with the aid of pictures has been necessary basic function for the user provides the thumbnail of picture.
At present, instrument with the aid of pictures mainly contains two kinds for the user provides the method for picture thumbnail: a kind of be when checking thumbnail, all to regenerate thumbnail through former figure at every turn; Another kind is to preserve one thumbnail in the disk, directly shows this thumbnail when checking thumbnail.
But the inventor finds; All there is obvious defects in the existing two kinds of methods that show thumbnail of instrument with the aid of pictures: first method is all wanted in each loading, demonstration thumbnail earlier to former figure decoding; Generate thumbnail from former figure then, speed is slow, and efficient is low; The user need wait for the long period, gives user's experience not good; Second method can improve the speed of loading, demonstration thumbnail, if but the user wants enlarged and displayed, because thumbnail is stretched, therefore can fog.Simultaneously, if the user has carried out edit-modify to former figure outside instrument with the aid of pictures, the thumbnail of preserving in the disk can't upgrade timely; Therefore; The user opens the thumbnail before still the revising that the user sees behind the instrument with the aid of pictures, and feels uncertain thereby produce, and user experience is also bad.
Summary of the invention
The present invention provides a kind of method for viewing thumbnail and device, can be quick and smooth check picture, reduced the time of wasting because of the former figure of decoding.Simultaneously, after user's edit-modify picture, can guarantee to user's thumbnail images shown it is up-to-date according to the update of time stamp thumbnail.
Method for viewing thumbnail provided by the invention comprises:
Confirm to need to show the picture of thumbnail, the inquiry thumbnail corresponding in disk with said picture;
Whether the timestamp of judging said thumbnail is consistent with the timestamp of its corresponding picture;
If said being judged as is then to show thumbnail; If said being judged as not then upgraded the corresponding thumbnail of said picture, upgrade the back and show this thumbnail.
Preferably, said definite picture that needs to show thumbnail is inquired about before the thumbnail corresponding with said picture in disk, also comprises:
According to said picture, the thumbnail of corresponding at least two kinds of sizes of generation;
With the timestamp of said picture timestamp as its corresponding thumbnail;
With said thumbnail storage in disk.
Time when preferably, the timestamp of said picture is said picture Last modification.
Preferably, said definite picture that needs to show thumbnail, when in disk, inquiring about the thumbnail corresponding with said picture,
If there is not the corresponding thumbnail of said picture in the said disk, then according to said picture, the corresponding thumbnail that generates at least two kinds of sizes, and behind the mark timestamp, be stored in the disk.
Preferably, said if said being judged as is then to show said thumbnail; Comprise:
If said being judged as is the thumbnail display size that further judges is selected;
According to user's selection, from disk, obtain the thumbnail of correspondingly-sized;
Show said thumbnail.
Preferably, said if said being judged as not then upgraded the corresponding thumbnail of said picture, the renewal back shows this thumbnail, comprising:
If said being judged as not, then according to said picture, the corresponding thumbnail that generates at least two kinds of sizes;
The timestamp of the said newly-generated thumbnail of mark is replaced the former thumbnail of said picture with said newly-generated thumbnail;
According to user's selection, from disk, obtain the said newly-generated thumbnail of correspondingly-sized;
Show said newly-generated thumbnail.
Corresponding, thumbnail display device provided by the invention comprises:
The thumbnail generation module is used for generating corresponding thumbnail according to picture, and with the timestamp of the said picture timestamp as its corresponding thumbnail; With said thumbnail storage in disk;
Enquiry module is used for confirming that needs show the picture of thumbnail, the inquiry thumbnail corresponding with said picture in disk;
Processing module, whether the timestamp of the thumbnail that is used to judge that said enquiry module inquires is consistent with the timestamp of its corresponding picture; Be then to notify display module to show this thumbnail if be judged as; If be not judged as not, then notify the thumbnail generation module to upgrade thumbnail after, the notice display module shows this thumbnail;
Display module is used to the thumbnail that shows that said processing module is confirmed.
Preferably, said thumbnail generation module comprises:
Mapping unit is used for the thumbnail according to corresponding at least two different sizes of generation of a picture;
Maintenance unit is used to the thumbnail mark timestamp consistent with picture that mapping unit generates, and is stored in the disk; If had the thumbnail corresponding in the disk, then replaced original thumbnail with newly-generated thumbnail with said picture.
Preferably, said enquiry module comprises:
Interactive unit is used for confirming that the user need show the picture of thumbnail;
Query unit is used at the disk inquiry thumbnail corresponding with said picture;
Communication unit is used for when there is not the thumbnail of said picture correspondence in said disk, and notice thumbnail generation module generates the corresponding thumbnail of said picture.
Preferably, said processing module comprises:
First processing unit is used to judge whether the timestamp of thumbnail is consistent with the timestamp of its corresponding picture; If be judged as is then to notify second processing unit to confirm thumbnail dimensions; If be not judged as not, then notify the thumbnail generation module to upgrade thumbnail after, reinform second processing unit and confirm thumbnail dimensions;
Second processing unit is used for the thumbnail display size according to user's selection, from disk, obtains the thumbnail of correspondingly-sized, and shows through said display module.
Time when preferably, the timestamp of said picture is said picture Last modification.
Method for viewing thumbnail provided by the invention and device are kept at the thumbnail of picture in the disk, directly read and show from disk when the user checks, make the picture of checking that the user can be quick and smooth, have reduced the time of wasting because of the former figure of decoding.Each thumbnail is also preserved the timestamp sign, after user's edit-modify picture, can guarantee to user's thumbnail images shown it is up-to-date according to the update of time stamp thumbnail.Simultaneously, method for viewing thumbnail provided by the invention and device guarantee that thumbnail layering storage still can see thumbnail comparatively clearly after its enlarged and displayed.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method for viewing thumbnail first embodiment schematic flow sheet provided by the invention;
Fig. 2 is the method for viewing thumbnail second embodiment schematic flow sheet provided by the invention;
Fig. 3 is the thumbnail display device first embodiment schematic flow sheet provided by the invention;
Fig. 4 is the thumbnail display device second embodiment schematic flow sheet provided by the invention.
Embodiment
Method for viewing thumbnail provided by the invention and device, can be quick and smooth check picture, reduced the time of wasting because of the former figure of decoding.Simultaneously, after user's edit-modify picture, can guarantee to user's thumbnail images shown it is up-to-date according to the update of time stamp thumbnail.
Referring to Fig. 1, be the method for viewing thumbnail first embodiment schematic flow sheet provided by the invention, as shown in Figure 1:
In step 100, confirm to need to show the picture of thumbnail.
In step 101, the inquiry thumbnail corresponding in disk with picture.
In step 102, judge whether the timestamp of thumbnail is consistent with the timestamp of its corresponding picture; If be judged as not, then execution in step 103; If be judged as is that then execution in step 104;
In step 103, upgrade the corresponding thumbnail of picture.
In step 104, show thumbnail.
Method for viewing thumbnail provided by the invention is kept at the thumbnail of picture in the disk, directly reads and shows from disk when the user checks, makes the picture of checking that the user can be quick and smooth, has reduced the time of wasting because of the former figure of decoding.Simultaneously, each thumbnail is also preserved the timestamp sign, after user's edit-modify picture, can guarantee to user's thumbnail images shown it is up-to-date according to the update of time stamp thumbnail.
Referring to Fig. 2; Be the method for viewing thumbnail second embodiment schematic flow sheet provided by the invention, in the present embodiment, not only to thumbnail icon note timestamp; Make it keep upgrading; Simultaneously a picture is generated the thumbnail of at least two correspondences, make it when the user amplifies thumbnail, still have higher sharpness.This method flow process is as shown in Figure 2:
In step 200, according to original picture, the thumbnail of corresponding at least two kinds of sizes of generation.More concrete, this step can be carried out when the user browses this picture for the first time.
Preferably; The thumbnail with different size that in this step, generates is because all be to obtain through after the compression algorithm according to original picture, so except the difference of size; The image of thumbnail itself does not have difference, is that larger-size thumbnail has higher sharpness accordingly.Preferably, in the present embodiment, the user can be provided with the number of the corresponding thumbnail of an original image and the size of every hypertonic sketch map according to the demand of self.
More concrete, in the present embodiment, the thumbnail of different size is carried out the layering storage; Promptly; The user can set the thumbnail with original image boil down to many levels, and the thumbnail of each level is of different sizes, and the concrete number of plies and every layer size have the user to determine.For example; The user is provided with 3 thumbnail levels, is respectively: 100 * 100,200 * 200,300 * 300, then in this step; According to an original picture; Will generate 3 hypertonic sketch maps, its size is respectively: 100 * 100,200 * 200,300 * 300, and 3 hypertonic sketch maps are corresponding is stored in three levels respectively.
In step 201, with the timestamp of picture timestamp as its corresponding thumbnail.Time when in embodiments of the present invention, the timestamp of said picture is said picture Last modification.Further, be example with picture stored in the system among the WINDOWS, in the attribute of picture, its " modification time " is the timestamp of the said picture in the embodiment of the invention.This timestamp can obtain through API (API, the Application Programming Interface) function that WINDOWS carries easily, and we are with the timestamp of the original image that the obtains timestamp as its thumbnail.Certainly, the corresponding a plurality of thumbnails of original image must have identical timestamp.
Need to prove that the timestamp of the original image of the timestamp of thumbnail during with its generation is consistent, if original image is revised again after its thumbnail generates, then the timestamp of the timestamp of original image and thumbnail is inconsistent.
In step 202, with said thumbnail storage in disk.Certainly, the thumbnail marked of preservation is stabbed if having time.Above-mentioned steps is and presets step, is the product process of thumbnail, is not that the method for viewing thumbnail that provides of each embodiment of the present invention all can be carried out.
In step 203, confirm to need to show the picture of thumbnail, the inquiry thumbnail corresponding in disk with said picture.More concrete, according to the operation of user on the terminal, confirm that the user wants to check the picture of its thumbnail, in the disk at terminal, search the corresponding thumbnail of picture then.Find not have corresponding thumbnail in the disk of terminal if search, then execution in step 204; If can find corresponding thumbnail, then execution in step 205.
In step 204, according to picture, the corresponding thumbnail that generates at least two kinds of sizes, and be stored in the disk behind the timestamp of the newly-generated thumbnail of mark, execution in step 208 then.The execution content of this step, basic identical with the content in the step 200,201.
In step 205, in the determining step 203, whether the timestamp of the thumbnail that finds is consistent with the timestamp of its corresponding picture; If inconsistent, execution in step 206, if consistent, execution in step 208;
In step 206, according to picture, the corresponding thumbnail that generates at least two kinds of sizes, and be stored in the disk behind the timestamp of the newly-generated thumbnail of mark.The execution content of this step, basic identical with the content in the step 200,201.
In step 207, replace the former thumbnail of said picture with said newly-generated thumbnail.
In step 208,, need to confirm the thumbnail images shown size according to user's selection or operation.More concrete, the user can be according to the custom of oneself, through the size of operation adjustment thumbnail dimensions.Certainly, in the present embodiment, the user is not meant that through the size of operation adjustment thumbnail dimensions this method can provide the thumbnail of arbitrary dimension.In fact; The variation of dispersing between several sizes that the size of thumbnail dimensions can only preset in step 200; Can not accomplish linear change; But we can make it the user and look that thumbnail dimensions can linear change through a thumbnail is carried out convergent-divergent in a certain size interval.
For example, the thumbnail dimensions that in step 200, presets is two kinds of 150 * 150 pixels and 300 * 300 pixels.Then user's size of adjusting thumbnail dimensions shows all that 150 * 150 between 300 * 300 the time life size is the thumbnail of 150 * 150 pixels, just amplifies it accordingly.The size of adjusting thumbnail dimensions the user shows all that 300 * 300 between 500 * 500 the time life size is the thumbnail of 300 * 300 pixels, just it is amplified accordingly equally.The method only needs the thumbnail of a small amount of discrete size, just can realize the linear change that shows, to the better experience of user.Certainly; Because the size that the user adjusts thumbnail dimensions is 300 * 300 between 500 * 500 the time; It is actual that what use all is that life size is the thumbnail of 300 * 300 pixels, thus display size 300 * 300 o'clock sharpness than display size in 500 * 500 fashions.
In step 209,, from disk, obtain the thumbnail of correspondingly-sized according to the thumbnail dimensions that user's selection or operation are confirmed.
In step 210, show said thumbnail.
Method for viewing thumbnail provided by the invention is kept at the thumbnail of picture in the disk, directly reads and shows from disk when the user checks, makes the picture of checking that the user can be quick and smooth, has reduced the time of wasting because of the former figure of decoding.Each thumbnail is also preserved the timestamp sign, after user's edit-modify picture, can guarantee to user's thumbnail images shown it is up-to-date according to the update of time stamp thumbnail.Simultaneously, method for viewing thumbnail provided by the invention guarantees that thumbnail layering storage still can see thumbnail comparatively clearly after its enlarged and displayed.
Referring to Fig. 3, be the thumbnail display device first example structure synoptic diagram provided by the invention, as shown in Figure 3, this thumbnail display device comprises:
Thumbnail generation module 1 is used for generating corresponding thumbnail according to picture, and with the timestamp of the said picture timestamp as its corresponding thumbnail; With said thumbnail storage in disk.
Enquiry module 2 is used for confirming that needs show the picture of thumbnail, the inquiry thumbnail corresponding with said picture in disk.
Processing module 3, whether the timestamp of the thumbnail that is used to judge that enquiry module 2 inquires is consistent with the timestamp of its corresponding picture; Be then to notify display module 4 to show this thumbnail if be judged as; If be not judged as not, then notify thumbnail generation module 1 to upgrade thumbnail after, notice display module 4 shows these thumbnails.
Display module 4 is used to the thumbnail that shows that said processing module 3 is confirmed.
Thumbnail display device provided by the invention is kept at the thumbnail of picture in the disk of terminal, directly reads and shows from disk when the user checks, makes the picture of checking that the user can be quick and smooth, has reduced the time of wasting because of the former figure of decoding.Simultaneously, each thumbnail is also preserved the timestamp sign, after user's edit-modify picture, can guarantee to user's thumbnail images shown it is up-to-date according to the update of time stamp thumbnail.
Referring to Fig. 4; Be the thumbnail display device second example structure synoptic diagram provided by the invention; Present embodiment is with the structure of more detailed this thumbnail display device of description; Simultaneously, the thumbnail display device that present embodiment provides supports thumbnail is carried out the convergent-divergent of certain size under the situation that guarantees the thumbnail sharpness.The thumbnail display device that present embodiment provides is as shown in Figure 4, comprising:
Thumbnail generation module 1 is used for generating corresponding thumbnail according to picture, and with the timestamp of the said picture timestamp as its corresponding thumbnail; With said thumbnail storage in disk.
Further, thumbnail generation module 1 specifically comprises:
Mapping unit 11 is used for the thumbnail according to corresponding at least two different sizes of generation of a picture.Preferably; The thumbnail with different size that mapping unit 11 generates is because all be to obtain through after the compression algorithm according to original picture, so except the difference of size; The image of thumbnail itself does not have difference, is that larger-size thumbnail has higher sharpness accordingly.In the present embodiment, the user can be provided with the thumbnail number of mapping unit 11 corresponding original images generations and the size of every hypertonic sketch map according to the demand of self.
Maintenance unit 12 is used to the thumbnail mark timestamp consistent with picture that mapping unit 11 generates, and is stored in the disk; If had the thumbnail corresponding in the disk, then replaced original thumbnail with newly-generated thumbnail with said picture.
Preferably, maintenance unit 12 in disk, according to the size of thumbnail, the with different levels storage.The thumbnail of each level is of different sizes, and the concrete number of plies and every layer size have the user to determine.For example: the user is provided with 3 thumbnail levels; Be respectively: 100 * 100,200 * 200,300 * 300; Then mapping unit 11 is according to an original picture; Will generate 3 hypertonic sketch maps, its size is respectively: 100 * 100,200 * 200,300 * 300, maintenance unit 12 with 3 hypertonic sketch maps corresponding be stored in three levels respectively.
More concrete, in embodiments of the present invention, maintenance unit 12 is the timestamp of corresponding original image Last modification time for the timestamp of thumbnail mark.Further, be example with picture stored in the system among the WINDOWS, in the attribute of picture, its " modification time " is the timestamp of the said picture in the embodiment of the invention.API (the API that maintenance unit 12 can carry through WINDOWS; Application Programming Interface) function obtains this timestamp easily, and maintenance unit 12 is with the timestamp of the original image that the obtains timestamp as its thumbnail.Certainly, the corresponding a plurality of thumbnails of original image must have identical timestamp.
Need to prove that the timestamp of the original image of the timestamp of thumbnail during with its generation is consistent, if original image is revised again after its thumbnail generates, then the timestamp of the timestamp of original image and thumbnail is inconsistent.
Enquiry module 2 is used for confirming that needs show the picture of thumbnail, the inquiry thumbnail corresponding with said picture in disk.
Further, enquiry module 2 specifically comprises:
Interactive unit 21 is used for the operation on the terminal according to the user, confirms that the user need show the picture of its thumbnail.
Query unit 22 is used for the disk inquiry thumbnail corresponding with said picture at the terminal.
Communication unit 23 is used for the Query Result according to query unit 22, notifies corresponding module to do further processing.More concrete, when having the thumbnail of said picture correspondence in the disk, notification handler module 3 is done further processing; When not having the thumbnail of said picture correspondence in the disk, notice thumbnail generation module 1 generates the corresponding thumbnail of said picture earlier, and notification handler module 3 is done further processing then.
Processing module 3, whether the timestamp of the thumbnail that is used to judge that enquiry module 2 inquires is consistent with the timestamp of its corresponding picture; Be then to notify display module 4 to show this thumbnail if be judged as; If be not judged as not, then notify thumbnail generation module 1 to upgrade thumbnail after, notice display module 4 shows these thumbnails.
First processing unit 31 is used to judge whether the timestamp of thumbnail is consistent with the timestamp of its corresponding picture; Be then to notify second processing unit 32 to confirm thumbnail dimensions if be judged as; If be not judged as not, then notify thumbnail generation module 1 to upgrade thumbnail after, reinform second processing unit and confirm thumbnail dimensions.
More concrete; First processing unit 31 is mainly used in through timestamp judges thumbnail that enquiry module 2 finds whether corresponding with picture (because original image possibly be modified) after generating thumbnail in disk; If the timestamp of thumbnail is consistent with its corresponding picture timestamp; Explain that then the corresponding picture of thumbnail expection coincide, notify second processing unit 32 further to confirm thumbnail dimensions; If the picture timestamp that the timestamp of thumbnail is corresponding with it is inconsistent; Explain that original image revises again after generating thumbnail; Thumbnail before can not the current situation of complete reaction original image; So notice thumbnail generation module 1 upgrades thumbnail earlier, after the completion to be updated, notify second processing unit 32 further to confirm thumbnail dimensions.
Preferably; When enquiry module 2 because in disk, do not find thumbnail; And behind the thumbnail of notice thumbnail generation module 1 generation correspondence, this thumbnail need not stab through first processing unit, 31 judgement times, but directly hands over second processing unit 32 to confirm that thumbnail dimensions get final product.
Second processing unit 32 is used for the thumbnail display size according to user's selection, from disk, obtains the thumbnail of correspondingly-sized, and shows through said display module 4.
More concrete, the user can be according to the custom of oneself, through the size of operation adjustment thumbnail dimensions.Certainly, in the present embodiment, the user is not meant that through the size of operation adjustment thumbnail dimensions this device can provide the thumbnail of arbitrary dimension.In fact; The variation that the size of thumbnail dimensions can only disperse between several sizes that thumbnail generation module 1 presets; Can not accomplish linear change; But we can make it the user and look that thumbnail dimensions can linear change through a thumbnail is carried out convergent-divergent in a certain size interval.
For example, the thumbnail dimensions that in thumbnail generation module 1, presets is two kinds of 150 * 150 pixels and 300 * 300 pixels.The size of then adjusting thumbnail dimensions the user is 150 * 150 between 300 * 300 the time, and second processing unit 32 all obtains the thumbnail that life size is 150 * 150 pixels, after just it being amplified accordingly, hands over display module 4 to show.The size of adjusting thumbnail dimensions the user is 300 * 300 between 500 * 500 the time, and second processing unit 32 all obtains the thumbnail that life size is 300 * 300 pixels, same just it is amplified accordingly after, hand over display module 4 to show.
The method only needs the thumbnail of a small amount of discrete size, just can realize the linear change that shows, to the better experience of user.Certainly; Because the size that the user adjusts thumbnail dimensions is 300 * 300 between 500 * 500 the time; It is actual that what use all is that life size is the thumbnail of 300 * 300 pixels, thus display size 300 * 300 o'clock sharpness than display size in 500 * 500 fashions.
Second processing unit 32 is confirmed the display size that the user needs, and from disk, obtains the thumbnail of correspondingly-sized then, and shows through said display module 4.
Display module 4 is used to the thumbnail that shows that said processing module 3 is confirmed.
Thumbnail display device provided by the invention is kept at the thumbnail of picture in the disk, directly reads and shows from disk when the user checks, makes the picture of checking that the user can be quick and smooth, has reduced the time of wasting because of the former figure of decoding.Each thumbnail is also preserved the timestamp sign, after user's edit-modify picture, can guarantee to user's thumbnail images shown it is up-to-date according to the update of time stamp thumbnail.Simultaneously, thumbnail display device provided by the invention guarantees that thumbnail layering storage still can see thumbnail comparatively clearly after its enlarged and displayed.
Above disclosedly be merely a kind of preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.
Through the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement through hardware.Based on such understanding; All or part of can the coming out that technical scheme of the present invention contributes to background technology with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.

Claims (9)

1. a method for viewing thumbnail is characterized in that, comprising:
Confirm to need to show the picture of thumbnail, the inquiry thumbnail corresponding in disk with said picture;
Whether the timestamp of judging said thumbnail is consistent with the timestamp of its corresponding picture;
If said being judged as is then to show thumbnail; If said being judged as not then upgraded the corresponding thumbnail of said picture, upgrade the back and show this thumbnail;
Time when wherein, the timestamp of said picture is said picture Last modification.
2. method for viewing thumbnail as claimed in claim 1 is characterized in that, said definite picture that needs to show thumbnail is inquired about before the thumbnail corresponding with said picture in disk, also comprises:
According to said picture, the thumbnail of corresponding at least two kinds of sizes of generation;
With the timestamp of said picture timestamp as its corresponding thumbnail;
With said thumbnail storage in disk.
3. according to claim 1 or claim 2 method for viewing thumbnail is characterized in that, said definite picture that needs to show thumbnail, and in disk during the inquiry thumbnail corresponding with said picture,
If there is not the corresponding thumbnail of said picture in the said disk, then according to said picture, the corresponding thumbnail that generates at least two kinds of sizes, and behind the mark timestamp, be stored in the disk.
4. method for viewing thumbnail as claimed in claim 3 is characterized in that, and is said if said being judged as is then to show said thumbnail; Comprise:
If said being judged as is the thumbnail display size that further judges is selected;
According to user's selection, from disk, obtain the thumbnail of correspondingly-sized;
Show said thumbnail.
5. method for viewing thumbnail as claimed in claim 3 is characterized in that, said if said being judged as not then upgraded the corresponding thumbnail of said picture, the renewal back shows this thumbnail, comprising:
If said being judged as not, then according to said picture, the corresponding thumbnail that generates at least two kinds of sizes;
The timestamp of the said newly-generated thumbnail of mark is replaced the former thumbnail of said picture with said newly-generated thumbnail;
According to user's selection, from disk, obtain the said newly-generated thumbnail of correspondingly-sized;
Show said newly-generated thumbnail.
6. a thumbnail display device is characterized in that, comprising:
The thumbnail generation module is used for generating corresponding thumbnail according to picture, and with the timestamp of the said picture timestamp as its corresponding thumbnail; With said thumbnail storage in disk;
Enquiry module is used for confirming that needs show the picture of thumbnail, the inquiry thumbnail corresponding with said picture in disk;
Processing module, the timestamp of the thumbnail that is used to judge that said enquiry module inquires, whether consistent with the timestamp of its corresponding picture; Be then to notify display module to show this thumbnail if be judged as; If be not judged as not, then notify the thumbnail generation module to upgrade thumbnail after, the notice display module shows this thumbnail;
Display module is used to the thumbnail that shows that said processing module is confirmed;
Time when wherein, the timestamp of said picture is said picture Last modification.
7. thumbnail display device as claimed in claim 6 is characterized in that, said thumbnail generation module comprises:
Mapping unit is used for the thumbnail according to corresponding at least two different sizes of generation of a picture;
Maintenance unit is used to the thumbnail mark timestamp consistent with picture that mapping unit generates, and is stored in the disk; If had the thumbnail corresponding in the disk, then replaced original thumbnail with newly-generated thumbnail with said picture.
8. thumbnail display device as claimed in claim 7 is characterized in that, said enquiry module comprises:
Interactive unit is used for confirming that the user need show the picture of thumbnail;
Query unit is used at the disk inquiry thumbnail corresponding with said picture;
Communication unit is used for when there is not the thumbnail of said picture correspondence in said disk, and notice thumbnail generation module generates the corresponding thumbnail of said picture.
9. thumbnail display device as claimed in claim 8 is characterized in that, said processing module comprises:
First processing unit is used to judge whether the timestamp of thumbnail is consistent with the timestamp of its corresponding picture; If be judged as is then to notify second processing unit to confirm thumbnail dimensions; If be not judged as not, then notify the thumbnail generation module to upgrade thumbnail after, reinform second processing unit and confirm thumbnail dimensions;
Second processing unit is used for the thumbnail display size according to user's selection, from disk, obtains the thumbnail of correspondingly-sized, and shows through said display module.
CN201010110385A 2010-02-05 2010-02-05 Thumbnail display method and device Active CN101807199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010110385A CN101807199B (en) 2010-02-05 2010-02-05 Thumbnail display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010110385A CN101807199B (en) 2010-02-05 2010-02-05 Thumbnail display method and device

Publications (2)

Publication Number Publication Date
CN101807199A CN101807199A (en) 2010-08-18
CN101807199B true CN101807199B (en) 2012-10-24

Family

ID=42608994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010110385A Active CN101807199B (en) 2010-02-05 2010-02-05 Thumbnail display method and device

Country Status (1)

Country Link
CN (1) CN101807199B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722307B (en) * 2011-03-29 2016-05-11 腾讯科技(深圳)有限公司 A kind of thumbnail air navigation aid and device
CN103049445B (en) * 2011-10-12 2017-10-27 深圳市世纪光速信息技术有限公司 A kind of method, system and picture state server for inquiring about pictorial information
US20130222583A1 (en) * 2012-02-28 2013-08-29 Research In Motion Limited System and Method for Obtaining Images from External Cameras Using a Mobile Device
CN103699673B (en) * 2013-12-30 2017-07-25 广州猎豹网络科技有限公司 A kind of image processing method of mobile terminal, device and mobile terminal
CN104007947A (en) * 2014-05-19 2014-08-27 广州金山网络科技有限公司 Thumbnail display method and device
CN104239435A (en) * 2014-08-29 2014-12-24 四川长虹电器股份有限公司 Distributed picture caching method based on picture thumbnail processing
CN105704524B (en) * 2016-04-11 2019-02-22 北京视信互动科技有限公司 The update method and network server of the image of television channel
CN106294624A (en) * 2016-08-01 2017-01-04 天脉聚源(北京)传媒科技有限公司 A kind of method and device generating thumbnail
CN106657762A (en) * 2016-09-30 2017-05-10 上海斐讯数据通信技术有限公司 Method and system for generating thumbnail based on dual cameras
CN108052546A (en) * 2017-11-27 2018-05-18 深圳市丰巢科技有限公司 A kind of method and mobile terminal in mobile terminal browsing pictures
CN108900696B (en) * 2018-05-29 2021-03-26 努比亚技术有限公司 Data processing method, terminal and computer readable storage medium
CN108920207A (en) * 2018-06-15 2018-11-30 江苏中威科技软件系统有限公司 A method of improving file form loading performance
CN109981903B (en) * 2019-03-27 2020-12-18 联想(北京)有限公司 Image processing method and electronic equipment
CN111382311A (en) * 2019-04-02 2020-07-07 鸿合科技股份有限公司 Index bar thumbnail rapid display method and device and electronic equipment
CN113761236A (en) * 2021-09-09 2021-12-07 世纪龙信息网络有限责任公司 Thumbnail previewing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101167047A (en) * 2005-04-22 2008-04-23 微软公司 Local thumbnail cache
CN101229176A (en) * 2007-01-22 2008-07-30 北京昊泽生物科技有限公司 Capsule capable of increasing bone density and improving menopausal symptoms
CN101448063A (en) * 2007-11-26 2009-06-03 佛山普立华科技有限公司 Picture date modifying system and modifying method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101167047A (en) * 2005-04-22 2008-04-23 微软公司 Local thumbnail cache
CN101229176A (en) * 2007-01-22 2008-07-30 北京昊泽生物科技有限公司 Capsule capable of increasing bone density and improving menopausal symptoms
CN101448063A (en) * 2007-11-26 2009-06-03 佛山普立华科技有限公司 Picture date modifying system and modifying method thereof

Also Published As

Publication number Publication date
CN101807199A (en) 2010-08-18

Similar Documents

Publication Publication Date Title
CN101807199B (en) Thumbnail display method and device
RU2639651C2 (en) Image identification and organization according to model without user intervention
JP3000972B2 (en) Information providing apparatus and machine-readable recording medium recording program
EP2315111A2 (en) Method and apparatus for browsing media content and executing functions related to media content
AU2019275490A1 (en) Method of processing push information, method of pushing advertisement information, device and platform
CN109671147B (en) Texture map generation method and device based on three-dimensional model
US7436408B2 (en) Computer program for generating pictures
CN104272245A (en) Overscan support
CN102023836A (en) Display method of mobile terminal vector map and mobile terminal
US20150077433A1 (en) Algorithm for improved zooming in data visualization components
CN111414104B (en) Electronic map local display method and device
CN105426056A (en) Desktop launcher Launcher menu displaying method and apparatus
CN111091497A (en) Map vector line and plane thinning method, intelligent terminal and storage medium
CN116775916A (en) Multimedia content playing method, device, equipment and storage medium
CN113407561A (en) Configurable asset management method, apparatus, medium and computer program product
CN107943805A (en) A kind of animation renders and dissemination method, device
CN102542011B (en) Editing data records associated with static images
CN105808674A (en) Picture display method and device and electronic equipment
CN112015482A (en) Page loading method and device and server
AU2011239885A1 (en) So-called HD-Web method for high-definition and all-screen compatibile internet contents
CN110457408B (en) Personalized map downloading method, device, equipment and storage medium
CN104267873A (en) Folder display method and device
KR20140078399A (en) presenting user interface presenting method and device therefore
CN113535304B (en) Method and device for inserting, displaying and editing third-party model in design software
CN113888673A (en) Map editing method, system, device, computing equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160111

Address after: The South Road in Guangdong province Shenzhen city Fiyta building 518057 floor 5-10 Nanshan District high tech Zone

Patentee after: Shenzhen Tencent Computer System Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518057 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.