Image display method, device, electronic device and readable storage medium

By receiving user input and generating search conditions in electronic devices, it automatically searches for pictures associated with the conditions from a large number of pictures, solving the problem of low search efficiency and enabling quick search and display of pictures that meet the conditions.

CN112035693BActive Publication Date: 2024-10-29VIVO MOBILE COMM CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202010894698.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-31
Publication Date
2024-10-29
Estimated Expiration
2040-08-31

AI Technical Summary

Technical Problem

In electronic devices, it is difficult for users to quickly find a certain type of picture from a large number of pictures, resulting in low search efficiency and easy missing of pictures.

Method used

By receiving the user's input on the target element, the search conditions are generated, and pictures associated with the search conditions are found from the preset picture set and displayed on the search results interface, realizing automatic search and display of pictures that meet the conditions.

Benefits of technology

Without the need for users to manually search, images containing the same target elements and/or tags can be quickly found, which improves search efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112035693B_ABST
    Figure CN112035693B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device, electronic device and readable storage medium for displaying an image, the method comprising: receiving a first input from a user for a target element in a first image; in response to the first input, displaying at least one first search condition, the first search condition being determined according to the target element and at least one first tag; the first tag being generated according to the target element; receiving a second input from a user for selecting a second search condition from the first search condition; in response to the second input, displaying a search result interface, the search result interface including at least one search result, the search result being a second image associated with the second search condition found from a preset image set. According to the embodiment of the present application, it is difficult for a user to find a certain type of image from a large number of images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of information processing, and in particular, to a method and device for displaying an image, an electronic device, and a readable storage medium. Background Art

[0002] With the development of electronic devices and mobile Internet, users may store a large number of pictures in the electronic devices when using the electronic devices.

[0003] In the process of implementing this application, the applicant found that there are at least the following problems in the related technology:

[0004] Currently, there are too many pictures stored in electronic devices. When users want to find a certain type of pictures from a large number of pictures, the search efficiency is very low and some pictures are easily missed. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device and readable storage medium for displaying an image, so as to solve the problem of low efficiency in finding a certain type of image from a large number of images.

[0006] In order to solve the above technical problems, this application is implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a method for displaying an image, which may include:

[0008] Receive a first input from a user on a target element in a first image;

[0009] In response to a first input, at least one first search condition is displayed, the first search condition is determined according to a target element and at least one first tag; the first tag is generated according to the target element;

[0010] receiving a second input from a user selecting a second search condition from the first search condition;

[0011] In response to the second input, a search result interface is displayed, the search result interface includes at least one search result, and the search result is a second picture associated with the second search condition found from a preset picture set.

[0012] In a second aspect, an embodiment of the present application provides a picture display device, which may include:

[0013] A receiving module, configured to receive a first input from a user on a target element in a first image;

[0014] A display module, configured to display at least one first search condition in response to a first input, wherein the first search condition is determined according to a target element and at least one first tag; and the first tag is generated according to the target element;

[0015] The receiving module is further used to receive a second input from a user selecting a second search condition from the first search condition;

[0016] The display module is further used to display a search result interface in response to a second input, where the search result interface includes at least one search result, where the search result is a second picture associated with the second search condition found from a preset picture set.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0018] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0019] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0020] In an embodiment of the present application, in response to a user's first input of a target element in a first image, a first search condition is determined based on the target element and a first label generated by the target element; then, in response to a user's second input of selecting a second search condition from the first search condition, a second image associated with the second search condition found from a preset image set is determined and displayed on a search result interface, so that the searched-for second image includes the same target element and / or first label as the first image. Thus, based on the content of the image itself, the second image that meets the second search condition can be automatically searched and displayed, and the user can quickly find the image they want without having to manually search. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The present application may be better understood from the following description of specific embodiments of the present application in conjunction with the accompanying drawings, wherein the same or similar figure numbers represent the same or similar features.

