CN107885862B - Image display method and device - Google Patents

Image display method and device Download PDF

Info

Publication number
CN107885862B
CN107885862B CN201711165778.8A CN201711165778A CN107885862B CN 107885862 B CN107885862 B CN 107885862B CN 201711165778 A CN201711165778 A CN 201711165778A CN 107885862 B CN107885862 B CN 107885862B
Authority
CN
China
Prior art keywords
image
file
updated
acquiring
content
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
CN201711165778.8A
Other languages
Chinese (zh)
Other versions
CN107885862A (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.)
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 CN201711165778.8A priority Critical patent/CN107885862B/en
Publication of CN107885862A publication Critical patent/CN107885862A/en
Application granted granted Critical
Publication of CN107885862B publication Critical patent/CN107885862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/432Query formulation
    • G06F16/434Query formulation using image data, e.g. images, photos, pictures taken by a user

Abstract

The invention relates to an image display method and device, comprising the following steps: acquiring a first image, wherein the first image corresponds to a first file, and the first image is an abstract generated according to the content of the first file; comparing the first image with a second image to obtain a first similarity value, wherein the second image corresponds to a second file, and the second image is a summary generated according to the content of the second file; judging whether the first similarity value is larger than a first preset threshold value or not, and obtaining a first judgment result; when the first judgment result shows that the first similarity value is larger than the first preset threshold value, updating the first image, and acquiring the updated first image as a first updated image; wherein the similarity value of the first updated image and the second image is smaller than a first preset threshold value; and establishing a corresponding relation between the first updated image and the first file, and displaying the first updated image when a preset first condition is met.

Description

