CN111368110A - Gallery searching method, terminal and computer storage medium - Google Patents

Gallery searching method, terminal and computer storage medium Download PDF

Info

Publication number
CN111368110A
CN111368110A CN202010100420.2A CN202010100420A CN111368110A CN 111368110 A CN111368110 A CN 111368110A CN 202010100420 A CN202010100420 A CN 202010100420A CN 111368110 A CN111368110 A CN 111368110A
Authority
CN
China
Prior art keywords
picture
content
pictures
searched
chat
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.)
Granted
Application number
CN202010100420.2A
Other languages
Chinese (zh)
Other versions
CN111368110B (en
Inventor
陈蓉
刘丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN202010100420.2A priority Critical patent/CN111368110B/en
Priority to PCT/CN2020/094769 priority patent/WO2021164151A1/en
Publication of CN111368110A publication Critical patent/CN111368110A/en
Application granted granted Critical
Publication of CN111368110B publication Critical patent/CN111368110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/532Query formulation, e.g. graphical querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5846Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using extracted text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a gallery searching method, a terminal and a computer storage medium, wherein the gallery searching method is applied to the terminal and comprises the following steps: receiving input content of a chat interface; searching a picture library for pictures with picture contents related to input contents; and displaying the chat content to be sent according to the searched pictures. By the method, the picture can be directly searched in the picture library for use in the chatting process according to the content of the picture, and the method is quicker and more efficient.

Description

Gallery searching method, terminal and computer storage medium
Technical Field
The application relates to the technical field of terminals, in particular to a gallery searching method, a terminal and a computer storage medium.
Background
With the rapid development of terminal technology, the functions of mobile terminals such as mobile phones and tablet computers are also improved, and the mobile terminals become one of the common tools in daily life and work.
Generally, a terminal is provided with a gallery for storing pictures and videos, a user can view the pictures and videos in the gallery through browsing or searching, when the storage capacity of the gallery is large, the user is more inclined to quickly find desired contents through searching, however, the current searching method is only limited to searching in the gallery under the conditions of using original classifications such as time, people, things and the like, the classification is limited and the accuracy is low, so that the user often cannot search the desired contents, only manually browse and search the desired contents, the process is complicated, especially when the user is in instant messaging chat, the difficulty of using the searched pictures is large, and the user experience is poor.
Disclosure of Invention
In view of the above technical problems, the present application provides a gallery search method, a terminal and a computer storage medium, which can search for a picture in a gallery directly according to the content of the picture in the chat process, and are faster and more efficient.
In order to solve the above technical problem, the present application provides a gallery search method, applied to a terminal, including:
receiving input content of a chat interface;
searching a picture library for pictures with picture contents related to the input contents;
and displaying the chat content to be sent according to the searched pictures.
Wherein the searching the picture library for the picture content associated with the input content comprises:
carrying out image recognition on the picture with the type of the picture content in the gallery matched with the input content;
and searching pictures of which the identification results are associated with the input content.
The image recognition of the picture with the type of the picture content matched with the input content in the gallery comprises at least one of the following steps:
when the type of the picture content matched with the input content is a character, performing image recognition on the picture with the type of the picture content as the character in the image library to obtain the character content in the picture as a recognition result;
and when the type of the picture content matched with the input content is a picture, carrying out image recognition on the picture with the type of the picture content in the picture library as the picture so as to obtain the picture content in the picture as a recognition result.
Wherein the searching the picture library for the picture content associated with the input content comprises:
searching a primary picture classification according to the input content;
and searching pictures with the picture contents related to the input contents in the lower picture classification of the primary picture classification.
Wherein, the method further comprises:
classifying the pictures in the gallery according to the picture content of the pictures in the gallery;
establishing at least one primary picture classification according to a classification result;
classifying the pictures in each primary picture classification according to the picture content of the pictures in each primary picture classification, and establishing at least one secondary picture classification corresponding to each primary picture classification.
The displaying chat content to be sent according to the searched pictures comprises the following steps:
selecting at least one associated picture from all searched pictures according to the chat scene corresponding to the input content;
and displaying the at least one associated picture as chat content to be sent, and/or displaying picture content information derived from the at least one associated picture as chat content to be sent.
Wherein, the selecting at least one associated picture from all searched pictures according to the chat scene of the input content comprises:
when the at least one associated picture comprises at least two pictures from the same video, selecting one picture from the at least two pictures as the associated picture.
The displaying chat content to be sent according to the searched pictures comprises the following steps:
displaying a marquee for intercepting the picture on the searched picture;
and displaying the picture part positioned in the marquee as chat content to be sent according to the operation of adjusting the marquee.
Wherein, the displaying the marquee for intercepting the picture on the searched picture comprises:
and displaying a marquee for intercepting pictures at picture contents of the searched pictures, which are associated with the input contents.
The displaying chat content to be sent according to the searched pictures comprises the following steps:
and displaying picture content information derived from the searched pictures to obtain chat content to be sent.
Wherein the displaying picture content information derived from the searched picture to obtain the chat content to be sent comprises:
displaying a selection frame for selecting picture content information on the searched picture;
and according to the operation of adjusting the marquee, deriving picture content information in the marquee to obtain chat content to be sent.
The displaying of the marquee for selecting the picture content information on the searched picture includes:
and displaying a marquee for extracting the picture content information at the picture content of the searched picture associated with the input content.
The deriving picture content information located in the marquee to obtain chat content to be sent includes:
adding the picture content information in the marquee into the input content to obtain chat content to be sent; or the like, or, alternatively,
and replacing the input content with the picture content information in the marquee to obtain the chat content to be sent.
Wherein the displaying picture content information derived from the searched picture to obtain the chat content to be sent comprises:
and displaying picture content information which is derived from the searched pictures and is related to the input content to obtain chat content to be sent.
Wherein, the method further comprises:
when picture content information associated with the input content is derived, the derived picture content information is less than or equal to a preset number.
The application further provides a second gallery searching method, which is applied to a terminal and comprises the following steps:
receiving input content of a chat interface;
searching a picture library for pictures with picture contents related to the input contents;
displaying a marquee for intercepting the picture on the searched picture;
and displaying the picture part positioned in the marquee as chat content to be sent according to the operation of adjusting the marquee.
In a second gallery search method, displaying a marquee for intercepting a picture on a searched picture includes:
and displaying a marquee for intercepting pictures at picture contents of the searched pictures, which are associated with the input contents.
In a second gallery search method, displaying a marquee for intercepting a picture on a searched picture includes:
selecting at least one associated picture from all searched pictures according to the chat scene corresponding to the input content;
and displaying a marquee for intercepting the picture on the at least one associated picture.
In a second gallery search method, the selecting at least one associated picture from all searched pictures according to the chat scene of the input content includes:
when the at least one associated picture comprises at least two pictures from the same video, selecting one picture from the at least two pictures as the associated picture.
The application further provides a third gallery searching method, which is applied to a terminal and comprises the following steps:
receiving input content of a chat interface;
searching a picture library for pictures with picture contents related to the input contents;
and displaying picture content information derived from the searched pictures to obtain chat content to be sent.
In a third gallery search method, the displaying picture content information derived from a searched picture to obtain chat content to be sent includes:
displaying a selection frame for selecting picture content information on the searched picture;
and according to the operation of adjusting the marquee, deriving picture content information in the marquee to obtain chat content to be sent.
In a third gallery search method, the displaying a marquee for extracting content information of a picture on a searched picture includes:
selecting at least one associated picture from all searched pictures according to the chat scene corresponding to the input content;
and displaying a selecting frame for selecting the picture content information on the at least one associated picture.
In a third gallery search method, the displaying a marquee for extracting content information of a picture on a searched picture includes:
and displaying a marquee for extracting the picture content information at the picture content of the searched picture associated with the input content.
In the third gallery search method, the deriving picture content information located in the marquee to obtain chat content to be sent includes:
adding the picture content information in the marquee into the input content to obtain chat content to be sent; or the like, or, alternatively,
and replacing the input content with the picture content information in the marquee to obtain the chat content to be sent.
In a third gallery search method, the displaying picture content information derived from a searched picture to obtain chat content to be sent includes:
and displaying picture content information which is derived from the searched pictures and is related to the input content to obtain chat content to be sent.
In the third gallery search method, the method further includes:
when picture content information associated with the input content is derived, the derived picture content information is less than or equal to a preset number.
The present application also provides a terminal, including a memory and a processor, where the memory is used to store at least one program instruction, and the processor is used to implement the gallery search method as described above by loading and executing the at least one program instruction.
The present application further provides a computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement the gallery search method as described above.
As described above, according to the gallery search method, the terminal and the computer storage medium of the present application, by receiving the input content of the chat interface, searching the picture content in the gallery for the picture associated with the input content, and then displaying the chat content to be sent according to the searched picture, the user can directly search the picture in the gallery according to the content of the picture during instant messaging, so that the information of the picture is quickly used as the chat content, which is faster and more efficient.
Drawings
Fig. 1 is a flowchart illustrating a gallery search method according to a first embodiment;
FIG. 2 is a schematic diagram of a chat interface according to a first embodiment;
fig. 3 is a schematic diagram showing the ordering of pictures according to the first embodiment;
fig. 4 is another schematic diagram of picture ordering shown in accordance with the first embodiment;
fig. 5 is a schematic diagram illustrating picture identification according to the first embodiment;
fig. 6 is a flowchart illustrating a gallery search method according to a second embodiment;
fig. 7 is a flowchart illustrating a gallery search method according to a third embodiment;
fig. 8 is one of the structural diagrams of the terminal shown according to the fourth embodiment;
fig. 9 is a second schematic structural diagram of the terminal shown in fig. 8.
Detailed Description
The following description of the embodiments of the present application is provided for illustrative purposes, and other advantages and capabilities of the present application will become apparent to those skilled in the art from the present disclosure.
In the following description, reference is made to the accompanying drawings that describe several embodiments of the application. It is to be understood that other embodiments may be utilized and that mechanical, structural, electrical, and operational changes may be made without departing from the spirit and scope of the present application. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present application is defined only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
First embodiment
Fig. 1 is a flowchart illustrating a gallery search method according to a first embodiment. Referring to fig. 1, the gallery search method of the present embodiment is applied to a terminal, and includes:
step 510, receiving input content of the chat interface.
Referring to fig. 2, a chat interface 60 may display contact information 610, contact chat content 620, user chat content 630, an input field 640, and the like, in which input content 670 input by a user operation is displayed in the input field 640, and a gallery search result, such as a picture 660, displayed according to the input content 670 in the embodiment of the present application. The input content may be a word, a phrase, or a symbol, a word, etc.
In step 520, the picture library is searched for pictures with picture contents associated with the input contents.
The picture content is the composition content of the picture, and comprises text content and/or graphic content. The text content is also the content composed of characters, and can be any recognizable characters such as Chinese characters, pinyin or English. The graphic content is a content composed of a graphic with a shape and a color, such as a red area, a red circle, a red square, and the like.
When searching for pictures, the input content is analyzed to narrow or determine the search range, for example, the type of the picture content to be searched for when the user inputs the current input content is known, or the picture category to be searched for is determined according to the content of the input content.
In one embodiment, the process of searching a picture library for pictures with picture contents associated with input contents comprises the following steps:
carrying out image recognition on the picture with the type of the picture content matched with the input content in the image library;
and searching the picture of which the identification result is associated with the input content.
The type of the picture content of each picture in the picture library can be automatically identified and marked when the picture is newly added, and the type of the picture content is characters, graphs or a combination of the characters and the graphs. Different input contents can match different types of picture contents, one input content can match at least one type of picture contents, for example, when the input content is red, the input content can match the picture contents with the types of characters and graphics, and when the input content is 'fraction', only the picture contents with the types of characters are matched.
And when the type of the picture content matched with the input content is a character, performing image recognition on the picture with the type of the picture content in the image library as the character to acquire the character content in the picture as a recognition result. Taking the input content as the score as an example, the image recognition is performed on the picture with the type of the picture content in the gallery as characters, after the recognition result is obtained, the recognition result is screened, and the recognition result associated with the input content can include the contents such as the score, the fenshu, the number of copies and the like, that is, the contents which are the same as the input content, have similar meanings and have the same pronunciation are all associated contents.
And when the type of the picture content matched with the input content is a picture, carrying out image recognition on the picture with the type of the picture content in the picture library as the picture so as to obtain the picture content in the picture. Taking the input content as red as an example, the image recognition is carried out on the picture with the picture content type as the picture in the image library, after the recognition result is obtained, the recognition result is screened, and the recognition result related to the input content only needs the picture area containing red or red system. For the input content with the content of red, image recognition can be simultaneously performed on the picture with the type of the picture content in the image library as characters, so that the character content in the picture is obtained as a recognition result, and repeated description is omitted.
In another embodiment, searching a gallery for pictures whose picture content is associated with input content, includes:
searching a first-level picture classification according to input content;
and searching pictures with the picture contents related to the input contents in the lower picture classification of the primary picture classification.
The method comprises the steps of classifying pictures in a picture library in advance according to the picture content of the pictures in the picture library, establishing at least one primary picture classification according to a classification result, classifying the pictures in the primary picture classification according to the picture content of the pictures in the primary picture classification, and establishing at least one secondary picture classification corresponding to the primary picture classification. For example, a primary picture classification is automatically established when the number of times that the same keyword appears in a plurality of pictures reaches a set number of times or more, taking the keyword "score" as an example, a primary picture classification "score" is established for a plurality of pictures containing more than 5 keyword "scores", and then a lower picture classification is established according to the content related to the keyword "score" in the plurality of pictures, for example, the lower picture classification may be "examination score", "game score", or the like, and in the classification process, the name of the location and contact related picture containing the "score" is also included in the classification object.
After the picture classification is established, a first-level picture classification is searched according to the input content, and then pictures with the picture content related to the input content are searched in a lower-level picture classification of the first-level picture classification. Taking the input content 'score of entering learning' as an example, first finding a first-level picture classification 'score', then finding a related classification 'examination score' in a lower-level picture classification 'examination classification' and 'game score', and further searching pictures related to the picture content and the input content in the pictures of the 'examination classification', wherein during searching, image recognition can be carried out on the pictures matched with the input content in the picture library in the type of the picture content, and the pictures related to the recognition result and the input content are searched, so that the process is not repeated.
By establishing classification or identifying the picture content types, the searching process can be quicker, and in practical implementation, the searching can be preferably carried out in a picture compression mode.
And step 530, displaying the chat content to be sent according to the searched pictures.
After the search result is obtained, the search result is processed to a certain extent to obtain corresponding chat content to be sent, where the chat content to be sent refers to content that the user can operate to send, and includes, but is not limited to, the input content 670 located in the input field 640, for example, the picture 660 can also be directly sent by clicking the picture 660, and at this time, the picture 660 is also the chat content to be sent.
In an embodiment, displaying chat content to be sent according to the searched picture may include:
selecting at least one associated picture from all searched pictures according to the chat scene corresponding to the input content;
and displaying at least one associated picture as chat content to be sent, and/or displaying picture content information associated with the input content in the at least one associated picture as chat content to be sent.
The searched pictures are pictures associated with the input content 670, and then at least one associated picture is selected from all the searched pictures according to the chat scene corresponding to the input content 670, wherein the associated picture is, for example, the picture 660. The chat scenario can be analyzed according to the contact information 610, the contact chat content 620 and the user chat content 630, for example, the input content 670 is "SCORE", and the analysis according to the contact information 610, the contact chat content 620 and the user chat content 630 results in the SCORE that the user wants to send the subject "a", so that at least one picture containing "SCORE a", for example, picture 660, is selected from all the found pictures. In practical implementation, a video is formed by combining multiple frames of pictures, so that a search can also be performed for the video, that is, a combined picture of the video is searched, and when at least one searched related picture includes at least two pictures from the same video, one picture is selected from the at least two pictures as a related picture.
Further, when the number of associated pictures is larger than one, the pictures can be sorted according to the association degree of the associated pictures and the chat scene.
Or when the number of the associated pictures is larger than one, the associated pictures can be arranged and displayed according to the display characteristics of the picture content associated with the input content in each associated picture.
The picture content comprises text content and/or graphic content, and the display characteristics comprise at least one of display position, display size, display quantity, display proportion and color depth of the picture content.
When the picture content comprises the character content, the display characteristics of the picture content comprise the display position, the character size, the character number and the like of the characters in the picture, and the arrangement sequence of the pictures is determined according to the combined evaluation of the display characteristics. Taking the associated picture content as the text content "a" as an example, in fig. 3(a), the text content includes 3 characters "a", one of the characters "a" is located at the center of the picture and has a larger font, in fig. 3(b), the text content includes 3 characters "a", all the characters "a" are not located at the center of the picture and have a smaller font, when the ordering rule is set, the closer the picture content is to the center or the focus of the picture, the higher the association degree is, the larger the display size of the picture content is, the higher the association degree is, the larger the display number of the picture content is, the higher the association degree is, and so on, but the invention is not limited thereto. In this way, it can be estimated that the degree of association of the picture in fig. 3(a) is greater than that of the picture in fig. 3(b) according to the display position of the character "a", the character size, the number of characters, and the like in the two pictures, and further the degree of association of the picture in fig. 3(a) is greater than the front of the picture in fig. 3 (b).
When the picture content comprises the graphic content, the display characteristics of the picture content, namely the display position, the area size, the area ratio, the color depth and the like of the graphic in the picture are included, and the arrangement sequence of the pictures is determined according to the combined evaluation of the display characteristics. Taking the associated picture content as the picture content "shadow" as an example, in fig. 4(a), the picture content includes 1 circle with shadow, and the circle is located at the center of the picture, in fig. 4(b), the picture content includes 2 circles with shadow, one of the circles is located at the center of the picture, the area occupation ratio of the circle in fig. 4(a) is greater than the area occupation ratio of the circle in fig. 4(b), when the ordering rule is set, the picture content is closer to the center or focus of the picture, the higher the association degree is, the larger the occupation ratio of the picture content is, the higher the association degree is, the display number of the picture content is larger, the association degree is higher, and the like, but the invention is not limited thereto. In this way, it can be estimated that the relevance of the picture in fig. 4(a) is greater than that of the picture in fig. 4(b) according to the display position, the area size, the area ratio, the color depth, and the like in the diagram of the circle in the two diagrams, and further, the relevance of the picture in fig. 4(a) is greater than the front of the picture in fig. 4 (b).
In another embodiment, the preset identifier may also be displayed at the picture content of the associated picture associated with the search term.
The preset mark comprises at least one of a preset color mark, a preset frame line mark and a preset deformation mark, the preset color mark is to change the color of the picture content into a preset color to highlight the corresponding content, for example, the picture content is changed into red, and the change of the color can be maintained or disappears after a period of time. The preset frame line identification refers to indicating using a preset frame or line to highlight the corresponding content, for example, as shown in fig. 5, using an underline 190 in the associated picture content "SCORE a: 123". The preset deformation identifier refers to performing preset deformation processing on the picture content to highlight the corresponding content, for example, performing processing such as tilting and enlarging on the picture content. Through the display of the preset identification, the key information can be found quickly and accurately by the user.
After the at least one associated picture is screened out, the screened out at least one associated picture can be directly displayed as the chat content to be sent, and/or the picture content information associated with the input content in the screened out at least one associated picture is displayed as the chat content to be sent. As shown in fig. 2, when at least one screened associated picture is directly displayed as the chat content to be sent, the selected associated picture is displayed in the chat interface 60 in the form of a picture 660, the position is not limited in the picture, or the selected associated picture may not be displayed in the current chat interface 60, but another interface is adopted for displaying so as to facilitate browsing and selection of the user, and at the same time, picture content information associated with the input content in the picture may also be displayed as the chat content to be sent, for example, the picture content information associated with the input content 670 in the picture 660 is "SCORE a: 123" or "123", and when the picture content information is the chat content to be sent, the picture content information may be directly inserted into the current input content 670 or replace the current input content 670, so that a new input content is obtained as the chat content to be sent.
In another embodiment, when displaying chat content to be sent according to the searched picture, the method may further include:
displaying a marquee for intercepting the picture on the searched picture;
and displaying the picture part positioned in the marquee as chat content to be sent according to the operation of adjusting the marquee.
The searched picture may be at least one associated picture selected from all searched pictures according to the chat scene corresponding to the input content 670, and the associated picture is, for example, the picture 660. Referring to fig. 2, a marquee 650 for capturing a picture is displayed on the picture 660, and a user can capture a desired portion from the picture 660 to obtain another picture by adjusting the position and size of the marquee 650, thereby being a chat content to be sent. Therefore, when the user is unwilling to disclose other information because of traffic or because of pictures, a part of information in the pictures can be sent in a screenshot mode. The initial position of the marquee 650 may be located at the picture content of the searched picture associated with the input content, for example, at the position of "SCORE a: 123", so that the user's operation may be reduced, and of course, the marquee 650 may not be directly displayed on the picture 660, but may be displayed on the picture 660 by a trigger operation such as double-clicking the picture 660.
In another embodiment, displaying chat content to be sent according to the searched picture may further include:
and displaying picture content information derived from the searched pictures to obtain chat content to be sent.
The process of deriving the picture content information may be manually selecting derivation, for example, displaying the picture content information derived from the searched picture to obtain chat content to be sent, and may include:
displaying a selection frame for selecting picture content information on the searched picture;
and according to the operation of adjusting the marquee, exporting the picture content information in the marquee to obtain the chat content to be sent.
The searched picture may be at least one associated picture selected from all searched pictures according to the chat scene corresponding to the input content 670, and the associated picture is, for example, the picture 660. Referring to fig. 2, the frame for selecting the picture content information displayed on the picture 660 may be displayed in a form of referring to the frame 650 for capturing the picture or in another manner convenient to operate, the user may select the desired picture content information from the picture 660 by adjusting the position and size of the frame, and further derive the picture content information in the frame as the chat content to be sent, and when the picture content information in the frame is derived as the chat content to be sent, add the picture content information in the frame to the input content 670 as the chat content to be sent, or replace the input content 670 with the picture content information in the frame to obtain the chat content to be sent. In this way, when the user is unwilling to disclose the other information, either because of traffic or because of pictures, the key content information in the picture can be sent in a derived manner. The initial position of the marquee for selecting the picture content information may be located at the picture content of the searched picture associated with the input content, for example, displayed at the position of "SCORE a: 123", so that the user's operation may be reduced, and of course, the marquee for selecting the picture content information may not be directly displayed on the picture 660, but may be displayed on the picture 660 by a trigger operation such as long pressing the picture 660.
In actual implementation, when the picture content information in the marquee is derived as the chat content to be sent, the picture content information can also be automatically derived from the picture according to the preset number of characters, and the part exceeding the preset number of characters is not derived, that is, the derived picture content information is less than or equal to the preset number.
In addition, the process of deriving the picture content information may also be automatic derivation, for example, displaying the picture content information derived from the searched picture to obtain the chat content to be sent, and may include:
and displaying picture content information which is derived from the searched pictures and is associated with the input content to obtain chat content to be sent.
For example, in fig. 2, the picture content information associated with the input content 670 in the picture 660 is "SCORE a: 123" or "123", and when the picture content information is the chat content to be sent, the picture content information can be directly inserted into the current input content 670 or replace the current input content 670, so as to obtain a new input content as the chat content to be sent, that is, obtain "SCORE a: 123" or "123" as the chat content to be sent. And when the picture content information associated with the input content is automatically exported, the exported picture content information is less than or equal to a preset number.
The picture content includes text content and/or graphic content, and thus, in addition to deriving the text content in the picture, a corresponding graphic insertion content 670 may be derived from the associated picture, for example, when the input content is a "red circle", a red circle may be derived from the associated picture and inserted into the input content 670, thereby enriching the style of the input content 670.
According to the image library searching method, the input content of the chat interface is received, the image content and the image related to the input content are searched in the image library, the chat content to be sent is displayed according to the searched image, and the user can directly search the image in the image library according to the content of the image during instant messaging, so that the information of the image is quickly used as the chat content, and the method is quicker and more efficient.
Second embodiment
Fig. 6 is a flowchart illustrating a gallery search method according to a second embodiment. Referring to fig. 6, the gallery search method of the present embodiment is applied to a terminal, and includes:
step 210, receiving input content of the chat interface.
Referring to fig. 2, a chat interface 60 may display contact information 610, contact chat content 620, user chat content 630, an input field 640, and the like, in which input content 670 input by a user operation is displayed in the input field 640, and a gallery search result, such as a picture 660, displayed according to the input content 670 in the embodiment of the present application. The input content may be a word, a phrase, or a symbol, a word, etc.
In step 220, the picture library is searched for pictures with picture contents associated with the input contents.
The specific implementation process of this step may refer to the related description of step 520 in the first embodiment, and is not described herein again.
And step 230, displaying a marquee for intercepting the picture on the searched picture.
The searched pictures are pictures associated with the input content 670, and then at least one associated picture is selected from all the searched pictures according to the chat scene corresponding to the input content 670, wherein the associated picture is, for example, the picture 660. The chat scenario can be analyzed according to the contact information 610, the contact chat content 620 and the user chat content 630, for example, the input content 670 is "SCORE", and the analysis according to the contact information 610, the contact chat content 620 and the user chat content 630 results in the SCORE that the user wants to send the subject "a", so that at least one picture containing "SCORE a", for example, picture 660, is selected from all the found pictures. In practical implementation, a video is formed by combining multiple frames of pictures, so that a search can also be performed for the video, that is, a combined picture of the video is searched, and when at least one searched related picture includes at least two pictures from the same video, one picture is selected from the at least two pictures as a related picture.
Further, when the number of associated pictures is larger than one, the pictures can be sorted according to the association degree of the associated pictures and the chat scene.
Or when the number of the associated pictures is larger than one, the associated pictures can be arranged and displayed according to the display characteristics of the picture content associated with the input content in each associated picture.
The picture content comprises text content and/or graphic content, and the display characteristics comprise at least one of display position, display size, display quantity, display proportion and color depth of the picture content.
When the picture content comprises the character content, the display characteristics of the picture content comprise the display position, the character size, the character number and the like of the characters in the picture, and the arrangement sequence of the pictures is determined according to the combined evaluation of the display characteristics. Taking the associated picture content as the text content "a" as an example, in fig. 3(a), the text content includes 3 characters "a", one of the characters "a" is located at the center of the picture and has a larger font, in fig. 3(b), the text content includes 3 characters "a", all the characters "a" are not located at the center of the picture and have a smaller font, when the ordering rule is set, the closer the picture content is to the center or the focus of the picture, the higher the association degree is, the larger the display size of the picture content is, the higher the association degree is, the larger the display number of the picture content is, the higher the association degree is, and so on, but the invention is not limited thereto. In this way, it can be estimated that the degree of association of the picture in fig. 3(a) is greater than that of the picture in fig. 3(b) according to the display position of the character "a", the character size, the number of characters, and the like in the two pictures, and further the degree of association of the picture in fig. 3(a) is greater than the front of the picture in fig. 3 (b).
When the picture content comprises the graphic content, the display characteristics of the picture content, namely the display position, the area size, the area ratio, the color depth and the like of the graphic in the picture are included, and the arrangement sequence of the pictures is determined according to the combined evaluation of the display characteristics. Taking the associated picture content as the picture content "shadow" as an example, in fig. 4(a), the picture content includes 1 circle with shadow, and the circle is located at the center of the picture, in fig. 4(b), the picture content includes 2 circles with shadow, one of the circles is located at the center of the picture, the area occupation ratio of the circle in fig. 4(a) is greater than the area occupation ratio of the circle in fig. 4(b), when the ordering rule is set, the picture content is closer to the center or focus of the picture, the higher the association degree is, the larger the occupation ratio of the picture content is, the higher the association degree is, the display number of the picture content is larger, the association degree is higher, and the like, but the invention is not limited thereto. In this way, it can be estimated that the relevance of the picture in fig. 4(a) is greater than that of the picture in fig. 4(b) according to the display position, the area size, the area ratio, the color depth, and the like in the diagram of the circle in the two diagrams, and further, the relevance of the picture in fig. 4(a) is greater than the front of the picture in fig. 4 (b).
When a marquee for intercepting pictures is displayed on the searched pictures, the marquee is displayed at the picture content of the searched pictures associated with the input content, and the searched pictures are selected from all the searched pictures according to the chat scene corresponding to the input content, such as at least one associated picture, for example, picture 660. Referring to fig. 2, a marquee 650 for capturing a picture is displayed on a picture 660, and an initial position of the marquee 650 may be located at a picture content of a searched picture associated with an input content, for example, at a position of "SCORE a: 123", so that a user operation may be reduced, and of course, the marquee 650 may not be directly displayed on the picture 660, but may be displayed on the picture 660 by a trigger operation such as double-clicking the picture 660.
And 240, displaying the picture part in the marquee as chat content to be sent according to the operation of adjusting the marquee.
In this embodiment, as shown in fig. 2, the user can cut a desired part from the picture 660 by adjusting the position and size of the marquee 650 to obtain another picture, so as to serve as the chat content to be sent, and when there are multiple pictures, multiple chat contents can be obtained. Therefore, when the user is unwilling to disclose other information because of traffic or because of pictures, a part of information in the pictures can be sent in a screenshot mode.
According to the image library searching method, the input content of the chat interface is received, the image content and the image related to the input content are searched in the image library, the marquee for intercepting the image is displayed on the searched image, the image part in the marquee is displayed as the chat content to be sent according to the operation of adjusting the marquee, and a user can directly search the image in the image library according to the content of the image during instant messaging, so that the partial content of the image is quickly intercepted as the chat content, and the method is quicker and more efficient.
Third embodiment
Fig. 7 is a flowchart illustrating a gallery search method according to a third embodiment. Referring to fig. 7, the gallery searching method of the embodiment is applied to a terminal, and includes:
step 310, receiving input content of the chat interface.
Referring to fig. 2, a chat interface 60 may display contact information 610, contact chat content 620, user chat content 630, an input field 640, and the like, in which input content 670 input by a user operation is displayed in the input field 640, and a gallery search result, such as a picture 660, displayed according to the input content 670 in the embodiment of the present application. The input content may be a word, a phrase, or a symbol, a word, etc.
In step 320, the picture library is searched for pictures with picture contents associated with the input contents.
The specific implementation process of this step may refer to the related description of step 520 in the first embodiment, and is not described herein again.
Step 330, displaying the picture content information derived from the searched picture to obtain the chat content to be sent.
The searched pictures are pictures associated with the input content 670, and then at least one associated picture is selected from all the searched pictures according to the chat scene corresponding to the input content 670, wherein the associated picture is, for example, the picture 660. The chat scenario can be analyzed according to the contact information 610, the contact chat content 620 and the user chat content 630, for example, the input content 670 is "SCORE", and the analysis according to the contact information 610, the contact chat content 620 and the user chat content 630 results in the SCORE that the user wants to send the subject "a", so that at least one picture containing "SCORE a", for example, picture 660, is selected from all the found pictures. In practical implementation, a video is formed by combining multiple frames of pictures, so that a search can also be performed for the video, that is, a combined picture of the video is searched, and when at least one searched related picture includes at least two pictures from the same video, one picture is selected from the at least two pictures as a related picture.
Further, when the number of associated pictures is larger than one, the pictures can be sorted according to the association degree of the associated pictures and the chat scene.
Or when the number of the associated pictures is larger than one, the associated pictures can be arranged and displayed according to the display characteristics of the picture content associated with the input content in each associated picture.
The picture content comprises text content and/or graphic content, and the display characteristics comprise at least one of display position, display size, display quantity, display proportion and color depth of the picture content.
When the picture content comprises the character content, the display characteristics of the picture content comprise the display position, the character size, the character number and the like of the characters in the picture, and the arrangement sequence of the pictures is determined according to the combined evaluation of the display characteristics. Taking the associated picture content as the text content "a" as an example, in fig. 3(a), the text content includes 3 characters "a", one of the characters "a" is located at the center of the picture and has a larger font, in fig. 3(b), the text content includes 3 characters "a", all the characters "a" are not located at the center of the picture and have a smaller font, when the ordering rule is set, the closer the picture content is to the center or the focus of the picture, the higher the association degree is, the larger the display size of the picture content is, the higher the association degree is, the larger the display number of the picture content is, the higher the association degree is, and so on, but the invention is not limited thereto. In this way, it can be estimated that the degree of association of the picture in fig. 3(a) is greater than that of the picture in fig. 3(b) according to the display position of the character "a", the character size, the number of characters, and the like in the two pictures, and further the degree of association of the picture in fig. 3(a) is greater than the front of the picture in fig. 3 (b).
When the picture content comprises the graphic content, the display characteristics of the picture content, namely the display position, the area size, the area ratio, the color depth and the like of the graphic in the picture are included, and the arrangement sequence of the pictures is determined according to the combined evaluation of the display characteristics. Taking the associated picture content as the picture content "shadow" as an example, in fig. 4(a), the picture content includes 1 circle with shadow, and the circle is located at the center of the picture, in fig. 4(b), the picture content includes 2 circles with shadow, one of the circles is located at the center of the picture, the area occupation ratio of the circle in fig. 4(a) is greater than the area occupation ratio of the circle in fig. 4(b), when the ordering rule is set, the picture content is closer to the center or focus of the picture, the higher the association degree is, the larger the occupation ratio of the picture content is, the higher the association degree is, the display number of the picture content is larger, the association degree is higher, and the like, but the invention is not limited thereto. In this way, it can be estimated that the relevance of the picture in fig. 4(a) is greater than that of the picture in fig. 4(b) according to the display position, the area size, the area ratio, the color depth, and the like in the diagram of the circle in the two diagrams, and further, the relevance of the picture in fig. 4(a) is greater than the front of the picture in fig. 4 (b).
In an embodiment, displaying picture content information derived from the searched picture to obtain chat content to be sent may include:
displaying a selection frame for selecting picture content information on the searched picture;
and according to the operation of adjusting the marquee, exporting the picture content information in the marquee to obtain the chat content to be sent.
The searched picture may be at least one associated picture selected from all searched pictures according to the chat scene corresponding to the input content 670, and the associated picture is, for example, the picture 660. Referring to fig. 2, the frame for selecting the picture content information displayed on the picture 660 may be displayed in a form of referring to the frame 650 for capturing the picture or in another manner convenient to operate, the user may select the desired picture content information from the picture 660 by adjusting the position and size of the frame, and further derive the picture content information in the frame as the chat content to be sent, and when the picture content information in the frame is derived as the chat content to be sent, add the picture content information in the frame to the input content 670 as the chat content to be sent, or replace the input content 670 with the picture content information in the frame to obtain the chat content to be sent. In this way, when the user is unwilling to disclose the other information, either because of traffic or because of pictures, the key content information in the picture can be sent in a derived manner. The initial position of the marquee for selecting the picture content information may be located at the picture content of the searched picture associated with the input content, for example, displayed at the position of "SCORE a: 123", so that the user's operation may be reduced, and of course, the marquee for selecting the picture content information may not be directly displayed on the picture 660, but may be displayed on the picture 660 by a trigger operation such as long pressing the picture 660.
In actual implementation, when the picture content information in the marquee is derived as the chat content to be sent, the picture content information can also be automatically derived from the picture according to the preset number of characters, and the part exceeding the preset number of characters is not derived, that is, the derived picture content information is less than or equal to the preset number.
In another embodiment, the process of deriving the picture content information may also be automatic derivation, for example, displaying the picture content information derived from the searched picture to obtain the chat content to be sent, which may include:
and displaying picture content information which is derived from the searched pictures and is associated with the input content to obtain chat content to be sent.
For example, in fig. 2, the picture content information associated with the input content 670 in the picture 660 is "SCORE a: 123" or "123", and when the picture content information is the chat content to be sent, the picture content information can be directly inserted into the current input content 670 or replace the current input content 670, so as to obtain a new input content as the chat content to be sent, that is, obtain "SCORE a: 123" or "123" as the chat content to be sent. And when the picture content information associated with the input content is automatically exported, the exported picture content information is less than or equal to a preset number.
The picture content includes text content and/or graphic content, and thus, in addition to deriving the text content in the picture, a corresponding graphic insertion content 670 may be derived from the associated picture, for example, when the input content is a "red circle", a red circle may be derived from the associated picture and inserted into the input content 670, thereby enriching the style of the input content 670.
According to the image library searching method, the input content of the chat interface is received, the image content and the image related to the input content are searched in the image library, the image content information derived from the searched image is displayed to obtain the chat content to be sent, a user can directly search the image in the image library according to the content of the image during instant messaging, and therefore the information derived from the image is obtained to serve as the chat content, and the method is fast and efficient.
Fourth embodiment
Fig. 8 is one of the structural diagrams of the terminal shown according to the fourth embodiment. Referring to fig. 8, the terminal 10 of the present embodiment includes a memory 102 and a processor 106, where the memory 102 is configured to store at least one program instruction, and the processor 106 is configured to implement the gallery search method according to the first to third embodiments by loading and executing the at least one program instruction.
Referring to fig. 9, in actual implementation, the terminal 10 includes a memory 102, a memory controller 104, one or more (only one shown) processors 106, a peripheral interface 108, a radio frequency module 150, a positioning module 112, a camera module 114, an audio module 116, a screen 118, and a key module 160. These components communicate with each other via one or more communication buses/signal lines 122.
It will be appreciated that the configuration shown in fig. 9 is merely illustrative and that terminal 10 may include more or fewer components than shown in fig. 9 or may have a different configuration than shown in fig. 9. The components shown in fig. 9 may be implemented in hardware, software, or a combination thereof.
The memory 102 may be used to store software programs and modules, such as program instructions/modules corresponding to the gallery search method in the embodiment of the present application, and the processor 106 executes various functional applications and data processing by running the software programs and modules stored in the storage controller 104, so as to implement the gallery search method described above.
The memory 102 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 102 may further include memory located remotely from the processor 106, which may be connected to the terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 102 by the processor 106, and possibly other components, may be under the control of the memory controller 104.
Peripheral interface 108 couples various input/output devices to the CPU and memory 102. The processor 106 executes various software, instructions within the memory 102 to perform various functions of the terminal 10 and to perform data processing.
In some embodiments, the peripheral interface 108, the processor 106, and the memory controller 104 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 150 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. Rf module 150 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The rf module 150 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), bluetooth, Wireless Fidelity (WiFi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), other suitable protocols for short message Communication (wimax), and any other suitable protocols, and may even include those protocols that have not yet been developed.
The positioning module 112 is used for acquiring the current position of the terminal 10. Examples of the positioning module 112 include, but are not limited to, a global positioning satellite system (GPS), a wireless local area network-based positioning technology, or a mobile communication network-based positioning technology.
The camera module 114 is used to take a picture or video. The pictures or videos taken may be stored in the memory 102 and transmitted through the radio frequency module 150.
Audio module 116 provides an audio interface to a user that may include one or more microphones, one or more speakers, and audio circuitry. The audio circuitry receives audio data from the peripheral interface 108, converts the audio data to electrical information, and transmits the electrical information to the speaker. The speaker converts the electrical information into sound waves that the human ear can hear. The audio circuitry also receives electrical information from the microphone, converts the electrical information to voice data, and transmits the voice data to the peripheral interface 108 for further processing. The audio data may be retrieved from the memory 102 or through the radio frequency module 150. In addition, the audio data may also be stored in the memory 102 or transmitted through the radio frequency module 150. In some examples, the audio module 116 may also include an earphone jack for providing an audio interface to a headset or other device.
The screen 118 provides an output interface between the terminal 10 and the user. In particular, screen 118 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some of the output results are for some of the user interface objects. It is understood that the screen 118 may also include a touch screen. The touch screen provides both an output and an input interface between the terminal 10 and a user. In addition to displaying video output to users, touch screens also receive user input, such as user clicks, swipes, and other gesture operations, so that user interface objects respond to these user input. The technique of detecting user input may be based on resistive, capacitive, or any other possible touch detection technique. Specific examples of touch screen display units include, but are not limited to, liquid crystal displays or light emitting polymer displays.
The key module 160 also provides an interface for user input to the terminal 10, and the user can press different keys to cause the terminal 10 to perform different functions.
The present application further provides a computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement the gallery search method as described in the first to third embodiments.
In practical implementation, the computer storage medium is applied to the terminal shown in fig. 8 or fig. 9, so that the picture can be directly searched in the gallery for use according to the content of the picture in the chat process, and the method is faster and more efficient.
The above embodiments are merely illustrative of the principles and utilities of the present application and are not intended to limit the application. Any person skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present application. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical concepts disclosed in the present application shall be covered by the claims of the present application.