[0022] Figure 1 A schematic diagram of an application scenario of the image display method provided in an embodiment of the present application;

[0023] Figure 2 A flowchart of a method for displaying an image provided by an embodiment of the present application;

[0024] Figure 3A schematic diagram of an interface for displaying a target element provided in an embodiment of the present application;

[0025] Figure 4 A schematic diagram of an interface for displaying a first search condition provided in an embodiment of the present application;

[0026] Figure 5 A schematic diagram of an interface for displaying search results provided in an embodiment of the present application;

[0027] Figure 6 A schematic diagram of an interface for displaying deleted search results provided in an embodiment of the present application;

[0028] Figure 7 A schematic diagram of another interface for displaying deletion search results provided in an embodiment of the present application;

[0029] Figure 8 A schematic diagram of an interface for mobile search results provided in an embodiment of the present application;

[0030] Fig. 9 A schematic diagram of the structure of a picture display device provided in an embodiment of the present application;

[0031] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0033] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.

[0034] The image display method provided in the embodiment of the present application can be applied to at least the following application scenarios, which are described below.

[0035] like Figure 1As shown, when users use electronic devices, they will save various pictures, and many of these pictures may be the same or similar (for example, multiple pictures contain the same target element). For example, multiple red envelope pictures are saved in the electronic device, and the image sources, sizes, etc. of these red envelope pictures are not regular. When users need to find certain pictures from these pictures, it is difficult to quickly find a certain type of pictures with the same or similar target elements based on the picture attributes. Users can only manually search or sort them one by one from a large number of pictures, which is time-consuming and laborious.

[0036] In response to the problems arising in the related art, the embodiments of the present application provide a picture display method, device, electronic device and storage medium to solve the problem in the related art that it is difficult for users to find a certain type of pictures from a large number of pictures.

[0037] In addition to being applicable to the above-mentioned application scenarios, the method provided in the embodiments of the present application can also be applied to any scenario where a certain type of multimedia resource (such as video) needs to be searched from a large number of multimedia resources.

[0038] Through the method provided in the embodiment of the present application, it is possible to determine and display a search result interface including at least one search result based on the second search condition, where the search result is a second picture associated with the second search condition found from a preset picture set, so that the searched second picture includes the same target element and / or first tag as the first picture. Thus, it is possible to automatically search and display the second picture that meets the second search condition based on the content of the picture itself.

[0039] Based on the above application scenarios, the image display method provided in the embodiments of the present application is described in detail below.

[0040] Figure 2 A flowchart of a method for displaying an image provided in an embodiment of the present application.

[0041] like Figure 2 As shown, the display method may include steps 210 to 240, and the method is applied to a picture display device, as shown below:

[0042] Step 210: receiving a first input from a user on a target element in a first image.

[0043] Step 220: In response to the first input, display at least one first search condition, where the first search condition is determined based on the target element and at least one first tag; and the first tag is generated based on the target element.

[0044] Step 230: receiving a second input from a user selecting a second search condition from the first search condition.

[0045] Step 240: In response to the second input, display a search result interface, the search result interface including at least one search result, the search result being a second picture associated with the second search condition found from a preset picture set.

[0046] The image display method provided by the present application determines a first search condition based on the target element and a first label generated by the target element in response to a first input of a user to a target element in a first image; then, in response to a second input of a user selecting a second search condition from the first search condition, a second image associated with the second search condition found from a preset image set is determined and displayed on a search result interface, so that the searched second image includes the same target element and / or first label as the first image, thereby being able to automatically search and display the second image that meets the second search condition based on the content of the image itself, and the user can quickly find the image they want without having to manually search.

[0047] The contents of step 210 to step 240 are described below respectively:

[0048] First, step 210 is involved.

[0049] The first input of the user to the target element in the first picture mentioned above may be the screen content covered by the target element selected by the user from the first picture, or may be the screen content covered by the target element automatically recognized by the electronic device.

