Content query method and device, equipment and storage medium

By generating rich text information and presenting text and non-text modal content in the target window, the problem of poor content relevance in existing technologies is solved, and high-quality multimodal content display is achieved.

CN121658700APending Publication Date: 2026-03-13BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

The content generated by existing online platforms cannot meet users' query needs, especially in that they cannot effectively combine textual and non-textual content, resulting in poor relevance.

Method used

Rich text information is generated by the target model. The rich text information contains the target access address and is used to present the first content associated with the text modality and the second content associated with the non-text modality in the target window, so as to realize the presentation of multimodal content.

Benefits of technology

It improved content quality, met users' query needs, enriched information display methods, and improved information display efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121658700A_ABST
    Figure CN121658700A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a content query method and device, equipment and a storage medium. The method comprises the steps that in response to a received query request, rich text information generated by a target model based on the query request is obtained, and the rich text information indicates a target access address; and on the basis of the rich text information, response content for the query request is presented in the target window, the response content comprises first content associated with the text mode and second content associated with the non-text mode, and the second content is determined on the basis of the target access address. In this way, according to the embodiment of the invention, the content of multiple modes can be provided based on the query request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In recent years, with the development of the internet, more and more users are searching for content on online platforms. However, the content generated by existing online platforms based on user queries cannot meet user needs. Summary of the Invention

[0003] In a first aspect of this disclosure, a content query method is provided, comprising: in response to receiving a query request, acquiring rich text information generated by a target model based on the query request, the rich text information indicating a target access address; and presenting response content for the query request in a target window based on the rich text information, the response content including first content associated with a text modality and second content associated with a non-text modality, wherein the second content is determined based on the target access address.

[0004] In a second aspect of this disclosure, an apparatus for content retrieval is provided. The apparatus includes: an acquisition module configured to, in response to receiving a query request, acquire rich text information generated by a target model based on the query request, the rich text information indicating a target access address; and a presentation module configured to, based on the rich text information, present response content in a target window for the query request, the response content including first content associated with a text modality and second content associated with a non-text modality, wherein the second content is determined based on the target access address.

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

[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the methods of the first or second aspect.

[0007] 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

[0008] 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:

[0009] Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented;

[0010] Figures 2A to 2C Example interfaces according to some embodiments of this disclosure are shown;

[0011] Figure 3 A flowchart illustrating an example process for content querying according to some embodiments of this disclosure is shown;

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

[0013] Figure 5 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation

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

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

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

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

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

[0019] As mentioned above, with the development of the internet, more and more users are searching for content on online platforms. However, existing online platforms cannot meet users' viewing needs by generating content based on their queries. For example, some online platforms can only generate plain text content. While other platforms may generate non-textual content, this non-textual content is often disconnected from the generated text content, resulting in poor correlation. Therefore, the content generated by existing online platforms cannot satisfy users' query needs.

[0020] Embodiments of this disclosure propose a scheme for content querying. According to this scheme, in response to receiving a query request, rich text information generated by a target model based on the query request can be obtained, the rich text information indicating a target access address; and based on the rich text information, response content for the query request can be presented in a target window, the response content including first content associated with a text modality and second content associated with a non-text modality, wherein the second content is determined based on the target access address.

[0021] In this way, embodiments of this disclosure can generate rich text information based on a user's query request using a target model. The rich text information includes a target access address for determining non-text modal content. Furthermore, embodiments of this disclosure can present response content, including both text modal and non-text modal content, in a target window based on the rich text information.

[0022] The embodiments of this disclosure can provide users with multi-modal response content based on user query requests. Therefore, the embodiments of this disclosure improve the quality of content generated in response to query requests by enriching the content modalities.

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

[0024] Example Environment

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

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

[0027] exist Figure 1 In environment 100, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting interface interaction.

[0028] 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).

[0029] 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 user interface interaction in electronic devices 110.

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

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

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

[0033] Example Interaction

[0034] Figures 2A to 2C Example interfaces 200A to 200C according to some embodiments of the present disclosure are shown. Interfaces 200A to 200C may, for example, be provided by... Figure 1 The electronic device 110 shown is provided.

[0035] In some embodiments, such as Figure 2A As shown, electronic device 110 can, in response to receiving a query request, obtain rich text information generated by the target model based on the query request. The rich text information can indicate the target access address.

[0036] In some embodiments, generating rich text information based on a query request by the target model may include: generating rich text information based on the query request and reference information. The query request and reference information may be provided by electronic device 110 or a server 120 associated with electronic device 110. The reference information may indicate text descriptions and address information corresponding to a set of reference content. As an example, the target model may be implemented as a generative model capable of generating rich text information based on a query request. This disclosure is not intended to limit the specific content and training process of the target model.

[0037] In some embodiments, a set of reference content is associated with a non-text modality. As an example, the content may typically include text content (e.g., plain text content) associated with a text modality and non-text modal content associated with a non-text modality.

[0038] As an example, non-text modal content can include media content (e.g., music, videos, and image galleries), mini-program content, and content associated with other users (e.g., comments associated with other users, content generated based on other users' virtual avatars, etc.).

[0039] In some embodiments, the text description corresponding to a set of reference content may include a natural language description of non-textual modal content. For example, the text description may include a natural language description of various non-textual modal content contained in data source A (e.g., a database).

[0040] As an example, based on text descriptions, the target model can understand the non-textual modal content contained in data source A during the process of generating rich text information based on a query request, thereby generating rich text information associated with the non-textual modal content. For instance, if the query request may include "target A", the target model can determine the non-textual modal content associated with "target A" from data source A based on the text description associated with "target A" to generate rich text information.

[0041] In some embodiments, the address information corresponding to a set of reference content may include the access address (also known as the index address) in the data source corresponding to the non-text modal content. As an example, a query request may include "target A", and the access address corresponding to the non-text modal content associated with "target A" in data source A may include access address A. Then, the rich text information generated by the target model may indicate access address A.

[0042] In some embodiments, the rich text information generated by the target model based on the query request may include link information corresponding to the target access address. As an example, the electronic device 110 may obtain data corresponding to non-text modal content based on the link information, and then use a rendering engine to generate the corresponding non-text modal content. As an example, the link information may include, for example, a Uniform Resource Identifier (URI) and / or a Uniform Resource Locator (URL). As an example, the link information corresponding to access address A may be implemented as {"url":"https: / / www.xxxxx.com / "}.

[0043] In some embodiments, continue to refer to Figure 2A Electronic device 110 can display the response content for the query request in the target window based on rich text information.

[0044] In some embodiments, the response content may include first content associated with a text modality and second content associated with a non-text modality. The second content is determined based on the target access address.

[0045] In some embodiments, generating rich text information based on a query request may include generating the target model based on contextual information associated with a target application that renders the response content. The contextual information may indicate at least one component in the target application used to render non-textual modal content.

[0046] As an example, the target application may correspond to the application in which the user initiated the query request. For instance, if electronic device 110 receives a query request from the user in application A, then application A is the target application. Electronic device 110 may provide contextual information about the target application (e.g., application A) to the target model. As an example, the contextual information may indicate, for example, that the target application (e.g., application A) can be used to present at least one component of non-text modal content. At least one component may, for example, include a media content component, a comment viewing component, and an answer viewing component, etc.

[0047] As an example, if at least one component includes a media content component, it can be indicated that the target application supports rendering non-text modal content including media content. As an example, if at least one component does not include a media content component, it can be indicated that the target application supports rendering non-text modal content excluding media content. Thus, based on contextual information associated with the target application, it can be indicated that the target access address indicated in the rich text information generated by the target model corresponds only to non-text modal content supported by the target application.

[0048] In some embodiments, continue to refer to Figure 2AThe electronic device 110 can present first content associated with the text modality (e.g., text 210-1, text 210-2, and text 210-3) in the target window 205 of the target interface 200A.

[0049] In some embodiments, continue to refer to Figure 2A The electronic device 110 can determine a first component corresponding to the media content in response to a target access address corresponding to media content. As an example, the first component may include a media content component for presenting and playing the media content.

[0050] In some embodiments, continue to refer to Figure 2A Media content may include works associated with other applications or other users. As an example, electronic device 110 may use a first component in target window 205 to present second content (e.g., media content 215-1 and media content 215-2) associated with a non-text modality.

[0051] As an example, continue to refer to Figure 2A For example, a query request could be related to "travel guide for location A". As an example, text 210-1 presented in target window 205 by electronic device 110 could include a description of "transportation route planning for location A". Media content 215-1 could include multiple video works from other users related to "transportation route planning for location A". As an example, text 210-2 presented in target window 205 by electronic device 110 could include a description of "food recommendations for location A". Media content 215-2 could include multiple video works from other users related to "food recommendations for location A". As an example, text 210-3 presented in target window 205 by electronic device 110 could include a description of "accommodation recommendations for location A".

[0052] In some embodiments, such as Figure 2B As shown, media content may include video or text content associated with news (or trending topics). As an example, electronic device 110 may present first content associated with a text modality (e.g., text 210-4) in a target window 205 of the target interface 200B. As an example, electronic device 110 may also present second content associated with a non-text modality (e.g., news content 215-3) in the target window 205 using a first component.

[0053] In some embodiments, continue to refer to Figure 2BThe electronic device 110 can play media content in a target window in response to a first operation on the first component. As an example, the electronic device 110 can play news 216 in the target window in response to a click operation on the first component (e.g., a click operation on the area where news 216 is located in news content 215-3).

[0054] In some embodiments, continue to refer to Figure 2B The electronic device 110 can present a viewing interface for media content in response to a second operation on the first component. As an example, the electronic device 110 can provide a viewing control 217 associated with the media content (e.g., news content 215-3) in the first component. Further, the electronic device 110 can present a viewing interface for the media content (e.g., news content 215-3) in response to a triggering of the viewing control 217.

[0055] In some embodiments, continue to refer to Figure 2B The electronic device 110 can trigger an interaction associated with the media content in response to a third operation on the first component. As an example, the electronic device 110 can provide a set of interactive controls 220 (e.g., a like control 220-1, a refresh control 220-2) in the first component. As an example, the electronic device 110 can perform a like operation on the media content (e.g., news content 215-3) in response to a trigger on the like control 220-1 (e.g., a click operation).

[0056] In some embodiments, continue to refer to Figure 2B The electronic device 110 can use a table component to present a table 225 generated based on media content (e.g., news content 215-3) and / or text 210-4 in a target window 205 of the target interface 200B. The table 225 may, for example, indicate a summary of the content of the media content (e.g., news content 215-3) and / or text 210-4.

[0057] In some embodiments, such as Figure 2C As shown, electronic device 110 can utilize the first component to present media content (e.g., media content 215-4). As an example, electronic device 110 can also present publication information of the media content in the first component. As an example, the publication information of the media content may include a source indication element 226 (e.g., from application AAA) and an author indication element 227 (e.g., author A).

[0058] In some embodiments, continue to refer to Figure 2CThe electronic device 110 can determine a second component corresponding to the comment content in response to determining that the target access address corresponds to the comment content. As an example, the second component may include a comment viewing component 230. As an example, the electronic device 110 can present the second component (e.g., the comment viewing component 230) in the target window 205. Further, the electronic device 110 can utilize the second component to present second content corresponding to the comment content in the target window 205.

[0059] In some embodiments, continue to refer to Figure 2C The second piece of information may indicate: the comment content 231, the work 232 to which the comment content is addressed (e.g., work A), and / or the posting information of the comment content. As an example, the posting information may include the username 233 of the user who posted the comment content (e.g., user A), the posting time, the application on which the comment content is posted, etc.

[0060] In some embodiments, continue to refer to Figure 2C The electronic device 110 can respond to a first preset operation on the second component by displaying comment content or a work associated with the comment content. As an example, the electronic device 110 can respond to a click operation on the comment viewing component 230 by displaying comment content or a work associated with the comment content.

[0061] As an example, continue to refer to Figure 2C The electronic device 110 may provide a work control 234 in the second component. Furthermore, in response to a click on the work control 234, the electronic device 110 may present a viewing interface for the work associated with the comment content. The electronic device 110 may present the work and / or comment content associated with the comment content in the viewing interface.

[0062] In some embodiments, continue to refer to Figure 2C In response to determining that the target access address corresponds to answer content generated by a virtual object based on a query request, the electronic device 110 can determine a third component corresponding to the answer content. As an example, the third component may include an answer viewing control 235. Furthermore, the electronic device 110 may use the third control (e.g., the answer viewing control 235) to present second content in the target window 205.

[0063] In some embodiments, continue to refer to Figure 2C The second content in the third control can indicate the answer content and the virtual object that generates the answer content. As an example, the electronic device 110 can present the answer content 236 and the virtual object 237 that generates the answer content (e.g., the virtual object's nickname XXX clone) in the answer viewing control 235.

[0064] In some embodiments, continue to refer to Figure 2C The electronic device 110 can present an interactive interface with a virtual object in response to a second preset operation on a third component. As an example, the electronic device 110 can provide an interactive entry point 240 in the third component (e.g., answer viewing component 235). Furthermore, the electronic device 110 can present an interactive interface with a virtual object (e.g., an XXX clone) in response to a triggering of the interactive entry point 240 (e.g., a click operation). Users can engage in conversations with the virtual object or ask further questions in the interactive interface.

[0065] In some embodiments, a virtual object may include any suitable processing entity that supports interaction via prompts or similar means. In some scenarios, a virtual object may also be referred to as a virtual entity, examples of which may include, but are not limited to, agents, bots, or other objects that support interaction via dialogue (e.g., text or voice dialogue). Such virtual objects may be implemented, for example, using appropriate machine learning models to interact accordingly based on received prompts. This disclosure is not intended to limit the specific construction of virtual objects. It should be understood that, on the one hand, a virtual object may have a virtual avatar for interaction. On the other hand, a virtual object may also utilize appropriate models to drive its interactive behavior, such models may include any appropriate machine learning model, for example, a generative model. In this disclosure, various interactive processes and / or generative operations performed by a virtual object may be actually performed using an appropriate model corresponding to the virtual object.

[0066] Based on the process described above, the embodiments of this disclosure can present multimodal content to users based on their query requests and provide corresponding feedback to users' interactive operations on non-textual modal content. Therefore, the embodiments of this disclosure can provide users with high-quality rich text content, meet users' query needs, and improve information display efficiency.

[0067] Example process

[0068] Figure 3 A flowchart of an example process 300 for content retrieval according to some embodiments of the present disclosure is shown. Process 300 may be implemented at electronic device 110. Reference is made below. Figure 1 To describe process 300.

[0069] As shown in the figure, in box 310, electronic device 110 responds to receiving a query request by obtaining rich text information generated by the target model based on the query request, the rich text information indicating the target access address.

[0070] In box 320, electronic device 110 presents response content for a query request in a target window based on rich text information. The response content includes first content associated with a text modality and second content associated with a non-text modality, wherein the second content is determined based on the target access address.

[0071] In some embodiments, presenting response content for a query request in a target window includes: in response to determining that a target access address corresponds to media content, determining a first component corresponding to the media content; and presenting second content corresponding to the media content in the target window using the first component.

[0072] In some embodiments, process 300 further includes: playing media content in a target window in response to a first operation on the first component; or presenting a viewing interface for the media content in response to a second operation on the first component; or triggering an interaction associated with the media content in response to a third operation on the first component.

[0073] In some embodiments, presenting response content to a query request in a target window includes: in response to determining that a target access address corresponds to comment content, determining a second component corresponding to the comment content; and presenting second content corresponding to the comment content in the target window using the second component.

[0074] In some embodiments, the second content refers to at least one of the following: comment content; the work to which the comment content is addressed; and publication information of the target content.

[0075] In some embodiments, process 300 further includes: in response to a first preset operation on the second component, presenting comment content or presenting a work associated with the target comment content.

[0076] In some embodiments, presenting response content for a query request in a target window includes: in response to determining that the target access address corresponds to answer content generated by a virtual object based on the query request, determining a third component corresponding to the answer content; and presenting second content in the target window using the third component, the second content indicating the answer content and the virtual object that generated the answer content.

[0077] In some embodiments, process 300 further includes: in response to a second preset operation on a third component, presenting an interactive interface with a virtual object.

[0078] In some embodiments, the rich text information includes link information corresponding to the target access address.

[0079] In some embodiments, rich text information is generated based on the following process: providing a query request and reference information to a target model, the reference information indicating text descriptions and address information corresponding to a set of reference content, the set of reference content being associated with a non-text modality; and obtaining the rich text information generated by the target model based on the query request and reference information.

[0080] In some embodiments, the rich text information is also generated based on contextual information associated with the target application that renders the responsive content, the contextual information indicating at least one component in the target application used to render non-textual modal content.

[0081] Example devices and equipment

[0082] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an example device 400 for content retrieval according to certain embodiments of the present disclosure is shown. Device 400 may be implemented as or included in an electronic device. Various modules / components in device 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0083] like Figure 4 As shown, the device 400 includes an acquisition module 410 configured to acquire rich text information generated by a target model based on the query request in response to receiving a query request, the rich text information indicating a target access address; and a presentation module 420 configured to present response content for the query request in a target window based on the rich text information, the response content including first content associated with a text modality and second content associated with a non-text modality, wherein the second content is determined based on the target access address.

[0084] In some embodiments, the presentation module 420 is further configured to: in response to determining that the target access address corresponds to media content, determine a first component corresponding to the media content; and present second content corresponding to the media content in the target window using the first component.

[0085] In some embodiments, the device 400 further includes a media module configured to: play media content in a target window in response to a first operation on the first component; or present a viewing interface for the media content in response to a second operation on the first component; or trigger an interaction associated with the media content in response to a third operation on the first component.

[0086] In some embodiments, the presentation module 420 is further configured to: in response to determining that the target access address corresponds to the comment content, determine a second component corresponding to the comment content; and present the second content corresponding to the comment content in the target window using the second component.

[0087] In some embodiments, the second content refers to at least one of the following: comment content; the work to which the comment content is addressed; and publication information of the target content.

[0088] In some embodiments, the device 400 further includes a comment module configured to: in response to a first preset operation on the second component, present comment content or present a work associated with the target comment content.

[0089] In some embodiments, the presentation module 420 is further configured to: in response to determining that the target access address corresponds to answer content generated by the virtual object based on the query request, determine a third component corresponding to the answer content; and present second content in the target window using the third component, the second content indicating the answer content and the virtual object that generated the answer content.

[0090] In some embodiments, the device 400 further includes an interaction module configured to present an interactive interface with a virtual object in response to a second preset operation on a third component.

[0091] In some embodiments, the rich text information includes link information corresponding to the target access address.

[0092] In some embodiments, rich text information is generated based on the following process: providing a query request and reference information to a target model, the reference information indicating text descriptions and address information corresponding to a set of reference content, the set of reference content being associated with a non-text modality; and obtaining the rich text information generated by the target model based on the query request and reference information.

[0093] In some embodiments, the rich text information is also generated based on contextual information associated with the target application that renders the responsive content, the contextual information indicating at least one component in the target application used to render non-textual modal content.

[0094] Figure 5 A block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 5 The electronic device 500 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 5 The electronic device 500 shown can be used to achieve Figure 1 Electronic devices 110.

[0095] like Figure 5As shown, electronic device 500 is in the form of a general-purpose electronic device. Components of electronic device 500 may include, but are not limited to, one or more processors or processing units 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. Processing unit 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 500.

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

[0097] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 5 As shown, 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 can be provided. In these cases, each drive can 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 this disclosure.

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

[0099] 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).

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

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

[0102] These computer-readable program instructions can be provided to a processing unit 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 processing unit 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.

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

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

[0105] 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 content query method, comprising: In response to receiving a query request, rich text information generated by the target model based on the query request is obtained, the rich text information indicating the target access address; as well as Based on the rich text information, a response to the query request is presented in the target window. The response content includes first content associated with a text modality and second content associated with a non-text modality, wherein the second content is determined based on the target access address.

2. The method according to claim 1, wherein presenting the response content for the query request in the target window includes: In response to determining that the target access address corresponds to media content, a first component corresponding to the media content is determined; as well as The second content corresponding to the media content is presented in the target window using the first component.

3. The method according to claim 2, further comprising: In response to a first operation on the first component, the media content is played in the target window; or In response to a second operation on the first component, a viewing interface for the media content is presented; or In response to a third operation on the first component, an interaction associated with the media content is triggered.

4. The method according to claim 1, wherein presenting the response content for the query request in the target window includes: In response to determining that the target access address corresponds to comment content, a second component corresponding to the comment content is determined; as well as The second component is used to present the second content corresponding to the comment content in the target window.

5. The method of claim 4, wherein the second content indicates at least one of the following: The content of the comment; The work in question is the subject of the comment; The information regarding the publication of the comment content.

6. The method according to claim 4, further comprising: In response to a first preset operation for the second component, the comment content is presented or a work associated with the target comment content is presented.

7. The method of claim 1, wherein presenting the response content for the query request in the target window includes: In response to determining that the target access address corresponds to the answer content generated by the virtual object based on the query request, a third component corresponding to the answer content is determined; as well as The second content is presented in the target window using the third component, the second content indicating the answer content and the virtual object that generated the answer content.

8. The method according to claim 7, further comprising: In response to a second preset operation on the third component, an interactive interface with the virtual object is presented.

9. The method according to claim 1, wherein the rich text information includes link information corresponding to the target access address.

10. The method of claim 1, wherein the rich text information is generated based on the following process: The query request and reference information are provided to the target model, the reference information indicating text descriptions and address information corresponding to a set of reference content associated with the non-text modality; and Obtain the rich text information generated by the target model based on the query request and the reference information.

11. The method of claim 1, wherein the rich text information is further generated based on contextual information associated with a target application that renders the response content, the contextual information indicating at least one component in the target application for rendering non-textual modal content.

12. An apparatus for content retrieval, comprising: The acquisition module is configured to, in response to receiving a query request, acquire rich text information generated by the target model based on the query request, wherein the rich text information indicates the target access address; as well as The presentation module is configured to present response content for the query request in a target window based on the rich text information. The response content includes first content associated with a text modality and second content associated with a non-text modality, wherein the second content is determined based on the target access address.

13. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 11.