CN102722307B - A kind of thumbnail air navigation aid and device - Google Patents

A kind of thumbnail air navigation aid and device Download PDF

Info

Publication number
CN102722307B
CN102722307B CN201110077033.2A CN201110077033A CN102722307B CN 102722307 B CN102722307 B CN 102722307B CN 201110077033 A CN201110077033 A CN 201110077033A CN 102722307 B CN102722307 B CN 102722307B
Authority
CN
China
Prior art keywords
thumbnail
picture
file
folder
thumbnails
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
CN201110077033.2A
Other languages
Chinese (zh)
Other versions
CN102722307A (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.)
Tencent Technology Shenzhen 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 CN201110077033.2A priority Critical patent/CN102722307B/en
Publication of CN102722307A publication Critical patent/CN102722307A/en
Application granted granted Critical
Publication of CN102722307B publication Critical patent/CN102722307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a kind of thumbnail guider, described device comprises: file monitor module, thumbnail synchronization module and thumbnail display module; Wherein, file monitor module, for monitoring the variation of current viewed file file, and detecting while having picture to change in described file, notifies described thumbnail synchronization module; Thumbnail synchronization module, is receiving after the notice of described file monitor module, adjusts the thumbnail of described file; Thumbnail display module, for the thumbnail that adjustment obtains according to described thumbnail synchronization module, carries out the demonstration of described file thumbnail. The invention also discloses a kind of thumbnail air navigation aid, can change at picture, when adding, have picture to delete or have picture to occur to upgrade if any picture, adjust in time the thumbnail of picture, and show in time, thereby improve the efficiency of thumbnail navigation, and improved user's experience.

Description

