Instant-messaging-based search method and apparatus, and device, medium and program product

WO2026200211A1PCT designated stage Publication Date: 2026-10-01TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/071954
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-25
Filing Date
2026-01-12
Publication Date
2026-10-01

Smart Images

  • Figure CN2026071954_01102026_PF_FP_ABST
    Figure CN2026071954_01102026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are an instant-messaging-based search method and apparatus, and a device, a medium and a program product, which are applied to the field of human-computer interaction. The method comprises: displaying at least one link message in a chat session interface; displaying, in the chat session interface, a recommended search description corresponding to the at least one link message, and a search entry; and in response to a trigger operation on the search entry, displaying a search result.
Need to check novelty before this filing date? Find Prior Art

Description

Search methods, devices, equipment, media, and programs based on instant messaging

[0001] This application claims priority to Chinese Patent Application No. 202510367383.4, filed on March 25, 2025, entitled "Search Method, Apparatus, Device, Media and Program Product Based on Instant Messaging", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of human-computer interaction, and in particular to a search method, apparatus, device, medium, and program product based on instant messaging. Background Technology

[0003] Chat sessions involve interactions between two or more user accounts. These accounts can engage in casual conversation, work-related communication, social sharing, topic sharing, brand promotion, and more.

[0004] In related technologies, user accounts can send link messages to other user accounts, and these link messages are displayed in the chat session interface. These user accounts can also each perform preset action options, such as opening the link, copying the link, or viewing an image.

[0005] However, the relevant technology lacks search and recommendation functions. When a user account is interested in certain information in a linked message, they need to switch to the search interface and enter search terms to search, which is cumbersome and results in low human-computer interaction efficiency. Summary of the Invention

[0006] This application provides a search method, apparatus, device, medium, and program product based on instant messaging. The technical solution is as follows:

[0007] On the one hand, a search method based on instant messaging is provided, the method being executed by a computer device, the method comprising:

[0008] At least one link message is displayed in the chat session interface;

[0009] The chat session interface displays a recommended search description and search entry corresponding to the at least one linked message;

[0010] In response to a trigger operation on the search entry, the search results are displayed.

[0011] On the other hand, a search device based on instant messaging is provided, the device comprising:

[0012] The display module is used to display at least one linked message in the chat session interface;

[0013] The display module is used to display the recommended search description and search entry corresponding to the at least one link message on the chat session interface;

[0014] The display module is used to display search results in response to a trigger operation on the search entry.

[0015] On the other hand, a computer device is provided, the computer device comprising: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the instant messaging-based search method as described above.

[0016] On the other hand, a computer-readable storage medium is provided that stores a computer program, which is loaded and executed by a processor to implement the instant messaging-based search method described above.

[0017] On the other hand, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium, wherein a processor retrieves the computer instructions from the computer-readable storage medium, causing the processor to load and execute them to implement the instant messaging-based search method as described above.

[0018] The beneficial effects of the technical solutions provided in this application include at least the following:

[0019] This invention provides an intelligent search and recommendation function based on instant messaging. The chat session interface displays recommended search descriptions and search entries corresponding to at least one linked message. When the search entry is triggered, the search results are displayed. Compared to related technologies where users need to manually switch to the search interface and enter search terms, this invention allows users to more conveniently obtain recommended search descriptions and search results corresponding to at least one linked message, improving information accessibility. It also simplifies the search process by eliminating the need for users to manually switch to the search interface or manually enter search terms, thus improving information retrieval efficiency, recommendation efficiency, and search efficiency, ultimately enhancing human-computer interaction efficiency. Attached Figure Description

[0020] Figure 1 is a structural block diagram of a computer system provided in an exemplary embodiment of this application;

[0021] Figure 2 is a schematic diagram of an instant messaging-based search method provided in an exemplary embodiment of this application;

[0022] Figure 3 is a flowchart of an exemplary embodiment of the search method based on instant messaging provided in this application;

[0023] Figure 4 is a schematic diagram of an instant messaging-based search method provided in an exemplary embodiment of this application;

[0024] Figure 5 is a schematic diagram of an instant messaging-based search method provided in an exemplary embodiment of this application;

[0025] Figure 6 is a schematic diagram of an instant messaging-based search method provided in an exemplary embodiment of this application;

[0026] Figure 7 is a schematic diagram of an instant messaging-based search method provided in an exemplary embodiment of this application;

[0027] Figure 8 is a schematic diagram of an exemplary embodiment of the search method based on instant messaging provided in this application;

[0028] Figure 9 is a block diagram of an instant messaging-based search device provided in an exemplary embodiment of this application;

[0029] Figure 10 is a structural block diagram of a computer device provided in an exemplary embodiment of this application. Detailed Implementation

[0030] It should be noted that this application may display prompts, pop-ups, or output voice prompts before and during the collection of user and user account-related data (e.g., account interest information, link messages, triggered operations, and content in the link message-indicated interface). These prompts, pop-ups, or voice prompts are used to inform the user that their data is being collected. This ensures that the application only begins the steps for collecting user-related data after receiving confirmation from the user regarding the prompt or pop-up. Otherwise, if no confirmation is received from the user, the steps for collecting user-related data end, and no user-related data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of related user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0031] Briefly introduce the terms used in the embodiments of this application:

[0032] Chat session: is an environment in which user accounts communicate and interact through applications that provide chat and / or instant messaging functions. User accounts send and receive linked messages in various forms such as text, images, videos, and document files.

[0033] Link messages are messages sent by user accounts within a chat session interface; they can also be understood as multimedia messages. In some embodiments, link messages mainly include external link messages and internal link messages.

[0034] External link messages are messages that redirect users across applications to third-party applications, displaying content within those applications. Specifically, external link messages point to applications or websites outside the current application. For example, if the current application is an instant messaging application, and the external link message is a product link "http: / / xxxxxxxxxx" from an e-commerce application, clicking this external link message will open the webpage in the instant messaging application's built-in browser, redirecting the user to the e-commerce application.

[0035] Internal link messages are messages that display content directly within the current application without requiring users to navigate to a third-party application. Specifically, internal link messages point to internal resources within the current application. For example, if the current application is an instant messaging application, and the internal link message is a mini-program link "http: / / xxxxxxxxxxxx", clicking this internal link message will open the corresponding mini-program interface within the instant messaging application.

[0036] When a user opens a link message by clicking, they can view the content interface indicated by the link message. This content interface can be at least one of the following types: text interface, image interface, video interface, document interface, location sharing interface, resource (red envelope) redemption interface, gift redemption interface, music sharing interface, or coupon sharing interface. For example, a user account can select an image from their album or capture it live to display specific visual information, such as scenery, people, or product appearance; in this case, the content interface indicated by the link message is an image interface. A user account can select a video from their album or capture it live, containing dynamic images and sound, which can be used to demonstrate a process or record an event; in this case, the content interface indicated by the link message is a video interface. A user account can share web content from other applications or websites as a link to the chat session interface. The link typically includes a link title, link description, and the corresponding web content, allowing other users to quickly access and understand the content; in this case, the content interface indicated by the link message corresponds to the web content, and can be, for example, a text interface or a video interface. A user account can share document files with other user accounts to share text, data, demonstration content, etc.; in this case, the content interface indicated by the link message is a document interface.

[0037] Artificial Intelligence (AI) Recognition: This is a technology that uses AI to analyze and process the content in the interface indicated by linked messages. It can extract key information from multimodal data such as text, images, and videos, including brand terms, product terms, location terms, and brand offers. AI recognition includes at least the following methods: Text Recognition: Performing natural language processing on text to identify keywords, sentence structure, semantic meaning, etc., thereby extracting information related to brands, products, etc., providing a basis for generating recommended search descriptions and search terms. Image Recognition: Identifying elements such as objects, scenes, text, and brand logos in images, determining the image theme and image type to generate related recommended search descriptions and search terms. Video Recognition: Analyzing and processing video frame sequences, combined with audio information in the video, identifying key scenes, actions, and voice content in the video, extracting the core information conveyed by the video, such as brand promotion, product display, and event recording, providing data support for generating recommended search descriptions and search terms. It should also be noted that the AI ​​technology used in this embodiment to analyze and process the content in the interface indicated by linked messages includes the following methods:

[0038] Method 1: The computer device has an instant messaging application installed and running. The computer device has an AI model deployed locally. The locally deployed AI model analyzes and processes the content in the content interface indicated by the linked message. The AI ​​model does not perform any data upload. After generating recommended search descriptions and recommended search terms, the AI ​​model sends them to the instant messaging application through the Application Programming Interface (API) and displays them in the instant messaging application.

[0039] Method 2: The computer device has an instant messaging application installed and running. The third-party application has an AI model deployed. The corresponding AI model in the third-party application analyzes and processes the content in the content interface of the third-party application indicated by the linked message. The AI ​​model can generate recommended search descriptions and recommended search terms, and then send them to the instant messaging application through the API interface and display them in the instant messaging application.

[0040] Method 3: The computer device has an instant messaging application installed and running. This instant messaging application provides AI tools. The AI ​​tools are used to obtain the content in the content interface indicated by the linked message, analyze and process the content, and display it in the instant messaging application through the API interface.

[0041] AI-powered intelligent generation: Based on key information extracted by AI, and combined with recent advertising interests and behavioral data of the user account, a pre-trained generative model, such as a large language model, generates recommended search descriptions and keywords. This process comprehensively considers the user account's interests, preferences, historical data, and the content of links and messages in the current chat session interface, aiming to provide the user account with accurate, personalized, and valuable search suggestions, improving information retrieval efficiency and enhancing user experience.

[0042] Recommended search description: These are AI-generated words or phrases used to prompt users to perform searches. They are presented in a concise and clear language and are related to the content in the interface indicated by the link message sent by the user account. They are used to guide users to quickly find more content and information related to the link message.

[0043] It should also be noted that the content in the interface indicated by the link message in this embodiment is public content, and that when analyzing the content in the interface indicated by the link message in this embodiment, authorization of the corresponding content is required. That is, all data is collected and analyzed with the consent and authorization of the user and user account.

[0044] Figure 1 is a structural block diagram of a computer system provided in an exemplary embodiment of this application. The computer system 100 can be a system architecture for implementing a search method based on instant messaging. The computer system 100 includes: a first terminal 120, a server 140, and a second terminal 160.

[0045] The first terminal 120 is the terminal used by the first user, and the first terminal 120 has the client application installed and running. The application provides at least one of the following functions: chat, social networking, display, purchasing, promotion, dissemination, interaction, and e-commerce.

[0046] In some embodiments, the application provides both chat and search functions, and may also provide product purchasing functionality or e-commerce tools. For example, the application may be at least one of the following: instant messaging application, chat application, social application, shopping application, game application, lifestyle service application, video application, entertainment application, travel application, health application, app download application, or social e-commerce application.

