Content search method and apparatus, and device and storage medium

By configuring controls to switch search modes and using models to generate content, the problem of low information retrieval efficiency in existing technologies is solved, achieving rich content display and efficient information retrieval.

WO2026243113A1PCT designated stage Publication Date: 2026-11-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/098123
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-20
Filing Date
2026-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing content search methods struggle to provide rich and efficient response content in search results interfaces, resulting in low efficiency in obtaining user information.

Method used

Switching to the first search mode via configuration controls allows the model to generate at least a portion of the first content, which is then displayed in the first area of ​​the search results interface. Simultaneously, search results based on the input content are displayed in the second area. This supports diverse content display and interaction, including status information, viewing controls, and switching of content components.

Benefits of technology

It improves the efficiency of content search and user interaction experience, provides rich response content, and enhances the convenience and completeness of information acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026098123_26112026_PF_FP_ABST
    Figure CN2026098123_26112026_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure relate to a content search method and apparatus, and a device and a storage medium. The method provided herein comprises: acquiring input content by means of an input component, wherein the input component comprises a configuration control for configuring a search mode; and in response to the configuration control indicating a first search mode, presenting, in a first region of a search result interface, at least part of first content generated by a model on the basis of the input content, and presenting, in a second region of the search result interface, at least one search result determined on the basis of the input content.
Need to check novelty before this filing date? Find Prior Art

Description

Methods, apparatus, devices and storage media for content search

[0001] This application claims priority to Chinese Patent Application No. 202510655637.2, filed on May 20, 2025, entitled "Method, Apparatus, Device and Storage Medium for Content Search", the entire contents of which are incorporated herein by reference. Technical Field

[0002] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatus, devices, and computer-readable storage media for content search. Background Technology

[0003] With the development of computer technology, more and more applications are able to provide media content. Various types of media content can provide people with information, education, lifestyle, and entertainment. When viewers are interested in specific content within the media, they can go to the search page and enter relevant search terms to conduct a search. Summary of the Invention

[0004] In a first aspect of this disclosure, a method for content search is provided. The method includes: acquiring input content via an input component, the input component including a configuration control for configuring a search mode; and, in response to the configuration control indicating a first search mode, presenting at least a portion of first content generated by a model based on the input content in a first area of ​​a search results interface, and presenting at least one search result determined based on the input content in a second area of ​​the search results interface.

[0005] In a second aspect of this disclosure, an apparatus for content search is provided. The apparatus includes: an acquisition module configured to acquire input content via an input component, the input component including a configuration control for configuring a search mode; and a first presentation module configured to, in response to an indication of a first search mode by the configuration control, present at least a portion of first content generated by a model based on the input content in a first area of ​​a search results interface, and present at least one search result determined based on the input content in a second area of ​​the search results interface.

[0006] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the method of the first aspect.

[0007] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions that can be executed by a processor to implement the method of the first aspect.

[0008] In a fifth aspect of this disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.

[0009] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:

[0011] Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure may be implemented;

[0012] Figures 2A to 2J illustrate example interfaces according to some embodiments of the present disclosure;

[0013] Figure 3 illustrates a flowchart of an example process for content search according to some embodiments of the present disclosure;

[0014] Figure 4 shows a schematic structural block diagram of an example device for content search according to some embodiments of the present disclosure; and

[0015] Figure 5 shows a block diagram of an electronic device capable of implementing several embodiments of the present disclosure. Detailed Implementation

[0016] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0017] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0018] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0019] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.

[0020] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.

[0021] As mentioned above, with the development of computer technology, more and more applications are able to provide media content. Various types of media content can provide people with information, education, lifestyle, and entertainment. When viewers are interested in specific content within the media, they can go to the search page and enter relevant search terms to conduct a search.

[0022] Embodiments of this disclosure propose a content search scheme. The scheme includes: acquiring input content via an input component, the input component including a configuration control for configuring a search mode; and, in response to the configuration control indicating a first search mode, presenting at least a portion of first content generated by a model based on the input content in a first area of ​​a search results interface, and presenting at least one search result determined based on the input content in a second area of ​​the search results interface.

[0023] In this way, embodiments of the present disclosure can provide users with richer response content (including the first content generated by the model and the search results determined based on the input content) in the first search mode, thereby effectively improving the efficiency of information acquisition.

[0024] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.

[0025] Example Environment