Image display method and device
The application is a divisional application of Chinese patent application with application date of 2012, 12 and 20, application number of 201210560697.9 and title of an image display method and device.
Technical Field
The present invention relates to the field of image processing, and in particular, to an image display method and apparatus.
Background
With the development of computer technology, some applications are used to quickly display a summary of a document or picture in order to facilitate a user to quickly browse and find the document or picture. For example, in the picture viewing tool, the content of the picture is displayed in a smaller image so that the user can quickly browse the content of the picture. As another example, an image corresponding to the top page of the slide document is scaled down to be displayed as an icon so that the user can know the contents of the document without opening the slide document. However, when a plurality of slide documents use the same document, icons generated by reducing the image corresponding to the top page of the slide documents are relatively similar, and the user cannot quickly distinguish between different documents. The prior art can not solve the problem that different documents or pictures can not be rapidly distinguished when the summary images of the documents or the pictures are approximate.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide an image display method and apparatus, which can replace a summary image of a file when the summary image of the file is similar to summary images of other files, so as to facilitate quick distinction between different files during viewing. The technical scheme is as follows:
according to a first aspect of an embodiment of the present invention, there is disclosed an image display method, the method including:
acquiring a first image, wherein the first image corresponds to a first file, and the first image is an abstract generated according to the content of the first file;
comparing the first image with a second image to obtain a first similarity value, wherein the second image corresponds to a second file, and the second image is a summary generated according to the content of the second file;
judging whether the first similarity value is larger than a first preset threshold value or not, and obtaining a first judgment result;
when the first judgment result shows that the first similarity value is larger than the first preset threshold value, updating the first image, and acquiring the updated first image as a first updated image; wherein the similarity value of the first updated image and the second image is smaller than a first preset threshold value;
and establishing a corresponding relation between the first updated image and the first file, and displaying the first updated image when a preset first condition is met.
Preferably, after updating the first image and acquiring the updated first image, the method further comprises:
comparing the updated first image with the second image to obtain a second similarity value;
judging whether the second similarity value is smaller than a first preset threshold value or not, and obtaining a second judgment result;
and when the second judgment result shows that the second similarity value is smaller than the first preset threshold value, taking the updated first image as a first updated image, and entering a step of establishing a corresponding relation between the first updated image and the first file.
Preferably, the similarity value between the first updated image and a third image is smaller than a first preset threshold, where the third image corresponds to a third file, and the third image is a summary generated according to the content of the third file;
the third file is any file at least partially identical to the file saving path of the first file.
Preferably, the meeting of the preset first condition includes:
when the current display interface comprises a plurality of files or folders; or
When the focus of the cursor stays in the first area of the first file.
Preferably, the acquiring the first image comprises:
determining a first file;
determining partial content of the first file as a first image according to selection of a user;
adding a first identifier to partial content of the first file;
and establishing a corresponding relation among the first identifier, the first image and the first file.
Preferably, the acquiring the first image comprises:
determining a first file;
taking a first portion of the first file as a first image; or randomly acquiring partial content of the first file as a first image.
Preferably, the acquiring the first image comprises:
determining a first file;
searching the first file according to a preset keyword to obtain a first search result;
and when the first search result shows that the first file contains the keyword, taking a part containing the keyword as a first image.
Preferably, the updating the first image, and the acquiring the updated first image as the first updated image includes:
and when the first image is the first part of the first file, acquiring a second part of the first file as a first updating image.
Preferably, the updating the first image, and the acquiring the updated first image as the first updated image includes:
acquiring additional information, and displaying the additional information in the updated first image.
Preferably, the updating the first image, and the acquiring the updated first image as the first updated image includes:
monitoring a first file, and acquiring updated content when the content of the first file is updated;
generating a first updated image from a part or all of the updated content.
According to a second aspect of the embodiments of the present invention, there is disclosed an image display apparatus, the apparatus including:
the device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a first image, the first image corresponds to a first file, and the first image is an abstract generated according to the content of the first file;
the first comparison unit is used for comparing the first image with a second image to obtain a first similarity value, wherein the second image corresponds to a second file, and the second image is a summary generated according to the content of the second file;
the first judging unit is used for judging whether the first similarity value is larger than a first preset threshold value or not and acquiring a first judging result;
a first updating unit, configured to update the first image and obtain an updated first image as a first updated image when the first determination result indicates that the first similarity value is greater than the first preset threshold; wherein the similarity value of the first updated image and the second image is smaller than a first preset threshold value;
and the display unit is used for establishing the corresponding relation between the first updated image and the first file, and displaying the first updated image when a preset first condition is met.
Preferably, the apparatus further comprises:
the second comparison unit is used for comparing the updated first image with the second image to obtain a second similarity value;
the second judging unit is used for judging whether the second similarity value is smaller than a first preset threshold value or not and acquiring a second judging result;
the first updating unit is further configured to receive a second determination result of the second determining unit, and when the second determination result indicates that the second similarity value is smaller than the first preset threshold, take the updated first image as a first updated image and enter a display unit.
Preferably, the similarity value between the first updated image and a third image is smaller than a first preset threshold, where the third image corresponds to a third file, and the third image is a summary generated according to the content of the third file;
the third file is any file at least partially identical to the file saving path of the first file.
Preferably, the meeting of the preset first condition includes:
when the current display interface comprises a plurality of files or folders; or
When the focus of the cursor stays in the first area of the first file.
Preferably, the first acquiring unit includes:
a first determining unit configured to determine a first file;
the first selecting unit is used for determining partial content of the first file as a first image according to the selection of a user;
an adding unit, configured to add a first identifier to a part of content of the first file;
and the establishing unit is used for establishing the corresponding relation among the first identifier, the first image and the first file.
Preferably, the first acquiring unit includes:
a second determining unit configured to determine the first file;
the second selecting unit is used for taking the first part of the first file as a first image; or randomly acquiring partial content of the first file as a first image.
Preferably, the first acquiring unit includes:
a third determining unit configured to determine the first file;
the searching unit is used for searching the first file according to a preset keyword to obtain a first searching result;
and the third selecting unit is used for taking a part containing the keyword as a first image when the first search result shows that the first file contains the keyword.
Preferably, the first updating unit is specifically configured to, when the first image is a first part of the first file, acquire a second part of the first file as a first updated image.
Preferably, the first updating unit is specifically configured to acquire additional information, and display the additional information in the updated first image.
Preferably, the first updating unit is specifically configured to monitor a first file, and when the content of the first file is updated, obtain the updated content; generating a first updated image from a part or all of the updated content.
The embodiment of the invention has the following beneficial effects in one aspect: the invention provides an image display method, which comprises the steps of obtaining a first image corresponding to a first file, wherein the first image is an abstract generated according to the content of the first file; acquiring a second image, wherein the second image generates an abstract according to the content of a second file; comparing the first image with the second image to obtain a first similarity value, judging whether the first similarity value is greater than a first preset threshold value or not, and obtaining a first judgment result; when the first judgment result shows that the first similarity value is larger than the first preset threshold value, updating the first image, and acquiring the updated first image as a first updated image; and establishing a corresponding relation between the first updated image and the first file, and displaying the first updated image when a preset first condition is met. In the embodiment of the invention, when the similarity between the first image corresponding to the first file and the second images corresponding to other files is greater than the set threshold, the first image is replaced, so that the similarity between the replaced image and the second images corresponding to other files is less than the set threshold, and thus the first image which is different from the second images of other files is obtained, and a user can quickly distinguish different files according to the first images of the files when viewing the files or browsing the picture files.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a first embodiment of an image display method according to an embodiment of the present invention;
FIG. 2 is a diagram of a second embodiment of an image displaying method according to an embodiment of the present invention;
fig. 3 is a schematic view of an image display device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an image display method and device, which can be used for replacing a summary image of a file when the summary image of the file is similar to the summary images of other files, so that different files can be conveniently and quickly distinguished during viewing.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a first embodiment of an image display method according to the present invention is shown.
S101, acquiring a first image, wherein the first image corresponds to a first file, and the first image is an abstract generated according to the content of the first file.
S102, comparing the first image with a second image to obtain a first similarity value, wherein the second image corresponds to a second file, and the second image is a summary generated according to the content of the second file.
S103, judging whether the first similarity value is larger than a first preset threshold value or not, and obtaining a first judgment result.
S104, when the first judgment result shows that the first similarity value is larger than the first preset threshold value, updating the first image, and acquiring the updated first image as a first updated image; wherein the similarity value of the first updated image and the second image is smaller than a first preset threshold value.
And S105, establishing a corresponding relation between the first updated image and the first file, and displaying the first updated image when a preset first condition is met.
It should be noted that, in the first embodiment of the present invention, the first file may specifically include a picture, a document, a video, or an audio file, the first image is a summary generated according to content of the first file, and the first image and the first file have a corresponding relationship, where there are multiple implementation manners for acquiring the first image, and one possible implementation manner is: determining a first file; determining partial content of the first file as a first image according to selection of a user; adding a first identifier to partial content of the first file; and establishing a corresponding relation among the first identifier, the first image and the first file. In a specific implementation, in the first embodiment of the present invention, the user is allowed to define and select a part of the content of the first file as the first image. For example, the user selects the first document, and when the right button is clicked, a pop-up menu may be provided for the user to select whether to customize the first image, and an interface may be provided for the user to select one or more pages of the first document as the first image. When the first file is a folder, the user can select one or more pictures in the folder as the first image, or select an image (a summary generated according to the file content) corresponding to one or more files in the folder as the first image. Or, when the user edits the first file, options are provided for the user to select whether to customize the first image and what kind of content is selected as the first image. When partial content of a first file serving as a first image is determined according to selection of a user, adding a first identifier to the partial content of the first file, and establishing a corresponding relation among the first identifier, the first image and the first file. When the preset condition is met, the first image can be displayed according to the corresponding relation between the first identifier, the first image and the first file. The first identifier may specifically be a label, a pointer, or the like, and is used to indicate that a portion corresponding to the first identifier is to be displayed as the first image.
Of course, there may be other implementations of acquiring the first image, and one possible implementation may specifically include: determining a first file; taking a first portion of the first file as a first image; or randomly acquiring partial content of the first file as a first image. The first portion of the first file may be automatically used as the first image when the user does not customize the first image or provide the user with an application to select the first image. For example, corresponding to a PPT file, the first page of the PPT can be taken as the first image. Alternatively, a part of the content of the first document may be randomly selected as the first image.
Or, another possible implementation manner of acquiring the first image may specifically include: determining a first file; searching the first file according to a preset keyword to obtain a first search result; and when the first search result shows that the first file contains the keyword, taking a part containing the keyword as a first image. When a first file needing to generate the first image is selected, the first file can be searched according to keywords preset by a system or a user, and if the first file contains the keywords, a part containing the keywords can be used as the first image. In general, the portion containing the keyword can represent the difference of the first file from the other files. For example, "directory", "abstract", "outline", and the like may be set in advance as keywords, and a portion including the keywords may be set as the first image.
Several ways of acquiring the first image are described above, the present invention does not limit the way of acquiring the first image, and other implementations that can be acquired by those skilled in the art without inventive labor are within the scope of the present invention.
In the first embodiment of the present invention, after the first image corresponding to the first file is acquired, the first image is compared with the second image to acquire the first similarity value. The second image corresponds to a second file and is a summary generated according to the content of the second file. The second file may be a file that is at least partially identical to the file saving path of the first file. For example, the second file may be a file in the same folder or the same directory as the first file. In a specific implementation, the method provided in the prior art may be adopted to obtain the similarity between the first image and the second image. One possible implementation is: firstly, converting the first image and the second image into the same size, calculating the gray value of the converted image, acquiring the color histograms of the first image and the second image, and calculating the similarity of the first image and the second image by using the color histograms.
And judging whether a first similarity value obtained by comparing the first image and the second image is greater than a first preset threshold value. The first preset threshold is a preset value. Assuming that the value interval of the similarity value is (0,1), the value of the first preset threshold may be set to 0.9, or the value of the first preset threshold may be set to 0.8. The value of the first preset threshold may be preset by the system or a user.
And when the first judgment result shows that the first similarity value is greater than the first preset threshold value, determining that the first image and the second image are relatively similar, updating the first image, and acquiring the updated first image as a first updated image. And the similarity value of the first updated image and the second image is smaller than a first preset threshold value.
It should be noted that there are multiple implementation manners for acquiring the first updated image, and one implementation manner is as follows: and when the first image is the first part of the first file, acquiring a second part of the first file as a first updating image. Wherein the second portion is different from the first portion.
Another possible implementation manner of updating the first image to obtain the first updated image is as follows: acquiring additional information, and displaying the additional information in the updated first image. The additional information may specifically include one or more of file generation time, file update time, file author, and file size information.
Another possible implementation manner of updating the first image to obtain the first updated image is as follows: monitoring a first file, and acquiring updated content when the content of the first file is updated; generating a first updated image from a part or all of the updated content. In the embodiment of the present invention, the first file may be monitored, when the content of the first file is updated, the updated content is saved, and a part or all of the updated content is used as the updated first image.
It should be noted that, the above lists possible implementations of updating the first image, and other implementations of updating the first image are also possible. The embodiment of the present invention may also adopt the mode of acquiring the first image as the mode of updating the first image, as long as the updated first image is different from the originally acquired first image. For example, when the acquired first image is a part of content of a first file selected by a user or a first part of the first file is taken as the first image, when the first image is updated, the first file may be searched according to a preset keyword to acquire a first search result; and when the first search result shows that the first file contains the keyword, taking a part containing the keyword as an updated first image. For another example, when the first image is updated, a part of the content of the first file may be randomly selected as the first image. The partial content of the first document may be one or more pages of the first document, or may be one or more pictures, as long as the partial content is different from the original first image.
Preferably, when the similarity between the first image and the second image is judged to be greater than the set threshold value through comparison, the difference image obtained by comparing the first image and the second image can be used as the updated first image. In a specific implementation, the first image and the second image may be compared to obtain the difference image, and a method provided in the prior art may be adopted to specifically obtain the difference image, which is not described herein again.
After a first updated image is obtained, establishing a corresponding relation between the first updated image and the first file, and displaying the first updated image when a preset first condition is met. Wherein the preset first condition may include: (1) when the current display interface includes multiple files or folders. When the current display interface includes a plurality of files or folders, it is possible to allow the user to quickly distinguish different files by displaying the first image (or the first update image). (2) When the focus of the cursor stays in the first area of the first file. The user may operate using a mouse or pointer and when the focus of the cursor stays in the first area where the first file is located, the first update image (or first image) is displayed. The first area where the first file is located may be an icon corresponding to the first file or a vicinity of the icon corresponding to the first file. The extent of the first region may be predetermined by the system.
In the first embodiment of the present invention, when the similarity between the first image corresponding to the first file and the second image corresponding to the other file is greater than the set threshold, the first image is replaced, so that the similarity between the replaced image and the second image corresponding to the other file is less than the set threshold, and thus the first image different from the second image of the other file is obtained, so that the user can quickly distinguish different files according to the first image of the file when viewing the file or browsing the picture file.
Fig. 2 is a schematic diagram of a second embodiment of an image display method according to an embodiment of the present invention.
S201, acquiring a first image, wherein the first image corresponds to a first file, and the first image is an abstract generated according to the content of the first file.
The manner of acquiring the first image is the same as that of the first embodiment, and is not described herein again. The first image is a summary generated according to the content of the first file and used for indicating key information of the first file.
S202, comparing the first image with a second image to obtain a first similarity value, wherein the second image corresponds to a second file, and the second image is a summary generated according to the content of the second file.
The second file is any file with the same file saving path as the first file.
S203, judging whether the first similarity value is larger than a first preset threshold value or not, and obtaining a first judgment result.
And S204, when the first judgment result shows that the first similarity value is greater than the first preset threshold value, updating the first image, and acquiring the updated first image.
S205, comparing the updated first image with the second image to obtain a second similarity value.
In the second embodiment of the present invention, after the updating the first image and the obtaining of the updated first image, the method further includes the step of comparing the updated first image with the second image to obtain a second similarity value. And comparing the updated first image with the updated second image, only when the similarity value of the first image and the second image is smaller than a first preset threshold value, saving the updated first image as a first updated image, establishing a corresponding relation between the first image and the first file, and displaying the first updated image when a preset condition is met.
S206, judging whether the second similarity value is smaller than a first preset threshold value or not, and obtaining a second judgment result. If yes, go to step S207; if not, the step of updating the first image is performed until the similarity value between the updated first image and the second image is smaller than the first preset threshold, and the step S207 is performed.
S207, when the second determination result indicates that the second similarity value is smaller than the first preset threshold, taking the updated first image as a first updated image.
S208, establishing a corresponding relation between the first updated image and the first file, and displaying the first updated image when a preset first condition is met.
Furthermore, the similarity value between the first updated image and the second image is smaller than a first preset threshold, and the similarity value between the first updated image and a third image is smaller than the first preset threshold, wherein the third image corresponds to a third file, and the third image is a summary generated according to the content of the third file; the third file is any file at least partially identical to the file saving path of the first file. In this way, the similarity between the first updated image corresponding to the first file and the third image corresponding to any file, i.e. the third file, of the first file in the same folder or the same directory is smaller than the set first threshold. Therefore, the first image corresponding to the first file is ensured to be different from the images (namely the abstract images generated according to the content) corresponding to other files in the same folder or directory. The method provided in the embodiment of the present invention, after the step S207 determines that the second similarity value is smaller than the first preset threshold, before the establishing the corresponding relationship between the first updated image and the first file, may further include: comparing the updated first image with the updated third image to obtain a third similarity value; judging whether the third similarity value is smaller than a first preset threshold value or not, and obtaining a third judgment result; and when the third judgment result shows that the third similarity value is smaller than the first preset threshold value, taking the updated first image as a first updated image, and entering a step of establishing a corresponding relation between the first updated image and the first file. The third file is any file at least partially identical to the file saving path of the first file, and the third image is a summary generated according to the content of the third file. And if the third judgment result shows that the similarity between the updated first image and the third image corresponding to any file is greater than a first preset threshold value, repeating the step of updating the first image to obtain the updated first image, and performing cyclic comparison judgment until the similarity between the updated first image and the third image is less than the first preset threshold value, taking the updated first image obtained at the moment as the first updated image, and performing the step of establishing the corresponding relation between the first updated image and the first file.
In the second embodiment of the present invention, when the similarity between the first image corresponding to the first file and the second image corresponding to the other file is greater than the set threshold, the first image is replaced, and the similarities between the replaced image and the abstract images corresponding to the other files in the same folder or directory of the first file are both smaller than the set threshold, so that the first image different from the abstract images of the other files is obtained, and when a user views or browses the picture files, the different files can be quickly distinguished according to the first image of the file.
Referring to fig. 3, a schematic diagram of an embodiment of an image display device according to an embodiment of the invention is shown.
An image display apparatus, the apparatus comprising:
a first obtaining unit 301, configured to obtain a first image, where the first image corresponds to a first file, and the first image is a summary generated according to content of the first file.
A first comparing unit 302, configured to compare the first image with a second image to obtain a first similarity value, where the second image corresponds to a second file, and the second image is a summary generated according to the content of the second file.
The first determining unit 303 is configured to determine whether the first similarity value is greater than a first preset threshold, and obtain a first determination result.
A first updating unit 304, configured to update the first image and obtain an updated first image as a first updated image when the first determination result indicates that the first similarity value is greater than the first preset threshold; wherein the similarity value of the first updated image and the second image is smaller than a first preset threshold value.
A display unit 305, configured to establish a corresponding relationship between the first updated image and the first file, and display the first updated image when a preset first condition is met.
Preferably, the apparatus further comprises:
the second comparison unit is used for comparing the updated first image with the second image to obtain a second similarity value;
the second judging unit is used for judging whether the second similarity value is smaller than a first preset threshold value or not and acquiring a second judging result;
the first updating unit is further configured to receive a second determination result of the second determining unit, and when the second determination result indicates that the second similarity value is smaller than the first preset threshold, take the updated first image as a first updated image and enter a display unit.
Preferably, the similarity value between the first updated image and a third image is smaller than a first preset threshold, where the third image corresponds to a third file, and the third image is a summary generated according to the content of the third file;
the third file is any file at least partially identical to the file saving path of the first file.
Preferably, the meeting the preset first condition includes:
when the current display interface comprises a plurality of files or folders; or
When the focus of the cursor stays in the first area of the first file.
Preferably, the first obtaining unit includes:
a first determining unit configured to determine a first file;
the first selecting unit is used for determining partial content of the first file as a first image according to the selection of a user;
an adding unit, configured to add a first identifier to a part of content of the first file;
and the establishing unit is used for establishing the corresponding relation among the first identifier, the first image and the first file.
Preferably, the first obtaining unit includes:
a second determining unit configured to determine the first file;
the second selecting unit is used for taking the first part of the first file as a first image; or randomly acquiring partial content of the first file as a first image.
Preferably, the first obtaining unit includes:
a third determining unit configured to determine the first file;
the searching unit is used for searching the first file according to a preset keyword to obtain a first searching result;
and the third selecting unit is used for taking a part containing the keyword as a first image when the first search result shows that the first file contains the keyword.
Preferably, the first updating unit is specifically configured to, when the first image is a first part of the first file, acquire a second part of the first file as a first updated image.
Preferably, the first updating unit is specifically configured to acquire additional information, and display the additional information in the updated first image.
Preferably, the first updating unit is specifically configured to monitor a first file, and when the content of the first file is updated, obtain an updated content; generating a first updated image from a part or all of the updated content.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is directed to embodiments of the present invention, and it is understood that various modifications and improvements can be made by those skilled in the art without departing from the spirit of the invention.