[0047] In some embodiments, taking an instant messaging application as an example, a first user logs into the client of the application in the first terminal 120 through a first account. The first terminal 120 can display a chat session interface. The first user can send a link message through the first account. Then, the first terminal 120 displays at least one link message in the chat session interface, and displays a recommended search description and search entry corresponding to at least one link message in the chat session interface. When the first account triggers the search entry, the corresponding search results can be viewed.

[0048] Optionally, the type of content interface indicated by the link message includes at least one of the following: text interface, image interface, voice interface, emoticon interface, voice emoticon interface, video interface, document interface, location sharing interface, resource collection interface, gift collection interface, music sharing interface, and coupon sharing interface.

[0049] The second terminal 160 is a terminal used by a second user, and the second terminal 160 has an application client installed and running. The application provides at least one of the following functions: chat, social networking, display, purchasing, promotion, dissemination, interaction, and e-commerce.

[0050] In some embodiments, the application provides both chat and search functions, and may also provide product purchasing functionality or e-commerce tools. For example, the application may be at least one of the following: instant messaging application, chat application, social application, shopping application, game application, lifestyle service application, video application, entertainment application, travel application, health application, app download application, or social e-commerce application.

[0051] In some embodiments, taking an instant messaging application as an example, a second user logs into the client of the application in the second terminal 160 through a second account. The second terminal 160 can display a chat session interface. The second user can send a link message through the second account. Then, the second terminal 160 displays at least one link message in the chat session interface, and displays a recommended search description and search entry corresponding to at least one link message in the chat session interface. When the second account triggers the search entry, the corresponding search results can be viewed.

[0052] It should also be noted that the chat interface displayed on the first terminal 120 and the chat interface displayed on the second terminal 160 can be the same chat interface, that is, the first account and the second account are chatting or in the same group chat. Alternatively, the chat interface displayed on the first terminal 120 and the chat interface displayed on the second terminal 160 can be different chat interfaces, that is, the first account is chatting and the second account is also chatting.

[0053] The first terminal 120 and the second terminal 160 are connected to the server 140 via a wireless network or a wired network.

[0054] Server 140 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud servers, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Server 140 includes at least one of the following: a single server, multiple servers, a cloud computing platform, and a virtualization center.

[0055] Server 140 includes processor 144 and memory 142. Memory 142 includes receiving module 1421, control module 1422, and sending module 1423. Receiving module 1421 is used to receive requests sent by clients; control module 1422 is used to control interface rendering; sending module 1423 is used to send responses to clients; server 140 is used to provide background services for clients of first terminal 120 and second terminal 160.

[0056] Optionally, server 140 undertakes the main computing work, and first terminal 120 and second terminal 160 undertake secondary computing work; or, server 140 undertakes secondary computing work, and first terminal 120 and second terminal 160 undertake the main computing work; or, server 140, first terminal 120 and second terminal 160 collaborate in a distributed computing architecture.

[0057] Optionally, the clients installed on the first terminal 120 and the second terminal 160 are the same, or the clients installed on the two terminals are the same type of client from different control system platforms. This application embodiment does not limit the form of the clients installed on the first terminal 120 and the second terminal 160, including but not limited to Apps (Applications), mini-programs, etc., installed on the first terminal 120 and the second terminal 160, and can also be in web page form. The first terminal 120 can refer to one of multiple terminals, and the second terminal 160 can refer to one of multiple terminals; this embodiment only uses the first terminal 120 and the second terminal 160 as examples. The first terminal 120 and the second terminal 160 have the same device type, but the device models can be different. This device type includes at least one of the following: smartphones, tablets, wearable devices, PCs (Personal Computers), laptops, desktop computers, unmanned reservation terminals, smart home appliances, smart voice interaction devices, and unmanned vending terminals. The following embodiments use smartphones as an example.

[0058] Those skilled in the art will understand that the number of the first terminal 120 and the second terminal 160 can be more or less. For example, there can be one first terminal 120 and one second terminal 160, or there can be multiple first terminals 120 and multiple second terminals 160. This application does not limit the number or type of the first terminal 120 and the second terminal 160 in its embodiments.

[0059] Chat sessions involve interactions between two or more user accounts. These accounts can engage in casual conversation, work-related communication, social sharing, topic sharing, brand promotion, and more.

[0060] In related technologies, user accounts can send link messages to other user accounts, which are displayed in the chat session interface. These user accounts can also perform preset actions, such as opening the link, copying the link, or viewing an image. However, these technologies lack search and recommendation functionality. When a user account is interested in certain information within a link message, they need to switch to the search interface and enter search terms, which is cumbersome. For example, when a user account sends an H5 link message to another user account, only the link title, description, and text are displayed in the chat session interface; there is no search or recommendation function for the content indicated by the link message.

[0061] This application provides a search method based on instant messaging, which realizes intelligent search and recommendation functions in chat conversation scenarios, simplifies operation steps, improves recommendation efficiency and search efficiency, thereby improving human-computer interaction efficiency and user experience. Figure 2 is a schematic diagram of a search method based on instant messaging provided in an exemplary embodiment of this application. Taking the method executed by a computer device as an example, the computer device can be the first terminal 120 shown in Figure 1. Referring to Figure 2, the steps are briefly described as follows:

[0062] Step 1: The first terminal 120 displays at least one link message 11 in the chat session interface 10.

[0063] Step 2: The first terminal 120 displays at least one recommended search description and search entry 12 corresponding to a link message 11 on the chat session interface 10; wherein, the link title of the link message 11 is "Regret buying xx bag", the link description is "[Cute] Regret not buying it sooner!", and the recommended search description and search entry 12 are "Everyone is searching: How much does xx bag cost?". In this embodiment, "xx" can be the brand name of a brand. In some embodiments, the recommended search description and search entry are combined into one, for example, the recommended search description "Everyone is searching: How much does xx bag cost?" is displayed as static text in the form of a blue link, allowing it to be triggered as a search entry.

[0064] Step 3: The first terminal 120 responds to the trigger operation of the search entry 12 and displays the search results; for example, it switches from the chat session interface 10 to the search interface 20. In the search interface 20, the search results for the recommended search term "xx bag" corresponding to the recommended search description are displayed. These search results include: brand image information 21, brand details information 22, and a list of brand products 23. The brand image information 21 consists of the brand image and the brand name "xx bag". The brand details information 22 contains product review information related to the brand's products, such as "5 bag reviews!" and "xx bag review - mini-program". Brand product list 23 includes: "XX Bag" product information in application zz: "XX Official Flagship Store; Price: 168.0; Lowest price online; Stable price; 7-day no-reason return policy"; "XX Bag" product information in application aa: "XX Official Flagship Store; Price: 169.1; Price increased; 7-day no-reason return policy"; "XX Bag" product information in application bb: "XX Official Flagship Store; Price: 229.0; Stable price; 7-day no-reason return policy". Please refer to the example below for detailed examples.

[0065] Figure 3 is a flowchart of an instant messaging-based search method provided in an exemplary embodiment of this application. The method is illustrated by an example where it is executed by a computer device, which may be the first terminal 120 and / or the second terminal 160 and / or the server 140 shown in Figure 1. The first terminal 120 and the second terminal 160 respectively have client applications running, which are instant messaging applications. The server 140 provides background services for the client applications in the first terminal 120 and the second terminal 160. The method includes at least some of the steps 220, 240, and 260:

[0066] Step 220: Display at least one link message in the chat session interface.

[0067] A chat session involves interaction between two or more user accounts (chat members). These two or more user accounts can use the chat session for at least one of the following: casual conversation, work communication, social sharing, topic sharing, and brand promotion.

[0068] A chat session interface is an interface on a computer device used to display linked messages sent by two or more user accounts. It can also be called a chat interface, and is specifically displayed through the client of an installed and running application. A chat session interface can be a one-on-one chat between two user accounts or a group chat between multiple user accounts; there is no limitation on which.

[0069] Link messages are messages sent by user accounts within a chat session or chat session interface; they can also be understood as multimedia messages. In some embodiments, a link message is a message corresponding to multimedia content sent by a user account. Alternatively, a link message is a message corresponding to network content forwarded or shared in the form of a link.

[0070] The link format can be at least one of the following: H5 link, mini-program link. The online content refers to content originating from the internet that is being forwarded or shared, such as content from other applications, mini-programs, official accounts, or web pages. An H5 link is a webpage link developed based on HTML5 technology, used to open the corresponding application or the corresponding webpage using a built-in browser after clicking. A mini-program link is used to redirect to a specified page corresponding to the mini-program after clicking, such as a product details page, a product activity page, or a store homepage. Optionally, the link message can be opened in at least one of the following ways: opened using a built-in browser, redirected to open, or opened by calling the corresponding application. The link message includes at least one of the following: link title content, link description content, and link character content.

[0071] In some embodiments, link messages mainly include external link messages and internal link messages. External link messages are messages that redirect across applications to a third-party application, displaying content interfaces within that application. Specifically, external link messages point to other applications or websites outside the current application. For example, if the current application is an instant messaging application, and the external link message is a product link "http: / / xxxxxxxxxx" for an e-commerce application, clicking this external link message will open the webpage in the instant messaging application's built-in browser, redirecting the user to the e-commerce application. Internal link messages are messages that directly display content interfaces within the current application without requiring a redirect to a third-party application. Specifically, internal link messages point to internal resources within the current application. For example, if the current application is an instant messaging application, and the internal link message is a mini-program link "http: / / xxxxxxxxxxxx", clicking this internal link message will open the corresponding mini-program interface within the instant messaging application. It should also be noted that the solution in this embodiment applies to both external and internal link messages.

[0072] When a user opens a link message by clicking, they can view the content interface indicated by the link message. The content interface type includes at least one of the following: text interface, image interface, video interface, document interface, location sharing interface, resource (red envelope) redemption interface, gift redemption interface, music sharing interface, and coupon sharing interface. Specifically, a text interface corresponds to when the link message indicates text, such as text instructing the user to forward / send / share. An image interface corresponds to when the link message indicates an image, such as an image selected or taken by the user from their album. A video interface corresponds to when the link message indicates a video, such as a video selected or taken by the user from their album. A document interface corresponds to when the link message indicates a document file, such as a document file forwarded / sent / shared / uploaded by the user. A location sharing interface corresponds to when the link message indicates location information, such as the user's shared current location. A resource redemption interface corresponds to when the link message indicates resource information, such as red envelope redemption information sent by the user. The gift redemption interface is the interface corresponding to when a link message indicates gift information, such as instructing a user account to initiate / share / forward a gift redemption. The music sharing interface is the interface corresponding to when a link message indicates music information, such as instructing a user account to share music. The coupon sharing interface is the interface corresponding to when a link message indicates discount coupons, such as instructing a user account to forward discount coupons.