[0026] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in Figure 1, the example environment 100 may include an electronic device 110.

[0027] In this example environment 100, electronic device 110 may run an application 120 that supports content search. Application 120 may be any suitable type of application for content search, examples of which may include, but are not limited to, search applications, content sharing applications, or other suitable applications. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.

[0028] In environment 100 of Figure 1, if application 120 is active, electronic device 110 can present interface 150 for supporting content search through application 120.

[0029] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).

[0030] Server 130 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 services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support content search in electronic devices 110.

[0031] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.

[0032] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.

[0033] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.

[0034] Example Interaction

[0035] Figures 2A to 2J illustrate example interfaces 200A to 200J according to some embodiments of the present disclosure. Interfaces 200A to 200J may be provided, for example, by the electronic device 110 shown in Figure 1.

[0036] In some embodiments, electronic device 110 acquires input content via an input component, which includes configuration controls for configuring modes. As an example, as shown in FIG2A, electronic device 110 can present a search intermediate interface to user 140, such as interface 200A. Electronic device 110 can provide input component 205 to user 140 in interface 200A, for example, input component 205 configured to acquire input content from user 140. Such input content can be, for example, a search term entered by user 140 or a suggestion term entered by user 140. By default, input control 205 corresponds to a second search mode. This second search mode can, for example, indicate a content search based on the content acquired via the input control (e.g., a search term entered by user 140).

[0037] In some scenarios, electronic device 110 can provide configuration control 210 for user 140 in input component 205. Configuration control 210 can be used, for example, to configure the search mode corresponding to input component 205. The search mode can include, for example, a first search mode and a second search mode. The first search mode can be, for example, a content generation mode, which can instruct the model to generate corresponding first content based on the input content received by input component 205. When configuration control 210 is triggered by user 140 (e.g., by clicking or double-clicking), electronic device 110 can switch input component 205 from the second search mode to the first search mode. After electronic device 110 obtains input content via input component 205, it can send the input content to server 130 to trigger server 130 to perform a search based on the input content in the first search mode. The model here can be any suitable generative model for content generation; the specific type of model can be set by those skilled in the art, and this disclosure does not limit this.

[0038] In other scenarios, the input component 205 can be provided not only in the search interface but also in other interfaces by the electronic device 110 to the user 140. For example, the electronic device 110 can provide the input component 205 to the user 140 in the information flow viewing interface to receive the input content of the user 140 through the input control 205.

[0039] Alternatively or additionally, the electronic device 110 may also provide the user 140 with various search information in the interface 200A. Such search information may include, for example, historical search terms or recommended search terms associated with the interface 200A. Recommended search terms may, for example, be determined based on historical interactions with the interface 200A.

[0040] In some embodiments, to facilitate user searches and enable better browsing of search results, the electronic device 110 may present the input component in different styles across different interfaces. Specifically, before obtaining input content via the input component, the electronic device 110 may present an input component corresponding to a first style. The first style differs from the second style of the input component in the search results interface. The first and second styles at least indicate the display position and / or display size of the configuration control within the input component. The first style indicates the display of image and text elements within the configuration control.

[0041] As an example, as shown in FIG2A, electronic device 110 may present input component 205 in interface 200A in a first style. The first style at least indicates the display position and display size of configuration control 210 in input component 205, as well as the content presented in configuration control 210. For example, electronic device 110 may present input component 205 in interface 200A at a first display size. Further, electronic device 110 may present configuration control 210 at a first position 216 in input component 205 with a second display size, and electronic device 110 may also present image element 217 and text element 218 in configuration control 210. The image element 217 and text element 218 here may be, for example, pre-set image elements and text elements. The process of presenting input component in search results interface in the second style will be described later, and will not be elaborated on here. The various display sizes, display positions, image elements and text elements here can be set by those skilled in the art according to their needs, and this disclosure does not impose any limitations on them.

[0042] In some embodiments, to enable user 140 to fully view their input content, during the acquisition of input content, electronic device 110 may increase the size of the input area in the input component in response to the length of the input content exceeding a preset length. As an example, as shown in FIG2B, when electronic device 110 determines that the length of the input content entered by user 140 exceeds a preset length, electronic device 110 may increase the size of the input area 220 in input component 205. For example, when the number of characters in the input content reaches a preset number, electronic device 110 may increase the size of the input area 220 in input component 205 to fully present the content entered by user 140 within the input area 220. The preset length can be set by those skilled in the art according to their needs, and this disclosure does not impose any limitations on it.