Thumbnail navigation method and device
Technical Field
The invention relates to a picture display technology, in particular to a thumbnail navigation method and device.
Background
At present, in order to facilitate a user to view pictures, a thumbnail navigation bar is arranged in a picture viewer, thumbnails of all pictures in a folder or thumbnails of all stored pictures are displayed in the thumbnail navigation bar, and the user can find and select a thumbnail of a picture to be viewed according to the thumbnail navigation bar, so that the picture to be viewed can be viewed.
In the existing picture viewer, thumbnail navigation often does not support real-time updating, thumbnails cannot be updated in real time according to changes of stored pictures, if a picture is deleted, after the thumbnail of the picture is selected, only an invalid picture is often displayed, or only a very fuzzy thumbnail is displayed, or only an empty picture is displayed, or the thumbnail directly jumps to the next picture, so that the thumbnail navigation efficiency is reduced, the picture display efficiency and effect are reduced, and the user experience is influenced.
Disclosure of Invention
In view of the above, the present invention provides a thumbnail navigation method and apparatus, so as to solve the problem that the conventional thumbnail navigation cannot be updated in time.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a thumbnail navigation device, which comprises: the system comprises a file monitoring module, a thumbnail synchronization module and a thumbnail display module; wherein,
the file monitoring module is used for monitoring the change of the file in the folder where the currently browsed picture is located through an operating system, judging whether the changed file is a picture or not when the file change in the currently browsed folder is acquired from the operating system, and if so, notifying the thumbnail synchronization module;
the thumbnail synchronization module is used for reacquiring the current picture file of the folder and adjusting the thumbnail of the folder after receiving the notification of the file monitoring module;
and the thumbnail display module is used for displaying the folder thumbnail according to the thumbnail obtained by the adjustment of the thumbnail synchronization module.
In the above scheme, the file monitoring module is configured to determine whether a file that changes is a picture when the file in the folder where the currently browsed picture is obtained from the operating system changes, notify the thumbnail synchronization module of the change if the file that changes is the picture, and otherwise, not notify the thumbnail synchronization module.
In the above scheme, the thumbnail synchronization module is configured to reacquire the picture files of the folder and adjust the thumbnail files of the folder after receiving the notification from the file monitoring module.
In the above scheme, the thumbnail synchronization module is configured to, after receiving the notification from the file monitoring module, acquire a partial picture file including a currently viewed picture from the folder, and adjust a thumbnail file of the acquired partial picture file.
In the above aspect, the thumbnail navigation apparatus further includes: and the thumbnail caching module is used for caching the thumbnail file adjusted by the thumbnail synchronization module.
In the above scheme, the thumbnail synchronization module is further configured to query whether the thumbnail of the acquired picture is stored in the thumbnail cache module after the picture file is acquired, verify whether the queried thumbnail is consistent with the acquired picture if the thumbnail of the acquired picture is queried, and not adjust the thumbnail of the picture if the queried thumbnail is consistent with the acquired picture; if the thumbnail of the picture is inconsistent with the thumbnail of the picture, regenerating the thumbnail of the picture, and covering the inquired thumbnail with the regenerated thumbnail in the thumbnail cache module; and if the thumbnail of the acquired picture is not inquired, generating the thumbnail of the acquired picture and storing the thumbnail of the acquired picture in the thumbnail cache module.
In the above scheme, the thumbnail caching module is further configured to remove a part of thumbnails according to the adjustment time of the stored thumbnails when the number of the stored thumbnails exceeds a preset number and/or a preset size, so that the number of the thumbnails stored by the thumbnail caching module does not exceed the preset number and/or the preset size.
In the above scheme, the thumbnail display module is configured to read a preset number of thumbnails from the thumbnail cache module, and display the read thumbnails.
In the above scheme, the thumbnail display module is further configured to display the read thumbnails according to a preset thumbnail display order; and/or displaying any one of the read thumbnails according to a preset frame number.
The invention also provides a thumbnail navigation method, which comprises the following steps:
monitoring the change of a file in a folder where a currently browsed picture is located through an operating system, judging whether the changed file is a picture or not when the change of the file in the folder where the currently browsed picture is located is acquired from the operating system, and if so, detecting that the picture in the folder is changed;
when detecting that the pictures in the folder are changed, re-acquiring the current picture files of the folder, and adjusting the thumbnails of the folder;
and displaying the folder thumbnail according to the adjusted thumbnail.
In the above scheme, the process of monitoring file change in the folder where the currently browsed picture is located specifically includes:
monitoring whether the change of the file in the currently browsed folder is acquired from an operating system, if so, judging whether the changed file is a picture, if so, detecting that the picture in the folder is changed, otherwise, detecting that no picture in the folder is changed.
In the above scheme, when it is detected that there is a picture change in the folder, adjusting the thumbnail of the folder includes:
and when detecting that the pictures in the folder are changed, acquiring partial picture files containing the currently viewed pictures from the folder, and adjusting thumbnails of the acquired pictures.
In the foregoing solution, the adjusting the thumbnail of the folder further includes: after the picture is acquired, whether the stored thumbnail contains the thumbnail of the acquired picture is inquired, if the thumbnail of the acquired picture is inquired, whether the inquired thumbnail is consistent with the acquired picture is verified, and if so, the thumbnail of the picture is not adjusted; if the thumbnail of the picture is inconsistent with the thumbnail of the picture, regenerating the thumbnail of the picture, and covering the inquired thumbnail with the regenerated thumbnail and then storing the thumbnail; and if the thumbnail of the acquired picture is not inquired, generating and saving the thumbnail of the acquired picture.
In the above aspect, the method further includes: and when the number of the stored thumbnails exceeds the preset number and/or the preset size, removing part of the thumbnails according to the adjustment time of the thumbnails, so that the stored thumbnails do not exceed the preset number and/or the preset size.
In the above scheme, the displaying of the folder thumbnail is performed according to the adjusted thumbnail, specifically: a preset number of thumbnails are read from the saved thumbnails, and the read thumbnails are displayed.
In the above scheme, the displaying the folder thumbnail according to the adjusted thumbnail includes: displaying the read thumbnails according to a preset thumbnail display order; and/or displaying any one of the read thumbnails according to a preset frame number.
According to the thumbnail navigation method and device provided by the invention, the thumbnails in the folder are adjusted in real time by monitoring the change of the pictures in the current folder, and the display of the thumbnail of the folder is carried out according to the adjusted thumbnails, so that the thumbnails of the pictures can be adjusted in time and displayed in time when the pictures are changed, such as the addition of the pictures, the deletion of the pictures or the update of the pictures, and therefore, the thumbnail navigation efficiency is improved, and the user experience is improved.
In addition, the invention also caches the generated thumbnail, thereby shortening the adjustment time of the thumbnail; the thumbnail is displayed by reading the cached thumbnail, so that the display efficiency of the thumbnail is effectively improved, and the thumbnail is displayed by adopting an animation scheme, so that the smoothness of thumbnail display is enhanced, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of the structure of a thumbnail navigation device according to the present invention;
FIG. 2 is a flow chart of an implementation of the thumbnail display module of the present invention for gradually displaying thumbnails in a transparent-to-clear manner;
FIG. 3 is a flowchart illustrating an implementation of the thumbnail navigation method according to the present invention.
Detailed Description
The basic idea of the invention is: and monitoring the change of the stored picture in real time, adjusting the thumbnail according to the change of the picture when detecting that the picture is changed, and displaying the updated thumbnail.
Referring to fig. 1, the thumbnail navigation apparatus according to the present invention mainly includes: the system comprises a file monitoring module, a thumbnail synchronization module and a thumbnail display module, wherein the file monitoring module is used for monitoring the change of files in a currently browsed folder and informing the thumbnail synchronization module when detecting that pictures in the folder change; the thumbnail synchronization module is used for adjusting the thumbnails of the folders after receiving the notification of the file monitoring module; and the thumbnail display module is used for displaying the folder thumbnail according to the thumbnail obtained by the adjustment of the thumbnail synchronization module.
Here, the file monitoring module and the thumbnail synchronization module may be located in a background thread of the operating system, and the thumbnail display module is located in a UI thread of the operating system.
The file monitoring module is specifically configured to determine whether a file that changes is a picture when the file that changes is acquired from an operating system in a currently browsed folder, notify the thumbnail synchronization module of the change if the file that changes is the picture, and otherwise, not notify the thumbnail synchronization module.
Here, the API interface (API direct changesww) provided by the operating system may be used to monitor a change of a file in one folder, and when it is monitored that a file in the folder has a change, the API direct changesww of the operating system may notify the file monitoring module of the change of the file.
In practical application, the file monitoring module is mainly used for monitoring a folder where a currently browsed picture is located in the picture viewer. When the files in the monitored folder change, the file monitoring module can verify whether the changed files are picture files, if so, the thumbnail synchronization module is informed to adjust the thumbnails, and otherwise, the changes in the current folder are ignored.
Here, the changes that occur to the file may mainly include: file addition, file deletion, file related information update, and the like. The update of the file related information may mainly be a change of a file name, a change of a file content, or the like, and the present invention is not limited to the change of the file.
Here, the file monitoring module may also monitor whether a file in the folder has changed by periodically polling the current folder, but a specific implementation effect of this method may consume more time and resources than the method of acquiring a file change from the operating system, and therefore, the method of acquiring a file change from the operating system is preferable.
The thumbnail synchronization module is mainly used for reacquiring the picture files of the folder and adjusting the thumbnail files of the folder after receiving the notification of the file monitoring module.
Specifically, the thumbnail synchronization module is configured to, after receiving the notification from the file monitoring module, acquire a partial picture file including a currently viewed picture from the folder, and adjust a thumbnail file of the acquired partial picture file. The thumbnail synchronization module acquires the currently viewed picture files and acquires partial picture files before and/or after the currently viewed picture files according to the viewing sequence of the current picture files, so that the thumbnails can be selectively adjusted when a plurality of pictures exist in the folder, the time for adjusting the thumbnails is shortened, unnecessary expenses in the process of viewing the pictures are reduced, and resources are saved.
In practical applications, the number of the acquired pictures may be preset, or the number of picture files before the viewed picture is to be acquired and/or the number of picture files after the viewed picture is to be acquired. Specifically, when the number of pictures in the folder is large, firstly, the currently viewed picture is acquired preferentially, and secondly, the picture files around the currently viewed picture are acquired according to the picture viewing order, where the number of the acquired pictures can be determined according to the number of thumbnails to be displayed in the thumbnail navigation bar currently and the viewing order of the pictures. If the user browses the pictures in the current folder from left to right, the picture on the right side of the currently viewed picture can be preferentially acquired, and if the user browses the pictures in the current folder from right to left, the picture on the right side of the currently viewed picture can be preferentially acquired, so that the thumbnail of the picture desired by the user can be preferentially adjusted and displayed to the user. For example, if 11 pictures in the current thumbnail navigation bar can be displayed in total, 5 pictures to the left and 10 pictures to the right of the currently viewed picture can be acquired when the user views the pictures in the current folder from left to right, and 5 pictures to the right and 10 pictures to the left of the currently viewed picture can be acquired when the user views the pictures of the current file from right to left.
Here, as shown in fig. 1, the thumbnail navigation apparatus may further include: and the thumbnail caching module is used for caching the thumbnail file adjusted by the thumbnail synchronization module.
Specifically, the thumbnail synchronization module is further configured to query whether the thumbnail of the acquired picture is stored in the thumbnail cache module after the picture file is acquired, verify whether the queried thumbnail is consistent with the acquired picture if the thumbnail of the acquired picture is queried, and not adjust the thumbnail of the picture if the queried thumbnail is consistent with the acquired picture; if the thumbnail of the picture is inconsistent with the thumbnail of the picture, regenerating the thumbnail of the picture, and covering the inquired thumbnail with the regenerated thumbnail in the thumbnail cache module; and if the thumbnail of the acquired picture is not inquired, generating the thumbnail of the acquired picture and storing the thumbnail of the acquired picture in the thumbnail cache module.
Here, the thumbnail caching module is further configured to store thumbnails that do not exceed a preset number and/or a preset size according to the adjustment time of the stored thumbnails.
Here, the thumbnail caching module is further configured to update the thumbnail stored in the thumbnail caching module at regular time. Specifically, when the number of thumbnails stored in the thumbnail cache module exceeds a preset number and/or a preset size, a part of thumbnails are removed according to the adjustment time of the stored thumbnails. In practical application, the thumbnail caching module may remove the part of the thumbnails with earlier adjustment time, so that the thumbnails stored in the thumbnail caching module do not exceed a preset number and/or a preset size.
In practical application, as the thumbnail generation consumes more time, especially a larger picture, the thumbnail generation consumes more time, and the occupied space of the thumbnail is not large, the generated thumbnail is cached by a Cache module, so that the thumbnail can be directly read from the Cache module when the thumbnail needs to be displayed, the situation that the thumbnail cannot be displayed in time due to the fact that the thumbnail needs to be generated in real time is avoided, the generation times of the thumbnail can be reduced, the system overhead is reduced, and the thumbnail navigation efficiency is improved.
Specifically, when a thumbnail of a picture is generated, firstly, whether the thumbnail of the picture already exists in a Cache module is checked, and if the thumbnail of the picture does not exist, a thumbnail synchronization module generates the thumbnail and inserts the thumbnail into the Cache module; if the thumbnail of the picture already exists in the Cache module, verifying whether the existing thumbnail is consistent with the picture, namely whether the existing thumbnail is consistent with the picture content of the picture on the picture content, if not, regenerating the thumbnail of the picture by the thumbnail synchronization module, inserting the thumbnail into the Cache module, covering the existing thumbnail with the regenerated thumbnail, and if so, not needing to adjust the thumbnail, so that when the thumbnail needs to be displayed, the thumbnail display module can directly read from the Cache module, and the thumbnail cannot be displayed in time due to the fact that the thumbnail needs to be generated in real time.
Here, since the Cache module itself has a certain size limitation, it needs to be updated regularly. In the Cache module, each thumbnail is stored with corresponding updating time, when the total size of the thumbnails stored in the Cache exceeds the size limit of the Cache module, the Cache module sorts the thumbnails according to the insertion time of the thumbnails, and eliminates part of the thumbnails with earlier insertion time from the Cache module until the total size of the thumbnails stored in the Cache module does not exceed the size limit of the thumbnail.
The thumbnail display module is used for reading a preset number of thumbnails from the thumbnail cache module and displaying the read thumbnails.
Specifically, the thumbnail display module reads the thumbnails from the thumbnail cache module according to the display number preset in the thumbnail navigation bar, and displays the read thumbnails in the thumbnail navigation bar of the picture viewer. Here, the thumbnail navigation bar is a long bar window in the picture viewer that displays the thumbnail in the current folder.
Here, the thumbnail display module displays the read thumbnails in a thumbnail display order set in advance. Specifically, the display order of the thumbnails in the thumbnail navigation bar may be set in advance in the thumbnail display module, for example, the thumbnails are displayed according to the positions of the thumbnails in the thumbnail navigation bar, the thumbnail display module determines the thumbnail of the currently viewed picture as the thumbnail displayed in the middle position of the thumbnail navigation bar, first displays the thumbnail located in the middle position of the thumbnail navigation bar, and then sequentially displays the thumbnails according to the distance between the position of the thumbnail in the thumbnail navigation bar and the middle position, so that the thumbnails on both sides of the thumbnail navigation bar can be gradually displayed, and hard jump in the thumbnail display process is avoided.
The thumbnail display module can also display any one of the read thumbnails according to a preset frame number, and therefore, for any one thumbnail, the thumbnail display module can gradually display the thumbnail from transparent to clear, and the thumbnail display module is favorable for enhancing the smoothness of thumbnail display.
The thumbnail display module gradually displays the thumbnails in a transparent-to-clear manner, and the specific implementation process is as shown in fig. 2, and may include the following steps:
step 101: the thumbnail display module verifies whether the thumbnail is generated or not, if so, the step 102 is continued, otherwise, the step waits and returns to verify whether the thumbnail is generated or not;
step 102: calculating the transparency of the thumbnail;
specifically, the transparency of the thumbnail is calculated according to the following formula (1),
F(d,t)=t*10+d*10(1)
wherein t is a time parameter, 1 is added every 10ms, a distance parameter d represents the distance between the current thumbnail and the thumbnail at the middle position, and F (d, t) is the transparency of the picture.
If the numeric area of F (d, t) is 0-255, if the result calculated according to the formula (1) is less than 0, then F (d, t) is equal to 0, and if the result calculated according to the formula (1) is greater than 255, then F (d, t) is equal to 255. Here, a transparency of 0 means complete opacity, and a transparency of 255 means complete transparency.
Step 103: and displaying the thumbnail according to the calculated transparency.
In addition, when the thumbnail display module detects that the displayed thumbnail is selected, the thumbnail is moved to the middle position of the thumbnail navigation bar within the preset moving time. Specifically, when a thumbnail is selected from currently displayed thumbnails in the thumbnail navigation bar, the thumbnail display module moves the selected thumbnail to the middle position of the thumbnail navigation bar, and the thumbnails on both sides of the thumbnail navigation bar also move sequentially at the same time. Here, the moving time of the thumbnail to the middle position of the thumbnail navigation bar may be preset, such that the moving speed of the thumbnail is adaptive, and the moving speed is faster when the thumbnail is farther from the middle position, and conversely, the moving speed of the thumbnail is slower if the thumbnail is closer to the middle position.
The thumbnail display module adopts a display scheme with the animation effect, displays the thumbnail on the thumbnail navigation bar, can effectively enhance the smoothness of thumbnail display, and improves user experience.
Correspondingly, the thumbnail navigation method of the present invention, as shown in fig. 3, mainly includes the following steps:
step 201: monitoring the change of files in the current browsed folder;
step 202: when the fact that the pictures in the folder are changed is detected, adjusting the thumbnail of the folder;
step 203: and displaying the folder thumbnail according to the adjusted thumbnail.
In step 201, the process of monitoring file change in the currently browsed folder may specifically be: monitoring whether the change of the file in the currently browsed folder is acquired from an operating system, if so, judging whether the changed file is a picture, if so, detecting that the picture in the folder is changed, otherwise, detecting that no picture in the folder is changed.
In step 202, when it is detected that there is a change in a picture in the folder, adjusting the thumbnail of the folder may specifically include: and when detecting that the pictures in the folder are changed, re-acquiring the picture files of the folder, and adjusting the thumbnail files of the folder.
Specifically, when it is detected that a picture in the folder changes, a part of picture files containing the currently viewed picture are acquired from the folder, and the thumbnail of the acquired picture is adjusted. When the picture file is obtained, the currently viewed picture file is obtained firstly, and then partial picture files before and/or after the currently viewed picture file are obtained according to the viewing sequence of the current picture file.
Here, adjusting the thumbnail file of the acquired partial picture file specifically includes: after the picture is acquired, whether the stored thumbnail contains the thumbnail of the acquired picture is inquired, if the thumbnail of the acquired picture is inquired, whether the inquired thumbnail is consistent with the acquired picture is verified, and if so, the thumbnail of the picture is not adjusted; if the thumbnail of the picture is inconsistent with the thumbnail of the picture, regenerating the thumbnail of the picture, and covering the inquired thumbnail with the regenerated thumbnail and then storing the thumbnail; and if the thumbnail of the acquired picture is not inquired, generating and saving the thumbnail of the acquired picture.
Here, the method further includes: and saving the thumbnails of which the number is not more than the preset number and/or the size is not more than the preset size according to the adjustment time of the thumbnails.
Here, the method further includes: and updating the saved thumbnail at regular time. Specifically, when the number of the stored thumbnails exceeds the preset number and/or the preset size, a part of the thumbnails are removed according to the adjustment time of the thumbnails, so that the stored thumbnails do not exceed the preset number and/or the preset size.
The display of the folder thumbnail is carried out according to the adjusted thumbnail, and the display specifically comprises the following steps: a preset number of thumbnails are read from the saved thumbnails, and the read thumbnails are displayed.
Specifically, the thumbnails are read from the stored thumbnails according to the display number preset in the thumbnail navigation bar, and the read thumbnails are displayed in the thumbnail navigation bar of the picture viewer.
Here, the read thumbnails may be displayed in a thumbnail display order set in advance. And/or any one of the thumbnails can be displayed and read according to the preset frame number.
For example, currently, when a user browses a "picture collection" folder in a viewer and copies a "new picture" jpg "file to the" picture collection "folder, a file monitoring module monitors that the" picture collection "folder has a new file, and notifies a thumbnail synchronization module to synchronize, and the thumbnail synchronization module generates a thumbnail of the" new picture.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (13)