[0073] In a chat session interface, a computer device displays at least one linked message. In some embodiments, based on the message sending time, at least one linked message with the most recent sending time is displayed in the chat session interface. Alternatively, based on the screen size of the computer device, at least one linked message not exceeding that screen size is displayed in the chat session interface. Alternatively, in response to a swipe operation in the chat session interface, at least one linked message indicated by the swipe operation is displayed.

[0074] Step 240: Display recommended search descriptions and search entries corresponding to at least one linked message in the chat session interface.

[0075] The recommended search description describes the suggested search terms for this recommended search. The recommended search description is related to at least one linked message and is used to guide the user account to quickly find more content and information related to at least one linked message. For example, the recommended search description can be a search term containing a product name or feature, or it can be a search term describing an image theme or image-related brand.

[0076] In some embodiments, each link message may point to a content interface. For each content interface indicated by a link message, one or more search descriptions corresponding to each content interface are pre-defined based on the content within that content interface. Recommended search descriptions are determined from one or more search descriptions corresponding to at least one content interface indicated by a link message. For example, recommended search descriptions are search descriptions that meet matching criteria from one or more search descriptions corresponding to at least one content interface indicated by a link message. Matching criteria may be set as follows: the degree of matching between the search description and the account information of the user account that sent the at least one link message is greater than a threshold. This degree of matching can be calculated using cosine similarity or determined using a neural network model.

[0077] In other embodiments, the recommended search description is generated by an AI model based on the content in the content interface indicated by at least one link message. For example, the AI ​​model includes a large language model. The computer device calls the large language model, inputting the content in the content interface indicated by at least one link message, along with generated prompts, into the large language model, which then generates a recommended search description corresponding to at least one link message. The large language model can be a Transformer-based model applied to natural language understanding, generation, and multimodal processing. Alternatively, the computer device uses AI technology to identify key information in the content interface indicated by at least one link message, and generates a recommended search description corresponding to at least one link message based on this key information. The key information includes at least one of the following: brand terms, product terms, location terms, promotional information, and brand information.

[0078] In other embodiments, the recommended search description relates not only to the content in the content interface indicated by at least one link message, but also to the account interest information of the user account that sent the at least one link message. The account interest information is used to characterize at least one interest of the user account.

[0079] Interest types include at least one of the following: long-term interests, short-term interests, explicit interests, and implicit interests. Long-term interests are those that do not change over time; for example, long-term interests include at least one of the following: product type, brand type, and game type. Short-term interests are interests over a period of time, such as the most recent week or month, for example, a week or month preceding the current moment. Explicit interests can be characterized by at least one explicitly expressed behavior, such as the type of channels a user account subscribes to, the type of products purchased historically, or the type of brands. Implicit interests can be extracted and mapped using an interest analysis model; implicit interests can be extracted using at least one of the following: the time period a user account uses the application, historical browsing data, or historical click data.

[0080] For example, a computer device obtains a user's account interest information, and then calls a large language model to input the content of at least one linked message indicating the content interface, the account interest information, and the generated prompts into the large language model. The large language model then generates at least one linked message and a recommended search description corresponding to the account interest information. Alternatively, the computer device uses AI technology to identify key information in at least one linked message indicating the content interface, and obtains the user's account interest information. Based on the key information and the account interest information, it generates at least one linked message and a recommended search description corresponding to the account interest information.

[0081] Recommended search descriptions can be at least one of the following: a single character, a word, phrase, or sentence consisting of two or more characters. The characters can be Chinese characters, English, alphabetic, or other languages. In some possible implementations, recommended search descriptions consist of at least one of the following: search suggestions, recommended search terms, or specific search content.

[0082] The search suggestions are used to prompt user accounts to perform searches within the chat session interface. For example, search suggestions can be at least one of the following: "You might want to search", "What others are searching for", "Search", "Everyone is searching for", "Search". Recommended search terms can be related to the message content of the first linked message, such as brand terms, product terms, location terms, or scene terms. For example, recommended search terms could be "xxx brand", "skiing", "children's skirt", or "xx attraction". Specific search content is used to characterize the type of information or tags contained in the search results. For example, specific search content could be "product style", "new product discounts", "parameter details", or "travel guide". In one example, recommended search descriptions could be: "Everyone is searching for: xx car", "Search", "Everyone is searching for: skiing", "You might want to search for: children's skirt", "Search: [brand name] new product discounts", or "xx brand".

[0083] In some embodiments, there may be one or more recommended search descriptions. When there are multiple recommended search descriptions, they may be displayed in at least one of the following ways: displayed in the same row, displayed in the same column, randomly distributed, or displayed as a drop-down menu.

[0084] When multiple recommended search descriptions are displayed in the same row, column, or drop-down menu, for example, they can be displayed in descending order of matching degree between each recommended search description and the user's account information; or, in descending order of frequency based on the historical occurrence frequency of each recommended search description; or, in descending order of click-through rate based on the historical triggering click-through rate of each recommended search description; or, in descending order of purchase conversion rate based on the historical triggering purchase conversion rate of each recommended search description.

[0085] A search entry point is used to display search results upon being triggered. In some embodiments, the search entry point and the recommended search description are displayed on the same line, where the search entry point can be displayed at the beginning or end of the recommended search description. The search entry point can be displayed as at least one of the following: a search icon, a search control, or a search button. Taking a search icon as an example, a search icon is also displayed at the beginning or end of the recommended search description, and this search icon can serve as a search entry point. For example, the search icon can be a magnifying glass icon or a preset icon. In other embodiments, the recommended search description and the search entry point are combined into one, that is, the recommended search description can be triggered as a search entry point. For example, the recommended search description is displayed as static text in the form of a blue link, allowing the recommended search description to be triggered as a search entry point, and triggering the recommended search description will display search results.

[0086] Step 260: In response to the triggering operation on the search entry, display the search results.

[0087] Triggering actions for the search entry point include at least one of the following: clicking, double-clicking, long-pressing, swiping, gesture triggering, and voice triggering. When the recommended search description and the search entry point are combined into one, the triggering action for the search entry point is the same as the triggering action for the recommended search description.

[0088] In some embodiments, a recommended search description may have corresponding recommended search terms, and the search results are the results of the recommended search terms corresponding to the recommended search description. The search results for the recommended search terms corresponding to the recommended search description refer to the results obtained after searching based on the recommended search terms corresponding to the recommended search description. In this embodiment, the search results may be brand information related to the brand in the recommended search description. Alternatively, if a recommended search description does not have corresponding recommended search terms, but at least one link message indicates a content interface with one or more corresponding candidate search terms, and after the user account selects a recommended search term from the candidate search terms, the search results are the results of that recommended search term.

[0089] In some embodiments, displaying search results can be done by showing them directly in the chat session interface, for example, by displaying the search results directly in the blank area surrounding at least one linked message. Alternatively, the search results can be displayed automatically from the chat session interface to the search interface. Another option is to first display a search suggestion interface in a half-screen format, showing one or more candidate recommended search terms. After selecting a recommended search term, the user is then automatically redirected to the search interface, where the search results are displayed.

[0090] Optionally, the search interface may only provide the function of displaying search results. Alternatively, the search interface may further provide search functionality, also supporting the display of one or more candidate recommended search terms, to facilitate subsequent manual searching or refreshing of search results, and to facilitate subsequent reselection of recommended search terms for searching and updating of search results.

[0091] In summary, the instant messaging-based search method provided in this application allows a computer device to display at least one link message in a chat session interface; display a recommended search description and search entry corresponding to the at least one link message in the chat session interface; and display search results in response to a triggering operation of the search entry. Accordingly, an intelligent search recommendation function based on instant messaging is provided. The recommended search description and search entry corresponding to at least one link message can be displayed in the chat session interface, and search results can be displayed when the search entry is triggered. Compared to related technologies where user accounts need to manually switch to the search interface and enter search terms, this method allows user accounts to more conveniently obtain recommended search descriptions corresponding to at least one link message and more conveniently obtain search results without manually switching to the search interface or manually entering search terms, simplifying the search operation steps, improving information acquisition efficiency, and thus improving human-computer interaction efficiency.

[0092] Regarding the display of search results:

[0093] In some embodiments, step 260 is specifically implemented as steps 262 and 264:

[0094] Step 262: In response to the trigger operation on the search entry, switch the display to the search interface;

[0095] Step 264: In the search interface, display the search results for the recommended search terms; where the recommended search terms correspond to the recommended search descriptions.

[0096] For example, recommended search terms correspond to recommended search descriptions. Recommended search terms can be words that semantically correspond to the recommended search description, or they can be preset words or keywords in the recommended search description, such as nouns, brand words, product / commodity words, location words, or scenario words in the recommended search description.

[0097] Triggering actions for the search entry point include at least one of the following: clicking, double-clicking, long-pressing, swiping, gesture triggering, and voice triggering. The search interface is used to display search results for recommended search terms corresponding to the recommended search description. In response to the triggering action on the search entry point, the computer device switches to displaying the search interface; the search results for the recommended search terms are then displayed in the search interface.

[0098] It should be noted that when the recommended search description and the search entry are integrated, the computer device responds to the trigger operation of the recommended search description by switching to the search interface. The search interface displays the search results for the recommended search terms, where each recommended search term corresponds to its corresponding search description. The switching to the search interface is automatic.

[0099] Alternatively, step 260 can be specifically implemented as steps 265, 266, 267, and 268:

[0100] Step 265: In response to the triggering operation of the search entry, display the search suggestion interface;

[0101] Step 266: Display one or more candidate recommended search terms in the search suggestion interface;

[0102] Step 267: In response to the selection of a recommended search term from the candidate recommended search terms, the search interface is displayed;

[0103] Step 268: Display the search results for the recommended search terms in the search interface.

[0104] The search suggestion interface can be displayed in a half-screen mode. The search suggestion interface can also be understood as a transitional interface between the chat session interface and the search interface. Candidate recommended search terms can be recommended search terms corresponding to content interfaces indicated by at least one linked message, recommended search terms generated based on content from at least one linked message-indicated content interface, or recommended search terms related to the recommended search description.

[0105] The selection of recommended search terms includes at least one of the following: clicking, double-clicking, long-pressing, swiping, gesture selection, voice selection, and box selection. In response to the triggering operation of the search entry, the computer device displays a search suggestion interface; in the search suggestion interface, one or more candidate recommended search terms are displayed; in response to the selection operation of a recommended search term from the candidate recommended search terms, a search interface is displayed; and in the search interface, the search results for the recommended search term are displayed.