[0043] In some embodiments, when the input component 205 corresponds to a first search mode, the electronic device 110 can trigger the server 130 to perform a content search based on the input content in the first search mode to present a search results interface. Specifically, in response to a configuration control indicating the first search mode, the electronic device 110 presents at least a portion of the first content generated by the model based on the input content in a first area of ​​the search results interface, and presents at least one search result determined based on the input content in a second area of ​​the search results interface.

[0044] As an example, as shown in Figures 2A and 2C, electronic device 110 can receive a trigger from user 140 on configuration control 210, map input component 205 to a first search mode, and obtain input content from user 140 via input component 205. When search control 215 in input component 205 is triggered by user 140, electronic device 110 can trigger server 130 to perform content search based on input content in the first search mode and present search results interface to user 140. This search results interface could be, for example, interface 200C. Further, while the first content is being generated, electronic device 110 can display a loading animation in a first area (e.g., area 225) of interface 200C to indicate that the first content is being generated by the model. After the first content is generated by the model, as shown in Figure 2D, electronic device 110 can display at least a portion of the first content generated by the model based on the input content in a first area (e.g., area 225) of interface 200D. In some scenarios, electronic device 110 may also present at least one search result determined by server 130 based on the input content in a second area (e.g., area 230) of the search results interface (e.g., interface 200C). This at least one search result is a natural search result, which is a search result related to the input content determined by server 130 from a predetermined data source using a search engine. The position and size of the first and second areas can be set by those skilled in the art, and this disclosure does not impose any limitations on this.

[0045] In this way, embodiments of the present disclosure can provide user 140 with richer response content (e.g., first content generated by the model and search results determined based on the input content) in the first search mode, thereby effectively improving the efficiency of content search.

[0046] In some embodiments, before presenting at least a portion of the first content generated by the model based on the input content in the first area of ​​the interface, the electronic device 110 may present descriptive information generated by the model in the first area. The descriptive information indicates the model processing associated with generating the first content. As an example, as shown in FIG2C, during the generation of the first content, the electronic device 110 may present the processing of the model generating the first content based on the input content in the first area (e.g., area 225). Such a processing could be, for example, a Chain of Thought (COT) by which the model generates the first content. A chain of thought refers to the process by which the model breaks down a relatively complex problem and forms a complete thought process through a series of logically related considerations.

[0047] In some embodiments, the electronic device 110 may present the input component 205 in a second style in the search results interface. As an example, as shown in FIG2C, the electronic device 110 may present the input component 205 in a third display size in the search results interface (e.g., interface 200C). Furthermore, the electronic device 110 may also present the configuration control 210 at a second position 219 in the input component 205 in a fourth display size, and display the graphical element 217 only in the configuration control 210.

[0048] In some embodiments, to facilitate content browsing for users, the electronic device 110 may present a positioning element in the search results interface. This positioning element is configured to trigger the positioning of the search results interface to a first area. When the positioning element is triggered by the user 140 (e.g., by clicking or double-clicking), the electronic device 110 can position the search results interface to the first area to display the first content generated by the model based on the input content to the user 140.

[0049] In some embodiments, to more clearly present the generation status of the first content to the user, the electronic device 110 may display status information in a first area. The status information indicates the generation status of the first content. As an example, as shown in Figures 2C and 2D, the electronic device 110 may display status information in a first area (e.g., area 225). Such status information may include, for example, graphic elements or text information. Taking text information as an example, when the first content is being generated, the electronic device 110 may display first text information 231 in the first area (e.g., area 225). The first text information 231 indicates that the first content is being generated, and may be, for example, "planning". After the first content is displayed in the first area (e.g., area 225), the electronic device 110 may display second text information 232 in the first area. The second text information 232 indicates that the first content has been generated, and may be, for example, "answering for you".

[0050] In this way, the embodiments of this disclosure can represent the generation status of the first content through different status information, so that the user 140 can know the generation status of the first content at all times. This not only provides the user 140 with more information about the first content, but also effectively improves the user 140's interactive experience.

[0051] In some embodiments, the electronic device 110 may, in response to the content size of the first content being larger than the first size corresponding to the first area, present a first portion of the first content corresponding to the first size in the first area. Further, the electronic device 110 may present a first viewing control in the first area.