1. A thumbnail navigation apparatus, characterized in that the apparatus comprises: the system comprises a file monitoring module, a thumbnail synchronization module and a thumbnail display module; wherein,
the file monitoring module is used for monitoring the change of the file in the folder where the currently browsed picture is located through an operating system, judging whether the changed file is a picture or not when the file change in the currently browsed folder is acquired from the operating system, and if so, notifying the thumbnail synchronization module;
the thumbnail synchronization module acquires the current picture file of the folder after receiving the notification of the file monitoring module and adjusts the thumbnail file of the picture file in the folder;
and the thumbnail display module is used for displaying the thumbnails of the picture files in the folder according to the thumbnail files obtained by the adjustment of the thumbnail synchronization module.
2. The thumbnail navigation apparatus according to claim 1, wherein the thumbnail synchronization module is configured to obtain a partial picture file containing a currently viewed picture from the folder after receiving the notification from the file monitoring module, and adjust the thumbnail file of the obtained partial picture file.
3. The thumbnail navigation apparatus according to claim 1 or 2, characterized in that the thumbnail navigation apparatus further comprises: and the thumbnail caching module is used for caching the thumbnail file adjusted by the thumbnail synchronization module.
4. The thumbnail navigation device according to claim 3, wherein the thumbnail synchronization module is further configured to query whether the thumbnail of the obtained picture is stored in the thumbnail cache module after the picture file is obtained, verify whether the queried thumbnail is consistent with the obtained picture if the thumbnail of the obtained picture is queried, and not adjust the thumbnail of the picture if the queried thumbnail is consistent with the obtained picture; if the thumbnail of the picture is inconsistent with the thumbnail of the picture, regenerating the thumbnail of the picture, and covering the inquired thumbnail with the regenerated thumbnail in the thumbnail cache module; and if the thumbnail of the acquired picture is not inquired, generating the thumbnail of the acquired picture and storing the thumbnail of the acquired picture in the thumbnail cache module.
5. The thumbnail navigation apparatus according to claim 3, wherein the thumbnail cache module is further configured to, when the number of the stored thumbnails exceeds a preset number and/or a preset size, remove a part of the thumbnails according to the adjustment time of the stored thumbnails, so that the number of the thumbnails stored by the thumbnail cache module does not exceed the preset number and/or the preset size.
6. The thumbnail navigation apparatus according to claim 3, wherein said thumbnail display module is configured to read a preset number of thumbnails from said thumbnail cache module and display the read thumbnails.
7. The thumbnail navigation apparatus according to claim 6, wherein said thumbnail display module is further configured to display the read thumbnails in a preset thumbnail display order; and/or displaying any one of the read thumbnails according to a preset frame number.
8. A thumbnail navigation method, the method comprising:
monitoring the change of a file in a folder where a currently browsed picture is located through an operating system, judging whether the changed file is a picture or not when the change of the file in the folder where the currently browsed picture is located is acquired from the operating system, and if so, detecting that the picture in the folder is changed;
when detecting that the pictures in the folder are changed, re-acquiring the current picture files of the folder, and adjusting the thumbnail files of the picture files in the folder;
and displaying the thumbnail of the picture file in the folder according to the adjusted thumbnail file.
9. The thumbnail navigation method according to claim 8, wherein the retrieving the current picture file of the folder and adjusting the thumbnail of the folder when detecting that there is a change in the picture in the folder comprises:
and when detecting that the pictures in the folder are changed, acquiring partial picture files containing the currently viewed pictures from the folder, and adjusting thumbnails of the acquired pictures.
10. The thumbnail navigation method according to claim 9, wherein said adjusting the thumbnail of said folder further comprises:
after the picture is acquired, whether the stored thumbnail contains the thumbnail of the acquired picture is inquired, if the thumbnail of the acquired picture is inquired, whether the inquired thumbnail is consistent with the acquired picture is verified, and if so, the thumbnail of the picture is not adjusted; if the thumbnail of the picture is inconsistent with the thumbnail of the picture, regenerating the thumbnail of the picture, and covering the inquired thumbnail with the regenerated thumbnail and then storing the thumbnail; and if the thumbnail of the acquired picture is not inquired, generating and saving the thumbnail of the acquired picture.
11. The thumbnail navigation method according to claim 10, said method further comprising:
and when the number of the stored thumbnails exceeds the preset number and/or the preset size, removing part of the thumbnails according to the adjustment time of the thumbnails, so that the stored thumbnails do not exceed the preset number and/or the preset size.
12. The thumbnail navigation method according to any one of claims 8 to 11, wherein the display of the folder thumbnail is performed according to the adjusted thumbnail, specifically:
a preset number of thumbnails are read from the saved thumbnails, and the read thumbnails are displayed.
13. The thumbnail navigation method according to claim 12, wherein the displaying of the folder thumbnail according to the adjusted thumbnail includes:
displaying the read thumbnails according to a preset thumbnail display order; and/or displaying any one of the read thumbnails according to a preset frame number.
CN201110077033.2A 2011-03-29 2011-03-29 A kind of thumbnail air navigation aid and device Active CN102722307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110077033.2A CN102722307B (en) 2011-03-29 2011-03-29 A kind of thumbnail air navigation aid and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110077033.2A CN102722307B (en) 2011-03-29 2011-03-29 A kind of thumbnail air navigation aid and device

