CN112637411B - Image searching method and device, electronic equipment and readable storage medium - Google Patents

Image searching method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112637411B
CN112637411B CN202011526108.6A CN202011526108A CN112637411B CN 112637411 B CN112637411 B CN 112637411B CN 202011526108 A CN202011526108 A CN 202011526108A CN 112637411 B CN112637411 B CN 112637411B
Authority
CN
China
Prior art keywords
image
input
target
album page
images
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
CN202011526108.6A
Other languages
Chinese (zh)
Other versions
CN112637411A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011526108.6A priority Critical patent/CN112637411B/en
Publication of CN112637411A publication Critical patent/CN112637411A/en
Priority to PCT/CN2021/138687 priority patent/WO2022135258A1/en
Application granted granted Critical
Publication of CN112637411B publication Critical patent/CN112637411B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an image searching method, an image searching device and electronic equipment, and belongs to the technical field of communication. The problem that the operation of searching the images in the photo album is complex and time-consuming can be solved. The method comprises the following steps: receiving a first input in a case that a target chat interface is displayed; responding to the first input, and displaying a target album page, wherein the target album page comprises an image corresponding to the last operation of the user; receiving a second input of the first image in the target album page; in response to the second input, the first image is sent in the target chat interface. The method can be applied to searching scenes of the images in the photo album.

Description