Claims (28)

1. A gallery searching method is applied to a terminal and is characterized by comprising the following steps:
receiving input content of a chat interface;
searching a picture library for pictures with picture contents related to the input contents;
and displaying the chat content to be sent according to the searched pictures.
2. The gallery search method of claim 1, wherein the searching the gallery for pictures whose picture contents are associated with the input contents includes:
carrying out image recognition on the picture with the type of the picture content in the gallery matched with the input content;
and searching pictures of which the identification results are associated with the input content.
3. The gallery search method of claim 2, wherein the image recognition of the picture in the gallery in which the type of the picture content matches the input content includes at least one of:
when the type of the picture content matched with the input content is a character, performing image recognition on the picture with the type of the picture content as the character in the image library to obtain the character content in the picture as a recognition result;
and when the type of the picture content matched with the input content is a picture, carrying out image recognition on the picture with the type of the picture content in the picture library as the picture so as to obtain the picture content in the picture as a recognition result.
4. The gallery search method of claim 1, wherein the searching the gallery for pictures whose picture contents are associated with the input contents includes:
searching a primary picture classification according to the input content;
and searching pictures with the picture contents related to the input contents in the lower picture classification of the primary picture classification.
5. The gallery search method of claim 4, further comprising:
classifying the pictures in the gallery according to the picture content of the pictures in the gallery;
establishing at least one primary picture classification according to a classification result;
classifying the pictures in each primary picture classification according to the picture content of the pictures in each primary picture classification, and establishing at least one secondary picture classification corresponding to each primary picture classification.
6. The gallery search method of claim 1, wherein the displaying chat content to be sent according to the searched picture comprises:
selecting at least one associated picture from all searched pictures according to the chat scene corresponding to the input content;
and displaying the at least one associated picture as chat content to be sent, and/or displaying picture content information derived from the at least one associated picture as chat content to be sent.
7. The gallery search method of claim 6, wherein selecting at least one associated picture from all searched pictures according to the chat scene of the input content comprises:
when the at least one associated picture comprises at least two pictures from the same video, selecting one picture from the at least two pictures as the associated picture.
8. The gallery search method of claim 1, wherein the displaying chat content to be sent according to the searched picture comprises:
displaying a marquee for intercepting the picture on the searched picture;
and displaying the picture part positioned in the marquee as chat content to be sent according to the operation of adjusting the marquee.
9. The gallery search method of claim 8, wherein displaying a marquee for intercepting a picture on the searched picture comprises:
and displaying a marquee for intercepting pictures at picture contents of the searched pictures, which are associated with the input contents.
10. The gallery search method of claim 1, wherein the displaying chat content to be sent according to the searched picture comprises:
and displaying picture content information derived from the searched pictures to obtain chat content to be sent.
11. The gallery search method of claim 10, wherein the displaying picture content information derived from the searched picture to obtain chat content to be sent comprises:
displaying a selection frame for selecting picture content information on the searched picture;
and according to the operation of adjusting the marquee, deriving picture content information in the marquee to obtain chat content to be sent.
12. The gallery search method of claim 11, wherein displaying a pick box for picking up picture content information on the searched picture comprises:
and displaying a marquee for extracting the picture content information at the picture content of the searched picture associated with the input content.
13. The gallery search method of claim 11, wherein the deriving picture content information in the marquee to obtain chat content to be sent comprises:
adding the picture content information in the marquee into the input content to obtain chat content to be sent; or the like, or, alternatively,
and replacing the input content with the picture content information in the marquee to obtain the chat content to be sent.
14. The gallery search method of claim 10, wherein the displaying picture content information derived from the searched picture to obtain chat content to be sent comprises:
and displaying picture content information which is derived from the searched pictures and is related to the input content to obtain chat content to be sent.
15. The gallery search method of claim 14, further comprising:
when picture content information associated with the input content is derived, the derived picture content information is less than or equal to a preset number.
16. A gallery searching method is applied to a terminal and is characterized by comprising the following steps:
receiving input content of a chat interface;
searching a picture library for pictures with picture contents related to the input contents;
displaying a marquee for intercepting the picture on the searched picture;
and displaying the picture part positioned in the marquee as chat content to be sent according to the operation of adjusting the marquee.
17. The gallery search method of claim 16, wherein displaying a marquee for intercepting a picture on the searched picture comprises:
and displaying a marquee for intercepting pictures at picture contents of the searched pictures, which are associated with the input contents.
18. The gallery search method of claim 16, wherein displaying a marquee for intercepting a picture on the searched picture comprises:
selecting at least one associated picture from all searched pictures according to the chat scene corresponding to the input content;
and displaying a marquee for intercepting the picture on the at least one associated picture.
19. The gallery search method of claim 18, wherein selecting at least one associated picture from all searched pictures according to the chat scene of the input content comprises:
when the at least one associated picture comprises at least two pictures from the same video, selecting one picture from the at least two pictures as the associated picture.
20. A gallery searching method is applied to a terminal and is characterized by comprising the following steps:
receiving input content of a chat interface;
searching a picture library for pictures with picture contents related to the input contents;
and displaying picture content information derived from the searched pictures to obtain chat content to be sent.
21. The gallery search method of claim 20, wherein the displaying picture content information derived from the searched picture to obtain chat content to be sent comprises:
displaying a selection frame for selecting picture content information on the searched picture;
and according to the operation of adjusting the marquee, deriving picture content information in the marquee to obtain chat content to be sent.
22. The gallery search method of claim 21, wherein displaying a pick box for picking up picture content information on the searched picture comprises:
selecting at least one associated picture from all searched pictures according to the chat scene corresponding to the input content;
and displaying a selecting frame for selecting the picture content information on the at least one associated picture.
23. The gallery search method of claim 21, wherein displaying a pick box for picking up picture content information on the searched picture comprises:
and displaying a marquee for extracting the picture content information at the picture content of the searched picture associated with the input content.
24. The gallery search method of claim 21, wherein the deriving picture content information in the marquee to obtain chat content to be sent comprises:
adding the picture content information in the marquee into the input content to obtain chat content to be sent; or the like, or, alternatively,
and replacing the input content with the picture content information in the marquee to obtain the chat content to be sent.
25. The gallery search method of claim 20, wherein the displaying picture content information derived from the searched picture to obtain chat content to be sent comprises:
and displaying picture content information which is derived from the searched pictures and is related to the input content to obtain chat content to be sent.
26. The gallery search method of claim 25, further comprising:
when picture content information associated with the input content is derived, the derived picture content information is less than or equal to a preset number.
27. A terminal, comprising a memory for storing at least one program instruction and a processor for implementing the gallery search method of any of claims 1 to 26 by loading and executing the at least one program instruction.
28. A computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement the gallery search method of any of claims 1 to 26.
CN202010100420.2A 2020-02-18 2020-02-18 Gallery searching method, terminal and computer storage medium Active CN111368110B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010100420.2A CN111368110B (en) 2020-02-18 2020-02-18 Gallery searching method, terminal and computer storage medium
PCT/CN2020/094769 WO2021164151A1 (en) 2020-02-18 2020-06-05 Image gallery search method, terminal, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010100420.2A CN111368110B (en) 2020-02-18 2020-02-18 Gallery searching method, terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN111368110A true CN111368110A (en) 2020-07-03
CN111368110B CN111368110B (en) 2023-10-17