Publications (2)

Publication Number Publication Date
CN102722307A CN102722307A (en) 2012-10-10
CN102722307B true CN102722307B (en) 2016-05-11

Family

ID=46948096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110077033.2A Active CN102722307B (en) 2011-03-29 2011-03-29 A kind of thumbnail air navigation aid and device

Country Status (1)

Country Link
CN (1) CN102722307B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024145B (en) * 2012-11-15 2014-11-12 广东欧珀移动通信有限公司 System and method for browsing pictures by mobile terminal, and mobile terminal
CN104077037B (en) * 2013-03-27 2017-05-24 宏碁股份有限公司 Displaying method of draggable list
CN105808586B (en) * 2014-12-29 2021-04-06 北京奇虎科技有限公司 Picture data processing method and device
CN105068717B (en) * 2015-08-12 2018-06-29 北京金山安全软件有限公司 Management method and device for notification bar of mobile terminal and mobile terminal
CN105183837B (en) * 2015-09-02 2020-06-02 Tcl移动通信科技(宁波)有限公司 Thumbnail list view display method and system of mobile terminal
JP2017103742A (en) * 2015-11-19 2017-06-08 株式会社東芝 Image processing apparatus
CN105516257B (en) * 2015-11-27 2019-05-03 深圳市中博科创信息技术有限公司 A kind of processing method and video file processing system of video file
CN105512215B (en) * 2015-11-27 2019-03-05 深圳市中博科创信息技术有限公司 A kind of processing method and audio file processing system of audio file
CN105607932B (en) * 2015-12-23 2019-07-26 青岛海信电器股份有限公司 A kind of method and apparatus that display file deletes process
CN106776735A (en) * 2016-11-17 2017-05-31 努比亚技术有限公司 Picture library data-updating method and device
CN108228030B (en) * 2018-01-17 2021-01-08 Oppo广东移动通信有限公司 Album display method, apparatus, storage medium and electronic device
CN108319726A (en) * 2018-02-28 2018-07-24 Tcl移动通信科技(宁波)有限公司 A kind of method, storage device and the mobile terminal of more picture simultaneous displays
CN112306604B (en) * 2020-08-21 2022-09-23 海信视像科技股份有限公司 Progress display method and display device for file transmission

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW501072B (en) * 2001-05-09 2002-09-01 Ulead Systems Inc Visualization process method of image file and image editor having visualization process function and the readable storage medium of computer to store program
CN101807199A (en) * 2010-02-05 2010-08-18 腾讯科技(深圳)有限公司 Thumbnail display method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW501072B (en) * 2001-05-09 2002-09-01 Ulead Systems Inc Visualization process method of image file and image editor having visualization process function and the readable storage medium of computer to store program
CN101807199A (en) * 2010-02-05 2010-08-18 腾讯科技(深圳)有限公司 Thumbnail display method and device