Claims (10)

1. An image display method, characterized in that the method comprises:
acquiring a first image, wherein the first image corresponds to a first file, and the first image is an abstract generated according to the content of the first file;
comparing the first image with a second image to obtain a first similarity value, wherein the second image corresponds to a second file, and the second image is a summary generated according to the content of the second file;
judging whether the first similarity value is larger than a first preset threshold value or not, and obtaining a first judgment result;
when the first judgment result shows that the first similarity value is larger than the first preset threshold value, updating the first image, and acquiring the updated first image as a first updated image; wherein the similarity value of the first updated image and the second image is smaller than a first preset threshold value;
and establishing a corresponding relation between the first updated image and the first file, and displaying the first updated image when a preset first condition is met.
2. The method of claim 1, wherein after updating the first image and obtaining the updated first image, the method further comprises:
comparing the updated first image with the second image to obtain a second similarity value;
judging whether the second similarity value is smaller than a first preset threshold value or not, and obtaining a second judgment result;
and when the second judgment result shows that the second similarity value is smaller than the first preset threshold value, taking the updated first image as a first updated image, and entering a step of establishing a corresponding relation between the first updated image and the first file.
3. The method according to claim 1, wherein the similarity value between the first updated image and a third image is smaller than a first preset threshold, wherein the third image corresponds to a third file, and the third image is a summary generated according to the content of the third file;
the third file is any file at least partially identical to the file saving path of the first file.
4. The method of claim 1, wherein the acquiring the first image comprises:
determining a first file;
determining partial content of the first file as a first image according to selection of a user;
adding a first identifier to partial content of the first file;
and establishing a corresponding relation among the first identifier, the first image and the first file.
5. The method of claim 1, wherein the acquiring the first image comprises:
determining a first file;
taking a first portion of the first file as a first image; or randomly acquiring partial content of the first file as a first image.
6. The method of claim 1, wherein the acquiring the first image comprises:
determining a first file;
searching the first file according to a preset keyword to obtain a first search result;
and when the first search result shows that the first file contains the keyword, taking a part containing the keyword as a first image.
7. The method of claim 1, wherein the updating the first image, and the obtaining the updated first image as the first updated image comprises:
and when the first image is the first part of the first file, acquiring a second part of the first file as a first updating image.
8. The method of claim 1, wherein the updating the first image, and the obtaining the updated first image as the first updated image comprises:
acquiring additional information, and displaying the additional information in the updated first image.
9. The method of claim 1, wherein the updating the first image, and the obtaining the updated first image as the first updated image comprises:
monitoring a first file, and acquiring updated content when the content of the first file is updated;
generating a first updated image from a part or all of the updated content.
10. An image display apparatus, characterized in that the apparatus comprises:
the device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a first image, the first image corresponds to a first file, and the first image is an abstract generated according to the content of the first file;
the first comparison unit is used for comparing the first image with a second image to obtain a first similarity value, wherein the second image corresponds to a second file, and the second image is a summary generated according to the content of the second file;
the first judging unit is used for judging whether the first similarity value is larger than a first preset threshold value or not and acquiring a first judging result;
a first updating unit, configured to update the first image and obtain an updated first image as a first updated image when the first determination result indicates that the first similarity value is greater than the first preset threshold; wherein the similarity value of the first updated image and the second image is smaller than a first preset threshold value;
and the display unit is used for establishing the corresponding relation between the first updated image and the first file, and displaying the first updated image when a preset first condition is met.
CN201711165778.8A 2012-12-20 2012-12-20 Image display method and device Active CN107885862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711165778.8A CN107885862B (en) 2012-12-20 2012-12-20 Image display method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711165778.8A CN107885862B (en) 2012-12-20 2012-12-20 Image display method and device
CN201210560697.9A CN103885970B (en) 2012-12-20 2012-12-20 A kind of method for displaying image and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210560697.9A Division CN103885970B (en) 2012-12-20 2012-12-20 A kind of method for displaying image and device