[0052] As an example, as shown in Figure 2D, after the first content is generated, the electronic device 110 can determine the content size corresponding to the first content. This content size can be, for example, the size required to fully present the first content. When the content size corresponding to the first content is larger than the first size corresponding to the first area (e.g., area 225), in order to provide diverse response content to the user 140 in the search results interface (e.g., interface 200D), the electronic device 110 can present only the first part of the first content in the first area (e.g., area 225). For example, the first content is an introduction to musical instruments. The first content includes a definition section and a classification section. The definition section of the first content corresponds to the first size of area 225, so the electronic device 110 can present only the definition section of the first content in area 225. In this way, the embodiments of this disclosure can limit the portion presented in the first content to provide users with more diverse response content (including search results determined based on input content) in the search results interface, thereby effectively improving the efficiency of information acquisition.

[0053] In some scenarios, the electronic device 110 may also present a first viewing control 235 in a first area (e.g., area 225). The first viewing control 235 is used to trigger an adjustment of the size of the first area (e.g., area 225) to present more of the first content in the first area (e.g., area 225).

[0054] In some embodiments, the electronic device 110 may receive a trigger on the first viewing control. Further, in response to a content size being less than or equal to a preset second size, the electronic device 110 may present the complete content of the first content in the search results interface.

[0055] As an example, as shown in Figures 2D and 2E, electronic device 110 can present a first viewing control 235 in interface 200D. When the first viewing control 235 is triggered by user 140 (e.g., by clicking or double-clicking), electronic device 110 can determine the size of the first content and the size of a second size. This second size may, for example, correspond to a third area 240. When it is determined that the size of the first content is less than or equal to the second size corresponding to the third area 240, electronic device 110 can present the complete content of the first content in the third area 240. For example, when user 140 clicks the first viewing control 235, electronic device 110 can expand the first area (e.g., area 225) to present the third area 240 in interface 200E. Furthermore, when it is determined that the size required to fully display the first content is less than or equal to the size corresponding to the third area 240, electronic device 110 can fully display the first content in the third area 240.

[0056] In some embodiments, the electronic device 110 may, in response to a content size exceeding a second size, present a second portion of the first content corresponding to the second size in the search results interface, and also present a second viewing control in the search results interface. As an example, as shown in FIG2E, when the content size of the first content exceeds the second size of the third area 240, the electronic device 110 may present the second portion of the first content corresponding to the second size in the search results interface 200E. For example, the first content includes an instrument introduction section, an instrument definition section, and an instrument category section. When it is determined that the size required to fully display the first content exceeds the second size of the third area 240, the electronic device 110 may present only the instrument definition section and the instrument category section corresponding to the second size in the first content in the third area 240, without presenting the instrument introduction section in the third area 240. In some scenarios, when the content size exceeds the second size, the electronic device 110 may also present a second viewing control 245 in the search results interface. This second viewing control 245 may also be referred to as a secondary expansion control.

[0057] Furthermore, the electronic device 110 can respond to the triggering of the second viewing control by presenting the complete content of the first content in the search results interface. As an example, as shown in Figures 2E and 2F. When the second viewing control 245 is triggered by the user 140, the electronic device 110 can further expand the third area 240 to present a fourth area 250 in the interface 200F. In other words, when the second viewing control 245 is clicked by the user 140, the electronic device 110 can expand the size of the third area 240 to obtain the fourth area 250. When the fourth area 250 is presented in the interface 200F, the electronic device 110 can fully display the first content in the fourth area 250.

[0058] In some scenarios, electronic device 110 can also provide follow-up control 255 to user 140 in the fourth area 250. When follow-up control 255 is triggered by user 140, electronic device 110 can provide additional input control to receive additional input content from user 140. Furthermore, after receiving the additional input content, electronic device 110 can trigger server 130 to generate response content based on the additional input content and user 140's input content, thereby providing follow-up service to user 140.

[0059] In some embodiments, electronic device 110 may provide a content component in a first area of ​​a search results interface. The content component presents at least a portion of first content. Here, the first content corresponds to text content. As an example, as shown in FIG2D, electronic device 110 may provide a content component 260 in a first area (e.g., area 225) of a search results interface (e.g., interface 200D). Here, content component 260 may be, for example, a container for presenting the first content. Content component 260 includes at least a portion of the first content generated by a model based on input content. By default, the first content generated by the model based on input content may be text content.