Also Published As

Publication number Publication date
CN102722307A (en) 2012-10-10

Similar Documents

Publication Publication Date Title
CN102722307B (en) A kind of thumbnail air navigation aid and device
US8996987B2 (en) List view optimization
JP2006324918A5 (en)
US8345068B1 (en) Image-based document display
CN102722590B (en) Terminal and image acquisition method
US20100329642A1 (en) Dynamic Icons Associated with Remote Content
US8812951B1 (en) Publisher formatting controls
JP2011501299A5 (en)
CN103677554B (en) A kind of sliding screen smoothly method and device
US20150244794A1 (en) Systems and methods for providing a user with a set of interactivity features locally on a user device
CN103678646A (en) Method and device for presenting pages
CN106157239B (en) A kind of image processing method and relevant device and system
CN102831111B (en) A kind of image display method and device
CN106982388B (en) Picture display method and device
CN104252354B (en) Refresh the method and apparatus of the data list of intelligent terminal
WO2016094286A1 (en) Intelligent browser-based display tiling
JP2005018229A (en) Document browsing terminal, document display control method, and document display control program
CN104077056B (en) Translation method and system for screen display page
CN107870795A (en) The method and device that a kind of electronic map is shown
CN103034465B (en) Image browsing method and browing system
CN108664667B (en) Communication terminal
CN102487362B (en) The display packing of IM message and device
US8788965B2 (en) Method and device for displaying data by adjusting the size of controls
US20100223580A1 (en) Data browsing apparatus and control method therefor
KR101616650B1 (en) Drawing device

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