[0050] The above-mentioned screen content covered by the target element selected by the user from the first picture includes but is not limited to the following methods:

[0051] The user directly circles the target area on the first picture, for example, by drawing a closed shape on the picture; and determines the target area through a selection box tool provided by a picture editing tool, for example, by framing the target area through a selection box such as a rectangle.

[0052] The target area at least includes the screen content covered by the target element, and the element information in the target area needs to be identified. Figure 3 As shown, the user inputs "selected element" and the first picture is controlled to enter an editable state. Then, the user selects an area at least including the area covered by the "butterfly" (target element) from the first picture ( Figure 3 Then, based on the target area selected by the user, it is determined that the target element included in the target area is "butterfly".

[0053] Here, the user can accurately select the target element that the user wants to select by circling and selecting the desired target element in the first picture.

[0054] As another implementation of the present application, in order to improve the speed of selecting the target element, the electronic device can automatically identify the screen content covered by the target element, for example, Figure 3 As shown, after receiving the user's input of "identify element", the electronic device automatically identifies the screen content covered by the target element and outlines the screen content covered by the target element with dotted lines ( Figure 3 The dotted line range in the figure is used to display the identified elements to the user, so that the user can select the target element from them. Here, the selection speed of the target element can be improved.

[0055] Next, step 220 is involved.

[0056] In response to a first input, a first tag is generated according to a target element, a first search condition is determined according to the target element and at least one first tag; and at least one first search condition is displayed.

[0057] The target element mainly refers to the object visible to the user in the image. The element information mainly includes but is not limited to the following contents: the content of the target element itself, such as a person, a building, an object, etc. in the image; the target element attribute information, such as the element name, shape, volume, size, time, type, etc.; the element additional information, such as the location information and source involved in the element.

[0058] The first label generated according to the target element mentioned above may be a first label edited by a user, or may be a first label generated by an electronic device according to the target element.

[0059] For example, Figure 3 As shown, the electronic device automatically generates a first tag based on "butterfly" (target element) after receiving the user's input for "identification tag", such as butterfly, insect, animal, flying insect and wing, etc. Alternatively, the electronic device receives the user's input for "edit tag", and the "butterfly" input by the user in the edit tag is the first tag.

[0060] Since the generated first tag is not exactly the same as the content of the target element itself, the tag can be directly generated based on the element information or derived from the element information. For example, if the element is basketball, the generated first tag may be basketball, XXX official flagship store (indicating that the basketball can be purchased in this flagship store). A target element includes at least one first tag.

[0061] As another implementation of the present application, in order to more precisely determine the content of the first search condition, before the above-mentioned step of displaying at least one first search condition, the following steps may also be included:

[0062] In response to a first input, at least one first tag is displayed; a third input from a user is received; and in response to the third input, the first tag is updated, the first tag is deleted, and / or a first tag is added.

[0063] Specifically, if the label of a target element changes over time, the user can update the label of the target element according to his or her search purpose. For example, there is a pair of basketball shoes in the first picture, and the user previously set the first label for it as "basketball shoes". After a period of time, the user may need to obtain more detailed search results. At this time, the first label can be updated from "basketball shoes" to "XXX model basketball shoes".

[0064] In addition, if a target element has multiple tags, the user can delete some useless tags according to his / her search purpose. For example, there is a pair of basketball shoes in the first picture, and the first tags identified may include: shoes, basketball shoes, XXX brand basketball shoes, XXX model basketball shoes, price, etc., and the user's purpose is to find or sort all pictures containing the tag "basketball shoes". At this time, the user's third input can be received; in response to the third input, all other tags except "basketball shoes" in the first tag are deleted.

[0065] In addition, if all the first tags identified for a target element are useless for searching images, the user can directly delete all the first tags of the target element. For example, if there is a person in the image, the first tags identified may include: person, adult, male, etc. The user's goal is to find or sort all the images containing the current person. At this time, the identified first tags are of no auxiliary effect to the user's purpose. The user can directly delete all the first tags of the target element, but not the target element.

[0066] In the above-mentioned step of adding a first tag, specifically: if the first tag identified by a certain target element may not meet the user's search needs, the user can add a first tag based on the target element. For example: the target element is "grass", and the first tags identified are: plants, grass and grassland, etc., but the user wants to find pictures that include green areas. At this time, the user can add a first tag "green".

[0067] In a possible embodiment, the association direction may be set first, and then the first label may be further identified. For example, if there is a shark in the picture, the set labels may be: shark, XXX shark, volume, introduction, etc., and the user's goal may be to find related movies through this shark, so the setting of keywords such as "movie" in the association direction may be added; in this way, the depth of identification of the target element can be increased.

[0068] As another implementation of the present application, in order to improve the accuracy of the first search condition displayed to the user, before the above-mentioned step of displaying at least one first search condition, the following steps may also be included:

[0069] The target element and the at least one first tag are combined to obtain at least one first search condition.

[0070] That is, after the above steps, the target element and at least one first tag are determined, and then the target element and the at least one first tag need to be combined to obtain at least one first search condition.

[0071] like Figure 4 As shown, at least one first search condition is displayed for the user to select. For example, there are three target elements A, B, and C in the picture, and the first labels of the three target elements are LA, LB, and LC respectively, so the combination relationship is A, B, C, AB, BC, AC, and ABC. That is, the first search condition can include: A, B, C, AB, BC, AC, ABC, LA, LB, LC, LALB, LBLC, LALC, and LALBLC, and the user can choose to check or not.

[0072] If the label of a target element is deleted, the label combination relationship is automatically adjusted. For example, there are three target elements A, B, and C in the picture. Assuming that the label of target element B is deleted, the labels of the three target elements are LA and LC respectively. Therefore, the combination relationship is A, B, C, AB, BC, AC, ABC, and the first label combination of the corresponding target element combination is LA, LC, and LALC. The priority relationship between the element and the first label can follow the following formula:

[0073] (1)ABC>AB=AC=BC>A=B=C;

[0074] (2) First level: LALBLC>=LALB=LALC=LBLC>LA=LB=LC;

[0075] (3) Elements take precedence over labels, i.e., ABC takes precedence over LALBLC, BC takes precedence over LBLC, and so on.

[0076] At this point, the target element and at least one first tag are combined, and at least one first search condition is obtained.

[0077] Then, step 230 is involved.

[0078] If there are a large number of target elements and their corresponding first tags in the first picture, there will be a large number of first search conditions combined therefrom, from which the user can select a second search condition as a basis for performing a search from the preset picture set. Therefore, by receiving a second input from the user selecting a second search condition from the first search condition and determining the second search condition, the picture required by the user can be found more accurately.

[0079] Finally, step 240 is involved.

[0080] In response to the second input, the second search condition searches for at least one second picture associated with the second search condition from the preset picture set, determines the at least one second picture as a search result, and displays it on the search result interface.

[0081] The preset picture set may include: a preset picture set stored in the user's electronic device, a preset picture set stored in a cloud server, or an online preset picture set.

[0082] The above step of searching for at least one second picture associated with the second search condition from the preset picture set may specifically include the following two methods:

[0083] (1) Search in order of priority from small to large, that is, judge according to the relationship of the combination content in the second search condition from small to large. For example, if the second search condition selected by the user contains the target elements ABC, AB, and C, and the corresponding labels are LALBLC, LALB, and LC, then it is prioritized to determine whether the image to be judged in the preset image set contains the target element C; if not, then determine whether it contains the first label LC; if the image to be judged does not contain the target element C and the first label LC, it obviously will not include the combination of target elements ABC and the combination of the first label LALBLC. There is no need to judge ABC and LALBLC, and it is sufficient to directly confirm whether the image to be judged contains the target element AB or the first label LALB.

[0084] Take a single target element and a single first label as an example, for example, Figure 3 The target element is "butterfly" in the search result, and the first tag of this target element is "flying insect". Then the second search instruction includes: target element "butterfly" and first tag "flying insect". Then first search in the preset picture set to see if there is a picture with the same content as the target element "butterfly". If not, then search in the preset picture set to see if there is a picture with the first tag "flying insect".

[0085] (2) Search in descending order of priority, that is, judge according to the relationship of the combination content in the second search condition from large to small. For example, if the search instruction selected by the user contains the content of ABC, AB, C, and the corresponding tags are LALBLC, LALB, LC, then it is first confirmed whether there is a picture of the combination ABC containing the target element in the picture to be judged; if it does not contain ABC, then it is judged whether it contains the combination LALBLC containing the first tag; if it does not contain it, then it is judged whether it includes the target element AB; if it does not contain it, then it is judged whether it contains the first tag LALB; finally, it is judged whether it contains the target element C or the target element containing the first tag LC.

[0086] The same second search condition is only searched once. For example, there are three target elements A, B, and C in the picture. Assuming that the label of target element B is deleted, the labels of the three target elements are LA and LC respectively. Therefore, the combination relationships are A, B, C, AB, BC, AC, and ABC. The label combinations corresponding to the target element combinations are LA, LC, and LALC, that is, the label combinations of AC and ABC are the same, both are LALC; the label combinations of A and AB are the same, both are LA; the label combinations of C and AC are the same, both are LALC; the label combinations of A and AB are the same, both are LA.

[0087] According to the above-mentioned priority size relationship, the principle of large to small is adopted, that is, those that meet the larger priority relationship will no longer be organized into the smaller priority relationship. For example, if the search instruction selected by the user contains the content of ABC, AB, C, and the corresponding labels are LALBLC, LALB, LC, and a certain picture is searched that contains the elements ABC, then the picture will be directly organized into the search results corresponding to ABC, and will no longer be organized into the search results corresponding to AB or C; if a certain picture is searched that does not contain the elements ABC, but contains the elements with the label LALBLC, then the picture will also be organized into the search results corresponding to ABC, and will no longer be organized into the search results corresponding to AB or C.

[0088] The search results are displayed in different regions according to the second search condition. If a second search condition does not have a second picture associated with it, the combination will not be presented in the search result interface.

[0089] The search result interface may include N search results, and the display area to which each search result belongs includes a second picture associated with a second search instruction, N is a positive integer, and the second picture and the first picture include the same target element and / or first tag.

[0090] like Figure 5The search result interface shown includes second pictures associated with the second search condition ABC, namely, picture 1, picture 2, picture 3, picture 4, picture 5, and picture 6. It also includes second pictures associated with the second search condition AB, namely, picture 7, picture 8, and picture 9.

[0091] As another implementation of the present application, in order to improve the efficiency of sorting pictures, after the above-mentioned step of displaying the search result interface in response to the second input, the following steps may also be included:

[0092] A fourth input from the user is received; in response to the fourth input, a third search result corresponding to the fourth input is deleted from the search results.

[0093] The fourth input may be all second pictures associated with the second search condition, or may be at least one second picture associated with the second search condition.

[0094] like Figure 6 As shown, the fourth input of the user selecting "ABC" is received, and in response to the fourth input, the third search result (Picture 1, Picture 2, Picture 3, Picture 4, Picture 5 and Picture 6) corresponding to the fourth input "ABC" in the search results is deleted.

[0095] In addition, you can select the pictures you want to delete according to your needs. Figure 7 As shown, a fourth input of a user selecting "Picture 4, Picture 5 and Picture 6" is received, and in response to the fourth input, the third search result (Picture 4, Picture 5 and Picture 6) corresponding to the fourth input in the search results is deleted.

[0096] Here, it can help users quickly find and delete pictures including the same target element and / or first tag.

[0097] As another implementation of the present application, in order to improve the efficiency of sorting pictures, after the above-mentioned step of displaying the search result interface in response to the second input, the following steps may also be included:

[0098] A fifth input from the user is received; in response to the fifth input, a search result associated with the fifth input in the search results is moved to a target folder.

[0099] like Figure 8 As shown, the fourth input of the user selecting "ABC" is received, and in response to the fourth input, the third search result (Picture 1, Picture 2, Picture 3, Picture 4, Picture 5 and Picture 6) corresponding to the fourth input "ABC" in the search results is moved to the created target folder ABC.

[0100] Here, it can help users quickly organize pictures including the same target element and / or first tag.

[0101] As another implementation of the present application, in order to improve the accuracy of the first search condition displayed to the user, after the above-mentioned step of displaying the search result interface in response to the second input, the following steps may also be included:

[0102] Perform deduplication processing on at least one search result to obtain a deduplication-processed search result; and display the deduplication-processed search result.

[0103] Since some duplicate images may be stored in the electronic device, the search results may be reprocessed to delete the duplicate images and directly display the search results after deduplication.

[0104] In summary, in an embodiment of the present application, in response to a user's first input of a target element in a first image, a first search condition is determined based on the target element and a first label generated by the target element; then, in response to a user's second input of selecting a second search condition from the first search condition, a second image associated with the second search condition found from a preset image set is determined and displayed on a search result interface, so that the searched-for second image includes the same target element and / or first label as the first image. Thus, based on the content of the image itself, the second image that meets the second search condition can be automatically searched and displayed, and the user can quickly find the image they want without having to manually search.

[0105] It should be noted that the picture display method provided in the embodiment of the present application can be executed by a picture display device or a control module in the picture display device for executing the method for loading picture display. In the embodiment of the present application, the picture display method provided in the embodiment of the present application is described by taking the picture display device executing the method for loading picture display as an example.

[0106] In addition, based on the above-mentioned image display method, the embodiment of the present application also provides an image display device, specifically combined with Fig. 9 Provide detailed explanation.

[0107] Fig. 9 A schematic diagram of the structure of a picture display device provided in an embodiment of the present application.

[0108] like Fig. 9 As shown, the picture display device 90 may include:

[0109] A receiving module 910 is configured to receive a first input from a user on a target element in a first image;

[0110] Display module 920, for displaying at least one first search condition in response to the first input, the first search condition being determined according to the target element and at least one first tag; the first tag being generated according to the target element;

[0111] The receiving module 910 is further configured to receive a second input from a user selecting a second search condition from the first search condition;

[0112] The display module 920 is further used to display a search result interface in response to the second input, where the search result interface includes at least one search result, where the search result is a second picture associated with the second search condition found from a preset picture set.

[0113] In a possible embodiment, the display module 920 is further configured to display at least one first label in response to the first input.

[0114] The receiving module 910 is further configured to receive a third input from the user.

[0115] Correspondingly, the picture display device 90 may also include: an updating module, a deleting module and a adding module.

[0116] The updating module is used to update the first tag in response to the third input.

[0117] The deletion module is used to delete the first tag in response to the third input.

[0118] The adding module is used to add a first tag in response to a third input.

[0119] In a possible embodiment, the image display device 90 may further include: a combining module. The combining module is used to combine the target element and at least one first tag to obtain at least one first search condition.

[0120] In a possible embodiment, the receiving module 910 is further configured to receive a fourth input from the user.

[0121] Correspondingly, the picture display device 90 may further include: a deletion module.

[0122] The deletion module is used to delete the third search result corresponding to the fourth input in the search results in response to the fourth input.

[0123] In a possible embodiment, the receiving module 910 is further configured to receive a fifth input from the user.

[0124] Correspondingly, the picture display device 90 may further include: a moving module.

[0125] The moving module is used to move the search results associated with the fifth input in the search results to the target folder in response to the fifth input.

[0126] In a possible embodiment, the picture display device 90 may further include: a deduplication module.

[0127] The deduplication module is used to perform deduplication processing on at least one search result to obtain a deduplication-processed search result.

[0128] The display module 920 is also used to display the search results after deduplication processing.

[0129] The image display device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0130] The image display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0131] The picture display device provided in the embodiment of the present application can achieve Figure 2 In order to avoid repetition, the various processes implemented by the picture display device in the method embodiment will not be described again here.

[0132] In summary, the image display device provided in the embodiment of the present application responds to the user's first input of a target element in a first image, and determines a first search condition based on the target element and a first label generated by the target element; then, in response to the user's second input of selecting a second search condition from the first search condition, a second image associated with the second search condition found from a preset image set is determined and displayed on the search results interface, so that the searched second image includes the same target element and / or first label as the first image, thereby automatically searching and displaying the second image that meets the second search condition based on the content of the image itself, and the user can quickly find the image they want without having to manually search.

[0133] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0134] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. The input unit 1004 may include a graphics processor 10041 and a microphone 10042; the display unit 1006 may include a display panel 10061; the user input unit 1007 may include a touch panel 10071 and other input devices 10072; and the memory 1009 may include an application program and an operating system.

[0135] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source 1011 may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0136] The user input unit 1007 is used to receive a first input from a user on a target element in the first picture.

[0137] The display unit 1006 is used to display at least one first search condition in response to the first input, where the first search condition is determined according to the target element and at least one first tag; and the first tag is generated according to the target element.

[0138] The user input unit 1007 is further used to receive a second input from a user selecting a second search condition from the first search condition.

[0139] The display unit 1006 is further configured to display a search result interface in response to the second input, where the search result interface includes at least one search result, where the search result is a second picture associated with the second search condition found from a preset picture set.

[0140] Optionally, the display unit 1006 is further configured to display at least one first tag in response to the first input.

[0141] The user input unit 1007 is further used to receive a third input from the user.

[0142] The processor 1010 is configured to update the first tag, delete the first tag, and / or add the first tag in response to the third input.

[0143] Optionally, the processor 1010 is further configured to combine the target element and at least one first tag to obtain at least one first search condition.

[0144] Optionally, the user input unit 1007 is further configured to receive a fourth input from the user.

[0145] The processor 1010 is further configured to, in response to the fourth input, delete the third search result corresponding to the fourth input in the search results.

[0146] Optionally, the user input unit 1007 is further configured to receive a fifth input from the user.

[0147] The processor 1010 is further configured to, in response to the fifth input, move the search results associated with the fifth input in the search results to the target folder.

[0148] The processor 1010 is further configured to perform deduplication processing on at least one search result to obtain a deduplication-processed search result.

[0149] The display unit 1006 is also used to display the search results after deduplication processing.

[0150] In an embodiment of the present application, in response to a user's first input of a target element in a first image, a first search condition is determined based on the target element and a first label generated by the target element; then, in response to a user's second input of selecting a second search condition from the first search condition, a second image associated with the second search condition found from a preset image set is determined and displayed on a search result interface, so that the searched-for second image includes the same target element and / or first label as the first image. Thus, based on the content of the image itself, the second image that meets the second search condition can be automatically searched and displayed, and the user can quickly find the image they want without having to manually search.

[0151] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned image display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0152] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0153] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned picture display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0154] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0155] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0156] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0157] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for displaying an image, characterized in that: include: Receive a first input from a user on a target element in a first image; In response to the first input, displaying at least one first label; receiving a third input from the user; In response to a third input, updating the first tag, deleting the first tag and / or adding the first tag; wherein the step of updating the first tag includes updating according to an association direction set by a user; The target element and the updated first tag are combined to obtain multiple first search conditions, and the multiple first search conditions are displayed, and the user can choose to check or not check, wherein the multiple first search conditions include a first search condition consisting of a target element and a first search condition consisting of at least one first tag, and among the multiple first search conditions, the more the number of the target elements is, the higher the priority of the first search condition consisting of the target elements is, the more the number of the first tags is, the higher the priority of the first search condition consisting of the first tags is, and the priority of the first search condition consisting of the target elements is greater than the priority of the first search condition consisting of the same number of the first tags corresponding to the target elements; receiving a second input from the user selecting a second search condition from the first search condition; In response to the second input, searching is performed in order of priority of each search condition in the second search condition from small to large or from large to small to obtain search results, and a search results interface is displayed, wherein the search results interface includes at least one search result, the search result is a second picture associated with the second search condition found from a preset picture set, and the search results are displayed in different regions according to the second search condition. If one of the second search conditions does not have a second picture associated with it, the search condition is not presented in the search results interface; Among them, when searching according to the priorities of each search condition in the second search condition from small to large, if the search condition with low priority cannot find the search result, the search will no longer be performed for the search condition with high priority containing the same target element or first tag.

2. The method according to claim 1, characterized in that After the response to the second input, searching according to the priority of each search condition in the second search condition in ascending order or descending order, obtaining search results, and displaying the search results interface, the method further includes: receiving a fourth input from the user; In response to the fourth input, a third search result in the search results corresponding to the fourth input is deleted.

3. The method according to claim 1, characterized in that: After the response to the second input, searching according to the priority of each search condition in the second search condition in ascending order or descending order, obtaining search results, and displaying the search results interface, the method further includes: receiving a fifth input from the user; In response to the fifth input, search results associated with the fifth input among the search results are moved to a target folder.

4. The method according to claim 1, characterized in that: After the response to the second input, searching according to the priority of each search condition in the second search condition in ascending order or descending order, obtaining search results, and displaying the search results interface, the method further includes: Performing deduplication processing on the at least one search result to obtain a deduplication-processed search result; Displays the search results after deduplication.

5. A picture display device, characterized in that: include: A receiving module, configured to receive a first input from a user on a target element in a first image; A display module, configured to display at least one first label in response to the first input; The receiving module is further used to receive a third input from the user; an updating module, used for updating the first tag, wherein the step of updating the first tag includes updating according to an association direction set by a user; a deleting module, used for deleting the first tag; And / or, a new module, used to add the first tag; a combination module, used for combining the target element and the updated first tag to obtain multiple first search conditions, displaying the multiple first search conditions, and allowing the user to choose to check or not check, wherein the multiple first search conditions include a first search condition consisting of a target element and a first search condition consisting of at least one first tag, wherein, in the multiple first search conditions, the more the number of the target elements, the higher the priority of the first search condition consisting of the target elements, the more the number of the first tags, the higher the priority of the first search condition consisting of the first tags, and the priority of the first search condition consisting of the target elements is greater than the priority of the first search condition consisting of the same number of the first tags corresponding to the target elements; The receiving module is further configured to receive a second input from the user selecting a second search condition from the first search condition; The display module is further used to, in response to the second input, search in order of priority of each search condition in the second search condition from small to large or from large to small, obtain search results, and display a search result interface, wherein the search result interface includes at least one search result, the search result is a second picture associated with the second search condition found from a preset picture set, and the search result is displayed in different regions according to the second search condition. If one of the second search conditions does not have a second picture associated with it, the search condition is not presented in the search result interface; Among them, when searching according to the priorities of each search condition in the second search condition from small to large, if the search condition with low priority cannot find the search result, the search will no longer be performed for the search condition with high priority containing the same target element or first tag.

6. An electronic device, characterized in that: The method comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the image display method according to any one of claims 1 to 4.

7. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the image display method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Searching method and device

    CN106354885A

  • Information searching method, device and equipment and storage medium

    CN107229741A

  • Display method and terminal

    CN108763544A

  • Image search method, terminal device and storage medium

    CN110765296A

  • Search method and electronic equipment

    CN111368119A