Content searching method and device, equipment and storage medium

By presenting the content generated by the model in the search result interface and search results, the problem of low media content search efficiency is solved, and more efficient information acquisition and user-friendly interactive experience is achieved.

CN120492709APending Publication Date: 2025-08-15BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510655637.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

In the prior art, media content search efficiency is low, making it difficult for users to obtain rich response content.

Method used

The input content is obtained through the input component and in response to the configuration control indicating the first search mode, the content generated by the model and the search results are presented in different areas of the search result interface, supporting switching and presentation of various content types.

Benefits of technology

It improves the efficiency of information acquisition, provides rich responsive content, and enhances user interaction experience and content browsing convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120492709A_ABST
    Figure CN120492709A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a content searching method and device, equipment and a storage medium. The method comprises the steps that input content is obtained through an input component, and the input component comprises a configuration control used for configuring a search mode; and in response to a first search mode indicated by the configuration control, presenting at least part of first content generated by a model based on the input content in a first region of a search result interface, and presenting at least one search result determined based on the input content in a second region of the search result interface. In this way, the information obtaining efficiency can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to a method, apparatus, device, and computer-readable storage medium for content search. Background Art

[0002] With the development of computer technology, more and more applications are capable of providing media content. This diverse range of media content provides information, education, lifestyle, and entertainment. When viewers are interested in relevant content within the media, they can go to the search page and enter the corresponding search term to conduct a search. Summary of the Invention

[0003] In a first aspect of the present disclosure, a method for content search is provided. The method comprises: obtaining 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.

[0004] In a second aspect of the present disclosure, a device for content search is provided. The device 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 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 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.

[0005] In a third aspect of the present 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.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein computer-executable instructions are stored on the computer-readable storage medium, and the computer-executable instructions can be executed by a processor to implement the method of the first aspect.

[0007] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0009] Figure 1 A schematic diagram illustrating an example environment in which embodiments according to the present disclosure may be implemented;

[0010] Figures 2A to 2J shows an example interface according to some embodiments of the present disclosure;

[0011] Figure 3 A flowchart illustrating an example process of content searching according to some embodiments of the present disclosure is shown;

[0012] Figure 4 A schematic structural block diagram showing an example apparatus for content search according to some embodiments of the present disclosure; and

[0013] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0014] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

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

[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part 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 be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects shall comply with the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms them. Accordingly, when implementing the various embodiments of the present disclosure, the types, scope of use, and usage scenarios of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method may vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0018] If this specification and the solutions in the examples involve the processing of personal information, such processing will be done only with a legitimate basis (such as with the consent of the subject of personal information or as necessary for the performance of a contract) and only within the prescribed or agreed scope. A user's refusal to process personal information other than that required for basic functions will not affect the user's use of basic functions.

[0019] As mentioned above, with the development of computer technology, more and more applications are capable of providing media content. This diverse range of media content provides people with information, education, lifestyle, and entertainment. When viewers are interested in relevant content within this media, they can go to the search page and enter the corresponding search term to conduct a search.

[0020] Embodiments of the present disclosure provide a content search solution. The solution includes: obtaining 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.

[0021] In this way, the 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) based on the input content in the first search mode, thereby effectively improving the efficiency of information acquisition.

[0022] Various example implementations of this solution are described in detail below in conjunction with the accompanying drawings.

[0023] Sample Environment

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

[0025] 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.

[0026] exist Figure 1 In the environment 100 , if the application 120 is active, the electronic device 110 may present an interface 150 for supporting content search through the application 120 .

[0027] In some embodiments, the electronic device 110 communicates with the server 130 to enable the provision of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0028] The server 130 may be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. For example, the server 130 may include a computing system / server such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 may provide background services for the application 120 that supports content search in the electronic device 110.

[0029] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired or wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.

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

[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0032] Example Interaction

[0033] Figures 2A to 2J 200A to 200J according to some embodiments of the present disclosure. Figure 1 The electronic device 110 is provided as shown.

