Method, device, equipment, storage medium and program product for interface interaction
By presenting text content and rich media components in the information flow interface and responding to user operations to switch modes, the problem of monotonous expression of information flow content items is solved, achieving more efficient information display and interaction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2026-02-28
- Publication Date
- 2026-05-29
AI Technical Summary
In existing technologies, the way content items are expressed in information streams is too simplistic, making it difficult to effectively improve the efficiency of information display and user information retrieval.
The first interface presents the content items in the information flow in the first mode, including text content and rich media components, supporting full content display, and responds to user operations by presenting the content items in the second interface in the second mode, enriching the interaction methods.
It improves the display efficiency of information flow content items and the efficiency of users obtaining information, and enhances the richness and interactivity of information through different interface interaction modes.
Smart Images

Figure CN122111271A_ABST
Abstract
Description
Technical Field
[0001] The examples in this article generally relate to the field of computers, and in particular to methods, apparatuses, devices, computer-readable storage media, and computer program products for user interface interaction. Background Technology
[0002] With the increasing maturity of internet technology, more and more users are engaging in interactive activities on online platforms. For example, users can browse information streams on these platforms. These information streams include multiple content items posted by different users. Therefore, enriching the content composition of these information stream items is a worthwhile area of focus. Summary of the Invention
[0003] In a first aspect, a method for interface interaction is provided. The method includes: presenting a first interface associated with an information stream; presenting a first content item from the information stream in a first mode on the first interface, the first content item being generated based on at least one content source, the first content item including text content and at least one component, the at least one component being used to present rich media content, wherein the first mode supports presenting the complete content of the first content item; and, in response to receiving a first operation on the first interface, presenting the first content item in a second mode on a second interface.
[0004] In a second aspect, an apparatus for interface interaction is provided. The apparatus includes: a first presentation module configured to present a first interface associated with an information stream; a second presentation module configured to present a first content item from the information stream in the first interface in a first mode, the first content item being generated based on at least one content source, the first content item including text content and at least one component, the at least one component being used to present rich media content, wherein the first mode supports presenting the complete content of the first content item; and a third presentation module configured to, in response to receiving a first operation in the first interface, present the first content item in a second mode in the second interface.
[0005] In a third aspect, 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, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions that can be executed by a processor to implement the method of the first aspect.
[0007] In a fifth aspect, a computer program product is provided, which is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.
[0008] This approach enriches the way content items are presented in the information flow, improving the efficiency of information display and user retrieval. Furthermore, presenting the first content item in different modes on the first and second interfaces enriches the viewing and interaction methods associated with it, further enhancing user information retrieval efficiency.
[0009] It should be understood that the content described in this section is not intended to limit the key or important features of the examples in this article, nor is it intended to restrict the scope of the solution. Other features will become readily apparent from the following description. Attached Figure Description
[0010] The above and other features, advantages, and aspects of the various examples herein will become more apparent when taken in conjunction with the accompanying drawings and the following detailed description. In the accompanying drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 A schematic diagram of the example environment is shown; Figures 2A to 2C Example interfaces for some scenarios are shown; Figure 3 The flowcharts show example processes for generating the first content item in some scenarios; Figures 4A to 4F Schematic diagrams of components in some scenarios are shown; Figure 5 The flowcharts show example processes of interface interactions in some scenarios; Figure 6 Schematic block diagrams of example devices for interface interaction in some scenarios are shown; and Figure 7 A block diagram of an electronic device capable of implementing multiple illustrative scenarios is shown. Detailed Implementation
[0011] The examples in this document will now be described in more detail with reference to the accompanying drawings. While some examples are shown in the drawings, it should be understood that solutions can be implemented in various forms and should not be construed as limited to the examples presented herein. Rather, these examples are provided to provide a more thorough and complete understanding of the solutions. It should be understood that the drawings and examples in this document are for illustrative purposes only and are not intended to limit the scope of protection of the solutions.
[0012] It should be noted that the headings of any section / subsection provided herein are not restrictive. Various examples are described throughout this document, and examples of any type may be included under any section / subsection. Furthermore, examples described in any section / subsection may be combined in any way with any other examples described in the same section / subsection and / or different sections / subsections.
[0013] In the description of the examples in this document, the term "including" and similar terms should be understood as open inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an example" or "the example" should be understood as "at least one example". The term "some examples" should be understood as "at least some examples". 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.
[0014] The examples in this article may involve user data, data acquisition, and / or use. All of these aspects comply with relevant laws, regulations, and rules. In the examples presented here, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, when implementing each example, 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 through appropriate means, in accordance with relevant laws and regulations. The specific methods of notification and / or authorization can vary depending on the actual situation and application scenario; the scope of the solution is not limited in this regard.
[0015] In this manual and the sample solutions, any processing of personal information will be conducted only under legal grounds (such as obtaining the consent of the data 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 beyond what is necessary for basic functions will not affect the user's use of basic functions.
[0016] As mentioned above, with the increasing maturity of internet technology, more and more users are engaging in interactive activities on online platforms. For example, users can browse information streams on these platforms. Information streams include multiple content items posted by different users. Therefore, enriching the content composition of these information stream items is a worthwhile area of focus.
[0017] A user interface interaction scheme is proposed. The scheme includes: presenting a first interface. The first interface is associated with an information stream. In the first interface, a first content item from the information stream is presented in a first mode. The first content item is generated based on at least one content source. The first content item includes text content and at least one component. The at least one component is used to present rich media content. The first mode supports presenting the complete content of the first content item. Further, in response to receiving a first operation in the first interface, the first content item can be presented in a second interface in a second mode.
[0018] In this way, a first content item generated based on a content source can be presented in a first mode on a first interface associated with the information flow. The first content item includes text content and at least one component for presenting rich media content, thereby enriching the expression of content items in the information flow and improving the efficiency of information display and user retrieval of information from the content item. The first mode can support presenting the complete content of the first content item on the first interface, thus improving the display efficiency of the first content item on the first interface. Furthermore, in response to receiving a first operation on the first interface, the first content item can be presented in a second mode on a second interface. Presenting the first content item in different modes on the first and second interfaces respectively enriches the viewing and interaction methods associated with the first content item and improves the efficiency of user information retrieval.
[0019] The following describes various examples of this scheme in further detail with reference to the accompanying drawings.
[0020] Example Environment Figure 1 A schematic diagram of example environment 100 is shown. (e.g.) Figure 1 As shown, example environment 100 may include electronic device 110.
[0021] In this example environment 100, electronic device 110 can run an application 120 that supports user interface interaction. Application 120 can be any suitable type of application for user interface interaction, including but not limited to: media applications, social applications, or other suitable applications. User 140 can interact with application 120 via electronic device 110 and / or its attached devices.
[0022] 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.
[0023] In some cases, 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 of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some cases, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0024] 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.
[0025] 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 can include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections. In some cases, server 130 and electronic device 110 can exchange signaling information through their communication connection.
[0026] 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 the scheme.
[0027] The following description of the example will continue with reference to the accompanying drawings.
[0028] Example Interaction Figures 2A to 2CExample interfaces 200A to 200C are shown, illustrating interface interactions under various scenarios. Interfaces 200A to 200C can, for example, be provided by... Figure 1 The electronic device 110 shown is provided.
[0029] In some cases, such as Figure 2A As shown, electronic device 110 can present interface 200A. Interface 200A can be implemented as a first interface. The first interface is associated with an information stream. For example, the first interface can also be referred to as an information stream viewing interface. As an example, the information stream includes multiple content items. As an example, the information stream can include multiple content items published by multiple users of the current application platform. For example, a user can switch the content items presented in the information stream viewing interface (e.g., the first interface) based on a switching operation, such as an up or down swipe operation. Content items can include works published by users. Such content items can include, for example, plain text content, video content, audio content, graphic content, rich media content, or combinations thereof. For example, content items including rich media content can include at least one component for presenting rich media content. Such at least one component can include, for example, at least one of an image component, a video component, a chart component, and a timeline component.
[0030] In some cases, electronic device 110 may present a first content item 205 in the information stream in a first mode on a first interface (e.g., interface 200A). As an example, the first content item 205 may be published by an individual user. Alternatively, the first content item may also be published by a virtual account associated with an agent. The first content item is generated based on at least one content source. As an example, the content source is the original information source upon which the first content item is based, referenced, or cited when it is generated. Original information sources may include, for example, news web pages, databases, academic papers, real-time information, and / or user-posted content items. The process of generating the first content item 205 based on at least one content source can be referred to the exemplary description below, and will not be repeated here.
[0031] In some cases, the first content item 205 includes text content. The text content may indicate text portions within the first content item 205. For example, the text portions may include a heading 210 and a body portion 212. For example, the heading 210 may correspond to a first text style, and the body portion may correspond to a second text style. The first text style may differ from the second text style. As an example, the difference between the first and second text styles may include the color, font size, and / or font of the corresponding text content.
[0032] Additionally, the first content item 205 includes at least one component, such as component 215-1 and component 215-2. At least one component is used to present rich media content. As an example, the first content item may consist of a mix of text content and rich media content. At least one component may include at least one of an image component, a video component, a chart component, and a timeline component. For example, an image component may be used to present image content. For example, a video component may be used to present video content. A chart component may be used to present chart content (e.g., bar charts, column charts, pie charts, line charts, and / or statistical tables, etc.). A timeline component may be an information organization component that visualizes events chronologically as a linear axis. The timeline component may be implemented as a hierarchical structure that uses nodes to mark key time points, lines to indicate the timeline, and content cards to carry event details. For example, component 215-1 may correspond to a video component. Component 215-2 may correspond to a chart component.
[0033] In some cases, the electronic device 110 may present a first content item 205 in the information stream in a first mode. The first mode supports presenting the complete content of the first content item 205, thereby improving the information display efficiency of the first content item 205 in the first interface. Additionally or alternatively, the electronic device 110 may present animation effects in the first interface. Animation effects may include, for example, movement of the first content item in a preset direction (e.g., the direction indicated by arrow marker 220). For example, the animation effect may instruct the first content item to scroll in the first interface based on this movement. As an example, the display position of the text content in the first content item and at least one component in the first interface may be adjusted based on the movement of the first content item, such as scrolling from bottom to top until the complete content of the first content item is displayed. In some cases, at least one component includes a video component. The video component presents a corresponding video cover. Animation effects may include movement of the video cover in a preset direction. For example, the display position of the video cover in the first interface may be adjusted based on movement in the preset direction.
[0034] For example, the electronic device 110 can display the movement of the first content item in a preset direction on the first interface, thereby realizing the automatic playback of the first content item on the first interface, reducing user operations, and saving user time.
[0035] Additionally or alternatively, the electronic device 110 may display the title of the work corresponding to the first content item 205 (e.g., title 210) at a preset position (e.g., the position of title 210) on the first interface (e.g., interface 200A). As an example, the electronic device 110 may maintain the title 210 at the preset position during the movement of the first content item. For example, during the movement of the first content item, the title 210 may remain at the preset position, and the display positions of other parts of the first content item (e.g., the body text 212 and at least one component) may be adjusted based on the movement, thereby enabling scrolling playback of the parts of the first content item 205 other than the title 210, which is beneficial to improving the user's viewing efficiency.
[0036] Additionally or alternatively, the electronic device 110 may, in response to the text length of the title 210 exceeding a preset threshold, present the title 210 in a first preset style (e.g., collapsed display). For example, the first preset style may indicate the presentation of a portion of the title 210. Additionally, the electronic device 110 may, in response to a triggering operation on the title 210 (e.g., a click operation), switch to presenting the title 210 in a second preset style. The second preset style may, for example, indicate the presentation of the complete content of the title 210.
[0037] In some scenarios, associated with the first mode, the electronic device 110 may respond to at least one component being presented in the first interface, in which dynamic content is presented. For example, the at least one component may include a video component, and accordingly, presenting dynamic content in the at least one component may indicate that video content is played in the video component. Alternatively, the at least one component may include a chart component, and accordingly, presenting dynamic content in the at least one component may indicate that at least one element of the chart component (e.g., data labels, lines, etc.) is dynamically presented in the chart component.
[0038] In other scenarios, associated with the first mode, the electronic device 110 may respond to at least one component being presented in the first interface, whereby static media content is presented in the at least one component. The static media content is associated with the at least one component. For example, the static media content may include image content associated with the at least one component. As an example, the at least one component includes a video component. Accordingly, the static media content may include a video cover corresponding to the video component.
[0039] In some cases, associated with the first mode, the electronic device 110 may present a first content item 205 within a content container of a first interface. The content container includes a cover area 225 and a content area 230. As an example, the cover area 225 may present a cover image. The content area 230 may present the first content item 205. In some cases, the cover image is determined from the first content item. For example, the first content item may include multiple image contents and / or video contents. The cover image may be image content or video content determined from multiple image contents and / or video contents. For example, the cover image may be determined during the generation process of the first content item. For example, the cover image content may be static image content or dynamic content (e.g., video content, etc.).
[0040] In some cases, the first mode at least indicates disabling at least some interactive functionality of at least one component. For example, at least some interactive functionality of at least one component may relate to the interaction with content presented within the component. Taking a video component as an example, at least some interactive functionality of the video component may include the ability to play or pause video content by clicking the video component. Alternatively, the video component may also present identification information (e.g., image and / or text identifiers) of the publisher of the corresponding video content. At least some interactive functionality of the video component may include the ability to trigger the presentation of the publisher's viewing interface (e.g., a personal details page) by clicking the identification information. Taking a chart component as an example, at least some interactive functionality of the chart component may include the ability to present data items associated with the content by clicking the content within the chart component. For example, such data items may include data corresponding to data bars in a bar chart (e.g., numbers, etc.). Alternatively, such data items may include data corresponding to data points in a line chart (e.g., numbers, etc.). Taking a timeline component as an example, at least some interactive functionality of the timeline component may include the ability to present data items associated with the content by clicking the content within the timeline component. For example, such data items may include event descriptions corresponding to specific times.
[0041] In some cases, the electronic device 110 may display a prompt message 235 in the first content item 205. The prompt message 235 (e.g., generated from sources such as @XXX) may indicate that the first content item is generated based on at least one content source (e.g., @XXX), thereby helping the user understand the source of the information in the first content item.
[0042] In other cases, the electronic device 110 may, in response to receiving a switching operation on the first interface, present a second content item in the information stream on the first interface. The first and second content items are associated with the same information stream. As an example, such a switching operation may include receiving a swipe or gesture operation on the first interface. Alternatively, such a switching operation may indicate that the first content item has finished playing.
[0043] In some cases, electronic device 110 may, in response to receiving a first operation on a first interface, present a first content item in a second mode on a second interface. As an example, the first operation may indicate a triggered operation (e.g., a click operation on content area 230) for the first content item 205 in the first interface. Alternatively, the first operation may indicate a triggered operation (e.g., a click operation) for a control 245 in the first interface (e.g., reading an article).
[0044] In some cases, such as Figure 2B As shown, electronic device 110 can present interface 200B. Interface 200B can be implemented as a second interface. For example, electronic device 110 can present the first content item 250 in a second mode in the second interface (e.g., interface 200B). In some cases, associated with the second mode, electronic device 110 can present the first content 250 in the second interface.
[0045] As an example, the second mode indicates that at least some interactive functionality of at least one component is enabled. The at least some interactive functionality of at least one component can be referred to in the exemplary description above, and will not be repeated here.
[0046] The electronic device 110 can also change the display area of the first content item 250 in the second interface in response to receiving an adjustment operation in the second interface. As an example, the adjustment operation may indicate a swipe operation or gesture operation on the second interface. As an example, changing the display area of the first content item 250 in the second interface may indicate that the display position of the text content and at least one component in the first content item 250 in the second interface can be adjusted based on the adjustment operation. Due to limitations in display size, the electronic device 110 can present a first portion of the first content item 250 in the second interface. Further, the electronic device 110 can present a second portion of the first content item and hide at least a portion of the content in the first portion based on the adjustment operation.
[0047] In some cases, the electronic device 110 may receive a second operation on either a first interface or a second interface. The second operation is associated with the first component of at least one component. Further, the electronic device 110 may update the first component or present a third interface in response to receiving the second operation. Taking the second interface as an example, the second operation will be described exemplarily. For example, at least one component may include component 255-1 and component 255-2.
[0048] In some cases, electronic device 110 may update the first component in response to receiving a second operation. In some cases, electronic device 110 may present additional content in the first component in response to receiving a second operation. The additional content is associated with the second operation. For example, the first component may include a chart component (e.g., component 255-2). The second operation may include a trigger operation at a predetermined location (e.g., a click operation or a hover operation). For example, the predetermined location may indicate a trigger-enabled position within the chart component. For example, if the chart component is associated with a bar chart, the predetermined location may indicate the position of multiple data bars in the bar chart. For example, if the chart component is associated with a line chart, the predetermined location may indicate the position of multiple data points in the line chart.
[0049] Additionally, the electronic device 110 can respond to a trigger operation at a predetermined location. In the chart component, data items are presented as additional content. The data items are associated with the trigger location of the trigger operation. For example, in a bar chart, a data item may correspond to a data bar associated with the trigger location of the trigger operation. For example, a data item may indicate the number corresponding to that data bar. For example, in a line chart, a data item may correspond to a data point associated with the trigger location of the trigger operation. For example, a data item may indicate the number corresponding to that data point.
[0050] Additionally or alternatively, at least one component associated with the second operation may also include a timeline component. For example, the second operation may include a trigger operation at a predetermined location. For example, the predetermined location may indicate a position in the timeline component associated with a point in time. As an example, in response to a trigger operation associated with the timeline component, electronic device 110 presents data items as additional content in the timeline component. The data items are associated with the trigger location of the trigger operation. For example, the data items may correspond to a point in time associated with the trigger operation. For example, the data items may indicate descriptive text corresponding to that point in time.
[0051] In some cases, electronic device 110 may present a third interface in response to receiving a second operation. The third interface is associated with the first component. For example, taking component 255-1 as an example, electronic device 110 may present a third interface (not shown) in response to a trigger operation (e.g., a click operation) on component 255-1. The third interface may be a viewing interface for media content associated with component 255-1. As an example, electronic device 110 may present second media content in the third interface in response to receiving a third operation in the third interface. For example, the second media content may correspond to a second component in at least one of the components in the first content item 250. As an example, the third operation may indicate a swipe operation or a gesture operation for the third interface.
[0052] In the first scenario, the information flow associated with the first content item is the first information flow. The third interface may be associated with a second information flow. The second information flow is different from the first information flow. The second information flow is associated with the first content item. The second information flow includes at least the first media content and the second media content. Alternatively, the second information flow may include multiple media contents corresponding to multiple components in the first content item. The electronic device 110 can adjust the media content presented in the third interface based on switching operations (e.g., gesture operations or up-and-down swipe operations) for the third interface.
[0053] In some cases, the electronic device 110 may present indicator elements, such as indicator element 240-1 and indicator element 240-2, within the first content item 250. As an example, the indicator element may correspond to at least one content element. In some cases, the electronic device 110 may present different indicator elements in different styles. For example, the electronic device 110 may present indicator element 240-1 in a first style and indicator element 240-2 in a second style. The first style may indicate that the name identifier (e.g., "@XXX") corresponding to the corresponding content source is presented in indicator element 240-1. The second style may indicate that a numerical identifier (e.g., "3") is presented in indicator element 240-2 to indicate the citation order of the corresponding content source among at least one content source associated with the first content item 250. As an example, the style associated with the indicator element is determined based on whether the publisher of the corresponding content source (e.g., an individual user or a media organization) is a preset publisher.
[0054] Additionally, the electronic device 110 can present at least one content source in response to the triggering of an indicator element. For example... Figure 2CAs shown, electronic device 110 can present interface 200C. Interface 200C can be implemented as a second interface. Electronic device 110 can present content source panel 260 in the second interface in response to the triggering of an indicator element. Electronic device 110 can present at least one descriptive item in content source panel 260, such as descriptive item 265-1, descriptive item 265-2, etc. At least one descriptive item corresponds to at least one content source. For example, descriptive item 265-1 may correspond to... Figure 2B Indicator element 240-1. For example, description item 265-2 can correspond to... Figure 2B The indicator element 240-2 in the text. For example, the electronic device 110 can respond to a trigger on description item 265-1 by presenting a content source corresponding to description item 265-1. For example, the electronic device 110 can present the content source corresponding to description item 265-1 in the interface. The electronic device 110 can position the interface to the portion of the content source associated with the first content item 250.
[0055] Next based on Figure 3 The generation process of the first content item mentioned above will be described exemplarily.
[0056] like Figure 3 As shown, Figure 3 The flowcharts show example processes for generating the first content item in some scenarios.
[0057] In box 305, reference content (also known as second reference content) can be obtained. The second reference content can indicate a predetermined topic or a predetermined content source. For example, the second reference content may include descriptive text 306-1 (e.g., "an event about XXX"). This descriptive text may indicate a predetermined topic. Alternatively, the second reference content may include one or more predetermined content sources (e.g., content source 306-2 and content source 306-3). Alternatively, the second reference content can be provided to an outline agent (also known as a fourth agent) to generate overview information.
[0058] In box 310, the outline agent can generate overview information based on the second reference content. For example, the outline agent can generate overview information based on the second reference content. As an example, the outline agent can also invoke a search tool to search for multiple content sources associated with the second reference content. Further, the outline agent can generate overview information based on the searched multiple content sources and the second reference content. Alternatively, the outline agent can generate overview information based on outline writing constraints corresponding to the relevant chapter. Outline writing constraints can provide guidance for writing the overview information. For example, outline writing constraints could include "pay attention to exploring the value of causal relationships over time."
[0059] As an example, the overview information can indicate the writing outline for the first content item to be generated. As an example, the overview information can describe the content structure of the content item. For instance, such overview information can include structured text. Such structured text can include multiple sections (e.g., "Cause of the Event," "Current Progress," etc.). Each section can include one or more headings and corresponding text descriptions.
[0060] In other cases, the overview information may also include a unique identifier (e.g., a Uniform Resource Locator (URL) corresponding to at least one content source associated with multiple chapters). For example, box 315 shows URL links corresponding to multiple content sources. For example, multiple chapters are generated based on this at least one content source. Additionally, the overview information may also include the correspondence between multiple chapters and at least one content source. In this way, the overview information includes text content but does not include instructions on how to generate components, thereby avoiding the problem that the overview information specifies components, but the component agent cannot generate the corresponding components.
[0061] In some cases, overview information can be provided to the component agent (also known as the second agent) to obtain a second output. The second output can indicate component data corresponding to multiple candidate components. As an example, the component agent can generate component data by invoking a component tool based on structured text and / or at least one content source corresponding to the overview information, thus providing a tool-like output that enables the component's implementation, which helps ensure component stability. As an example, component data can be implemented as structured data. For example, for a bar chart component, the component data can include the bar chart's category labels, the number of data bars, numerical values, color scheme and / or units, text content, etc. For a timeline component, the component data can include an array of time nodes, event titles, dates, and / or text content, etc. For a video component, the component data can include the video's identifier (ID), URL link, cover image, duration information, and / or platform information, etc. For an image component, the component data can include the image's ID, text, and / or size, etc. Alternatively, the second output can indicate component information for the corresponding candidate component. Component information can include first descriptive information. The first descriptive information may indicate the content (e.g., title and description) of the corresponding candidate component. As an example, the first descriptive information corresponding to a video component may include a summary and description of the corresponding video content. The first descriptive information corresponding to an image component may include a summary and description of the corresponding image content. Such a summary and description may, for example, be implemented based on Optical Character Recognition (OCR) technology. Alternatively, the second output may also indicate a URL link used to generate the content source for the corresponding component. As an example, the image content associated with an image component may also be generated by a component agent.
[0062] Alternatively, the component information may also include second descriptive information. This second descriptive information may indicate usage constraints for the corresponding candidate component. For example, usage constraints may indicate the format of the corresponding component and component invocation requirements, etc.
[0063] As an example, box 320 shows multiple components generated by the component agent, such as component 325-1 (corresponding to a chart component), component 325-2 (corresponding to a chart component), component 325-3 (corresponding to a chart component), component 325-4 (corresponding to a video component), and component 325-5 (corresponding to a video component). Alternatively, the component agent can invoke an inspection tool to inspect the multiple components. For example, the inspection tool can determine the credibility of the multiple components based on the content source corresponding to them. Further, components with a credibility greater than a threshold can pass the inspection and be considered as candidate components. For example, components 325-1, 325-3, and 325-4 can pass the inspection and can be considered as candidate components. For example, components 325-2 and 325-5 fail the inspection and cannot be considered as candidate components. In box 330, multiple candidate components (e.g., X groups of bar charts, X groups of line charts, etc.) can be determined based on a second output.
[0064] In some cases, within box 335, overview information can be provided to the chapter information agent (also known as the third agent) to invoke a search tool to search for first reference content based on the overview information. For example, the chapter agent can invoke a search tool to search for at least one additional content source based on the content source indicated in the overview information and the structured text. Further, the chapter agent can determine at least one content source based on the content source indicated in the overview information and at least one additional content source to determine the first reference content. The chapter agent can then output the first reference content.
[0065] In box 340, component information and first reference content can be provided to the text agent (also referred to as the first agent) to obtain a first output. The first output can indicate the text content in the content item. The first output may also indicate, for example, the selection of at least one component from a plurality of candidate components. Alternatively, the first output may also include layout information. The layout information may indicate the positional relationship between at least one component and the text content. Alternatively, the text agent can generate the text content based on text writing constraints. As an example, the first output may also include reference tags for the content source used to generate the text content and at least one component. Alternatively, the first output can also be checked. For example, the content accuracy of at least one component and the text content in the first output can be determined based on the content source. Further, the first output that passes the check can be output.
[0066] Furthermore, a first content item can be constructed based on the first output. For example, the first content item can be rendered based on the first output. In this way, the integrated output of component content and main text content can be achieved, which helps to improve the correlation and content consistency between the components and main text content in the generated first content item.
[0067] In this paper, an agent refers to a virtual object or entity capable of making decisions and executing actions based on machine learning models to achieve preset goals or complete preset tasks. An agent can be an automated program that understands the user's intent and can utilize models or invoke tools to complete various types of tasks. Agents can process requests based on generative models (e.g., language models, multimodal models) to perform specified types of tasks. In some cases, agents may also relate to virtual accounts, which may have corresponding avatars or nicknames.
[0068] Next, based on Figures 4A to 4F The component forms in the first content item will be described exemplarily.
[0069] Figures 4A to 4F Schematic diagrams of components in some scenarios are shown in 400A to 400F.
[0070] like Figure 4A As shown, schematic diagram 400A is associated with a timeline component. For example, the timeline component may include a title and / or description corresponding to at least a portion of the text content in a content item. For example, the timeline component may include multiple time points, such as time point 405 (e.g., XXXX year XX month XX day), etc. Each time point may correspond to a node event. A node event may include an event description associated with that time point. For example, time point 405 may correspond to node event 410. Alternatively, the timeline component may include a maximum of a preset number (e.g., 6) of time points.
[0071] like Figure 4B As shown, schematic diagram 400B is associated with an image component. For example, the image component may include a title and / or description corresponding to at least a portion of the text content in the content item. For example, the image component may be used to present image content obtained from media content, such as image content 415-1 and image content 415-2. As an example, the image component may be interspersed within text content 420. As an example, the image component may also include a text description 425-1 associated with the image content and an indicator element 425-2 indicating the content source of the image content. For example, triggering the indicator element 425-2 can present the corresponding content source.
[0072] like Figure 4C As shown, schematic diagram 400C is associated with yet another image component. For example, this image component can be used to present image content generated by an agent, such as image content 430. As an example, the image component may also include a text description 435-1 associated with the image content 430 and an indicator element 435-2 generated by the agent that indicates the image content.
[0073] like Figure 4D As shown, schematic diagram 400D is associated with a video component. For example, the video component may include a title and / or description corresponding to at least a portion of the text content in the content item. For example, the video component may be used to present video content obtained from media content, such as video content 440. As an example, the video component may be interspersed within text content 445-1 and text content 445-2. As an example, the video component may also include a text description 450 associated with the video content and an indicator element (not shown in the diagram) indicating the content source of the video content. For example, the corresponding content source can be presented by triggering the indicator element. Alternatively, the video component may present identification information of the publisher associated with the video content (e.g., avatar identifier and / or name identifier).
[0074] like Figure 4E As shown, schematic diagram 400E is associated with a chart component. The chart component may include bar charts, trend charts, line charts, etc. For example, a chart component may include a chart title, axis meanings, data bars, lines, legends, gridlines, and / or data labels. Alternatively, the chart component may also include a title and / or description corresponding to at least a portion of the text content in the content item.
[0075] like Figure 4F As shown, schematic diagram 400F is associated with a reference content component that includes cited content. For example, the reference content component may include a title and / or description corresponding to at least a portion of the text content in the content item. The reference content component may include cited content 455 and a cited source 460 (e.g., author name, etc.). As an example, the text display style of the reference content may differ from the display style of the text content in the main text. For example, different display styles may include different colors, different font sizes, etc.
[0076] Based on the process described above, a first content item generated from a content source can be presented in a first mode on a first interface associated with the information flow. The first content item includes text content and at least one component for presenting rich media content, thereby enriching the expression of content items in the information flow and improving the efficiency of information display and user retrieval of information from the content item. The first mode can support presenting the complete content of the first content item on the first interface, thus improving the display efficiency of the first content item on the first interface. Furthermore, in response to receiving a first operation on the first interface, the first content item can be presented in a second mode on a second interface. Presenting the first content item in different modes on the first and second interfaces respectively enriches the viewing and interaction methods associated with the first content item and improves the efficiency of user information retrieval.
[0077] Example process Figure 5 A flowchart illustrating an example process 500 for interface interaction under certain conditions is shown. Process 500 can be implemented at electronic device 110. See below for reference. Figure 1 To describe process 500.
[0078] like Figure 5 As shown, in box 510, electronic device 110 presents a first interface, which is associated with the information flow.
[0079] In box 520, electronic device 110 presents a first content item in an information stream in a first mode on a first interface. The first content item is generated based on at least one content source. The first content item includes text content and at least one component, which is used to present rich media content. The first mode supports presenting the complete content of the first content item.
[0080] In box 530, electronic device 110 responds to receiving a first operation in a first interface and presents a first content item in a second mode in a second interface.
[0081] In some cases, process 500 further includes: receiving a second operation on a first interface or a second interface, the second operation being associated with a first component of at least one component; and updating the first component or presenting a third interface in response to receiving the second operation, the third interface being associated with the first component.
[0082] In this way, interaction with components in the first content item can be supported, thereby enriching the interaction methods of the first content item and improving the efficiency of users in obtaining information.
[0083] In some cases, updating the first component in response to receiving the second operation includes: in response to receiving the second operation, presenting additional content in the first component, the additional content being related to the second operation.
[0084] In this way, it is possible to support the retrieval of additional content associated with a component through operations associated with that component, thereby improving the efficiency of users obtaining information through the first content item and enriching the information display efficiency of the first content item.
[0085] In some cases, the first component includes a chart component, the second action includes a trigger action at a predetermined location, and in response to receiving the second action, presenting additional content in the first component includes: presenting data items as additional content in the chart component, the data items being related to the trigger location of the trigger action.
[0086] In this way, users can view data items associated with the trigger location by triggering the chart component, thereby improving the efficiency of information retrieval.
[0087] In some cases, process 500 further includes: presenting first media content in a third interface, the first media content corresponding to a first component; and in response to receiving a third operation in the third interface, presenting second media content in the third interface, the second media content corresponding to a second component in at least one component.
[0088] In some cases, the information flow is the first information flow, the third interface is associated with the second information flow, the second information flow is associated with the first content item, and the second information flow includes at least the first media content and the second media content.
[0089] In some cases, the first mode indicates at least disabling at least some interactive functionality of at least one component; and the second mode indicates at least enabling at least some interactive functionality of at least one component.
[0090] In this way, the interaction methods associated with the primary content can be enriched.
[0091] In some cases, process 500 further includes: presenting a prompt message in the first content item, the prompt message indicating that the first content item was generated based on at least one content source.
[0092] This method can improve the efficiency of users obtaining information.
[0093] In some cases, process 500 further includes: in a first content item, presenting an indicator element, the indicator element corresponding to at least one content source; and in response to triggering the indicator element, presenting at least one content source.
[0094] This approach improves the efficiency of users viewing content sources associated with the first content item.
[0095] In some cases, presenting a first content item in the information flow in a first mode on a first interface includes: presenting the first content item in a content container of the first interface, the content container including a cover area and a content area, wherein the cover area presents a cover image and the content area presents the first content item, the cover image being determined from the first content item.
[0096] In this way, the first content item and its cover image can be displayed in different areas of the first interface, thereby improving the efficiency of information display for the first content item.
[0097] In some cases, the first content item is generated based on the following process: obtaining multiple candidate components and first reference content, the first reference content being associated with at least one content source; providing component information and the first reference content to a first agent to obtain a first output, the component information being associated with multiple candidate components, the first output including text content, the first output also indicating the selection of at least one of the multiple candidate components; and constructing the first content item based on the first output.
[0098] In this way, it is possible to support the determination of a first output, including text content and at least one component, based on multiple candidate components and a first reference content, thereby enriching the construction method of the first content item and improving the quality of the first content item.
[0099] In some cases, the first output may also include layout information, which indicates the positional relationship between at least one component and the text content.
[0100] In this way, the first output can also indicate the positional relationship between at least one component and the text content, thereby improving the layout order of the first content item.
[0101] In some cases, multiple candidate components are determined based on the following process: obtaining overview information that describes the content composition of content items; providing the overview information to a second agent to obtain a second output that indicates component data corresponding to multiple candidate components; and determining multiple candidate components based on the second output.
[0102] In this way, it is possible to generate multiple candidate components based on overview information, which helps to improve the correlation between components and text content in the first content item.
[0103] In some cases, process 500 further includes: in response to receiving a switching operation on the first interface, presenting a second content item in the information stream on the first interface.
[0104] In some cases, presenting a first content item in an information stream in a first mode includes: presenting an animation effect in a first interface, the animation effect including the movement of the first content item in a preset direction.
[0105] In some cases, at least one component includes a video component that presents a corresponding video cover, and the motion effects include the movement of the video cover in a preset direction.
[0106] In some cases, process 500 also includes: presenting the title of the work corresponding to the first content item at a preset position on the first interface; and maintaining the title at the preset position during the movement of the first content item.
[0107] In some cases, presenting a first content item in an information stream in a first mode includes: in response to at least one component being presented in a first interface, presenting dynamic content in at least one component; or in response to at least one component being presented in a first interface, presenting static media content in at least one component, the static media content being associated with at least one component.
[0108] In some cases, at least one component includes a video component, and the static media content includes a video cover corresponding to the video component.
[0109] In some cases, the component information includes at least one of the following: first description information, which indicates the content of the corresponding candidate component; and second description information, which indicates the usage constraints of the corresponding candidate component.
[0110] In some cases, the first reference content is determined based on the following process: providing an overview to a third agent to invoke a search tool to search for the first reference content based on the overview.
[0111] In this way, it is possible to support searching for the first reference content based on the overview information, which helps to enrich the content sources used to generate the first content item.
[0112] In some cases, the overview information is generated based on the following process: obtaining second reference content, which indicates a predetermined topic or a predetermined content source; and providing the second reference content to a fourth agent to generate the overview information.
[0113] In some cases, presenting a first content item in the information stream in a second mode includes: presenting the first content item in a second interface; and changing the display range of the first content item in the second interface in response to receiving an adjustment operation in the second interface.
[0114] In some cases, at least one component includes at least one of the following: an image component; a video component; a chart component; a timeline component.
[0115] Example devices and equipment A corresponding apparatus for implementing the above methods or processes is also provided. Figure 6 A schematic structural block diagram of an example device 600 for interface interaction is shown, according to some scenarios. Device 600 can be implemented as or included in electronic device 110. The various modules / components in device 600 can be implemented by hardware, software, firmware, or any combination thereof.
[0116] like Figure 6As shown, the device 600 includes: a first presentation module 610 configured to present a first interface associated with an information stream; a second presentation module 620 configured to present a first content item in the information stream in a first mode on the first interface, the first content item being generated based on at least one content source, the first content item including text content and at least one component, the at least one component being used to present rich media content, wherein the first mode supports presenting the complete content of the first content item; and a third presentation module 630 configured to present the first content item in a second mode on a second interface in response to receiving a first operation on the first interface.
[0117] In some cases, the device 600 further includes a receiving module configured to: receive a second operation on a first interface or a second interface, the second operation being associated with a first component of at least one component; and, in response to receiving the second operation, update the first component or present a third interface, the third interface being associated with the first component.
[0118] In some cases, the receiving module is also configured to: in response to receiving a second operation, present additional content in the first component, the additional content being related to the second operation.
[0119] In some cases, the first component includes a chart component, the second operation includes a trigger operation at a predetermined location, and the receiving module is further configured to present data items as additional content in the chart component, the data items being related to the trigger location of the trigger operation.
[0120] In some cases, device 600 further includes a fourth presentation module configured to: present first media content in a third interface, the first media content corresponding to a first component; and, in response to receiving a third operation in the third interface, present second media content in the third interface, the second media content corresponding to a second component in at least one component.
[0121] In some cases, the information flow is the first information flow, the third interface is associated with the second information flow, the second information flow is associated with the first content item, and the second information flow includes at least the first media content and the second media content.
[0122] In some cases, the first mode indicates at least disabling at least some interactive functionality of at least one component; and the second mode indicates at least enabling at least some interactive functionality of at least one component.
[0123] In some cases, the device 600 also includes a prompting module configured to present a prompt message in a first content item, the prompt message indicating that the first content item was generated based on at least one content source.
[0124] In some cases, the device 600 also includes an indicator element module configured to: present an indicator element in a first content item, the indicator element corresponding to at least one content source; and present at least one content source in response to triggering the indicator element.
[0125] In some cases, the second presentation module 620 is also configured to present a first content item in the content container of the first interface, the content container including a cover area and a content area, wherein the cover area presents a cover image and the content area presents the first content item, the cover image being determined from the first content item.
[0126] In some cases, the first content item is generated based on the following process: obtaining multiple candidate components and first reference content, the first reference content being associated with at least one content source; providing component information and the first reference content to a first agent to obtain a first output, the component information being associated with multiple candidate components, the first output including text content, the first output also indicating the selection of at least one of the multiple candidate components; and constructing the first content item based on the first output.
[0127] In some cases, the first output may also include layout information, which indicates the positional relationship between at least one component and the text content.
[0128] In some cases, multiple candidate components are determined based on the following process: obtaining overview information that describes the content composition of content items; providing the overview information to a second agent to obtain a second output that indicates component data corresponding to multiple candidate components; and determining multiple candidate components based on the second output.
[0129] In some cases, device 600 also includes a switching module configured to: in response to receiving a switching operation on the first interface, present a second content item in the information stream on the first interface.
[0130] In some cases, the second presentation module 620 is also configured to present motion effects in the first interface, the motion effects including the movement of the first content item in a preset direction.
[0131] In some cases, at least one component includes a video component that presents a corresponding video cover, and the motion effects include the movement of the video cover in a preset direction.
[0132] In some cases, the second presentation module 620 is also configured to: in response to at least one component being presented in the first interface, present dynamic content in the at least one component; or in response to at least one component being presented in the first interface, present static media content in the at least one component, the static media content being associated with the at least one component.
[0133] In some cases, at least one component includes a video component, and the static media content includes a video cover corresponding to the video component.
[0134] In some cases, the component information includes at least one of the following: first description information, which indicates the content of the corresponding candidate component; and second description information, which indicates the usage constraints of the corresponding candidate component.
[0135] In some cases, the first reference content is determined based on the following process: providing an overview to a third agent to invoke a search tool to search for the first reference content based on the overview.
[0136] In some cases, the overview information is generated based on the following process: obtaining second reference content, which indicates a predetermined topic or a predetermined content source; and providing the second reference content to a fourth agent to generate the overview information.
[0137] In some cases, the third presentation module 630 is also configured to: present the first content item in the second interface; and, in response to receiving an adjustment operation in the second interface, change the display range of the first content item in the second interface.
[0138] In some cases, at least one component includes at least one of the following: an image component; a video component; a chart component; a timeline component.
[0139] The modules included in device 600 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some cases, 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 device 600 can be implemented at least partially by one or more hardware logic components. By way of example, and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard parts (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and so on.
[0140] Figure 7 A block diagram of an electronic device 700 in which one or more examples may be implemented is shown. It should be understood that... Figure 7 The electronic device 700 shown is merely exemplary and should not be construed as limiting the functionality and scope of the examples described herein. Figure 7 The illustrated electronic device 700 can be used to implement the electronic device 110 discussed above.
[0141] like Figure 7 As shown, electronic device 700 is in the form of a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, one or more processing units or processors 710, memory 720, storage devices 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processor 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.
[0142] Electronic device 700 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 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 730 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 700.
[0143] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7 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 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various examples.
[0144] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, networked personal computers, or another network node.
[0145] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 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 700, or with any device that enables electronic device 700 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).
[0146] 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. 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.
[0147] The flowcharts and / or block diagrams of the methods, apparatus, devices, and computer program products referred to herein describe various aspects. It should be understood that each block of the flowcharts and / or block diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0148] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0149] 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.
[0150] The flowcharts and block diagrams in the accompanying figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products under various scenarios. In this respect, 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 marked in the blocks may occur in a different order than those shown in the figures. 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, can 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.
[0151] Various examples have been described above. The foregoing descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for interface interaction, comprising: A first interface is presented, which is associated with the information flow; In the first interface, a first content item in the information stream is presented in a first mode. The first content item is generated based on at least one content source. The first content item includes text content and at least one component. The at least one component is used to present rich media content. The first mode supports presenting the complete content of the first content item. as well as In response to receiving a first operation on the first interface, the first content item is presented in a second mode on the second interface.
2. The method according to claim 1, further comprising: On the first interface or the second interface, a second operation is received, the second operation being associated with the first component among the at least one component; as well as In response to receiving the second operation, the first component is updated or a third interface is presented, the third interface being associated with the first component.
3. The method of claim 2, wherein updating the first component in response to receiving the second operation comprises: In response to receiving the second operation, additional content related to the second operation is presented in the first component.
4. The method of claim 3, wherein the first component includes a chart component, the second operation includes a trigger operation at a predetermined position, and in response to receiving the second operation, presenting additional content in the first component includes: In the chart component, data items are presented as additional content, and these data items are related to the triggering location of the triggering operation.
5. The method according to claim 2, further comprising: In the third interface, first media content is presented, and the first media content corresponds to the first component; as well as In response to receiving a third operation in the third interface, second media content is presented in the third interface, the second media content corresponding to the second component in the at least one component.
6. The method according to claim 5, wherein the information stream is a first information stream, the third interface is associated with a second information stream, the second information stream is associated with the first content item, and the second information stream includes at least the first media content and the second media content.
7. The method according to claim 1, wherein: The first mode at least indicates disabling at least some of the interactive functionality of the at least one component; and The second mode at least indicates that at least some of the interactive functions of the at least one component are enabled.
8. The method according to claim 1, further comprising: In the first content item, a prompt message is presented, indicating that the first content item was generated based on the at least one content source.
9. The method according to claim 1, further comprising: In the first content item, an indicator element is presented, the indicator element corresponding to the at least one content source; as well as In response to the triggering of the indicated element, the at least one content source is presented.
10. The method according to claim 1, wherein, in the first interface, presenting the first content item in the information stream in a first mode comprises: The first content item is presented in the content container of the first interface. The content container includes a cover area and a content area, wherein the cover area presents a cover image and the content area presents the first content item, and the cover image is determined from the first content item.
11. The method of claim 1, wherein the first content item is generated based on the following process: Obtain multiple candidate components and a first reference content, wherein the first reference content is associated with the at least one content source; Provide component information and the first reference content to a first agent to obtain a first output, wherein the component information is associated with the plurality of candidate components, the first output includes the text content, and the first output further indicates the selection of at least one component among the plurality of candidate components; and Based on the first output, construct the first content item.
12. The method of claim 11, wherein the first output further includes layout information indicating the positional relationship between the at least one component and the text content.
13. The method of claim 11, wherein the plurality of candidate components are determined based on the following process: Obtain overview information, which describes the content composition of the content items; and The overview information is provided to the second agent to obtain a second output, the second output indicating component data corresponding to the plurality of candidate components; and Based on the second output, the plurality of candidate components are determined.
14. The method according to claim 1, further comprising: In response to receiving a switching operation on the first interface, the second content item in the information stream is presented on the first interface.
15. The method of claim 1, wherein presenting the first content item in the information stream in a first mode comprises: In the first interface, animation effects are presented, including the movement of the first content item in a preset direction.
16. The method of claim 15, wherein the at least one component includes a video component that presents a corresponding video cover, and the motion effect includes movement of the video cover in the preset direction.
17. A device for interface interaction, comprising: The first presentation module is configured to present a first interface, which is associated with the information flow; The second presentation module is configured to present a first content item in the information stream in a first mode on the first interface. The first content item is generated based on at least one content source. The first content item includes text content and at least one component. The at least one component is used to present rich media content. The first mode supports presenting the complete content of the first content item. as well as The third presentation module is configured to, in response to receiving a first operation in the first interface, present the first content item in a second mode in the second interface.
18. 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 16 when executed by the at least one processor.
19. A computer-readable storage medium having stored thereon computer-executable instructions that can be executed by a processor to implement the method according to any one of claims 1 to 16.
20. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 16.