Family

ID=71206313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010100420.2A Active CN111368110B (en) 2020-02-18 2020-02-18 Gallery searching method, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN111368110B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113286040A (en) * 2021-05-17 2021-08-20 广州三星通信技术研究有限公司 Method for selecting image and apparatus thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server
CN106780666A (en) * 2016-11-30 2017-05-31 深圳航信德诚科技有限公司 A kind of wechat client processes the method and system of picture online
US20170373994A1 (en) * 2015-07-23 2017-12-28 Tencent Technology (Shenzhen) Company Limited Method and terminal for displaying instant messaging message
CN109800319A (en) * 2018-12-26 2019-05-24 中国科学院自动化研究所南京人工智能芯片创新研究院 Image processing method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170373994A1 (en) * 2015-07-23 2017-12-28 Tencent Technology (Shenzhen) Company Limited Method and terminal for displaying instant messaging message
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server
CN106780666A (en) * 2016-11-30 2017-05-31 深圳航信德诚科技有限公司 A kind of wechat client processes the method and system of picture online
CN109800319A (en) * 2018-12-26 2019-05-24 中国科学院自动化研究所南京人工智能芯片创新研究院 Image processing method, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113286040A (en) * 2021-05-17 2021-08-20 广州三星通信技术研究有限公司 Method for selecting image and apparatus thereof