[0060] Furthermore, the electronic device 110 can update the content component in response to receiving a switching request associated with the content component, so as to present the canvas content generated based on the input content. As an example, as shown in FIG2F, when the electronic device 110 receives a switching request associated with the content component 260, the electronic device 110 can update the content component 260 to present the canvas content generated by the model based on the input content in the content component 260.

[0061] In some embodiments, unlike the plain text content generated by the model, the canvas content may also include other modalities such as graphics, images, and videos. As an example, instead of directly generating text content, the model can generate code files to drive the canvas components to draw the corresponding canvas content, and the drawing components at the electronic device 110 or server 130 will draw the corresponding canvas content based on the code files. Compared to plain text content, canvas content can vividly display the model's response through richer visual information, thereby improving the efficiency of user understanding of the model's response. In this way, embodiments of this disclosure support users switching the content presented in the content components, thereby providing users with multiple types of response content and improving information acquisition efficiency.

[0062] In some scenarios, the canvas content can correspond to a preset style, which can be determined by the model based on the size of the content component 260. For example, when generating canvas content, the model can divide the content component 260 into multiple regions based on its size. These multiple regions are used to present different parts of the response content generated by the model based on the input content.

[0063] For example, the response content generated by the model based on the input content includes an instrument introduction section, an instrument definition section, and an instrument category section. Each of these sections includes corresponding text content and graphic elements. When determining the preset style of the canvas content, the model can divide the content component 260 into multiple regions. These multiple regions could include, for example, regions 261, 262, and 263. The electronic device 110 can place the text content and graphic elements of the instrument introduction section in region 261, the text content and graphic elements of the instrument definition section in region 262, and the text content and graphic elements of the instrument category section in region 263 to determine the preset style corresponding to the canvas content.

[0064] In some embodiments, the electronic device 110 may present a first label corresponding to text content and a second label corresponding to canvas content in the content component. Further, the electronic device 110 may receive a switching request associated with the content component based on a triggering of the second label.

[0065] As an example, as shown in Figures 2F and 2G, the electronic device 110 can provide a first label 265 and a second label 266 in the content component 260. The first label 265 corresponds to text content, and the second label 266 corresponds to canvas content. When the second label 266 is triggered by the user 140, the electronic device 110 can receive a switching request associated with the content component 260 and switch the text content currently displayed in the content component 260 to canvas content.

[0066] The embodiments of this disclosure provide user 140 with multiple tabs to switch the content presented in content component 260. In this way, the embodiments of this disclosure can effectively improve the efficiency of content switching.

[0067] In some embodiments, the electronic device 110 can switch the input component from a first search mode to a second search mode via a configuration control. Further, the electronic device 110 can update the search results interface to stop displaying the first content. As an example, as shown in FIG2H, the electronic device 110 can display a configuration control 210 in the input component 205. When the configuration control 210 is triggered by the user 140, the electronic device 110 can display a mode switching component 270 in the interface 200H. The mode switching component 270 includes labels 271 and 272, where label 271 is associated with the first search mode and label 272 is associated with the second search mode. When label 272 is selected by the user 140, the electronic device 110 can switch the input component 205 from the first search mode to the second search mode. Further, as shown in FIG2I, the electronic device 110 can also update the search results interface (e.g., interface 200I) to display at least one search result (e.g., search result 273) determined by the server 130 based on the input content in the interface 200I, and stop displaying the first content generated by the model based on the input content.

[0068] The embodiments of this disclosure allow user 140 to quickly switch the search mode corresponding to the input component via a configuration control. In this way, the embodiments of this disclosure can effectively improve the mode switching efficiency of the input component.

[0069] In some embodiments, electronic device 110 may, in response to input content meeting preset conditions, present second content generated based on results associated with the input content in the search results interface. As an example, as shown in FIG2J, input component 205 may be in a second search mode. After receiving input content from user 140 via input component 205, electronic device 110 may provide the input content to server 130 so that server 130 can determine the type of input content. If the type of input content matches a preset class, server 130 may instruct the model to generate second content based on results associated with the input content and send the second content to electronic device 110. After receiving the second content, electronic device 110 may present the second content in content component 275. The second content may be presented at any position in content display area 280, while the first content mentioned above needs to be presented at the top of content display area 280. The preset type may be, for example, a question type. For example, if the input content is "How's the weather today?", server 130 may determine that the input content corresponds to a preset type (i.e., a question type). Furthermore, server 130 can trigger the model to generate second content based on search results associated with the input content, so that electronic device 110 presents the second content at an appropriate location in content display area 280.

[0070] In this way, embodiments of the present disclosure can provide users with richer response content (including the first content generated by the model and the search results determined based on the input content) in the first search mode, thereby effectively improving the efficiency of information acquisition.

[0071] Example process

[0072] Figure 3 illustrates a flowchart of an example process 300 for content searching according to some embodiments of the present disclosure. Process 300 may be implemented at electronic device 110. Process 300 will now be described with reference to Figure 1.

[0073] As shown in Figure 3, in box 310, electronic device 110 obtains input content via an input component, which includes a configuration control for configuring the search mode.

[0074] In box 320, in response to a configuration control indicating a first search mode, the electronic device 110 presents at least a portion of the first content generated by the model based on the input content in a first area of ​​the search results interface, and presents at least one search result determined based on the input content in a second area of ​​the search results interface.

[0075] In some embodiments, process 300 further includes: switching the input component from a first search mode to a second search mode via a configuration control; and updating the search results interface to stop displaying the first content.

[0076] In this way, the embodiments of this disclosure can quickly switch the search mode of the input component through configuration controls, thereby effectively improving the efficiency of search mode switching.

[0077] In some embodiments, updating the search results interface further includes: in response to the input content meeting preset conditions, presenting second content generated based on search results related to the input content in the search results interface.

[0078] In this way, the embodiments of this disclosure can still provide users with the second content generated by the model in the second search mode, thereby providing users with richer response content and effectively improving the efficiency of information acquisition.

[0079] In some embodiments, before obtaining input content via the input component, the method further includes: presenting an input component corresponding to a first style, wherein the first style is different from a second style of the input component in the search results interface.

[0080] In this way, embodiments of this disclosure display input components in different interfaces using different styles, thereby enabling users to better distinguish the presentation scenarios of input components.

[0081] In some embodiments, the first style and the second style at least indicate the display position and / or display size of the configuration control in the input component.

[0082] In this way, embodiments of this disclosure can display configuration controls in different styles, thereby improving the user's interactive experience.

[0083] In some embodiments, a first style indicates that graphical and text elements are displayed in the configuration control, and a second style indicates that graphical elements are displayed in the configuration control.

[0084] In this way, embodiments of this disclosure can display configuration controls in different styles, thereby improving the user's interactive experience.

[0085] In some embodiments, process 300 further includes: during the acquisition of input content, in response to the length of the input content being greater than a preset length, increasing the size of the input area in the input component.

[0086] In this way, embodiments of the present disclosure can dynamically adjust the size of the input area so that users can view the input content more completely.

[0087] In some embodiments, presenting at least a portion of first content generated by the model based on the input content in a first area of ​​the search results interface includes: in response to the content size of the first content being larger than a first size corresponding to the first area, presenting a first portion of the first content corresponding to the first size in the first area; and presenting a first viewing control in the first area.

[0088] In this way, embodiments of the present disclosure can limit the presentation of the first content by presenting the first part of the first content on the search results page, thereby allowing more other content to be presented on the search results page, which can effectively improve the efficiency of information acquisition.

[0089] In some embodiments, process 300 further includes: receiving a trigger on a first viewing control; and, in response to a content size being less than or equal to a preset second size, presenting the complete content of the first content in the search results interface.

[0090] In this way, the embodiments of this disclosure can adjust the size of the first area after the first viewing control is triggered, so that the user can view the first content completely in the first area, thereby effectively improving the efficiency of information acquisition.

[0091] In some embodiments, process 300 further includes: in response to the content size exceeding the second size, presenting a second portion of the first content corresponding to the second size in the search results interface, and presenting a second viewing control in the search results interface; and in response to triggering the second viewing control, presenting the complete content of the first content in the search results interface.

[0092] In this way, the embodiments of this disclosure can expand the presentation area of ​​the first content a second time to present the complete content of the first content in the search results page, thereby effectively improving the presentation efficiency of information.

[0093] In some embodiments, process 300 further includes: presenting status information in a first area, the status information indicating the generation status of the first content.

[0094] In this way, embodiments of the present disclosure can represent the generation status of the first content through status information, thereby allowing users to know the generation status of the first content at all times, thereby improving the efficiency of information display.

[0095] In some embodiments, presenting at least a portion of first content generated by a model based on input content in a first area of ​​a search results interface includes: providing a content component in the first area of ​​the search results interface, the content component presenting at least a portion of the first content, the first content corresponding to text content; and updating the content component in response to receiving a switching request associated with the content component to present canvas content generated based on the input content.

[0096] In this way, embodiments of the present disclosure can support users to switch the content presented in the content component, thereby providing users with a variety of response content and improving the efficiency of information acquisition.

[0097] In some embodiments, process 300 further includes: presenting a first label corresponding to text content and a second label corresponding to canvas content in a content component; and receiving a switching request associated with the content component based on a triggering of the second label.

[0098] In this way, embodiments of the present disclosure can switch the content presented by the content component through multiple tags, thereby making it more convenient for users to switch content and improving the efficiency of content switching.

[0099] In some embodiments, before presenting at least a portion of the first content generated by the model based on the input content in a first area of ​​the search results interface, process 300 further includes: presenting descriptive information generated by the model in the first area, the descriptive information indicating the model processing associated with generating the first content.

[0100] In this way, embodiments of the present disclosure can present descriptive information generated by the model to users, thereby providing users with richer information and effectively improving the efficiency of information acquisition.

[0101] Example devices and equipment

[0102] Embodiments of this disclosure also provide corresponding apparatus for implementing the methods or processes described above. FIG4 shows a schematic structural block diagram of an example apparatus 400 for content search according to certain embodiments of this disclosure. Apparatus 400 may be implemented as or included in electronic device 110. The various modules / components in apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0103] As shown in Figure 4, the device 400 includes: an acquisition module 410 configured to acquire input content via an input component, the input component including a configuration control for configuring a search mode; and a first presentation module 420 configured to, in response to the configuration control indicating a first search mode, present at least a portion of first content generated by a model based on the input content in a first area of ​​the search results interface, and present at least one search result determined based on the input content in a second area of ​​the search results interface.

[0104] In some embodiments, the device 400 further includes an update module configured to switch the input component from a first search mode to a second search mode via a configuration control; and to update the search results interface to stop displaying the first content.

[0105] In some embodiments, the update module is further configured to, in response to the input content meeting preset conditions, present second content generated based on search results related to the input content in the search results interface.

[0106] In some embodiments, the device 400 further includes a second presentation module configured to present an input component corresponding to a first style before obtaining input content via the input component, wherein the first style is different from the second style of the input component in the search results interface.

[0107] In some embodiments, the first style and the second style at least indicate the display position and / or display size of the configuration control in the input component.

[0108] In some embodiments, a first style indicates that graphical and text elements are displayed in the configuration control, and a second style indicates that graphical elements are displayed in the configuration control.

[0109] In some embodiments, the device 400 further includes a first adjustment module configured to increase the size of the input area in the input component in response to the length of the input content being greater than a preset length during the acquisition of input content.

[0110] In some embodiments, the first presentation module 420 is further configured to: in response to the content size of the first content being greater than the first size corresponding to the first region, present a first portion of the first content corresponding to the first size in the first region; and present a first viewing control in the first region.

[0111] In some embodiments, the device 400 further includes a second adjustment module configured to receive a trigger on the first viewing control; and to present the complete content of the first content in the search results interface in response to the content size being less than or equal to a preset second size.

[0112] In some embodiments, the device 400 further includes a third presentation module configured to, in response to a content size exceeding a second size, present a second portion of the first content corresponding to the second size in the search results interface, and present a second viewing control in the search results interface; and, in response to triggering the second viewing control, present the complete content of the first content in the search results interface.

[0113] In some embodiments, the device 400 further includes a status presentation module configured to present status information in a first area, the status information indicating the generation status of the first content.

[0114] In some embodiments, the first presentation module 420 is further configured to: provide a content component in a first area of ​​the search results interface, the content component presenting at least a portion of first content, the first content corresponding to text content; and update the content component in response to receiving a switching request associated with the content component to present canvas content generated based on the input content.

[0115] In some embodiments, the device 400 further includes a switching module configured to present a first label corresponding to text content and a second label corresponding to canvas content in a content component; and to receive a switching request associated with the content component based on a triggering of the second label.

[0116] In some embodiments, the apparatus 400 further includes a description information presentation module configured to present, in a first area of ​​the search results interface, at least a portion of the first content generated by the model based on the input content, description information generated by the model indicative of the model processing associated with the generation of the first content.

[0117] The modules included in device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more modules may be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 400 may be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that may be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0118] Figure 5 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 500 shown in Figure 5 is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. The electronic device 500 shown in Figure 5 can be used to implement the electronic device 110 discussed above.

[0119] As shown in Figure 5, the electronic device 500 is in the form of a general-purpose electronic device. Components of the electronic device 500 may include, but are not limited to, one or more processing units or processors 510, memory 520, storage devices 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processor 510 may be a physical or virtual processor and is capable of performing various processes according to the programs stored in the memory 520. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.

[0120] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.

[0121] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks may be provided. In these cases, each drive may be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0122] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0123] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).

[0124] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.

[0125] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0126] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0127] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0128] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0129] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for content search, comprising: acquiring input content via an input component, the input component comprising a configuration control for configuring a search mode; and in response to the configuration control indicating a first search mode, presenting, in a first area of a search result interface, at least a portion of first content generated by a model based on the input content, and presenting, in a second area of the search result interface, at least one search result determined based on the input content. 2.The method of claim 1, further comprising: switching, via the configuration control, the input component from the first search mode to a second search mode; and updating the search result interface to stop presenting the first content. 3.The method of claim 2, wherein updating the search result interface further comprises: in response to the input content satisfying a preset condition, presenting, in the search result interface, second content generated based on search results related to the input content. 4.The method of any one of claims 1 to 3, wherein before acquiring input content via an input component, the method further comprises: presenting the input component in a first style, wherein the first style is different from a second style of the input component in the search result interface. 5.The method of claim 4, wherein the first style and the second style at least indicate a display position and / or a display size of the configuration control in the input component. 6.The method of claim 4, wherein the first style indicates displaying a graphical element and a text element in the configuration control, and the second style indicates displaying the graphical element in the configuration control. 7.The method of any one of claims 1 to 6, further comprising: in response to a length of the input content being greater than a preset length during acquiring the input content, increasing a size of an input area in the input component. 8.The method of any one of claims 1 to 7, wherein presenting, in a first area of a search result interface, at least a portion of first content generated by a model based on the input content comprises: in response to a content size of the first content being greater than a first size corresponding to the first area, presenting, in the first area, a first portion of the first content corresponding to the first size; and presenting, in the first area, a first view control. 9.The method of claim 8, further comprising: receiving a trigger of the first view control; and in response to the content size being less than or equal to a preset second size, presenting, in the search interface, a complete content of the first content. 10.The method of claim 9, further comprising: in response to the content size exceeding the second size, presenting, in the search interface, a second portion of the first content corresponding to the second size, and presenting, in the search interface, a second view control; and in response to a trigger of the second view control, presenting, in the search interface, the complete content of the first content. ​ ​ ​ ​ ​ 11. The method of any of claims 1-10, further comprising: presenting, in the first region, status information indicating a generation status of the first content.

12. The method of any of claims 1-11, wherein presenting, in a first region of a search result interface, at least a portion of first content generated by a model based on the input content comprises: providing, in the first region of the search result interface, a content component that presents the at least portion of the first content, the first content corresponding to textual content; and in response to receiving a toggle request associated with the content component, updating the content component to present canvas content generated based on the input content.

13. The method of claim 12, further comprising: presenting, in the content component, a first label corresponding to the textual content and a second label corresponding to the canvas content; and based on a trigger of the second label, receiving the toggle request associated with the content component.

14. The method of any one of claims 1 to 13, wherein, prior to the presenting, in a first region of a search result interface, at least a portion of first content generated by a model based on the input content, the method further comprising: presenting, in the first region, description information generated by the model, the description information indicating a model processing procedure associated with generating the first content.

15. An apparatus for content search, comprising: an obtaining module configured to obtain input content via an input component, the input component including a configuration control for configuring a search mode; and a first presenting module configured to, in response to the configuration control indicating a first search mode, present, in a first region of a search result interface, at least a portion of first content generated by a model based on the input content, and present, in a second region of the search result interface, at least one search result determined based on the input content.

16. An electronic device, comprising: at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, cause the electronic device to perform the method of any of claims 1-14.

17. A computer-readable storage medium having computer-executable instructions stored therein, the computer-executable instructions executable by a processor to implement the method of any of claims 1-14.

18. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method of any of claims 1-14.