[0034] In some embodiments, the electronic device 110 obtains input content via an input component, and the input component includes a configuration control for configuring the mode. Figure 2A As shown, the electronic device 110 can present a search intermediate interface to the user 140, such as the interface 200A. The electronic device 110 can, for example, provide the user 140 with an input component 205 in the interface 200A, and the input component 205 is configured to obtain input content from the user 140. Such input content can, for example, be a search term entered by the user 140 or a prompt term entered by the user 140. By default, the input control 205 corresponds to the second search mode. The second search mode here can, for example, indicate that a content search is performed based on content obtained via the input control (e.g., a search term entered by the user 140).

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

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

[0037] Additionally or alternatively, electronic device 110 may also provide user 140 with a variety of search information in interface 200A. Such search information may include, for example, historical search terms or recommended search terms associated with interface 200A. The recommended search terms may be determined based on historical interactions with interface 200A.

[0038] In some embodiments, in order to enable users to search more conveniently and to better browse the search results after obtaining them, the electronic device 110 may present the input component in different styles in different interfaces. Specifically, before obtaining the input content via the input component, the electronic device 110 may present an input component corresponding to a first style. The first style is different from the second style of the input component in the search results interface. 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. The first style indicates that image elements and text elements are displayed in the configuration control.

[0039] As an example, Figure 2AAs shown, the electronic device 110 can present the input component 205 in the interface 200A in a first style. The first style at least indicates the display position and display size of the configuration control 210 in the input component 205, as well as the content presented in the configuration control 210. For example, the electronic device 110 can present the input component 205 in the interface 200A in the first display size. Furthermore, the electronic device 110 can present the configuration control 210 of the second display size at the first position 216 in the input component 205, and the electronic device 110 can also present an image element 217 and a text element 218 in the configuration control 210. The image element 217 and the text element 218 here can be, for example, pre-set image elements and text elements. The process of presenting the input component in the search result interface in the second style will be described later, and this disclosure will not go into too much detail here. The multiple 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 limit this.

[0040] In some embodiments, in order to enable the user 140 to fully view the content input by the user 140, during the acquisition of the input content, the electronic device 110 may 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. Figure 2B As shown, when the electronic device 110 determines that the length of the input content entered by the user 140 is greater than a preset length, the electronic device 110 can increase the size of the input area 220 in the input component 205. For example, when the number of characters in the text of the input content reaches a preset number, the electronic device 110 can increase the size of the input area 220 in the input component 205 to fully present the content entered by the user 140 in the input area 220. The preset length here can be set by those skilled in the art according to their needs, and this disclosure is not limited thereto.

[0041] In some embodiments, when the input component 205 corresponds to the first search mode, the electronic device 110 may 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 the 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.

[0042] As an example, Figure 2A and 2CAs shown, the electronic device 110 can receive the triggering of the configuration control 210 by the user 140, correspond the input component 205 to the first search mode, and obtain the input content of the user 140 via the input component 205. When the search control 215 in the input component 205 is triggered by the user 140, the electronic device 110 can trigger the server 130 to search for content based on the input content in the first search mode, and present the search result interface to the user 140. The search result interface here can be, for example, interface 200C. Further, when the first content is being generated, the electronic device 110 can present a loading animation at the first area (e.g., area 225) in the 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 Figure 2D As shown, the electronic device 110 can present 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) in the interface 200D. In some scenarios, the electronic device 110 can also present at least one search result determined by the server 130 based on the input content in a second area (e.g., area 230) in the search result interface (e.g., interface 200C). The at least one search result here is a natural search result, which is a search result associated with the input content determined by the server 130 from a predetermined data source using a search engine. The positions and sizes of the first and second areas here can be set by those skilled in the art, and this disclosure does not limit this.

[0043] In this way, the embodiments of the present disclosure can provide the user 140 with richer response content (such as 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 content search efficiency.

[0044] 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 process associated with generating the first content. For example, Figure 2C As shown, during the process of generating the first content, the electronic device 110 can present the model's process of generating the first content based on the input content in the first area (e.g., area 225). Such a process can be, for example, a chain of thought (COT) of the model generating 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 through a series of logically related thoughts.

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

[0046] In some embodiments, to enable users to browse content more conveniently, electronic device 110 may present a positioning element in the search results interface. The positioning element is configured to trigger positioning of the search results interface to a first area. When the positioning element is triggered by user 140 (e.g., clicked or double-clicked), electronic device 110 may position the search results interface to the first area to display the first content generated by the model based on the input content to user 140.

[0047] In some embodiments, in order to more clearly present the generation status of the first content to the user, the electronic device 110 may present status information in the first area. The status information indicates the generation status of the first content. For example, Figure 2C and 2D As shown, the electronic device 110 can present status information in the first area (e.g., area 225). Such status information may include, for example, graphic elements or text information. Taking the status information as text information as an example, when the first content is being generated, the electronic device 110 can present first text information 231 in the first area (e.g., area 225). The first text information 231 is used to indicate that the first content is being generated, which may be, for example, "Planning". After the first content is presented in the first area (e.g., area 225), the electronic device 110 may present second text information 232 in the first area. The second text information 232 is used to indicate that the first content has been generated, which may be, for example, "Answering for you".

[0048] In this way, the embodiments of the present disclosure can represent the generation status of the first content through different status information, so that the user 140 can always know the generation status of the first content. It can not only provide the user 140 with more information about the first content, but also effectively improve the interactive experience of the user 140.

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

[0050] As an example, Figure 2DAs shown, after the first content is generated, the electronic device 110 can determine the content size corresponding to the first content. The content size here 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 the user 140 with diverse response content in the search results interface (e.g., interface 200D), the electronic device 110 can only present the first portion 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 an instrument definition section and an instrument classification section. If the instrument definition section in the first content corresponds to the first size of area 225, the electronic device 110 can only present the instrument definition section in area 225. In this way, embodiments of the present disclosure can limit the portion of the first content that is presented, thereby providing the user with a more diverse response content (including search results determined based on the input content) in the search results interface, thereby effectively improving information acquisition efficiency.

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

[0052] In some embodiments, the electronic device 110 may receive a trigger on the first viewing control. Further, in response to the 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 result interface.

[0053] As an example, Figure 2D and 2E As shown, electronic device 110 may present first viewing control 235 in interface 200D. When first viewing control 235 is triggered by user 140 (e.g., clicked or double-clicked), electronic device 110 may determine the size of the first content relative to a second size. The second size may correspond to third area 240, for example. Upon determining that the size of the first content is less than or equal to the second size corresponding to third area 240, electronic device 110 may present the entire first content in third area 240. For example, upon user 140 clicking first viewing control 235, electronic device 110 may expand the first area (e.g., area 225) to present third area 240 in interface 200E. Furthermore, upon determining that the size required to fully display the first content is less than or equal to the size corresponding to third area 240, electronic device 110 may fully display the first content in third area 240.

[0054] In some embodiments, in response to the content size exceeding the second size, the electronic device 110 may 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. Figure 2E As shown, when the content size of the first content exceeds the second size of the third area 240, the electronic device 110 can present the second part of the first content corresponding to the second size in the search result interface 200E. For example, the first content includes an instrument introduction part, an instrument definition part, and an instrument category part. 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 can only present the instrument definition part and the instrument category part corresponding to the second size in the first content in the third area 240, and not present the instrument introduction part in the third area 240. In some scenarios, when the content size exceeds the second size, the electronic device 110 can also present a second viewing control 245 in the search result interface. The second viewing control 245 here can also be referred to as a secondary expansion control.

[0055] Furthermore, the electronic device 110 may present the complete content of the first content in the search result interface in response to triggering the second viewing control. Figure 2E and 2F When the second viewing control 245 is triggered by the user 140, the electronic device 110 can expand the third area 240 a second time to present the fourth area 250 on 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 form the fourth area 250. After the fourth area 250 is presented on the interface 200F, the electronic device 110 can fully display the first content in the fourth area 250.

[0056] In some scenarios, the electronic device 110 may also provide the user 140 with a follow-up control 255 in the fourth area 250. When the follow-up control 255 is triggered by the user 140, the electronic device 110 may provide an additional input control to receive additional input content from the user 140 through the additional input control. Furthermore, when the additional input content is received by the electronic device 110, the electronic device 110 may trigger the server 130 to generate response content based on the additional input content and the input content of the user 140, thereby providing a follow-up service for the user 140.

[0057] In some embodiments, the electronic device 110 may provide a content component in the first area of the search result interface. The content component presents at least part of the first content. The first content here corresponds to text content. For example, Figure 2DAs shown, electronic device 110 may provide content component 260 in a first area (e.g., area 225) in a search result interface (e.g., interface 200D). Content component 260 may be, for example, a container for presenting first content. Content component 260 includes at least a portion of the first content generated by the model based on the input content. By default, the first content generated by the model based on the input content may be text content.

[0058] Furthermore, the electronic device 110 may update the content component in response to receiving a switching request associated with the content component to present the canvas content generated based on the input content. Figure 2F As shown, after the electronic device 110 receives a switching request associated with the content component 260 , the electronic device 110 may update the content component 260 to present the canvas content generated by the model based on the input content in the content component 260 .

[0059] In some embodiments, unlike the plain text content generated by the model, the canvas content may also include content in other modalities such as graphics, images, and videos. As an example, unlike directly generating text content, the model may generate a code file for driving the canvas component to draw the corresponding canvas content, and the drawing component at the electronic device 110 or the server 130 may draw the corresponding canvas content based on the code file. Compared with plain text content, the canvas content may vividly display the model's response through a richer variety of visual information, thereby improving the efficiency of the user's understanding of the model's response. In this way, the embodiments of the present disclosure support users to switch the content presented in the content component, thereby being able to provide users with a variety of types of response content, thereby improving the efficiency of information acquisition.

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

[0061] For example, the response content generated by the model based on the input content includes an instrument introduction part, an instrument definition part, and an instrument category part. The instrument introduction part, the instrument definition part, and the instrument category all include corresponding text content and graphic elements corresponding to the text content. When determining the preset style of the canvas content, the model can divide the content component 260 into multiple areas. The multiple areas here can include, for example, area 261, area 262, and area 263. The electronic device 110 can place the text content and graphic elements of the instrument introduction part in area 261, the text content and graphic elements of the instrument definition part in area 262, and the text content and graphic elements of the instrument category part in area 263 to determine the preset style corresponding to the canvas content.

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

[0063] As an example, Figure 2F and 2G As shown, electronic device 110 may provide a first tab 265 and a second tab 266 in content component 260. First tab 265 corresponds to text content, and second tab 266 corresponds to canvas content. When second tab 266 is triggered by user 140, electronic device 110 may receive a switch request associated with content component 260 and switch the text content currently presented by content component 260 to canvas content.

[0064] The embodiment of the present disclosure provides multiple tabs for the user 140 to switch the content presented in the content component 260 through the multiple tabs. In this way, the embodiment of the present disclosure can effectively improve the efficiency of content switching.

[0065] In some embodiments, the electronic device 110 may switch the input component from the first search mode to the second search mode via a configuration control. Further, the electronic device 110 may update the search result interface to stop presenting the first content. As an example, Figure 2H As shown, the electronic device 110 can present 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 present a mode switching component 270 in the interface 200H. The mode switching component 270 includes a label 271 and a label 272. The label 271 is associated with the first search mode, and the label 272 is associated with the second search mode. When the 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 FIG. Figure 2IAs shown, the electronic device 110 can also update the search result interface (e.g., interface 200I) to present at least one search result (e.g., search result 273) determined by the server 130 based on the input content in interface 200I, and stop presenting the first content generated by the model based on the input content.

[0066] The embodiment of the present disclosure supports the user 140 to quickly switch the search mode corresponding to the input component by configuring the control. In this way, the embodiment of the present disclosure can effectively improve the mode switching efficiency of the input component.

[0067] In some embodiments, the electronic device 110 may present, in response to the input content satisfying a preset condition, a second content generated based on the result associated with the input content in the search result interface. Figure 2J As shown, input component 205 may be in a second search mode, for example. After receiving input from user 140 via input component 205, electronic device 110 may provide the input to server 130 so that server 130 can determine the type of the input. If the type of the input matches a preset category, server 130 may instruct the model to generate second content based on the results associated with the input and send the second content to electronic device 110. After electronic device 110 receives the second content, electronic device 110 may present the second content in content component 275. The second content may be presented anywhere in content display area 280, while the first content described above may be presented at the top of content display area 280. The preset type may be, for example, a question. For example, if the input is "What's the weather like today?", server 130 may determine that the input corresponds to the preset category (i.e., a question). Furthermore, server 130 may trigger the model to generate second content based on the search results associated with the input, causing electronic device 110 to present the second content at an appropriate location in content display area 280.

[0068] In this way, the 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) based on the input content in the first search mode, thereby effectively improving the efficiency of information acquisition.

[0069] Example Process

[0070] Figure 3 FIG. 3 is a flow chart illustrating an example process 300 for content search according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 3. The process 300 is described below.

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

[0072] In box 320, in response to the 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.

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

[0074] In this way, the embodiments of the present disclosure can quickly switch the search mode of the input component by configuring the control, thereby effectively improving the switching efficiency of the search mode.

[0075] In some embodiments, updating the search result interface further includes: 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.

[0076] In this way, the embodiment of the present disclosure can still provide the user with the second content generated by the model in the second search mode, thereby providing the user with richer response content, thereby effectively improving the efficiency of information acquisition.

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

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

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

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

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

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

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

[0084] In this way, the embodiment of the present disclosure can dynamically adjust the size of the input area so that the user can view the input content more completely.

[0085] In some embodiments, presenting at least a portion of the first content generated by the model based on the input content in the first area of the search results interface includes: in response to the content size of the first content being larger than the 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.

[0086] In this way, the embodiment of the present disclosure can limit the presentation of the first content by presenting the first part of the first content in the search results page, so that more other content can be presented in the search results page, thereby effectively improving the efficiency of obtaining information.

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

[0088] In this way, after the first viewing control is triggered, the embodiment of the present disclosure can adjust the size of the first area, so that the user can fully view the first content in the first area, thereby effectively improving the efficiency of obtaining information.

[0089] In some embodiments, process 300 also 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.

[0090] In this way, the embodiment of the present 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 result page, thereby effectively improving the information presentation efficiency.

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

[0092] In this way, the embodiments of the present disclosure can indicate the generation status of the first content through status information, so that the user can always be aware of the generation status of the first content, thereby improving the efficiency of information display.

[0093] 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 in response to receiving a switch request associated with the content component, updating the content component to present canvas content generated based on the input content.

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

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

[0096] In this way, the embodiments of the present disclosure can switch the content presented by the content component through multiple tags, so that the user can switch the content more conveniently, thereby improving the efficiency of content switching.

[0097] 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 search results interface, process 300 also includes: presenting descriptive information generated by the model in the first area, the descriptive information indicating the model processing process associated with generating the first content.

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

[0099] Example devices and equipment

[0100] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4 4 is a schematic structural block diagram of an example apparatus 400 for content search according to some embodiments of the present disclosure. Apparatus 400 may be implemented as or included in electronic device 110. Each module / component in apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0101] like Figure 4As shown, 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 present at least a portion of the first content generated by the model based on the input content in a first area of the search result interface in response to the configuration control indicating a first search mode, and to present at least one search result determined based on the input content in a second area of the search result interface.

[0102] In some embodiments, the apparatus 400 further includes an updating module configured to switch the input component from the first search mode to the second search mode via a configuration control; and update the search result interface to stop presenting the first content.

[0103] In some embodiments, the updating module is further configured to present, in response to the input content satisfying a preset condition, second content generated based on search results related to the input content in the search result interface.

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

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

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

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

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

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

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

[0111] In some embodiments, the apparatus 400 further includes a status presentation module configured to present status information in the first area, where the status information indicates a generation status of the first content.

[0112] In some embodiments, the first presentation module 420 is further configured to: provide 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 in response to receiving a switching request associated with the content component, update the content component to present canvas content generated based on the input content.

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

[0114] In some embodiments, the device 400 also includes a description information presentation module, which is configured to present description information generated by the model in the first area 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 search result interface, wherein the description information indicates the model processing process associated with generating the first content.

[0115] The modules included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more modules can 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 the device 400 can be implemented at least in part by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0116] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. Figure 5The illustrated electronic device 500 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 5 The illustrated electronic device 500 may be used to implement the electronic device 110 as discussed above.

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

[0118] The electronic device 500 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 500.

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

[0120] The communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0121] Input device 550 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 560 may be one or more output devices, such as a display, a speaker, or a printer. Electronic device 500 may also communicate with one or more external devices (not shown) via communication unit 540 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with electronic device 500, or with any device that allows electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

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

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

[0124] 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 device, thereby producing a machine such that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

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

[0126] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0127] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not 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 selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A content search method, comprising: Obtaining input content via an input component, wherein the input component includes a configuration control for configuring a search mode; as well as In response to the configuration control indicating a first search mode, at least a portion of the first content generated by the model based on the input content is presented in a first area of the search result interface, and at least one search result determined based on the input content is presented in a second area of the search result interface.

2. The method according to claim 1, further comprising: switching the input component from the first search mode to a second search mode via the configuration control; as well as The search result interface is updated to stop presenting the first content.

3. The method according to claim 2, wherein updating the search result interface further comprises: In response to the input content meeting a preset condition, second content generated based on search results related to the input content is presented in the search result interface.

4. The method according to claim 1, wherein before obtaining input content via the input component, the method further comprises: The input component corresponding to a first style is presented, wherein the first style is different from a second style of the input component in the search result interface. The method according to 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 directive displays a graphical element and a textual element in the configuration control, and the second style directive displays the graphical element in the configuration control.

7. The method according to claim 1, further comprising: During the acquisition of the input content, in response to a length of the input content being greater than a preset length, a size of an input area in the input component is increased.

8. The method according to claim 1, wherein presenting at least a portion of first content generated by a model based on the input content in a first area of a search result interface comprises: In response to a 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; as well as In the first area, a first viewing control is presented.

9. The method according to claim 8, further comprising: receiving a trigger on the first viewing control; as well as In response to the content size being smaller than or equal to a preset second size, the complete content of the first content is presented in the search interface.

10. The method according to claim 9, further comprising: 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 interface, and presenting a second viewing control in the search interface; as well as In response to triggering the second viewing control, the complete content of the first content is presented in the search interface.

11. The method according to claim 1 , further comprising: In the first area, status information is presented, the status information indicating a generation status of the first content.

12. The method according to claim 1, wherein presenting at least a portion of first content generated by a model based on the input content in a first area of a search result interface comprises: Providing a content component in the first area of the search result interface, the content component presenting at least a portion of the first content, the first content corresponding to text content; as well as In response to receiving a switch request associated with the content component, the content component is updated to present canvas content generated based on the input content.

13. The method according to claim 12, further comprising: Presenting a first label corresponding to the text content and a second label corresponding to the canvas content in the content component; as well as Based on triggering the second tag, the switching request associated with the content component is received.

14. The method according to claim 1, wherein 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 search result interface, the method further includes: In the first area, description information generated by the model is presented, where the description information indicates a model processing procedure associated with generating the first content.

15. A device for content search, comprising: an acquisition module configured to acquire input content via an input component, wherein the input component includes a configuration control for configuring a search mode; as well as A first presentation module is configured to present at least a portion of the first content generated by the model based on the input content in a first area of the search result interface in response to the configuration control indicating a first search mode, and to present at least one search result determined based on the input content in a second area of the search result interface.

16. An electronic device comprising: at least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions causing the electronic device to perform the method according to any one of claims 1 to 14 when executed by the at least one processor. 17 . A computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions can be executed by a processor to implement the method according to claim 1 .

Citation Information

Patent Citations

  • Information switching method and device, electronic equipment and computer storage medium

    CN111460262A

  • Search engine selection abstract generation method and device

    CN112307314A

  • Content retrieval method and device, equipment and medium

    CN116501960A

  • Searching method and device, equipment and medium

    CN116975413A

  • Search result page generation method and device, equipment and storage medium

    CN119441584A