Also Published As

Publication number Publication date
CN111368110B (en) 2023-10-17

Similar Documents

Publication Publication Date Title
CN108496150B (en) Screen capture and reading method and terminal
KR101826329B1 (en) Method, device and system for determining crank phone number
CN106101747B (en) A kind of barrage content processing method and application server, user terminal
US11011170B2 (en) Speech processing method and device
WO2017113889A1 (en) Method and apparatus for language setup
CN106657528B (en) Incoming call management method and device
CN107885826B (en) Multimedia file playing method and device, storage medium and electronic equipment
CN110781813B (en) Image recognition method and device, electronic equipment and storage medium
WO2019105457A1 (en) Image processing method, computer device and computer readable storage medium
CN104182419A (en) Method and device for processing character information in picture
CN111666015A (en) Suspension short message display method and device
CN105095253A (en) Webpage display method and webpage display device
CN112181564A (en) Wallpaper generation method, mobile terminal and storage medium
JP2007018166A (en) Information search device, information search system, information search method, and information search program
CN114691277A (en) Application program processing method, intelligent terminal and storage medium
CN111368110B (en) Gallery searching method, terminal and computer storage medium
CN111368107B (en) Gallery searching method, terminal and computer storage medium
CN111797746B (en) Face recognition method, device and computer readable storage medium
CN115100492B (en) Yolov3 network training and PCB surface defect detection method and device
CN107332972B (en) Method and device for automatically associating data and mobile terminal
CN112149653B (en) Information processing method, information processing device, electronic equipment and storage medium
KR20230114839A (en) Image based search apparatus and method
WO2021164151A1 (en) Image gallery search method, terminal, and computer storage medium
CN105975621B (en) Method and device for identifying search engine in browser page
US20220321638A1 (en) Processing method and device, electronic device, and computer-readable storage medium

Legal Events

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