Method and apparatus for interface interaction, and device and storage medium
By presenting the response content in the first window during live interactive sessions and displaying the query items and response content in the second window when the target content item is selected, the problem of low information acquisition efficiency on the Internet is solved, and more efficient information acquisition is achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2025-11-26
- Publication Date
- 2026-06-04
Smart Images

Figure CN2025137815_04062026_PF_FP_ABST
Abstract
Description
Methods, apparatus, devices, and storage media for user interface interaction
[0001] This application claims priority to Chinese Patent Application No. 202411723612.3, filed on November 27, 2024, entitled "Method, Apparatus, Device and Storage Medium for Interface Interaction", the entire contents of which are incorporated herein by reference. Technical Field
[0002] The exemplary embodiments disclosed herein generally relate to the field of computers, and particularly to methods, apparatuses, devices, and computer-readable storage media for interface interaction. Background Technology
[0003] With the development of computer technology, the Internet has become an important channel for users to obtain information. As the amount of data on the Internet increases dramatically, how to efficiently obtain the desired information from the network has become a key concern for users. Summary of the Invention
[0004] In a first aspect of this disclosure, a live interactive method is provided. The method includes: in response to receiving first input content, presenting first response content generated based on the first input content in a first window; in response to receiving a selection of a target content item in the first response content, presenting a second window; and presenting a query item corresponding to the target content item and second response content generated based on the query item in the second window.
[0005] In a second aspect of this disclosure, an apparatus for user interface interaction is provided. The apparatus includes: a first presentation module configured to present first response content generated based on the first input content in a first window in response to receiving first input content; a second presentation module configured to present a second window in response to receiving a selection of a target content item in the first response content; and a third presentation module configured to present a query item corresponding to the target content item and second response content generated based on the query item in the second window.
[0006] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the electronic device to perform the method of the first aspect.
[0007] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions that, when executed by a processor, implement the method of the first aspect.
[0008] In a fifth aspect of this disclosure, a computer program product is provided. The computer program product includes computer-executable instructions, wherein when executed by a processor, the computer-executable instructions implement the method according to a first aspect of this disclosure.
[0009] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0011] Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;
[0012] Figures 2A and 2B illustrate several example interfaces according to some embodiments of the present disclosure;
[0013] Figure 3 illustrates a flowchart of the interface interaction process according to some embodiments of the present disclosure;
[0014] Figure 4 shows a block diagram of a device for interface interaction according to some embodiments of the present disclosure; and
[0015] Figure 5 shows a block diagram of an electronic device capable of implementing several embodiments of the present disclosure. Detailed Implementation
[0016] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0017] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0018] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, which can display the prompt message in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0019] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0020] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0021] The term "in response to" as used herein refers to a state in which a corresponding event occurs or a condition is satisfied. It will be understood that the timing of subsequent actions performed in response to such event or condition is not necessarily strongly correlated with the time when the event occurs or the condition is met. For example, in some cases, subsequent actions may be performed immediately upon the occurrence of the event or the fulfillment of the condition; while in others, they may be performed some time after the occurrence of the event or the fulfillment of the condition.
[0022] 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.
[0023] 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.
[0024] 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.
[0025] As briefly mentioned earlier, with the dramatic increase in the amount of internet data, how to efficiently obtain the desired information from the network has become a key concern for users.
[0026] Therefore, embodiments of this disclosure propose a scheme for interface interaction. According to various embodiments of this disclosure, in response to receiving first input content, first response content generated based on the first input content can be presented in a first window. Further, in response to receiving a selection of a target content item in the first response content, a second window can be presented. In addition, a query item corresponding to the target content item and second response content generated based on the query item can be presented in the second window.
[0027] In this way, embodiments of this disclosure can obtain more content related to the target content item based on the user's selection of the target content item in the response content, thereby improving the efficiency of information acquisition.
[0028] Example embodiments of this disclosure are described below with reference to the accompanying drawings.
[0029] Example Environment
[0030] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in Figure 1, the example environment 100 may include an electronic device 110.
[0031] In this example environment 100, electronic device 110 may run an application 120 for providing and watching live streams. Application 120 may be any suitable type of application for content search. User 140 may interact with application 120 via electronic device 110 and / or its attached devices. User 140 may be any suitable user, such as an administrator who creates a live interactive event (also referred to as a broadcaster, streamer, or administrator), a viewer, a guest (also referred to as a participant or viewer), etc.
[0032] In environment 100 of Figure 1, if application 120 is active, electronic device 110 can present live interface 150 through application 120.
[0033] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Server 150 can provide functions such as management, configuration, and maintenance of the application or website.
[0034] 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).
[0035] 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 virtual scenarios in electronic devices 110.
[0036] 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.
[0037] 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.
[0038] The various example implementations of this disclosure will be described in detail below.
[0039] Example Interaction
[0040] The following description of an example interaction process according to an embodiment of the present disclosure will be made with reference to Figures 2A and 2B. Figures 2A and 2B illustrate example interfaces 200A and 200B according to some embodiments of the present disclosure. Such example interfaces can be provided by the electronic device 110 shown in Figure 1.
[0041] As shown in Figure 2A, the electronic device 110 can receive first input content 210 via interface 200A. As an example, interface 200A can be a conversational interface with a virtual object. Such a virtual object can be provided, for example, based on an appropriate generative model, which can correspond to an agent or machine program (Bot) providing search services.
[0042] As shown in Figure 2A, the electronic device 110 can provide a first response content 220 generated based on the first input content 210 in a first window (i.e., a session window).
[0043] In some embodiments, the generative model corresponding to the virtual object can obtain a set of search results for the first input content 210 and can generate the first response content 220.
[0044] In some embodiments, the first response content 220 may be generated by the model based on preset information. Constraint information may, for example, indicate the model's output length and / or output format. As an example, constraint information may be provided to the model as a system prompt.
[0045] For example, a system prompt could instruct the model to output content in an outline format. As an example, the outline format could indicate that the model output could include multiple headings and corresponding descriptive text. Such descriptive text could be relatively brief, with a word count, for example, less than the threshold indicated in the constraint information.
[0046] Using Figure 2A as an example, the first response content 220 may include four heading items, such as "AA tire", "BB tire", "CC tire", and "DD tire". In addition, the first response content 220 may also include overview content corresponding to the four heading items.
[0047] In some embodiments, to improve the efficiency of the user obtaining further information, the electronic device 110 may also determine one or more content items 225-1 and 225-2 (referred to individually or collectively as content item 225) from the first response content 220. As will be described below, such content item 225 may trigger the retrieval of more detailed information related to content item 225.
[0048] In some embodiments, the electronic device 110 may determine the title item included in the first response content 220 as a content item. For example, content item 225-1 may correspond to the title item "AA Tires".
[0049] Additionally, the electronic device 110 and / or server 130 may also determine multiple candidate keywords contained in the first response content 220. Further, the electronic device 110 and / or server 130 determine the content item 225 based on the matching of the multiple candidate keywords with a preset keyword set. As an example, such a keyword set may include a maintained entity thesaurus.
[0050] In some embodiments, server 130 can process the output content obtained from the model and add corresponding link addresses to the determined content items 225. Accordingly, electronic device 110 can, for example, display the determined content items in a first window with a target style and associate such content items with corresponding link addresses. As an example, the target style may include, for example, a blue link style (e.g., blue font) to indicate that such content items 225 support click operations.
[0051] In some embodiments, such content item 225 may also be determined based on the degree of relevance between candidate keywords and the first input content 210. For example, electronic device 110 or server 130 may determine one or more keywords with a relevance greater than a threshold as content item 225.
[0052] Furthermore, the electronic device 110 may, for example, receive a selection of content item 225-1 (e.g., AA tires) and may accordingly present a second window 230 as shown in FIG2B.
[0053] As shown in Figure 2B, in the second window 230, the electronic device 110 can display the query item 235 corresponding to the selected content item 225-1, and can present the second response content 250 generated based on the query item 235. For example, the query item 235 can be "Where are AA tires produced?".
[0054] In some embodiments, query term 235 may include a preset query term associated with content term 225-1. Alternatively, query term 235 may also be generated based on content term 225-1. For example, server 130 may use a generative model to generate query term 235 based on content term 225-1 and first input content 210. As an example, query term 235 may be used to obtain more specific information about content term 225-1.
[0055] In some embodiments, the electronic device 110 may also present a first control 240 and update the query item 235 based on the selection of the first control 240. For example, the electronic device 110 may receive a click on the first control 240 and update the query item 235 to another preset query item or another query item generated based on content item 225-1. For example, the query item 235 may be updated to "How is the quality of AA tires?". Further, the electronic device 110 may present response content (also referred to as third response content) generated based on the updated query item in a second window 230.
[0056] In some embodiments, the electronic device 110 may also present a set of candidate query items based on a click on the first control 240. Such a set of candidates may be generated, for example, based on the first input content 210 and the selected content item 225-1. For example, the server 130 may use a model to pre-generate multiple query items associated with content item 225-1.
[0057] Furthermore, the electronic device 110 can receive the user's selection of a query item from the group of candidate query items to update the query item 235. Furthermore, the electronic device 110 can present response content generated based on the updated query item 235.
[0058] Additionally, the electronic device 110 may also provide a second control 245 in the second window 230. In some embodiments, the electronic device 110 may receive a click on the second control 245 and may update the second response content 250. Specifically, the electronic device 110 may present updated response content (also referred to as fourth response content), the length or enrichment length of which may be greater than the second response content 250. In some scenarios, the fourth response content may also be referred to as in-depth interpretation content.
[0059] In some embodiments, the electronic device 110 may also provide a follow-up component 255 to support users in providing a second input. As an example, the follow-up component 255 may include one or more input controls to support users in providing a second input by selecting candidates or typing text.
[0060] Using Figure 2B as an example, the follow-up component 255 can provide multiple sets of candidate options associated with different aspects. In some embodiments, these candidate options may be generated, for example, based on the first input content 210 and / or query item 235, to help the user better express their information retrieval needs.
[0061] Furthermore, the electronic device 110 can update the second response content 250 based on the second input content obtained from the follow-up component 255, so that the user can obtain more accurate information.
[0062] In some embodiments, the electronic device 110 may also present a set of content cards 260 determined based on content item 225-1 and / or query item 235 in a second window 230. In some embodiments, such a set of content cards 260 may include one or more search results obtained using content item 225-1 and / or query item 235. As an example, the server 130 may invoke a search interface and retrieve content cards that match content item 225-1 and / or query item 235. As an example, such content cards may include encyclopedia cards, product cards, or any suitable card content.
[0063] In this way, embodiments of this disclosure can obtain more content related to the target content item through a separate window based on the user's selection of the target content item in the response content, thereby improving the efficiency of information acquisition.
[0064] Example process
[0065] Figure 3 illustrates a flowchart of an example process 300 for interface interaction according to some embodiments of the present disclosure. Process 300 can be implemented at electronic device 110. Process 300 will now be described with reference to Figure 1.
[0066] As shown in Figure 3, in box 310, electronic device 110 responds to receiving first input content by presenting first response content generated based on the first input content in a first window.
[0067] In box 320, electronic device 110 presents a second window in response to receiving a selection of a target content item in the first response content.
[0068] In box 330, electronic device 110 presents a query item corresponding to the target content item and a second response content generated based on the query item in the second window.
[0069] In some embodiments, process 300 further includes: presenting a set of content items in the first response content in a target style in a first window, the set of content items including the target content items.
[0070] In some embodiments, the query item is a first query item, and the process 300 further includes: updating the first query item to a second query item in response to the selection of a first control in the second window; and presenting third response content generated based on the second query item.
[0071] In some embodiments, updating a first query item to a second query item includes: in response to a selection of a first control, presenting a set of candidate query items generated based on a first input content and a target content item; and in response to a selection of a second query item from the set of candidates, updating the first query item to a second query item.
[0072] In some embodiments, process 300 further includes: in response to the selection of a second control in the second window, presenting fourth response content generated based on the query item in the second window, wherein the length of the fourth response content is greater than that of the second response content.
[0073] In some embodiments, process 300 further includes: providing at least one input control in a second window; obtaining second input content from the user via the at least one input control; and updating second response content based on the second input content.
[0074] In some embodiments, obtaining a user's second input content via at least one input control includes: providing a set of candidates in at least one input control, the set of candidates being determined based on a target content item and / or a query item; and receiving a selection of at least one candidate from the set of candidates to determine the second input content.
[0075] In some embodiments, process 300 further includes: presenting a set of content cards in a second window, based on a target content item and / or query item, the set of content cards corresponding to the search results of the target content item and / or query item.
[0076] In some embodiments, the first response content is generated by the model based on preset constraint information, which indicates the output length and / or output format of the model.
[0077] In some embodiments, the constraint information indicates that the output format includes a set of headings and corresponding descriptions, and the target content item includes the heading items in the first response content.
[0078] In some embodiments, the target content item is determined based on the following process: determining multiple candidate keywords in the first response content; and determining the target content item based on the matching of the multiple candidate keywords with a preset set of keywords.
[0079] Example devices and equipment
[0080] Embodiments of this disclosure also provide corresponding apparatus for implementing the methods or processes described above. Figure 4 shows a schematic structural block diagram of an apparatus 400 for interface interaction according to certain embodiments of this disclosure. The apparatus 400 may be implemented as or included in the electronic device 110. The various modules / components in the apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0081] As shown in Figure 4, the device 400 includes a first presentation module 410 configured to present first response content generated based on the first input content in a first window in response to receiving first input content; a second presentation module 420 configured to present a second window in response to receiving a selection of a target content item in the first response content; and a third presentation module 430 configured to present a query item corresponding to the target content item and a second response content generated based on the query item in the second window.
[0082] In some embodiments, the apparatus 400 further includes a style module configured to: present a set of content items in the first response content in a target style in a first window, the set of content items including the target content item.
[0083] In some embodiments, the query item is a first query item, and the device 400 further includes a first update module, which is configured to: update the first query item to a second query item in response to the selection of a first control in the second window; and present third response content generated based on the second query item.
[0084] In some embodiments, the first update module is further configured to: in response to the selection of the first control, present a set of candidate query items generated based on the first input content and the target content item; and in response to the selection of the second query item in the set of candidates, update the first query item to the second query item.
[0085] In some embodiments, the device 400 further includes a fourth presentation module configured to: in response to the selection of a second control in a second window, present fourth response content generated based on a query item in the second window, wherein the length of the fourth response content is greater than that of the second response content.
[0086] In some embodiments, the apparatus 400 further includes a second update module, which is configured to: provide at least one input control in a second window; obtain second input content from a user via the at least one input control; and update second response content based on the second input content.
[0087] In some embodiments, the second update module is further configured to: provide a set of candidates in at least one input control, the set of candidates being determined based on a target content item and / or a query item; and receive a selection of at least one candidate from the set of candidates to determine a second input content.
[0088] In some embodiments, the device 400 further includes a card module configured to present a set of content cards determined based on a target content item and / or query item in a second window, the set of content cards corresponding to the search results of the target content item and / or query item.
[0089] In some embodiments, the first response content is generated by the model based on preset constraint information, which indicates the output length and / or output format of the model.
[0090] In some embodiments, the constraint information indicates that the output format includes a set of headings and corresponding descriptions, and the target content item includes the heading items in the first response content.
[0091] In some embodiments, the target content item is determined based on the following process: determining multiple candidate keywords in the first response content; and determining the target content item based on the matching of the multiple candidate keywords with a preset set of keywords.
[0092] The units included in device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units may be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 400 may be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that may be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chips (SoCs), complex programmable logic devices (CPLDs), and so on.
[0093] Figure 5 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 500 shown in Figure 5 is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. The electronic device 500 shown in Figure 5 can be used to implement the electronic device 110 of Figure 1.
[0094] As shown in Figure 5, the electronic device 500 is in the form of a general-purpose electronic device. Components of the electronic device 500 may include, but are not limited to, one or more processing units or processors 510, memory 520, storage devices 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processor 510 may be a physical or virtual processor and is capable of performing various processes according to the programs stored in the memory 520. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0095] 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.
[0096] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks may be provided. In these cases, each drive may be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0097] 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.
[0098] 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).
[0099] 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.
[0100] 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.
[0101] 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.
[0102] 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.
[0103] 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.
[0104] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for interface interaction, comprising: In response to receiving the first input content, a first response content generated based on the first input content is presented in the first window; Upon receiving a selection of a target content item in the first response content, a second window is displayed; as well as The second window presents the query item corresponding to the target content item and the second response content generated based on the query item.
2. The method according to claim 1, further comprising: In the first window, a set of content items from the first response content are presented in the target style, the set of content items including the target content item.
3. The method according to claim 1, wherein the query item is a first query item, and the method further includes: In response to the selection of the first control in the second window, the first query item is updated to the second query item; as well as Present the third response content generated based on the second query item.
4. The method according to claim 3, wherein updating the first query term to the second query term comprises: In response to the selection of the first control, a set of candidate query items generated based on the first input content and the target content item are presented; as well as In response to the selection of a second query term from the set of candidates, the first query term is updated to the second query term.
5. The method according to claim 1, further comprising: In response to the selection of a second control in the second window, a fourth response content generated based on the query item is presented in the second window, wherein the length of the fourth response content is greater than that of the second response content.
6. The method according to claim 1, further comprising: At least one input control is provided in the second window; The user's second input content is obtained through the at least one input control; as well as Update the second response content based on the second input content.
7. The method of claim 6, wherein obtaining the user's second input content via the at least one input control comprises: A set of candidate options is provided in the at least one input control, the set of candidate options being determined based on the target content item and / or the query item; as well as Upon receiving a selection of at least one of the candidates in the set, the second input content is determined.
8. The method according to claim 1, further comprising: The second window presents a set of content cards determined based on the target content item and / or the query item, the set of content cards corresponding to the search results of the target content item and / or the query item.
9. The method according to claim 1, wherein the first response content is generated by the model based on preset constraint information, the constraint information indicating the output length and / or output format of the model.
10. The method of claim 9, wherein the constraint information indicates that the output format includes a set of titles and corresponding descriptions, and the target content item includes the title item in the first response content.
11. The method of claim 1, wherein the target content item is determined based on the following process: Identify multiple candidate keywords in the first response content; and The target content item is determined based on the matching of the multiple candidate keywords and the preset keyword set.
12. A device for interface interaction, comprising: The first presentation module is configured to, in response to receiving the first input content, present first response content generated based on the first input content in a first window; The second presentation module is configured to present a second window in response to receiving a selection of a target content item in the first response content; as well as The third presentation module is configured to present, in the second window, a query item corresponding to the target content item and a second response content generated based on the query item.
13. 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 11 when executed by the at least one processor.
14. 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 11.
15. A computer program product comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 11.