Image searching method and device, electronic equipment and readable storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to an image searching method and device and electronic equipment.
Background
Along with the development of electronic technology, the storage space of the electronic equipment is increased, and the electronic equipment can store more images in the process of shooting the images by using the electronic equipment.
Currently, in a case where a user wants to send an image stored in an electronic device through an application program, the user usually needs to search for an image to be sent from all images saved in an album. For example, if a user wants to send several images to a friend through a communication application, the user may trigger the electronic device to run an album, and then search for and select the image desired by the user from all the images in the album.
However, since the display sequence of the images in the album is usually the shooting time sequence, so that the initial page of each run of the album is the page including the earliest shot image, when the shooting time of the image that the user wants to use is later, the user needs to browse a plurality of images in the album to find the image that the user needs. As such, the operation of finding images in the album may be cumbersome and time consuming.
Disclosure of Invention
The embodiment of the application aims to provide an image searching method, an image searching device and electronic equipment, and the problems that the operation for searching images in an album is complex and time-consuming can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an image searching method, where the method includes: receiving a first input in a case that a target chat interface is displayed; responding to the first input, and displaying a target album page, wherein the target album page comprises an image corresponding to the last operation of the user; receiving a second input of the first image in the target album page; in response to the second input, the first image is sent in the target chat interface.
In a second aspect, an embodiment of the present application provides an image searching apparatus, including: the device comprises a receiving module, a display module and a sending module. The receiving module is used for receiving a first input under the condition that a target chat interface is displayed; the display module is used for responding to the first input received by the receiving module and displaying a target album page in at least one album page, wherein the target album page comprises an image corresponding to the last operation of the user; the receiving module is also used for receiving second input of the first image in the target album page; a sending module, configured to send the first image in the target chat interface in response to the second input received by the receiving module.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, and the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that a target chat interface is displayed, a first input is received; the electronic equipment responds to the first input, and displays a target album page comprising an image corresponding to the last operation of the user; receiving a second input of the first image in the target album page; and sending the first image in the target chat interface in response to the second input. By the method, the user can trigger the electronic equipment to quickly display the target album page including the image corresponding to the last operation performed by the user through one input, so that the album page which is used by the user recently can be quickly positioned, for example, in the album page which is used recently, the user has a high probability of continuing to use the image in the page. Therefore, the user can conveniently and quickly find the image, the time of the user is saved, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic diagram of an image searching method according to an embodiment of the present disclosure;
fig. 2 is an operation diagram of an electronic device displaying a target page according to an embodiment of the present application;
fig. 3 is a second schematic diagram of an image searching method according to an embodiment of the present application;
fig. 4 is a third schematic diagram of an image searching method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an image searching apparatus according to an embodiment of the present disclosure;
fig. 6 is a hardware schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second hardware schematic diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first", "second", and the like are usually a class, and the number of the objects is not limited, and for example, the first object may be one or a plurality of objects. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The image searching method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides an image searching method, which may include steps 101 to 104 described below.
Step 101, the electronic device receives a first input under the condition that the target chat interface is displayed.
Optionally, in this embodiment of the application, the first input is used to trigger the electronic device to display a target album interface in at least one album interface. The first input may be completed through one input, or may be completed through multiple sub-inputs (for example, the following first sub-input and second sub-input). Specifically, in a case that the first input is one input, the first input may be a touch input of the target chat interface by the user, where the touch input may be any one of: clicking, double clicking, long pressing, sliding along a preset track in a target chat interface, and the like. The first input may also be a touch input to a target control displayed on the target chat interface, where the target control is used to indicate a position of an album page where the first image is located, and the touch input may be any of the following: clicking, double clicking, long pressing, dragging the target control along a preset track, and the like. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And 102, the electronic equipment responds to the first input and displays a target album page.
And the target album page comprises an image corresponding to the last operation of the user.
Optionally, in this embodiment of the present application, the album of the electronic device may include at least one album page, and the album pages may be continuous or paginated. And the target album page may be one page of the at least one album page.
For example, assuming that the album is an electronic device album application, an image that can be currently displayed on a screen in a plurality of photos in the album application is an image in a page, that is, the page is an album page. And the at least one album page comprises a target album page, wherein the target album page is a page comprising an image corresponding to the last operation of the user. For example, the last operation of the user is to trigger the electronic device to send a rabbit picture to the friend, and then the target album page is a target album page including the rabbit picture (i.e., the rabbit picture of the last sending operation of the user) in the album of the electronic device.
Optionally, in this embodiment of the application, the target album page may be displayed in a current target chat interface (that is, the current interface is directly displayed), for example, a window suspended in the target chat interface is displayed, and the target album page is displayed in the window. Or, the electronic device cancels the displayed target chat interface and jumps to the target album page for display (i.e., jumps to display), for example, the electronic device displays the target chat interface first, and switches and displays the target album interface in the album application program after receiving the first input of the user. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
Step 103, the electronic device receives a second input of the first image in the target album page.
Optionally, in this embodiment of the application, the first image is any image displayed in the target album interface. That is, the first image may include an image corresponding to the last operation performed by the user, or may not include an image corresponding to the last operation performed by the user. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
Optionally, in this embodiment of the application, the second input is used to determine the first image from the target album page. Specifically, the second input may be an input that a user selects the first image through a touch input, and the touch input may be any one of the following: single click, double click, long press, etc. The second input may also be a voice input of the user, the content of the voice input being used to instruct the electronic device to select a partial image as the first image from the plurality of images in the target album page. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And 104, the electronic equipment responds to the second input and sends the first image in the target chat interface.
It should be noted that, in the embodiment of the present application, reference may be made to the detailed description in the related art for the above-mentioned manner of sending the first image in the target chat interface, which is not described herein again.
Optionally, in this embodiment of the application, after the step 104 is completed, the electronic device may store the position information of the last image sent in the target album page (i.e., the last image sent in the first image) and update the target information. The target information is used for indicating the position information of the image corresponding to the last operation performed by the user in the album. Therefore, when the user uses the electronic equipment for the next time, the electronic equipment directly displays the page (namely, the new target album page) of the image which is in the first image and finishes the sending operation at last, so that the user can continue to use the electronic equipment by continuing to use the last using position conveniently.
Illustratively, fig. 2 is an operation diagram of the electronic device displaying a target page. As shown in (a) of fig. 2, the electronic device 00 displays a target chat interface 001, the user can long-press the target chat interface 001, the electronic device 00 responds to the long-press input (i.e., the first input), and as shown in (b) of fig. 2, displays an album page 002 (i.e., a target album page) including a picture P1, a picture P2, a picture P3, and a picture P4, wherein the picture P3 is an image corresponding to the last time the user operation is performed. That is, the electronic apparatus can quickly locate the album page 002 including the picture P3 by the long press operation of the user. Then, the user may click on the picture P4 (i.e., the first image) next to the picture P3, and the electronic device 00 may transmit the picture P4 in the target chat interface 001 in response to the click input (i.e., the second input), as shown in (c) of fig. 2.
The embodiment of the application provides an image searching method, which receives a first input under the condition of displaying a target chat interface; the electronic equipment responds to the first input, and displays at least one album page including a target album page of an image corresponding to the last operation of the user; receiving a second input of the first image in the target album page; and sending the first image in the target chat interface in response to the second input. By the method, the user can trigger the electronic equipment to quickly display the target album page including the image corresponding to the last operation performed by the user through one input, so that the album page which is used by the user recently can be quickly positioned, for example, in the album page which is used recently, the user has a high probability of continuing to use the image in the page. Therefore, the user can conveniently and quickly find the image, the time of the user is saved, and the use experience of the user is improved.
Optionally, with reference to fig. 1, as shown in fig. 3, the target album page includes at least one image of M images corresponding to the last operation performed by the user in at least one album page, where the first input includes a first sub-input and a second sub-input, and M is an integer greater than 1. Accordingly, the step 101 may be specifically realized by the following steps 101a and 101b, and the step 102 may be specifically realized by the following steps 102a and 102 b.
Step 101a, the electronic device receives a first sub-input under the condition that the target chat interface is displayed.
Optionally, in this embodiment of the application, the first sub-input is used to trigger the electronic device to display the N identifiers. The first sub-input may be a touch input of the target chat interface by a user, where the touch input may be any one of: clicking, double clicking, long pressing, sliding along a preset track in a target chat interface, and the like. The first sub-input may also be a touch input to a target control displayed on the target chat interface, where the touch input may be dragging the target control along a preset track, and the like. The first sub-input may also be a voice input, the content of which is used to instruct the electronic device to display the N identifiers. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And 102a, the electronic equipment responds to the first sub-input and displays the N identifications.
Wherein, each of the N identifiers is used to indicate one of the M images, and N is a positive integer less than or equal to M.
In this embodiment, the N marks are marks corresponding to all images or marks corresponding to partial images in the M images.
Specifically, when N is equal to M, N identifiers correspond to M images one-to-one, and each identifier is used to indicate one image of the M images. The user may trigger the electronic device to select the images corresponding to the N identifiers through a selection input (e.g., a second sub-input described below) to the N identifiers.
Specifically, when N is less than M, the electronic device may divide the M images into N intervals (e.g., equal interval division) according to the shooting time sequence, and select one image for each interval, where the image is used as a representative image of the interval and corresponds to one identifier, so as to achieve an effect that the M images correspond to the N identifiers. The images in each interval image may determine an image as an identifier corresponding to the representative image of the interval according to the sequence of the shooting time and the size of the storage space (for example, an image of the plurality of images in the interval, which is closest to the current system time at the shooting time, is determined as the representative image, or an image of the plurality of images in the interval, which has the largest storage space, is determined as the representative image). The specific correspondence manner of the M images corresponding to the N identifiers may be determined according to actual use requirements, for example, the arithmetic progression corresponds, the function corresponds, the mapping corresponds, and the like.
Step 101b, the electronic device receives a second sub-input selecting a target identifier from the N identifiers.
Optionally, in this embodiment of the application, the second input is used to select a target identifier from the N identifiers. Specifically, the second input may be a touch input for the user to touch and select the target identifier from the N identifiers, where the touch input may be any one of: single click, double click, long press, etc. The second sub-input may also be a voice input, and the content of the voice input is used to instruct the electronic device to select the target identifier from the N identifiers, for example, the content of the voice input includes a serial number or location information of the target identifier. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And 102b, the electronic equipment responds to the second sub-input and displays a target album page.
And the target album page comprises an image indicated by the target identification.
It should be noted that, in this embodiment of the application, reference may be made to the detailed description in step 102 for a display manner of the electronic device displaying the target album page including the image indicated by the target identifier, which is not described herein again.
For example, assume that the last operation performed by the user in the target album page of the electronic device corresponds to 4 images (i.e., M is 4), which are image P1, image P2, image P3 and image P4, respectively. In the case that the electronic device displays a target chat interface, a long press input (i.e., a first sub-input) of a user to the target chat interface is received, and the electronic device displays two identifiers (i.e., N ═ 2) in response to the long press input, wherein the two identifiers correspond to the 4 images in the sequence of shooting time, that is, the identifier a of the two identifiers corresponds to the image P2, and the identifier B of the two identifiers corresponds to the image P4. Then, the user can click on the identification B (i.e., the target identification), and the electronic device displays the target album page including the image P4 indicated by the identification B in response to the click input (i.e., the second sub-input).
It is understood that the user may trigger the electronic device to display the N identifiers by the first sub-input, and trigger the electronic device to display the target album page including the image indicated by the target identifier by selecting the second sub-input of the target identifier from the N identifiers. Therefore, the user can freely select the target identification according to the actual use requirement of the user, and the electronic equipment is triggered to display the target album page where the image indicated by the target identification is located. And then convenience of use is provided for users, and the use experience of the users is improved.
Optionally, in this embodiment of the application, the target album page includes an image that meets a preset condition in an image that is executed the last operation of the user.
Wherein the preset conditions include at least one of the following conditions: the image with the shooting time closest to the current system time in the image of the last operation, the image with the shooting time longest to the current system time in the image of the last operation, and the image with the largest storage space occupied in the image of the last operation.
Optionally, in this embodiment of the application, the image with the shooting time closest to the current system time in the image of the last operation refers to an image with the shooting time closest to the current system time in M images used by the electronic device last, that is, an image shot by the user through the electronic device last time, that is, an image with the latest date in the M images.
Optionally, in this embodiment of the application, the image with the shooting time longest from the current system time in the last image of the last operation refers to an image with the shooting time longest from the current system time in M images used by the electronic device last, that is, an image shot by the user through the electronic device the earliest time, that is, an image with the earliest date among the M images.
Optionally, in this embodiment of the application, the image occupying the largest storage space in the image in the last operation refers to an image occupying the largest storage space in M images used by the electronic device last time.
It should be noted that, in the embodiment of the present application, the three preset conditions may be used in combination or may be used alone. In addition, in the actual use process of the user, preset conditions may be added or deleted according to actual use requirements, for example, new preset condition items may be added as follows: the image occupying the smallest storage space in the image in the last operation, the image with the aspect ratio of 4:3 in the image in the last operation, and the like. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
It can be understood that the electronic device may determine the target album page according to preset conditions, where the preset conditions include at least one of the following: the image with the shooting time closest to the current system time in the image of the last operation, the image with the shooting time longest to the current system time in the image of the last operation, and the image with the largest storage space occupied in the image of the last operation. In this way, the electronic device may determine, as the target album page, a page where an image closest to the current system time, an image longest to the current system time, or an image occupying the largest storage space is located in the image corresponding to the last operation performed by the user, and then display the target album page. Therefore, the electronic equipment can quickly and conveniently determine the position of the last image operated by the user, and display the target album page where the position is located, so that the user can conveniently continue to perform subsequent operation based on the target album page, and the use experience of the user is improved.
Optionally, in conjunction with fig. 1, as shown in fig. 4, the first input includes a third sub-input and a fourth sub-input. Correspondingly, step 101 may be specifically implemented by step 101c and step 101d, and step 102 may be specifically implemented by step 102c and step 102 d.
And step 101c, the electronic equipment receives a third sub-input under the condition that the target chat interface is displayed.
Optionally, in this embodiment of the application, the third sub-input is used to trigger the electronic device to display the first option and the second option. The third sub-input may be a touch input of the user to the target chat interface, where the touch input may be any one of: clicking, double clicking, long pressing, sliding along a preset track in a target chat interface, and the like. The third sub-input may also be a touch input to a target control displayed on the target chat interface, where the touch input may be dragging the target control along a target preset track, and the like. The third sub-input may also be a voice input, and the content of the voice input is used to trigger the electronic device to display the first option and the second option. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And 102c, the electronic equipment responds to the third sub-input and displays the first option and the second option.
The first option is used for indicating and displaying a first album page or a last album page, and the second option is used for indicating and displaying a target album page including an image corresponding to the last operation of the user in at least one album page.
In the embodiment of the present application, the first option and the second option correspond to two different display modes, respectively. Specifically, the display mode corresponding to the first option is to display a first album page or a last album page (i.e., a conventional display mode). The first album page is the album page where the earliest shot image is located; the last album page is the album page where the image is shot at the latest. The display mode corresponding to the second option is a target album page (namely, the display mode of the recently used page) which includes the image corresponding to the last operation performed by the user in the at least one album page. The user can select the first option or the second option according to actual use requirements, and then the electronic equipment is triggered to perform adaptive adjustment on the displayed album page.
Optionally, in this embodiment of the application, prompt messages may be displayed beside the first option and beside the second option, so as to respectively prompt specific functions of the first option and the second option. The display form of the prompt message is not particularly limited in the embodiments of the present application.
Optionally, in this embodiment of the application, if the user performs an operation on the first option, the electronic device may display a first album page or a last album page. If the user performs an operation on the first option (for example, a fourth sub-input described below), the electronic device may display a target album page including an image corresponding to the last operation performed by the user in the at least one album page, that is, a most recently used page.
Step 101d, the electronic device receives a fourth sub-input for the second option.
Optionally, in this embodiment of the application, the fourth sub-input is used to select the second option, or trigger the second option to execute a corresponding operation. Specifically, the fourth sub-input may be a touch input of the user to the second option, where the touch input may be any one of: single click, double click, long press, etc. The fourth sub-input may also be a voice input, and the content of the voice input is used to instruct the electronic device to perform an operation corresponding to the second option. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And 102d, the electronic equipment responds to the fourth sub-input and displays a target album page.
It should be noted that, in the embodiment of the present application, reference may be made to the specific description in step 102 for a display manner of the target album page displayed by the electronic device, which is not described herein again.
It is understood that the electronic device may receive a third sub-input from the user, triggering the electronic device to display the first option and the second option; subsequently, the user can trigger the electronic device to display a target album page including an image corresponding to the last operation performed by the user through a fourth sub-input to the second option. Therefore, the user can select the photo album page according to actual use requirements, when the user needs to display the photo album page where the last operation image is located, the target photo album page including the last operation image can be displayed quickly and conveniently by directly inputting the second option, the user can continue to perform subsequent operations based on the target photo album page, and use experience of the user is improved.
Optionally, in this embodiment of the application, the target album page includes: the image processing method comprises S second images and K third images, wherein the second images are images corresponding to the last operation of a user executed in a target album page, the third images are images except the second images in the target album page, and S and K are positive integers. The "display target album page" in the above step 102 can be specifically realized by the following step 102 e.
And 102e, in the target album page, the electronic equipment displays S second images in the first display mode and displays K third images in the second display mode.
Wherein the first display mode and the second display mode are different.
Optionally, in this embodiment of the application, the first display manner is a highlighting manner, and specifically, the highlighting manner may be any one of the following: display in a predetermined color, display in a predetermined transparency, display in a predetermined display size (e.g., enlarged size display), display in a predetermined gradation or display in a predetermined light effect, and the like. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
Optionally, in this embodiment of the application, the second display mode is different from the first display mode. In the case where the first display mode is the highlighted display, the second display mode may be a normal display, that is, a display mode that is default for the electronic device and is different from the first display mode.
It is understood that the electronic device may distinguish the image corresponding to the last operation performed by the user in the display target album from other images in different display manners, that is, distinguish the second image from the third image. Therefore, the user can conveniently and quickly identify the image corresponding to the last operation of the user, the user can conveniently and quickly select the image, and the use experience of the user is improved.
It should be noted that, in the image searching method provided in the embodiment of the present application, the execution subject may be an image searching apparatus, or a control module in the image searching apparatus for executing the image searching method. The embodiment of the present application takes an image searching apparatus executing an image searching method as an example, and describes an apparatus provided in the embodiment of the present application.
As shown in fig. 5, an embodiment of the present application provides an image searching apparatus 500. The image search apparatus 500 may include a receiving module 501, a display module 502, and a transmitting module 503. The receiving module 501 may be configured to receive a first input in a case that the target chat interface is displayed. The display module 502 may be configured to display a target album page including an image corresponding to the last operation performed by the user in response to the first input received by the receiving module 501. The receiving module 501 may further be configured to receive a second input of the first image in the target album page. A sending module 503, which may be configured to send the first image in the target chat interface in response to the second input received by the receiving module 501.
Optionally, in this embodiment of the application, the target album page includes at least one image of M images for performing the last operation of the user, the first input includes a first sub-input and a second sub-input, and M is an integer greater than 1. The display module 502 may be specifically configured to display, in response to the first sub-input, N identifiers, where each identifier in the N identifiers is used to indicate one image in the M images, and N is a positive integer smaller than or equal to M. The display module 502 may be further specifically configured to display the target album page in response to a second sub-input that selects a target identifier from the N identifiers, where the target album page includes the image indicated by the target identifier.
Optionally, in this embodiment of the application, the target album page includes an image that meets a preset condition in an image that is executed the last operation of the user. Wherein the preset condition comprises at least one of the following: the image with the shooting time closest to the current system time in the image of the last operation, the image with the shooting time longest to the current system time in the image of the last operation, and the image with the largest storage space occupied in the image of the last operation.
Optionally, in this embodiment of the application, the first input includes a third sub-input and a fourth sub-input. The display module 502 may be specifically configured to, in response to the third sub-input, display a first option and a second option, where the first option is used to indicate to display a first album page or a last album page, and the second option is used to indicate to display a target album page including an image corresponding to a last operation performed by the user. The display module 502 may be further specifically configured to display the target album page in response to a fourth sub-input to the second option.
Optionally, in this embodiment of the application, the target album page includes: the image processing method comprises S second images and K third images, wherein the second images are images corresponding to the last operation of a user executed in a target album page, the third images are images except the second images in the target album page, and S and K are positive integers. The display module 502 may be specifically configured to display, in the target album page, S second images in a first display manner, and K third images in a second display manner, where the first display manner is different from the second display manner.
The image searching device in the embodiment of the present application may be a functional entity and/or a functional module in an electronic device, which executes an image searching method, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and 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, and the like, and the embodiments of the present application are not particularly limited.
The image searching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The image searching device provided in the embodiment of the present application can implement each process implemented by the image searching device in the method embodiments of fig. 1 to fig. 4, and is not described herein again to avoid repetition.
The embodiment of the application provides an image searching device, which receives a first input of a user under the condition that a target chat interface is displayed by the image searching device; the image searching device responds to the first input and displays at least one album page including a target album page of an image corresponding to the last operation of the user; receiving a second input of the first image in the target album page; and sending the first image in the target chat interface in response to the second input. By the method, the user can trigger the image searching device to quickly display the target album page including the image corresponding to the last operation performed by the user through one input, so that the album page which is used by the user recently can be quickly positioned, for example, in the album page which is used recently, the user has a high probability of continuing to use the image in the page. Therefore, the user can conveniently and quickly find the image, the time of the user is saved, and the use experience of the user is improved.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the above-mentioned embodiment of the image searching method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 2000 includes, but is not limited to: a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010.
Among other things, the input unit 2004 may include a graphic processor 20041 and a microphone 20042, the display unit 2006 may include a display panel 20061, the user input unit 2007 may include a touch panel 20071 and other input devices 20072, and the memory 2009 may be used to store software programs (e.g., an operating system, an application program required for at least one function), and various data.
Those skilled in the art will appreciate that the electronic device 2000 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 2010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 2007 may be configured to receive a first input when the target chat interface is displayed. A display unit 2006, which may be configured to display a target album page including an image corresponding to the last operation performed by the user in response to the first input received by the user input unit 2007. The user input unit 2007 may also be used to receive a second input of the first image in the target album page. The radio frequency unit 2001 may be configured to transmit the first image in the target chat interface in response to the second input received by the user input unit 2007.
The embodiment of the application provides electronic equipment, which receives a first input of a user under the condition that the electronic equipment displays a target chat interface; the electronic equipment responds to the first input, and displays at least one album page including a target album page of an image corresponding to the last operation of the user; receiving a second input of the first image in the target album page; and sending the first image in the target chat interface in response to the second input. By the method, the user can trigger the electronic equipment to quickly display the target album page including the image corresponding to the last operation performed by the user through one input, so that the album page which is used by the user recently can be quickly positioned, for example, in the album page which is used recently, the user has a high probability of continuing to use the image in the page. Therefore, the user can conveniently and quickly find the image, the time of the user is saved, and the use experience of the user is improved.
Optionally, in this embodiment of the application, the target album page includes at least one image of M images for performing the last operation of the user, the first input includes a first sub-input and a second sub-input, and M is an integer greater than 1. The display unit 2006 is specifically configured to display, in response to the first sub-input, N identifiers, where each identifier in the N identifiers is used to indicate one image in the M images, and N is a positive integer smaller than or equal to M. The display unit 2006 is specifically further configured to display, in response to a second sub-input that selects a target identifier from the N identifiers, the target album page including the image indicated by the target identifier.
It is understood that the user may trigger the electronic device to display the N identifiers by the first sub-input, and trigger the electronic device to display the target album page including the image indicated by the target identifier by selecting the second sub-input of the target identifier from the N identifiers. Therefore, the user can freely select the target identification according to the actual use requirement of the user, and the electronic equipment is triggered to display the target album page where the image indicated by the target identification is located. And then convenience of use is provided for users, and the use experience of the users is improved.
Optionally, in this embodiment of the application, the target album page includes an image that meets a preset condition in an image corresponding to the last operation performed by the user. Wherein the preset condition comprises at least one of the following: the image with the shooting time closest to the current system time in the image of the last operation, the image with the shooting time longest to the current system time in the image of the last operation, and the image with the largest storage space occupied in the image of the last operation.
It can be understood that the electronic device may determine the target album page according to preset conditions, where the preset conditions include at least one of the following: the image with the shooting time closest to the current system time in the image of the last operation, the image with the shooting time longest to the current system time in the image of the last operation, and the image with the largest storage space occupied in the image of the last operation. In this way, the electronic device may determine a page where an image closest to the current system time, an image longest to the current system time, or an image occupying the largest storage space among the last operated images is located as a target album page, and then display the target album page. Therefore, the electronic equipment can quickly and conveniently determine the position of the last image operated by the user, and display the target album page where the position is located, so that the user can conveniently continue to perform subsequent operation based on the target album page, and the use experience of the user is improved.
Optionally, in this embodiment of the application, the first input includes a third sub-input and a fourth sub-input. The display unit 2006 may be specifically configured to, in response to the third sub-input, display a first option and a second option, where the first option is used to instruct to display a first album page or a last album page, and the second option is used to instruct to display a target album page including an image corresponding to a last operation performed by the user. The display unit 2006 is specifically further configured to display the target album page in response to a fourth sub-input to the second option.
It is understood that the electronic device may receive a third sub-input from the user, triggering the electronic device to display the first option and the second option; subsequently, the user may trigger the electronic device to display a target album page including the last operated image through a fourth sub-input to the second option. Therefore, the user can select the photo album page according to actual use requirements, when the user needs to display the photo album page where the last operation image is located, the target photo album page including the last operation image can be displayed quickly and conveniently by directly inputting the second option, the user can continue to perform subsequent operations based on the target photo album page, and use experience of the user is improved.
Optionally, in this embodiment of the application, the target album page includes: the image processing method comprises S second images and K third images, wherein the second images are images corresponding to the last operation of a user executed in a target album page, the third images are images except the second images in the target album page, and S and K are positive integers. The display unit 2006 may be specifically configured to display S second images in a first display manner and K third images in a second display manner in the target album page, where the first display manner is different from the second display manner.
It is to be understood that the electronic device may distinguish the image that was last operated in the display target album from the other images in different display manners, that is, distinguish the second image from the third image. Therefore, the user can conveniently and quickly identify the image operated at the last time, the user can conveniently and quickly select the image, and the use experience of the user is improved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the image searching method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the image searching method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An image lookup method, the method comprising:
receiving a first input in a case that a target chat interface is displayed;
responding to the first input, and displaying a target album page, wherein the target album page comprises at least one image in M images corresponding to the last operation of the user, the first input comprises a first sub-input and a second sub-input, and M is an integer greater than 1;
the displaying a target album page in response to the first input includes:
displaying N identifiers in response to the first sub-input, wherein each identifier in the N identifiers is used for indicating one image in the M images, and N is a positive integer less than or equal to M; the corresponding mode of the M images corresponding to the N identifiers is determined by a preset mode;
in response to a second sub-input of a target identifier selected from the N identifiers, displaying the target album page, the target album page including the image indicated by the target identifier;
receiving a second input of a first image in the target album page, wherein the first image comprises an image indicated by the target identification;
in response to the second input, sending the first image in the target chat interface.
2. The method according to claim 1, wherein the target album page includes an image satisfying a preset condition among images on which a last operation of a user is performed;
wherein the preset condition comprises at least one of the following: the image with the shooting time closest to the current system time in the image of the last operation, the image with the shooting time longest to the current system time in the image of the last operation, and the image with the largest storage space occupied in the image of the last operation.
3. The method of claim 1, wherein the first input comprises a third sub-input and a fourth sub-input;
the displaying a target album page in response to the first input includes:
responding to the third sub-input, displaying a first option and a second option, wherein the first option is used for indicating to display a first album page or a last album page, and the second option is used for indicating to display the target album page including an image corresponding to the last operation of the user;
displaying the target album page in response to a fourth sub-input to the second option.
4. The method of claim 1, wherein the target album page comprises: s second images and K third images, wherein the second images are images corresponding to the last operation of the user in the target album page, the third images are images except the second images in the target album page, and S and K are positive integers;
the display target album page includes:
and displaying S second images in a first display mode and K third images in a second display mode in the target album page, wherein the first display mode is different from the second display mode.
5. An image lookup apparatus, characterized in that the apparatus comprises: the device comprises a receiving module, a display module and a sending module;
the receiving module is used for receiving a first input under the condition that a target chat interface is displayed;
the display module is used for responding to the first input received by the receiving module and displaying a target album page, wherein the target album page comprises at least one image in M images corresponding to the last operation of the user, the first input comprises a first sub-input and a second sub-input, and M is an integer greater than 1;
the display module is specifically further configured to display, in response to the first sub-input, N identifiers, where each identifier in the N identifiers is used to indicate one image in the M images, and N is a positive integer less than or equal to M; the corresponding mode of the M images corresponding to the N identifiers is determined by a preset mode;
the display module is specifically further configured to display the target album page in response to a second sub-input that selects a target identifier from the N identifiers, where the target album page includes the image indicated by the target identifier;
the receiving module is further used for receiving a second input of a first image in the target album page, wherein the first image comprises an image indicated by the target identification;
the sending module is configured to send the first image in the target chat interface in response to the second input received by the receiving module.
6. The apparatus according to claim 5, wherein the target album page includes an image satisfying a preset condition among images on which a last operation of a user is performed;
wherein the preset condition comprises at least one of the following: the image with the shooting time closest to the current system time in the image of the last operation, the image with the shooting time longest to the current system time in the image of the last operation, and the image with the largest storage space occupied in the image of the last operation.
7. The apparatus of claim 5, wherein the first input comprises a third sub-input and a fourth sub-input;
the display module is specifically configured to respond to the third sub-input, and display a first option and a second option, where the first option is used to indicate to display a first album page or a last album page, and the second option is used to indicate to display the target album page including an image corresponding to a last operation performed by a user;
the display module is specifically further configured to display the target album page in response to a fourth sub-input to the second option.
8. The apparatus of claim 5, wherein the target album page comprises: s second images and K third images, wherein the second images are images corresponding to the last operation of the user in the target album page, the third images are images except the second images in the target album page, and S and K are positive integers;
the display module is specifically configured to display, in the target album page, the S second images in a first display manner, and display the K third images in a second display manner, where the first display manner is different from the second display manner.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, implement the steps of the image lookup method of any one of claims 1 to 4.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the image finding method as claimed in any one of claims 1 to 4.
CN202011526108.6A 2020-12-22 2020-12-22 Image searching method and device, electronic equipment and readable storage medium Active CN112637411B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011526108.6A CN112637411B (en) 2020-12-22 2020-12-22 Image searching method and device, electronic equipment and readable storage medium
PCT/CN2021/138687 WO2022135258A1 (en) 2020-12-22 2021-12-16 Image lookup method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011526108.6A CN112637411B (en) 2020-12-22 2020-12-22 Image searching method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112637411A CN112637411A (en) 2021-04-09
CN112637411B true CN112637411B (en) 2022-03-25