Publications (2)

Publication Number Publication Date
CN107885862A CN107885862A (en) 2018-04-06
CN107885862B true CN107885862B (en) 2020-04-24

Family

ID=50954865

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201210560697.9A Active CN103885970B (en) 2012-12-20 2012-12-20 A kind of method for displaying image and device
CN201711165778.8A Active CN107885862B (en) 2012-12-20 2012-12-20 Image display method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201210560697.9A Active CN103885970B (en) 2012-12-20 2012-12-20 A kind of method for displaying image and device

Country Status (1)

Country Link
CN (2) CN103885970B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782798B (en) * 2019-04-03 2024-01-12 阿里巴巴集团控股有限公司 Digest generation method, digest generation device, digest generation equipment and project management method
CN111049989B (en) * 2019-12-26 2021-04-06 维沃移动通信有限公司 Image display method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617143A (en) * 2003-11-10 2005-05-18 株式会社理光 Features for retrieval and similarity matching of documents
CN1910577A (en) * 2004-01-15 2007-02-07 松下电器产业株式会社 Image file list display device
CN102467666A (en) * 2010-11-15 2012-05-23 富士施乐株式会社 Image processing apparatus, image processing system, and computer readable medium
CN102638697A (en) * 2011-02-14 2012-08-15 索尼公司 Image processing apparatus and image processing method, and program therefor
CN102750541A (en) * 2011-04-22 2012-10-24 北京文通科技有限公司 Document image classifying distinguishing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5510012B2 (en) * 2010-04-09 2014-06-04 ソニー株式会社 Image processing apparatus and method, and program
CN101944109B (en) * 2010-09-06 2012-06-27 华南理工大学 System and method for extracting picture abstract based on page partitioning
CN102411638B (en) * 2011-12-30 2013-06-19 中国科学院自动化研究所 Method for generating multimedia summary of news search result

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617143A (en) * 2003-11-10 2005-05-18 株式会社理光 Features for retrieval and similarity matching of documents
CN1910577A (en) * 2004-01-15 2007-02-07 松下电器产业株式会社 Image file list display device
CN102467666A (en) * 2010-11-15 2012-05-23 富士施乐株式会社 Image processing apparatus, image processing system, and computer readable medium
CN102638697A (en) * 2011-02-14 2012-08-15 索尼公司 Image processing apparatus and image processing method, and program therefor
CN102750541A (en) * 2011-04-22 2012-10-24 北京文通科技有限公司 Document image classifying distinguishing method and device