[0106] This embodiment provides a way to display search results. By triggering the search entry, the search results can be viewed, which can improve the efficiency of information acquisition, simplify the search operation steps, and thus help improve the efficiency of human-computer interaction.

[0107] In some embodiments, the search results include: brand information corresponding to brands related to the recommended search terms. Step 264 or step 268 is specifically implemented as step 2640:

[0108] Step 2640: In the search interface, display the brand information corresponding to the brands related to the recommended search terms.

[0109] The computer device displays brand information related to recommended search terms in the search interface. In some embodiments, the brands related to recommended search terms can be brand names that appear directly in the recommended search description, or brands corresponding to brand names that are semantically related to the recommended search description or recommended search terms. For example, the recommended search description might be "You might be searching for: xx bag," where "xx" can be the brand name. Or, the recommended search description might be "Everyone's searching for: Hot-selling bags," where, based on recently popular bag brands, the recommended search description is associated with the brand "yy."

[0110] In some embodiments, each brand has corresponding brand information. Brand information includes at least one of the following: brand name, brand slogan, brand type, brand image, brand product / goods, brand attributes, and brand characteristics. The brand slogan is the brand's signature statement, typically a short phrase. Brand types may differ based on different classification criteria. For example, classified by founder, brand types include manufacturer brands founded by product manufacturers, distributor brands founded by distributors, and retail brands founded by retailers; or classified by the industry to which the brand's products belong, brand types include home appliance brands, food and beverage brands, automotive and machinery brands, and daily chemical industry brands. Based on the different levels of granularity of brand types, each brand type can also include more granular subtypes. For example, taking home appliance brands as an example, home appliance brands further include at least one of televisions, refrigerators, washing machines, and robot vacuum cleaners. Brand image refers to the personalized image a brand presents in the market or in the minds of consumers, also known as brand IP. A brand corresponds to one or more brand images; for example, brand image includes at least one of the following: text (brand name, brand slogan), images, elements, emoticons, voice, and characters. For example, a typical brand image for a cola brand includes cola elements, and can also be the text "Cola" or the voice "Cola". A branded product / goods refers to the physical product / goods associated with a brand. For example, a clothing brand's branded products are various types of clothing, while a home appliance brand's branded products are various types of home appliances. Brand attributes refer to the attributes of the physical product / goods associated with a brand. For example, a clothing brand's brand attributes include wearability, while a cola brand's brand attributes include consumption. Brand characteristics include at least one of the following: exclusivity, risk and uncertainty, and extensibility.

[0111] In this embodiment, associating search results with brands facilitates the display of brand-related information in the search results, which can improve information acquisition efficiency, promote brands, and provide a richer and more valuable user experience.

[0112] In some embodiments, brand information includes at least one of the following: brand image information, brand details information, and a list of brand products. The search interface includes at least one of the following display areas: a first display area, a second display area, and a third display area. For example, step 2640 is specifically implemented as step 2642:

[0113] Step 2642: Display brand image information of brands related to the recommended search term in the first display area, display brand details information of brands related to the recommended search term in the second display area, and display a list of brand products of brands related to the recommended search term in the third display area; wherein the first display area, the second display area, and the third display area are displayed in at least one of the following ways: displayed in the same row, displayed in the same column, displayed in sequence, or randomly distributed.

[0114] The search interface is divided into at least one of the following display areas: a first display area, a second display area, and a third display area. The sizes of the first, second, and third display areas can be the same or different. The first, second, and third display areas are displayed in at least one of the following ways: in the same row, in the same column, sequentially, or randomly distributed. For example, when displayed in the same column, the first display area can be at the top, the second display area in the middle, and the third display area at the bottom.

[0115] For example, the first display area displays brand image information corresponding to the brand related to the recommended search term, the second display area displays brand details information corresponding to the brand related to the recommended search term, and the third display area displays a list of brand products corresponding to the brand related to the recommended search term.

[0116] Brand image information can be at least one of the brand name, brand slogan, representative text, image, element, emoticon, voice, and character of the brand, or at least one of the mini-programs, subscription accounts, video accounts, and official brand stores provided in the client of the application installed and running on computer devices.

[0117] Brand details can be at least one of the following: brand type, brand attributes, brand characteristics, product evaluation information related to the brand's products, and product reviews.

[0118] The brand product list can be product information for different types of branded products within the same e-commerce application, or product information for the same type of branded products across different e-commerce applications. For example, the brand product list could include product information for brand product 1, brand product 2, and brand product 3, all within application x. Alternatively, the brand product list could include product information for brand product 1 in application a, brand product 1 in application b, and brand product 1 in application c. Optionally, the product information may include at least one of the following: product name, product description, store name, product price, price trend, and shipping information. The price trend may include at least one of the following: stable price, price increase, or price decrease.

[0119] In this embodiment, the search results include brand image information, brand details information, and a list of brand products. This effectively integrates the brand with the search results, improving information transparency. It also displays multiple dimensions of brand information in the search results, increasing display efficiency and aiding in brand promotion and product sales.

[0120] In some possible embodiments, after displaying the search interface, a product details interface can be displayed to facilitate product sales and purchase conversion. Specifically, the brand product list includes candidate product options corresponding to the brand; wherein, a candidate product option indicates a brand product / item of that brand.

[0121] The method further includes: in response to a trigger operation on the target product option among the candidate product options, displaying the product details interface of the target product corresponding to the target product option; in the product details interface, displaying the product details information of the target product; wherein the product details information includes at least one of the following: product name, product description, product image, product store name, product price, product reviews, promotional activities, sales data, express delivery information, and shipping information.

[0122] If the brand product list contains product information for different types of products within the same e-commerce application, then in response to a trigger action on the target product option in the candidate product options, the product details interface for the target product corresponding to the target product option in that e-commerce application will be displayed. The product details interface will show the detailed product information for the target product within that e-commerce application. For example, the brand product list might contain product information for brand product 1, brand product 2, and brand product 3, all within application x. Clicking on brand product 1 will display its product details within application x.

[0123] When the brand product list contains information about the same type of brand products across different e-commerce applications, the system responds to a trigger action on the target product option in the candidate product list by displaying the target product in the product details interface of the corresponding e-commerce application. The product details interface then displays the product details information for the target product within that e-commerce application. For example, the brand product list might contain information about brand product 1 in application a, brand product 1 in application b, and brand product 1 in application c. Clicking on the product information for brand product 1 in application a will display the product details information for that brand product 1 in application a.

[0124] Product details include at least one of the following: product name, product description, product image, store name, product price, product reviews, promotional activities, sales data, shipping information, and delivery information. For example, shipping information could be "Free shipping". Delivery information could be "Estimated delivery today". Promotional activities could be "Coupon for discounts of xx% off". Sales data could be this month's sales or historical total sales. Product price could be the unit price of the product.

[0125] In some embodiments, the product details interface further includes at least one of the following controls: a favorites control, an add to cart control, and a purchase control. In response to a triggering operation on the favorites control, the target product is added to the favorites list; in response to a triggering operation on the add to cart control, the target product is added to the user's account shopping cart; in response to a triggering operation on the purchase control, a product confirmation interface is displayed, and in response to a payment operation on the product confirmation interface, the target product is purchased.

[0126] In this embodiment, a method is provided to display a product details interface after displaying the search interface. User accounts can view the product details information of the target product, and further, they can purchase the target product. This improves the display efficiency of product details information, and user accounts can also quickly purchase the target product based on the product details information. This is conducive to improving human-computer interaction efficiency and also conducive to realizing the sales and purchase conversion of branded products.

[0127] In some possible embodiments, after displaying the search interface, a brand promotion interface may also be displayed to promote and publicize the brand.

[0128] The method further includes: displaying a brand promotion interface in response to a triggering operation on brand image information; or, displaying a brand promotion interface in response to a triggering operation on brand details information; displaying brand promotion information in the brand promotion interface; wherein the brand promotion information includes at least one of the following: promotional video, promotional copy, visual elements, marketing activities, brand collaborations, brand stories, brand culture, and public welfare activities.

[0129] Promotional videos can specifically be advertising videos for the brand, and promotional copy can specifically be advertising copy for the brand. Visual elements are used to represent the brand image. Marketing campaigns can, to some extent, increase product sales. Brand stories describe the brand's origin, development history, and milestones. Brand culture is used to convey the brand's philosophy. Public welfare activities can, to some extent, enhance the brand's social image.

[0130] This embodiment provides a way to display a brand promotion interface after the search interface is displayed. User accounts can view the brand promotion information and learn more about the brand. This allows for quick display of the brand promotion interface after the search interface, simplifies the viewing steps, improves the display efficiency of brand promotion information, and also helps to enhance brand awareness and facilitate the sales and purchase conversion of branded products.

[0131] Regarding the display of recommended search descriptions and search entry points:

[0132] In some embodiments, step 240 is specifically implemented as step 242:

[0133] Step 242: In response to the content interface indicating that at least one link message is of a preset type, display the recommended search description and search entry corresponding to at least one link message in the chat session interface.

[0134] The computer device responds to the content interface indicated by at least one link message as a preset type, and displays the recommended search description and search entry corresponding to at least one link message in the chat session interface.

[0135] In some embodiments, the computer device responds to the content interface indicated by the first link message in at least one link message as a preset type, and displays a recommended search description and search entry corresponding to the first link message in the chat session interface.

[0136] Here, the first link message refers to one or more link messages that satisfy the search criteria among at least one link message. The search criteria refer to the conditions required to display the recommended search description and search entry. For example, the search criteria can be set as follows: the content interface indicated by the first link message is a preset type; if at least one link message contains a first link message with a preset content interface, then the recommended search description corresponding to the first link message among at least one link message will be displayed. Alternatively, the search criteria can be set as follows: the content interface indicated by the first link message contains preset content; if at least one link message contains a first link message with preset content, then the recommended search description corresponding to the first link message will be displayed.

[0137] In some embodiments, the computer device is logged into a first account, and the first link message can be one or more link messages sent by the first account that meet the search criteria. Alternatively, the chat session interface is a one-on-one chat interface where the first account and a second account are chatting, and the first link message can also be one or more link messages sent by the second account that meet the search criteria. Alternatively, the chat session interface is a group chat interface of a group chat where the first account is located, and the first link message can also be one or more link messages sent by accounts other than the first account in that group chat that meet the search criteria.

[0138] When the first link message refers to a single link message, recommended search descriptions and search entries related to the first link message are displayed in the surrounding area. Alternatively, when the first link message refers to multiple link messages, recommended search descriptions and search entries related to the first link message are displayed in the surrounding area of ​​each of these multiple link messages.

[0139] For a content interface indicated by at least one link message, the preset type includes at least one of the following:

[0140] Type 1: Image interface corresponding to images selected from the album or taken;

[0141] The photo album includes one or more historically captured images, which may be images taken in real-time by opening the camera. In some embodiments, one image interface corresponds to one image; or, one image interface may also correspond to an image group composed of multiple images selected simultaneously; or, one image interface may also correspond to an entire photo album folder. Images may be dynamic or static, and the image interface includes at least one of the following: image thumbnail content and image cover image content.

[0142] Type 2: The video interface corresponding to a video selected from the album or recorded;

[0143] The album includes one or more historically captured videos, which can be videos taken in real-time by opening the camera. In some embodiments, one video interface corresponds to one video; or, one video interface may also correspond to a video group consisting of multiple videos selected simultaneously; or, one video interface may also correspond to an entire album folder. The video interface includes at least one of the following: video cover content, video frame sequence content, and producer information.

[0144] Type 3: A document interface used to send document files;

[0145] The document file type can be at least one of the following: text file (.txt), Word document (.doc or .docx), Excel spreadsheet (.xls or .xlsx), PDF document (.pdf), or presentation (.ppt). In some embodiments, one document interface corresponds to one document file; or, one document interface can also correspond to a compressed document package consisting of multiple simultaneously selected document files; or, one document interface can also correspond to an entire folder. The document interface includes at least one of the following: document icon, document name, document summary, full text of the document, editor, folder name, and folder icon.

[0146] Type 4: A text interface used to send text content;

[0147] The text content can be linked text containing a link address, or it can be topical text used for casual conversation, social sharing, or work communication. Taking linked text as an example, the text interface corresponding to the linked text includes at least one of the following: the application indicated by the link address, how to open the link address, the product information corresponding to the link address, a text summary, or the full text content.

[0148] Type 5: Location sharing interface for sharing geographical locations;

[0149] Location can be the user's real-time current location or a location selected by the user. The location sharing interface includes one of the following: location information, the application used for location, a location description, and a location icon.

[0150] Type 6: Resource claiming interface used to send virtual resources;

[0151] Virtual resources can be at least one of the following: red envelopes, game currency, or virtual items. The resource claiming interface includes at least one of the following: claim cover, resource name, resource quantity, resource type, claimant, sender, resource image, resource description, and claiming method.

[0152] Type 7: Gift receiving interface for giving gifts;

[0153] Gifts can be at least one of the following: virtual gifts and physical gifts. Virtual gifts can be at least one of coupons, emoticons, or red envelope covers. Physical gifts are shipped via logistics after being claimed. The gift claiming interface includes at least one of the following: cover image, gift name, gift quantity, gift type, recipient, sender, gift image, gift description, and claiming method.

[0154] Type 8: A music sharing interface for sharing music;

[0155] Music can originate from other applications, mini-programs, public accounts, or web pages. The music sharing interface includes at least one of the following: the application from which the music originated, the artist, the song title, a music description, the album cover, the music icon, or a music video.

[0156] Type 9: A coupon sharing interface for sending discount coupons.

[0157] Discount coupons can originate from other applications, mini-programs, official accounts, or websites. The coupon sharing interface includes at least one of the following: the application from which the coupon originates, the application to which the coupon is applicable, how to use it, a description of the coupon, and product information associated with the coupon.

[0158] In this embodiment, multiple preset types of content interfaces indicated by at least one link message are provided. When the content interface indicated by at least one link message is a preset type, the recommended search description and search entry can be displayed, which enriches the display scenarios of the recommended search description and search entry, making the display of the recommended search description and search entry suitable for multiple types of link messages, which is conducive to improving information acquisition efficiency, thereby improving human-computer interaction efficiency.

[0159] In some embodiments, step 242 is specifically implemented as step 2420:

[0160] Step 2420: In response to the content interface indicating that at least one link message is of a preset type, a recommended search description and search entry corresponding to at least one link message are displayed in the area surrounding at least one link in the chat session interface.

[0161] The surrounding area includes at least one of the following areas: an upper area, a lower area, a left area, and a right area. In response to a preset interface type indicated by at least one link message, the computer device displays a recommended search description and search entry corresponding to the at least one link message in the surrounding area of ​​the chat session interface. In one specific implementation, the surrounding area refers to the lower area, and the recommended search description and search entry are displayed in the lower area of ​​the at least one link message. It is understood that the display position of the recommended search description and search entry does not overlap with other link messages below it.

[0162] As an example, the recommended search description is displayed in at least one of the following forms:

[0163] Format 1: Static text containing color;

[0164] The color can be any color other than the color of the link message itself. For example, if all link messages are black, the color is blue, meaning the recommended search description is displayed as static text in the form of a blue link.

[0165] Form 2: Dynamic text containing dynamic effects;

[0166] Dynamic effects can be at least one of the following: scrolling back and forth, flashing, or highlighting. For example, the recommended search description can be displayed in a scrolling manner.

[0167] Form 3: Icon;

[0168] The icon can be a highly simplified symbol or graphic. It can be determined by the computer device based on the recommended search description, it can be the brand image corresponding to a brand related to the recommended search description, or it can be an icon generated by calling a large language model corresponding to the recommended search description. For example, if the recommended search description is "xx bag", then an icon for a bag will be displayed.

[0169] Form 4: Graphic elements;

[0170] Graphic elements can be decorative visual elements, including at least one of lines, shapes, patterns, and illustrations. The icon can be determined by a computer device based on the recommended search description, can be a brand image corresponding to a brand related to the recommended search description, or can be a graphic element generated by calling a large language model corresponding to the recommended search description. For example, if the recommended search description is "xx bag," then an image of "xx bag" will be displayed.

[0171] Form 5: Animation;

[0172] The animation content can be generated based on recommended search descriptions, with different recommended search descriptions corresponding to different animations. The animation can be a simple text animation containing the recommended search description, or it can be a brand promotion animation corresponding to a brand related to the recommended search description.

[0173] It should also be noted that when displaying the recommended search description and search entry, sounds and sound effects related to the recommended search description can also be played simultaneously. These sounds and sound effects can be the voice of the brand slogan corresponding to the brand related to the recommended search description, or the voice of the brand's spokesperson reciting the recommended search description; there are no restrictions on this.

[0174] This embodiment provides multiple display formats for recommended search descriptions, enriching the visual effects of displaying recommended search descriptions, improving information transparency, and helping to improve information acquisition efficiency.

[0175] In some embodiments, after viewing the search results in the search interface, users can further perform their own searches. The method also includes steps 282, 284, and 286:

[0176] Step 282: Display the search box in the search interface;

[0177] Step 284: In response to the input operation, display the entered search term in the search box;

[0178] Step 286: In response to the search operation, update the search interface to display the search results for the search term.

[0179] In some embodiments, the search interface further provides search functionality. In addition to search results, the search interface may display a search box, which can be displayed at the top or bottom of the search interface. Input operations include at least one of the following: manual input, voice input, and voice-to-text conversion. A confirmation search control is also displayed around the search box; the search operation is a trigger operation for the confirmation search control, and the trigger operation includes at least one of the following: clicking, double-clicking, long-pressing, swiping, gesture triggering, and voice triggering.

[0180] A search term is a search term entered into the search box. After a search is performed on that search term, the search interface can be updated to display the search results for that search term. The computer device displays a search box in the search interface; in response to an input operation, it displays the entered search term in the search box; and in response to a search operation, it updates the search interface to display the search results for that search term. This embodiment supports further searches performed manually within the search interface.

[0181] In other embodiments, a refresh control is also displayed in the search interface; in response to a triggering operation on the refresh control, the search interface is updated to display the refreshed search results for the same recommended search term. This embodiment supports refreshing the search results for the current recommended search term in the search interface.

[0182] In other embodiments, one or more candidate recommended search terms are also displayed in the search interface; in response to the selection of a recommended search term from the candidate recommended search terms, the search interface is updated to display the search results corresponding to the selected recommended search term. This embodiment supports reselecting recommended search terms in the search interface for further searching.

[0183] This embodiment provides a way for users to perform further searches on the search interface, which helps users update search results and obtain more relevant results.

[0184] In some embodiments, the method further includes steps 320, 340, and 360:

[0185] Step 320: Use AI technology to identify the content in the interface indicated by at least one linked message;

[0186] Step 340: Obtain the user account's account interest information from the user account's account database;

[0187] Step 360: Based on the content in the content interface indicated by at least one link message and the account interest information, generate a recommended search description, and determine the recommended search terms corresponding to the recommended search description.

[0188] Identifying the content within an interface indicated by at least one linked message can also be understood as extracting key information from that interface. This information can be brand-related, and can include at least one of the following: brand terms, product terms, location terms, or promotional information. In this embodiment, the AI ​​technology used to identify the content within an interface indicated by at least one linked message is modal-dependent. For example, if the modality is text-based, text recognition technology is used; if the modality is image-based, image recognition technology is used; if the modality is video-based, video recognition technology is used; and if the modality is speech-based, speech recognition technology is used.

[0189] In some embodiments, when the content in the interface is text-based, taking text recognition technology as an example, a natural language processing model is used to identify the text in the text interface indicated by at least one linked message. Specifically, the keywords, sentence structure, and semantic meaning of the text in the text interface are identified, and brand-related information is extracted. The natural language processing model includes at least one of the following: a large language model, a Transformer-based model, or an attention-based model.

[0190] When the content in the interface is image-based, taking image recognition technology as an example, an image recognition model is used to identify the images in the image interface indicated by at least one linked message. Specifically, the model identifies objects, scenes, text, and graphic elements in the images of the image interface, and simultaneously determines the image theme and content category, extracting brand-related information. The image recognition model includes at least one of the following: convolutional neural network, recurrent neural network, time series model, and scene detection model.

[0191] When the content in the interface is in video mode, taking video recognition technology as an example, an image recognition model is used to identify the video in the video interface frame by frame. Specifically, keyframes, actions, and audio content in the video in the video interface are identified to determine the type of information conveyed by the video. The type of information conveyed includes at least one of brand promotion, brand advertising, product display, and event recording, and information related to the brand is extracted.

[0192] The account database is a pre-defined database used to store user account information, which includes at least one of the following: account interest information, historical browsing data, historical click data, historical product types purchased, and historical brand types purchased.

[0193] For example, the computer device uses AI technology to identify content in a content interface indicated by at least one link message; obtains account interest information of the user account from the user account's account database; generates a recommended search description based on the content in the content interface indicated by at least one link message and the account interest information; and determines the recommended search terms corresponding to the recommended search description.

[0194] In some embodiments, AI technology is used to analyze and process the content in the interface indicated by the link message, including the following methods:

[0195] Method 1: The computer device has an instant messaging application installed and running. The computer device has an AI model deployed locally. The locally deployed AI model analyzes and processes the content in the content interface indicated by the linked message. The AI ​​model does not perform any data upload. After generating recommended search descriptions and recommended search terms, the AI ​​model sends them to the instant messaging application through the API interface and displays them in the instant messaging application.

[0196] Method 2: The computer device has an instant messaging application installed and running. The third-party application has an AI model deployed. The AI ​​in the third-party application analyzes and processes the content in the content interface of the third-party application indicated by the linked message. The AI ​​model can generate recommended search descriptions and recommended search terms, and then send them to the instant messaging application through the API interface and display them in the instant messaging application.

[0197] Method 3: The computer device has an instant messaging application installed and running. This instant messaging application provides AI tools. The AI ​​tools are used to obtain the content in the content interface indicated by the linked message, analyze and process the content, and display it in the instant messaging application through the API interface.

[0198] Corresponding to the type of content interface, the content identified in the content interface includes at least one of the following:

[0199] Content 1: The link title, link description, and web content corresponding to the link message;

[0200] A link message includes at least one of the following: a link title, a link description, or link characters. Text recognition technology can be used to identify the link title and link description; that is, the identification is based on the link message itself displayed in the chat session interface. The network content corresponding to the link message refers to the complete network content that has been forwarded or shared. For example, if the link message is a link to an article, then the network content refers to the full text of that article. The link can be opened based on the link message to obtain and identify the corresponding network content.

[0201] Content 2: Image thumbnail content and image cover image content corresponding to the image interface;

[0202] The graphical interface includes at least one of the following: image thumbnails and image cover images. The image thumbnail content and image cover image content can be used to indicate at least one of scenes, items, and people, thereby enabling the determination of recommended search descriptions related to scenes, items, and people.

[0203] Content 3: Video cover content and video frame sequence content corresponding to the video interface;

[0204] The video interface includes at least one of the following: video cover image, video frame sequence, and producer. The video cover image and video frame sequence can be used to indicate at least one of the following: scene, object, and person, thereby enabling the determination of recommended search descriptions related to the scene, object, or person.

[0205] Content 4: The document summary and full text content corresponding to the document interface;

[0206] The document interface includes at least one of the following: document icon, document name, document summary, full text of the document, editor, folder name of the folder containing the document, and folder icon.

[0207] Content 5: Text summary and full text content corresponding to the text interface;

[0208] The text content can be linked text containing a link address, or it can be topical text used for casual conversation, social sharing, or work communication. Taking linked text as an example, the text interface corresponding to the linked text includes at least one of the following: the application indicated by the link address, how to open the link address, the product information corresponding to the link address, a text summary, or the full text content.

[0209] Content 6: Location information corresponding to the location sharing interface;

[0210] Location information is used to indicate a specific location. By identifying location information, recommended search descriptions related to the place name, surrounding shops, and local travel guides can be generated.

[0211] Content 7: The resource redemption interface includes the redemption cover and resource information;

[0212] The resource claiming interface includes at least one of the following: claim cover, resource name, resource quantity, resource type, claimant, sender, resource image, resource description, and claiming method. The claim cover can indicate at least one of the following: the scene or item related to the virtual resource. The resource information can be the resource name, resource quantity, resource type, resource image, and resource description mentioned above, thereby generating recommended search descriptions related to the virtual resource.

[0213] Content 8: Gift information corresponding to the gift redemption interface;

[0214] Gifts can be at least one of the following: virtual gifts and physical gifts. Virtual gifts can be at least one of coupons, emoticons, or red envelope covers. Physical gifts are shipped via logistics after being claimed. The gift claiming interface includes at least one of the following: cover image, gift name, gift quantity, gift type, recipient, sender, gift image, gift description, and claiming method. Gift information can include the gift name, gift quantity, gift type, gift image, and gift description mentioned above, thereby generating recommended search descriptions related to the virtual resource.

[0215] Content 9: Music information corresponding to the music sharing interface;

[0216] Music information includes at least one of the following: the application from which the music originates, the artist, the song title, a music description, the album cover, the music icon, and a music video, thereby enabling the generation of recommended search descriptions related to the music.

[0217] Content 10: Coupon information corresponding to the coupon sharing interface;

[0218] The coupon information includes at least one of the following: the application from which the coupon originates, the application to which the coupon is applicable, how to use it, a description of the coupon, and product information corresponding to the product associated with the coupon, thereby enabling the generation of recommended search descriptions related to the coupon.

[0219] In this embodiment, a method is provided to identify the content in the content interface indicated by at least one link message using AI technology and generate corresponding recommended search descriptions, which is beneficial for generating recommended search descriptions and improves data processing efficiency.

[0220] In some embodiments, the method further includes step 380 for determining the search results:

[0221] Step 380: Based on the recommended search terms corresponding to the recommended search description, retrieve the product database to obtain the search results for the recommended search description; wherein, the product database stores at least one of the following information: brand image information, brand details information, and brand product information for different brands.

[0222] The product database is a pre-defined database used to store brand information for various brands. It stores at least one of the following: brand image information, brand details, and brand product information. After determining the recommended search description, the product database is retrieved based on the recommended search terms corresponding to that description, and the search results are displayed in the search interface.

[0223] This embodiment provides a method for obtaining search results, which can improve the efficiency of determining search results and improve data processing efficiency.

[0224] The following examples, in conjunction with schematic diagrams, provide an overall description of the search method based on instant messaging.

[0225] ·Scenario Examples

[0226] The instant messaging-based search method of this application can be applied to chat conversation scenarios. Chat conversation scenarios can include at least one of the following: casual conversation, social sharing, work communication, brand promotion, and topic sharing. The following explanation will use the example of a recommended search description being triggered as a search entry point.

[0227] Taking social sharing as an example: When a user account chats with a friend's account, the user account can send a travel guide H5 link message in the chat session interface. Then, a recommended search description of "search [attraction name] travel guide" will be intelligently generated and displayed in the chat session interface. The friend account can click on the recommended search description to view attraction information, travel brand recommendations, and brand products.

[0228] Taking work collaboration as an example: When a team member's account shares a product introduction PPT in the chat session, a recommended search description of "Search [Product Name] Parameter Details" will be intelligently generated and displayed in the chat session. Other team members' accounts can click on the recommended search description to learn about product details, brand background information, and purchase information.

[0229] Taking brand promotion as an example: When a brand account sends a new product promotional video in the chat session, the chat session will intelligently generate and display a recommended search description of "search [brand name] new product discount". The user account can click on the recommended search description to view the brand story, new product information and promotional information.

[0230] • Showing examples

[0231] (1) The link message is an H5 link message

[0232] When a user pastes an H5 link into a chat window or forwards it directly from another application, the H5 link message's title, description, and the link itself are displayed in the chat window. The originating application is also shown. The computer extracts the H5 link message content and generates a recommended search description in blue link format, such as "Search [Brand Name] Product Series," which is displayed in the lower area of ​​the H5 link message. When a user clicks the recommended search description, they are redirected to the search interface. The search interface displays brand image information in the upper area, brand details in the middle area, and a list of brand products in the lower area.

[0233] Referring to Figure 4, the link message is an H5 link message. When a user pastes an H5 link into the input box of the chat session interface 30 and sends it, or when it is directly forwarded from another application to the chat session interface 30, the H5 link message's link title, link description, and the link itself are displayed in the chat session interface 30, along with the source application. Recommended search descriptions related to the H5 link message are displayed below it. For example, H5 link message 31 is "XX Industrial Civilization Exhibition Hall, No. 1234, C Road, B District, City A, Ecological Business District; sourced from Map App," and recommended search description 32 is "Everyone is searching for: XX Industrial Civilization Exhibition Hall." H5 link message 33 is "Vol73. [New Luxury Car] SS Car Driving Experience xx Roaming; sourced from Podcast App," and recommended search description 34 is "Everyone is searching for: SS Car." H5 link message 35 is "I regret buying xx bag [Cute] I regret not buying it sooner; sourced from Life Services App," and recommended search description 36 is "Everyone is searching for: How much does xx bag cost?"

[0234] (2) The content indicated by the link message is an image or video.

[0235] When a user selects an image from their album and sends it, a link message appears in the chat interface. The link message corresponds to the image content. The computer recognizes the image content and generates a recommended search description in blue link format, such as "Search for [Brand Name] latest styles," displayed in the area below the image. Alternatively, when a user selects a video from their album and sends it, a link message appears in the chat interface. The link message corresponds to the video content. The computer recognizes the video content and generates a recommended search description in blue link format, such as "Search for [Brand Name] latest styles," displayed in the area below the video. Clicking the recommended search description redirects the user to the search interface, which has a similar layout to the H5 link message. The top area of ​​the search interface displays brand image information, the middle area displays brand details, and the bottom area displays a list of brand products.

[0236] Referring to Figure 5, the link message indicates a video. When a user account opens their album in the input box of the chat session interface 40, selects a video and sends it, or selects a video from the album and forwards it directly to the chat session interface 40, a link message will be displayed in the chat session interface 40, indicating the video. Recommended search descriptions related to the video are displayed below it. For example, the recommended search description 42 related to link message 41 is "Search". The recommended search description 44 related to link message 43 is "Everyone is searching for: Skiing".

[0237] Referring to Figure 6, the link message indicates an image. When a user account opens their photo album in the input box of the chat session interface 50, selects an image and sends it, or selects an image from the album and forwards it directly to the chat session interface 50, a link message is displayed in the chat session interface 50, indicating the image. Recommended search descriptions related to the image are displayed below it. For example, the recommended search description 52 related to link message 51 is "Search". The recommended search description 54 related to link message 53 is "Everyone is searching for: xx brand".

[0238] (3) The content indicated by the link message is a document file.

[0239] The user account selects a document file from the computer device's local storage and sends it to the chat session interface. A link message is displayed in the chat session interface, indicating the document file and including a document thumbnail and name. The computer device recognizes the document content and generates a recommended search description in blue link format, such as "Search for [Brand Name] Documents," displayed in the lower area of ​​the document. Clicking the recommended search description redirects the user to the search interface, which has a layout similar to the H5 link message. The upper area of ​​the search interface displays brand image information, the middle area displays brand details or brand-related documents, and the lower area displays a list of brand products.

[0240] (4) The content indicated by the link message is text.

[0241] User accounts send text messages in the chat session interface. This text can be links, casual chat, etc. The computer device recognizes the text content and generates a recommended search description in the form of a blue link, such as "Search [Brand Name] text materials," which is displayed in the area below the text. When a user clicks the recommended search description, they are redirected to the search interface. The layout is similar to the H5 link message: the brand image information is displayed in the upper area of ​​the search interface, the brand details or brand-related documents are displayed in the middle area, and the brand's product list is displayed in the lower area.

[0242] Taking a link text as an example, referring to Figure 7, the content indicated by the link message is the link text. When a user pastes the link text into the input box of the chat session interface 60 and sends it, the link message is displayed in the chat session interface 60, and the content indicated by this link message is the link text. Recommended search descriptions related to this link text are displayed below it.

[0243] For example, link message 61 is "[App]http: / / www.abcdefghigk.com CA381[Children's Skirt] Click the link to open directly or search in the App to open directly," and the related recommended search description 62 is "You might be looking for: Children's Skirt." Link message 63 is "[App] Big Sale Price Guarantee [Pocket Crossbody Water Bottle | xxx Brand] Click the link to open directly or search in the App to open directly," and the related recommended search description 64 is "You might be looking for: xxx Brand." Link message 65 is "http: / / www.xxx.com," and the related recommended search description 66 is "You might be looking for: xxx Brand."

[0244] • Technical Implementation

[0245] User accounts can send link messages via the app. The content of the link message can be: text, image, video, or document file. The app receives the link message, sends it to the backend server, and also receives and displays recommended search descriptions returned by the backend server. When a user clicks on a recommended search description, they are redirected to the search interface to display the search results.

[0246] The backend server includes at least one of the following modules: (1) Information receiving module: used to receive link messages; (2) AI recognition module: using AI technology, such as text recognition, image recognition, and video recognition, to analyze the content in the content interface indicated by the link message and extract key information, such as brand words, product words, and location words.

[0247] The AI ​​recognition module includes at least one of the following sub-modules: (1) Data retrieval module: Based on the AI ​​recognition results and account information, retrieve brand information from the product database, such as brand image information, brand details information, and brand product information; (2) Recommendation algorithm module: Based on the AI ​​recognition results and account information, such as advertising interests and historical behavior data, generate recommended search descriptions using AI generation algorithms; (3) Information return module: Return the generated recommended search descriptions and retrieved brand information to the App; (4) Database: The product database stores brand information and product information, and the account database stores account information, such as advertising interests and historical behavior data; (5) Storage module: Store unstructured data such as images, videos, and documents uploaded by user accounts; (6) External cloud service interface: Interact with external cloud services, such as image recognition cloud services and natural language processing cloud services, to improve the accuracy and efficiency of AI recognition.

[0248] Specifically, referring to Figure 8, taking the recommendation search method of this embodiment involving App front-end 201, Application Programming Interface (API) gateway 202, search service 203, AI service 204, product database 205, and account database 206 as an example, the interaction flow is as follows:

[0249] 1. User accounts send link messages via the App frontend 201. The content of the link message can be: text, image, video, link, or document;

[0250] 2. The App frontend 201 sends the link message to the information receiving module of the backend server through the API gateway 202;

[0251] 3. The AI ​​recognition module of the backend server provides AI service 204, which analyzes the content in the interface indicated by the linked message and extracts key information. AI service 204 is implemented using a microservice cluster and is used to perform AI information recognition and generate recommended search descriptions. AI service 204 provides the following technologies: text recognition, image recognition, and video recognition. AI service 204 also provides a recommendation engine for generating recommended search descriptions.

[0252] The intelligent recommendation algorithm module of the backend server performs the following steps: 4. Reading historical data from account database 206, and 5. Reading product information and brand information from product database 205, and combining them to generate a recommended search description;

[0253] 6. The information return module of the backend server returns the recommended search description to the App frontend 201, and the App frontend 201 displays the recommended search description in the chat session interface;

[0254] 7. When a user clicks the search entry, the App frontend 201 sends a request to the backend server through the API gateway 202 and calls the search service 203 to retrieve detailed information;

[0255] 8. The data retrieval module of the backend server retrieves relevant information from the product database 205 and the account database 206 based on the recommended search description, and obtains the search results;

[0256] 9. The backend server returns the search results to the App frontend 201 through the search service 203, and the App frontend 201 displays the search results in the search interface.

[0257] In summary, the instant messaging-based search method provided in this application offers intelligent search recommendation functionality, enabling user accounts to more conveniently obtain recommended search descriptions and search results related to sent link messages. This saves time and effort from manually entering search terms, simplifies search operations, and improves information retrieval efficiency. Furthermore, displaying brand image information, brand details, and brand product lists through search results facilitates brand promotion and product sales, providing a richer and more valuable user experience.

[0258] Figure 9 is a block diagram of an instant messaging-based search device provided in an exemplary embodiment of this application. The instant messaging-based search device 800 includes a display module 820.

[0259] Display module 820 is used to display at least one linked message in the chat session interface;

[0260] The display module 820 is used to display a recommended search description and search entry corresponding to the at least one link message on the chat session interface;

[0261] The display module 820 is used to display search results in response to a trigger operation on the search entry.

[0262] In some embodiments, the display module 820 is configured to:

[0263] In response to a trigger operation on the search entry, the display switches to the search interface;

[0264] The search results for the recommended search terms are displayed in the search interface.

[0265] Wherein, the recommended search terms correspond to the recommended search description; or,

[0266] In response to the triggering operation of the search entry, a search suggestion interface is displayed;

[0267] The search suggestion interface displays one or more candidate recommended search terms;

[0268] In response to the selection of a recommended search term from the candidate recommended search terms, a search interface is displayed;

[0269] The search results for the recommended search terms are displayed in the search interface.

[0270] In some embodiments, the search results include: brand information corresponding to the brands related to the recommended search terms;

[0271] Display module 820, used for:

[0272] The search interface displays brand information related to the recommended search terms.

[0273] In some embodiments, the brand information includes at least one of the following: brand image information, brand details information, and a brand product list; the search interface includes at least one of the following display areas: a first display area, a second display area, and a third display area.

[0274] Display module 820, used for:

[0275] The first display area displays the brand image corresponding to the brand related to the recommended search term, the second display area displays the brand details information corresponding to the brand related to the recommended search term, and the third display area displays the brand product list corresponding to the brand related to the recommended search term.

[0276] The first display area, the second display area, and the third display area are displayed in at least one of the following ways: displayed in the same row, displayed in the same column, displayed in sequence, or displayed randomly.

[0277] In some embodiments, the branded product list includes: candidate product options corresponding to the brand;

[0278] Display module 820, used for:

[0279] In response to a trigger operation on the target product option among the candidate product options, the product details interface of the target product corresponding to the target product option is displayed;

[0280] The product details page displays the product details information of the target product;

[0281] The product details information includes at least one of the following: product name, product description, product image, product store name, product price, product reviews, promotional activities, sales data, express delivery information, and shipping information.

[0282] In some embodiments, the display module 820 is configured to:

[0283] In response to a triggered operation on the brand image information, a brand promotion interface is displayed; or,

[0284] In response to a triggered operation on the brand details information, the brand promotion interface is displayed;

[0285] The brand promotion interface displays the brand promotion information.

[0286] The brand promotion information includes at least one of the following: promotional videos, promotional copy, visual elements, marketing activities, brand collaborations, brand stories, brand culture, and public welfare activities.

[0287] In some embodiments, the display module 820 is configured to:

[0288] In response to the content interface indicating that the at least one link message is of a preset type, the recommended search description and the search entry corresponding to the at least one link message are displayed in the chat session interface.

[0289] In some embodiments, the preset type includes at least one of the following:

[0290] The image interface corresponding to the image selected from the album or taken;

[0291] The video interface corresponding to the video selected or recorded from the album;

[0292] A document interface used to send document files;

[0293] A text interface used to send text content;

[0294] A location sharing interface for sharing geographic locations;

[0295] The resource claiming interface for sending virtual resources;

[0296] The gift-receiving interface for sending gifts;

[0297] A music sharing interface for sharing music;

[0298] A coupon sharing interface used to send discount coupons.

[0299] In some embodiments, the display module 820 is configured to:

[0300] In response to the content interface indicating that the at least one link message is of a preset type, the recommended search description and the search entry corresponding to the at least one link message are displayed in the surrounding area of ​​the at least one link message in the chat session interface.

[0301] In some embodiments, the recommended search description is displayed in at least one of the following forms:

[0302] Static text containing color; dynamic text containing dynamic effects; icons; graphic elements; animations.

[0303] In some embodiments, the display module 820 is configured to:

[0304] The search box is displayed in the search interface;

[0305] In response to an input action, the entered search term is displayed in the search box;

[0306] In response to a search operation, the search interface is updated to display the search results for the search term.

[0307] In some embodiments, a processing module is also included;

[0308] Processing module, used for:

[0309] AI technology is used to identify the content in the interface indicated by the at least one linked message;

[0310] Retrieve the account interest information of the user account from the user account database;

[0311] Based on the content in the content interface indicated by the at least one link message and the account interest information, the recommended search description is generated, and the recommended search terms corresponding to the recommended search description are determined.

[0312] In some embodiments, the content in the content interface indicated by the at least one link message includes at least one of the following:

[0313] Link title content, link description content, and web content;

[0314] The image thumbnail content and image cover image content corresponding to the image interface;

[0315] The video cover content and video frame sequence content corresponding to the video interface;

[0316] The document interface includes the document summary content and the full text content of the document.

[0317] The text summary content and full text content corresponding to the text interface;

[0318] The location information corresponding to the location sharing interface;

[0319] The resource claiming interface includes the corresponding claiming cover and resource information.

[0320] The gift information corresponding to the gift redemption interface;

[0321] The music information corresponding to the music sharing interface;

[0322] The coupon information corresponding to the coupon sharing interface.

[0323] In some embodiments, the processing module is configured to:

[0324] Based on the recommended search terms corresponding to the recommended search description, the product database is searched to obtain the search results of the recommended search description;

[0325] The product database stores at least one of the following information: brand image of different brands, brand details information, and brand product information.

[0326] It should be noted that the specific limitations of one or more embodiments of the instant messaging-based search device 800 provided above can be found in the limitations of the instant messaging-based search method above, and will not be repeated here. Each module of the above device can be implemented entirely or partially through software, hardware, or a combination thereof. Each module can be embedded in the processor of the computer device in hardware form or independent of the processor, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0327] This application also provides a computer device, which includes: a processor and a memory, wherein the memory stores a computer program; the processor is used to execute the computer program in the memory to implement the search method based on instant messaging provided in the above-described method embodiments.

[0328] Figure 10 is a structural block diagram of a computer device provided in an exemplary embodiment of this application.

[0329] Computer device 1000 can be a portable mobile terminal, such as: smartphone, tablet, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), unmanned reservation terminal, smart home appliance, smart voice interaction device, unmanned vending terminal. Computer device 1000 may also be referred to as user equipment, portable terminal, or other names.

[0330] Typically, computer device 1000 includes a processor 1001 and a memory 1002.

[0331] Processor 1001 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1001 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1001 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1001 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0332] The memory 1002 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1002 are used to store at least one instruction, which is executed by the processor 1001 to implement the instant messaging-based search method provided in the embodiments of this application.

[0333] In some embodiments, the computer device 1000 may also optionally include: a peripheral device interface 1003 and at least one peripheral device. Specifically, the peripheral device includes at least one of: a radio frequency circuit 1004, a touch display screen 1005, a camera assembly 1006, an audio circuit 1007, and a power supply 1008.

[0334] Peripheral device interface 1003 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1001 and memory 1002. In some embodiments, processor 1001, memory 1002 and peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1001, memory 1002 and peripheral device interface 1003 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0335] The radio frequency (RF) circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1004 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1004 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1004 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0336] The touch display screen 1005 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 1005 also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to the processor 1001 for processing. The touch display screen 1005 is used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one touch display screen 1005, located on the front panel of the computer device 1000; in other embodiments, there may be at least two touch display screens, respectively located on different surfaces of the computer device 1000 or in a folded design; in some embodiments, the touch display screen 1005 may be a flexible display screen, located on a curved or folded surface of the computer device 1000. Furthermore, the touch display screen 1005 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The touch display screen 1005 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).

[0337] The camera assembly 1006 is used to capture images or videos. Optionally, the camera assembly 1006 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is used for video calls or selfies, and the rear-facing camera is used for taking photos or videos. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, and a wide-angle camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, and panoramic shooting and VR (Virtual Reality) shooting by fusion of the main camera and the wide-angle camera. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0338] Audio circuit 1007 provides an audio interface between the user and computer device 1000. Audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to processor 1001 for processing, or input to radio frequency circuit 1004 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different location within computer device 1000. The microphone may also be an array microphone or an omnidirectional microphone. The speaker converts electrical signals from processor 1001 or radio frequency circuit 1004 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, audio circuit 1007 may also include a headphone jack.

[0339] Power supply 1008 is used to supply power to the various components in computer device 1000. Power supply 1008 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1008 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0340] In some embodiments, the computer device 1000 further includes one or more sensors 1009. The one or more sensors 1009 include, but are not limited to, an accelerometer 1010, a gyroscope 1011, a pressure sensor 1012, an optical sensor 1013, and a proximity sensor 1014.

[0341] Accelerometer 1010 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by computer device 1000. For example, accelerometer 1010 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 1001 can control touchscreen 1005 to display the user interface in landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1010. Accelerometer 1010 can also be used for games or for acquiring user motion data.

[0342] The gyroscope sensor 1011 can detect the orientation and rotation angle of the computer device 1000. The gyroscope sensor 1011 can work in conjunction with the accelerometer sensor 1010 to acquire the user's 3D movements on the computer device 1000. Based on the data acquired by the gyroscope sensor 1011, the processor 1001 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0343] The pressure sensor 1012 can be disposed on the side bezel of the computer device 1000 and / or on the lower layer of the touch display screen 1005. When the pressure sensor 1012 is disposed on the side bezel of the computer device 1000, it can detect the user's grip signal on the computer device 1000 and perform left / right hand recognition or quick operation based on the grip signal. When the pressure sensor 1012 is disposed on the lower layer of the touch display screen 1005, it can control operable controls on the UI interface based on the user's pressure operation on the touch display screen 1005. Operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0344] An optical sensor 1013 is used to collect ambient light intensity. In one embodiment, the processor 1001 can control the display brightness of the touch screen 1005 based on the ambient light intensity collected by the optical sensor 1013. Specifically, when the ambient light intensity is high, the display brightness of the touch screen 1005 is increased; when the ambient light intensity is low, the display brightness of the touch screen 1005 is decreased. In another embodiment, the processor 1001 can also dynamically adjust the shooting parameters of the camera assembly 1006 based on the ambient light intensity collected by the optical sensor 1013.

[0345] The proximity sensor 1014, also known as a distance sensor, is typically located on the front of the computer device 1000. The proximity sensor 1014 is used to detect the distance between the user and the front of the computer device 1000. In one embodiment, when the proximity sensor 1014 detects that the distance between the user and the front of the computer device 1000 is gradually decreasing, the processor 1001 controls the touch display screen 1005 to switch from a screen-on state to a screen-off state; when the proximity sensor 1014 detects that the distance between the user and the front of the computer device 1000 is gradually increasing, the processor 1001 controls the touch display screen 1005 to switch from a screen-off state to a screen-on state. Those skilled in the art will understand that the structure shown in FIG10 does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or employ different component arrangements.

[0346] In an exemplary embodiment, this application also provides a chip, which includes programmable logic circuits and / or computer instructions, and when the chip is run on a computer device, it is used to implement the instant messaging-based search method provided in the above method embodiments.

[0347] This application also provides a computer-readable storage medium storing a computer program, which is loaded and executed by a processor to implement the instant messaging-based search method provided in the above-described method embodiments.

[0348] This application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the processor of the computer device to load and execute the instant messaging-based search method provided in the above-described method embodiments.

[0349] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0350] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0351] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0352] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

A search method based on instant messaging, the method being executed by a computer device, the method comprising: At least one link message is displayed in the chat session interface; The chat session interface displays a recommended search description and search entry corresponding to the at least one linked message; In response to a trigger operation on the search entry, the search results are displayed. The method of claim 1, wherein, The response to the triggering operation of the search entry, displaying search results, includes: In response to a trigger operation on the search entry, the display switches to the search interface; The search results for the recommended search terms are displayed in the search interface. The recommended search terms correspond to the recommended search descriptions; or, In response to the triggering operation of the search entry, a search suggestion interface is displayed; The search suggestion interface displays one or more candidate recommended search terms; In response to the selection of a recommended search term from the candidate recommended search terms, a search interface is displayed; The search results for the recommended search terms are displayed in the search interface. The method of claim 2, wherein, The search results include: brand information corresponding to brands related to the recommended search terms; displaying the search results for the recommended search terms in the search interface includes: The search interface displays brand information related to the recommended search terms. The method of claim 3, wherein The brand information includes at least one of the following: brand image information, brand details information, and brand product list; the search interface includes at least one of the following display areas: a first display area, a second display area, and a third display area. The search interface displays brand information related to the recommended search terms, including: The first display area displays the brand image information corresponding to the brand related to the recommended search term; the second display area displays the brand details information corresponding to the brand related to the recommended search term; and the third display area displays the brand product list corresponding to the brand related to the recommended search term. The first display area, the second display area, and the third display area are displayed in at least one of the following ways: displayed in the same row, displayed in the same column, displayed in sequence, or displayed randomly. The method of claim 4, wherein, The brand product list includes: candidate product options corresponding to the brand; the method further includes: In response to a trigger operation on the target product option among the candidate product options, the product details interface of the target product corresponding to the target product option is displayed; The product details page displays the product details information of the target product; The product details information includes at least one of the following: product name, product description, product image, product store name, product price, product reviews, promotional activities, sales data, express delivery information, and shipping information. The method of claim 4, wherein, The method further includes: In response to a triggered operation on the brand image information, a brand promotion interface is displayed; or, In response to a triggered operation on the brand details information, the brand promotion interface is displayed; The brand promotion interface displays the brand promotion information. The brand promotion information includes at least one of the following: promotional videos, promotional copy, visual elements, marketing activities, brand collaborations, brand stories, brand culture, and public welfare activities. The method according to any one of claims 1 to 6, wherein The step of displaying the recommended search description and search entry corresponding to the at least one linked message on the chat session interface includes: In response to the content interface indicating that the at least one link message is of a preset type, the recommended search description and the search entry corresponding to the at least one link message are displayed in the chat session interface. The method of claim 7, wherein, The preset type includes at least one of the following: The image interface corresponding to the image selected from the album or taken; The video interface corresponding to the video selected or recorded from the album; A document interface used to send document files; A text interface used to send text content; A location interface for sharing geographic locations; The resource claiming interface for sending virtual resources; The gift-receiving interface for sending gifts; A music sharing interface for sharing music; A coupon sharing interface used to send discount coupons. The method according to claim 7 or 8, wherein The content interface responding to the at least one link message is of a preset type, and the recommended search description and search entry corresponding to the at least one link message are displayed in the chat session interface, including: In response to the content interface indicating that the at least one link message is of a preset type, the recommended search description and the search entry corresponding to the at least one link message are displayed in the surrounding area of ​​the at least one link message in the chat session interface. The method according to any one of claims 1 to 9, wherein The recommended search description is displayed in at least one of the following forms: Static text containing color; Dynamic text containing dynamic effects; icon; Graphic elements; Animation. The method according to any one of claims 1 to 6, wherein The method further includes: The search interface displays a search box; In response to an input action, the entered search term is displayed in the search box; In response to a search operation, the search interface is updated to display the search results for the search term. The method according to any one of claims 1 to 11, wherein The method further includes: AI technology is used to identify the content in the interface indicated by the at least one linked message; Retrieve the account interest information of the user account from the user account database; Based on the content in the content interface indicated by the at least one link message and the account interest information, the recommended search description is generated, and the recommended search terms corresponding to the recommended search description are determined. The method of claim 12, wherein, The content in the interface indicated by the at least one linked message includes at least one of the following: Link title content, link description content, and web content; The image thumbnail content and image cover image content corresponding to the image interface; The video cover content and video frame sequence content corresponding to the video interface; The document interface includes the document summary content and the full text content of the document. The text summary content and full text content corresponding to the text interface; The location information corresponding to the location sharing interface; The resource claiming interface includes the corresponding claiming cover and resource information. The gift information corresponding to the gift redemption interface; The music information corresponding to the music sharing interface; The coupon information corresponding to the coupon sharing interface. The method according to any one of claims 1 to 13, wherein The method further includes: Based on the recommended search terms corresponding to the recommended search description, the product database is retrieved to obtain the search results; The product database stores at least one of the following information: brand image information, brand details information, and brand product information for different brands. A search device based on instant messaging, the device comprising: The display module is used to display at least one linked message in the chat session interface; The display module is used to display a recommended search description and search entry corresponding to the at least one link message on the chat session interface; The display module is used to display search results in response to a trigger operation on the search entry. A computer device, the computer device comprising: A processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the instant messaging-based search method as described in any one of claims 1 to 14. A computer-readable storage medium storing a computer program, the computer program being loaded and executed by a processor to implement the instant messaging-based search method as described in any one of claims 1 to 14. A computer program product comprising computer instructions stored in a computer-readable storage medium, wherein a processor retrieves the computer instructions from the computer-readable storage medium, causing the processor to load and execute the instant messaging-based search method as described in any one of claims 1 to 14.