Family

ID=75320676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011526108.6A Active CN112637411B (en) 2020-12-22 2020-12-22 Image searching method and device, electronic equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN112637411B (en)
WO (1) WO2022135258A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637411B (en) * 2020-12-22 2022-03-25 维沃移动通信有限公司 Image searching method and device, electronic equipment and readable storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010028169A2 (en) * 2008-09-05 2010-03-11 Fotonauts, Inc. Reverse tagging of images in system for managing and sharing digital images
CN102799613A (en) * 2012-06-14 2012-11-28 腾讯科技(深圳)有限公司 Showing method and device for recently-used file
CN103440247A (en) * 2013-07-19 2013-12-11 张佳佩 Method and device for sending photos
CN106789543A (en) * 2015-11-20 2017-05-31 腾讯科技(深圳)有限公司 The method and apparatus that facial expression image sends are realized in session
CN108075959B (en) * 2016-11-14 2021-03-12 腾讯科技(深圳)有限公司 Session message processing method and device
CN107391734A (en) * 2017-08-04 2017-11-24 北京金山安全软件有限公司 Picture display method and device, electronic equipment and readable storage medium
CN108153900A (en) * 2018-01-12 2018-06-12 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN109033297B (en) * 2018-07-16 2021-04-27 维沃移动通信有限公司 Image display method and mobile terminal
CN109189735B (en) * 2018-10-23 2020-09-01 维沃移动通信有限公司 Preview image display method and mobile terminal
CN112352215A (en) * 2019-01-24 2021-02-09 华为技术有限公司 Image sharing method and mobile device
CN109862266B (en) * 2019-01-31 2021-05-07 维沃移动通信有限公司 Image sharing method and terminal
CN110069306B (en) * 2019-03-29 2021-10-26 维沃移动通信有限公司 Message display method and terminal equipment
CN111274416A (en) * 2020-01-22 2020-06-12 维沃移动通信有限公司 Chat information searching method and electronic equipment
CN112637411B (en) * 2020-12-22 2022-03-25 维沃移动通信有限公司 Image searching method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN112637411A (en) 2021-04-09
WO2022135258A1 (en) 2022-06-30

Similar Documents

Publication Publication Date Title
CN112148174B (en) Application information display method and device and electronic equipment
CN111638823B (en) Application icon display method and device and electronic equipment
CN111638848B (en) Page switching method and device and electronic equipment
CN111984162A (en) Page display method and device and electronic equipment
CN111913616A (en) Application program management method and device and electronic equipment
CN111638841B (en) Message detail page display method and device and electronic equipment
CN111831181A (en) Application switching display method and device and electronic equipment
CN112702261A (en) Information display method and device and electronic equipment
CN112637411B (en) Image searching method and device, electronic equipment and readable storage medium
CN112698762B (en) Icon display method and device and electronic equipment
CN112399010B (en) Page display method and device and electronic equipment
CN113849092A (en) Content sharing method and device and electronic equipment
CN113885750A (en) Message processing method and device and electronic equipment
CN111666023B (en) Interface display method and device, electronic equipment and readable storage medium
CN113407075A (en) Icon sorting method and device and electronic equipment
CN112286615A (en) Information display method and device of application program
CN112416199A (en) Control method and device and electronic equipment
CN112286611A (en) Icon display method and device and electronic equipment
CN111638828A (en) Interface display method and device
CN113872849B (en) Message interaction method and device and electronic equipment
CN113360060B (en) Task realization method and device and electronic equipment
CN113835601A (en) Screenshot management method and device
CN113467874A (en) Application interface display method and device
CN111752428A (en) Icon arrangement method and device, electronic equipment and medium
CN112328141A (en) Copying method and device

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