Also Published As

Publication number Publication date
CN103885970A (en) 2014-06-25
CN107885862A (en) 2018-04-06
CN103885970B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN106484266B (en) Text processing method and device
US8984429B2 (en) Searching desktop objects in view of time based statistics
US20210073463A1 (en) Human-computer interaction method and apparatus thereof
CN105868385B (en) Method and system for searching based on terminal interface touch operation
JP2009252177A (en) Recommendation information generation device and recommendation information generation method
US9965495B2 (en) Method and apparatus for saving search query as metadata with an image
CN109948073B (en) Content retrieval method, terminal, server, electronic device, and storage medium
JP5025808B1 (en) Information processing apparatus and information processing program
AU2013332591A1 (en) User terminal device and control method thereof
CN103678704A (en) Picture recognition method, system, equipment and device based on picture information
US20120124068A1 (en) Document management apparatus and method for controlling same
US20160328110A1 (en) Method, system, equipment and device for identifying image based on image
US20120041946A1 (en) Data search apparatus, control method thereof and computer readable storage medium
AU2011313085A1 (en) Method and apparatus for inserting address of hyperlink into bookmark
CN102663070B (en) Method and system for supporting browser application
CN102968493A (en) Method, client and system for executing voice search by input method tool
CN104376095A (en) Information processing method and electronic equipment
CN110688353A (en) File management method, device and computer readable medium
CN107885862B (en) Image display method and device
CN105653674B (en) File management method and system of intelligent terminal
CN106570003B (en) Data pushing method and device
CN112882789A (en) Information display method and device, electronic equipment and storage medium
CN112069236A (en) Associated file display method, device, equipment and storage medium
US11023418B2 (en) Keyword-based data management system and method
CN112764604B (en) Display method, display device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant