Method, device, apparatus and storage medium for session interaction
Patent Information
- Application Number
- CN202610970803.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2026-08-18
AI Technical Summary
[0008] 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.
Smart Images

Figure CN122593662A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application filed on June 13, 2024, with application number 202410764613.6 and entitled "Method, Apparatus, Device and Storage Medium for Conversational Interaction". Technical Field
[0002] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatuses, devices, and computer-readable storage media for session interaction. Background Technology
[0003] With the development of computer technology, various virtual objects (such as bots or intelligent agents) are able to converse with users to meet their diverse message acquisition needs. Therefore, improving the efficiency of message interaction with virtual objects has become a focus of attention. Summary of the Invention
[0004] In a first aspect of this disclosure, a method for conversational interaction is provided. The method includes: displaying a first message from a virtual object in a conversational interface with a virtual object, the first message being associated with multiple response items; displaying an interactive component associated with the multiple response items in the conversational interface, the interactive component displaying text content of the multiple response items and additional descriptive information associated with the multiple response items; receiving a selection of a target response item among the multiple response items via the interactive component; and inputting target content corresponding to the target response item in a message input component in the conversational interface.
[0005] In a second aspect of this disclosure, a conversational interaction apparatus is provided. The apparatus includes: a message display module configured to display a first message from a virtual object in a conversational interface with a virtual object, the first message being associated with multiple response items; a component display module configured to display interactive components associated with the multiple response items in the conversational interface, the interactive components displaying text content of the multiple response items and additional descriptive information associated with the multiple response items; a selection receiving module configured to receive a selection of a target response item from the multiple response items via the interactive components; and a content input module configured to input target content corresponding to the target response item in a message input component in the conversational interface.
[0006] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the 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 a computer program that can be executed by a processor to implement the method of the first aspect.
[0008] 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
[0009] 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: Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented; Figures 2A to 2C Example interfaces according to some embodiments of this disclosure are shown; Figures 3A to 3C Example interfaces according to some embodiments of this disclosure are shown; Figure 4 A flowchart illustrating an example session interaction process according to some embodiments of this disclosure is shown; Figure 5 A schematic structural block diagram of a conversational interaction device according to some embodiments of the present disclosure is shown; and Figure 6 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0010] 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.
[0011] 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.
[0012] 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.
[0013] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0014] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information beyond what is necessary for basic functions will not affect the user's use of basic functions.
[0015] As described above, during user interaction with virtual objects, users may need to respond to query messages from these objects. However, users may struggle to understand certain domain-specific concepts, thus affecting the accuracy of message interaction.
[0016] In view of this, embodiments of the present disclosure propose a conversational interaction scheme. According to this scheme, a first message from a virtual object is displayed in a conversational interface with the virtual object, the first message being associated with multiple response items; an interactive component associated with the multiple response items is displayed in the conversational interface, the interactive component displaying the text content of the multiple response items and additional descriptive information associated with the multiple response items; a selection of a target response item among the multiple response items is received via the interactive component; and target content corresponding to the target response item is entered in a message input component in the conversational interface.
[0017] Based on the above methods, the embodiments of this disclosure can help users better understand the meaning of the response items, thereby improving the accuracy of message interaction.
[0018] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0019] Example Environment Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. For example... Figure 1 As shown, example environment 100 may include electronic device 110.
[0020] In this example environment 100, electronic device 110 may be running application 120. Application 120 may be any suitable type of application suitable for interacting with virtual objects. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.
[0021] exist Figure 1 In environment 100, if application 120 is active, electronic device 110 can present interface 150 through application 120.
[0022] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0023] 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.
[0024] 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.
[0025] 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.
[0026] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0027] Example Interaction The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure. Figures 2A to 2C Example interfaces 200A to 200C according to some embodiments of the present disclosure are shown, which may be provided, for example, by electronic device 110.
[0028] like Figure 2A As shown, interface 200A can be a conversational interface between the user and a virtual object. As described above, the virtual object can include various appropriate types of processing entities implemented based on machine learning models, also known as virtual processing entities. Examples of virtual objects can include, but are not limited to, various bots, agents, and digital humans. Such virtual objects can, for example, generate response messages to user input messages based on machine learning models, thereby achieving conversational interaction.
[0029] In some conversational scenarios, virtual objects can send query-like messages to users to obtain their responses. For example, with... Figure 2A As an example, in a medical consultation scenario, a virtual object can send a query message 205 to the user to obtain more accurate information.
[0030] In some embodiments, such an inquiry message 205 may be associated with multiple response items. These response items may also be referred to as candidate answers to the inquiry message 205. Typically, the session interface displays tabs corresponding to multiple response items for the user to select from, or the user may directly input response content via an input component.
[0031] In some scenarios, such response options may have technical meanings, making it difficult for users to make an accurate selection. For example, in a medical consultation scenario, response options may include medical terminology, which users may not understand, thus hindering their ability to respond quickly.
[0032] In some embodiments, as will be described in detail below, the electronic device 110 may utilize interactive components to present additional descriptive information associated with multiple response items to help the user understand the meaning of such response items, thereby improving the efficiency of message interaction.
[0033] like Figure 2A As shown, the query message 205 may be associated with multiple response items, such as "Option A", "Option B" and "Option C". Furthermore, the electronic device 110 may present multiple interactive components corresponding to the multiple response items, namely, interactive component 210-1, interactive component 210-2 and interactive component 210-3 (referred to individually or collectively as interactive component 210).
[0034] In some embodiments, the interactive component 210 may display the text content of the corresponding response item, such as "Option A", "Option B", and "Option C". Additionally, the interactive component 210 may also display additional descriptive information associated with the corresponding descriptive item.
[0035] In some embodiments, taking interactive component 210-1 as an example, such additional descriptive information may include, for example, a descriptive image about "Option A," such as a picture or video. By displaying the descriptive image, embodiments of this disclosure can help users better understand the meaning of "Option A."
[0036] In some embodiments, taking interactive component 210-1 as an example, such additional descriptive information may include, for example, descriptive text about "Option A". As an example, if "Option A" is a term from a specific field, such descriptive text may include more commonly understood content.
[0037] In this way, embodiments of the present disclosure can help users understand the meaning of each response by adding descriptive information, thereby helping users make better choices and improving the efficiency of conversational interaction.
[0038] In some embodiments, such additional descriptive information (e.g., descriptive text and / or descriptive images) can be generated by a model associated with the virtual object. For example, using a language model as an example, when the language model generates a query message associated with multiple responses, the language model can be triggered to further generate additional descriptive information associated with the multiple responses, such as descriptive images and / or descriptive text. Accordingly, the electronic device 110 can receive such additional descriptive information and present it accordingly in the interaction component 210.
[0039] In some embodiments, such additional descriptive information may also be pre-built by the platform. Specifically, the platform may pre-build descriptive information corresponding to multiple terms, such as descriptive text and / or descriptive images. Such multiple terms may constitute a set of response items.
[0040] Furthermore, when multiple response items associated with the inquiry message 205 are included in the set of response items, the electronic device 110 can accordingly obtain additional descriptive information pre-organized for the multiple response items and display it in the interaction component 210.
[0041] Continue to refer to Figure 2B Electronic device 110 may receive a user's selection of one or more target responses via interaction component 210. For example, electronic device 110 may receive a user's trigger action on interaction component 210-2 and determine that the user has selected a target response (i.e., option B).
[0042] Accordingly, the electronic device 110 may further display the target content 215 corresponding to the selected target response in the message input component 220. As an example, the target content 215 may include the text content of the target response (e.g., "Option B"). In some other embodiments, the target content 215 may also be generated based on the text content of the target response. For example, the target content 215 may be "My choice is Option B".
[0043] Furthermore, the user can trigger the sending of a message corresponding to the target content 215 as a response to the inquiry message 205 via the send button in the message input component 220. It should be understood that additional descriptive information of the selected target response item will be displayed in the message input component 220.
[0044] In some embodiments, the electronic device 110 may also receive a user's click on the selected interactive component 210-2 and accordingly deselect the response item (e.g., option B). Additionally, the electronic device 110 may also accordingly delete the text content 215 corresponding to the response item from the message input component 220.
[0045] In some embodiments, the electronic device 110 may also receive a user's preset operation (also referred to as a first preset operation) and accordingly stop displaying the interactive component 210 in the session interface. For example, the electronic device 110 may receive a user's swipe operation (e.g., an up swipe or a down swipe) in the session interface 200B and accordingly collapse the interactive component 210. As another example, the electronic device 110 may also receive a user's trigger operation on the message input component 220 and accordingly collapse the interactive component 210.
[0046] Furthermore, such as Figure 2C As shown, after the interactive component 210 is collapsed, the electronic device 110 may also display multiple response components corresponding to multiple response items, such as response component 225-1, response component 225-2 and response component 225-3 (referred to individually or collectively as response component 225).
[0047] In some embodiments, the response component 225 may have a smaller size than the interaction component 210. For example, the response component 225 may display only the text content of the corresponding response item. Additionally, the response component 225 may also display a smaller-sized descriptive image of the response item. Alternatively, the descriptive text of the corresponding response item may not be displayed in the response component 225.
[0048] In some embodiments, the electronic device 110 may also receive a user’s preset operation (also known as a second preset operation) and accordingly re-display the interactive component 210 in the session interface and stop displaying the response component 225.
[0049] For example, electronic device 110 can receive a user's trigger operation on unfolding component 230 and display accordingly, such as Figure 2B The interactive component 210 is shown, and the response component 225 is stopped from being displayed. Alternatively, such a second preset operation may also include a swipe operation in a preset direction, such as an up swipe or a down swipe operation.
[0050] In some embodiments, the electronic device 110 may also insert or delete corresponding text content in the message input component 320 based on the user's triggering operation on the response component 225.
[0051] In this way, the embodiments of this disclosure can further improve the flexibility of message interaction, thereby enhancing the user's interactive experience.
[0052] Figures 3A to 3C Example interfaces 300A to 300C according to some embodiments of the present disclosure are shown, which may be provided, for example, by electronic device 110.
[0053] like Figure 3A As shown, the electronic device 110 can display a virtual object's query message 305 in the session interface 300C. This query message 305 can be associated with multiple response items, such as nine response items including "upper left abdomen," "upper abdomen," and "upper right abdomen." Some users may find it difficult to understand the specific scope corresponding to such response items, thus making it difficult to provide accurate feedback.
[0054] In some embodiments, the electronic device 110 may display an interactive component 310 associated with multiple response items. The interactive component 310 may include multiple interactive areas corresponding to the multiple response items. For example, interactive areas 315-1 to 315-9 (each individually or collectively referred to as interactive area 315) may each correspond to nine response items.
[0055] In some embodiments, the electronic device 110 may also display a graphical representation of the target object associated with the query message 305 in the interaction component 310 as additional descriptive information for multiple response items. Figure 3A As an example, the query message 305 may relate to multiple parts of the target object's "abdomen," and accordingly, the electronic device 110 may use the interactive component 310 to display a graphical representation of the object's "abdomen."
[0056] Furthermore, such as Figure 3A As shown, the distribution of multiple interactive areas 315 in the graphical representation can be used to indicate the location of multiple parts corresponding to multiple responses in the target object (e.g., "abdomen").
[0057] As a result, users can intuitively understand the location of each part corresponding to the target object, thus helping them to make more accurate responses.
[0058] Furthermore, the electronic device 110 can receive a user's trigger operation on one or more interaction areas (e.g., interaction areas 315-8) and determine that the user has selected a target response item (i.e., the lower abdomen).
[0059] Accordingly, the electronic device 110 can use a target style to display one or more triggered areas to indicate that the corresponding response item has been selected. Furthermore, the electronic device 110 can also display target content 320 corresponding to the selected response item in the message input component 325. As described above, such target content may include, for example, the text content of the selected response item, or it may be generated based on the text content of the response item.
[0060] In some embodiments, the electronic device 110 may also receive a user's click on the selected interaction area 315-8 and accordingly deselect the response item (e.g., lower abdomen). Additionally, the electronic device 110 may also accordingly delete the text content 320 corresponding to the response item from the message input component 325.
[0061] Similar to a reference Figure 2C The electronic device 110 can also collapse or expand the interactive component 310 accordingly based on the user's preset operation (e.g., the first preset operation and the second preset operation discussed above).
[0062] For example, the electronic device 110 can retract the interactive component 310 based on a user's swipe operation in a preset direction or a trigger operation on the message input component 325, and can display response components 330-1 to 330-3 (each individually or collectively referred to as response component 330) corresponding to one or more of the multiple response items. For example, a user can swipe on the response component 330 to view the response components corresponding to other response items.
[0063] For example, the electronic device 110 can receive a user's trigger operation on the unfolding component 335 or a sliding operation in a preset direction, and display accordingly, such as Figure 3B The interactive component 310 is shown, and the response component 330 is stopped from being displayed.
[0064] In some embodiments, the electronic device 110 may also insert or delete corresponding text content in the message input component 325 based on the user's triggering operation on the response component 330.
[0065] Based on the above methods, the embodiments of this disclosure can help users better understand the meaning of the response items, thereby improving the accuracy of message interaction.
[0066] Example process Figure 4 A flowchart of an example session interaction process 400 according to some embodiments of the present disclosure is shown. Process 400 can be implemented at electronic device 110. Reference is made below. Figure 1 To describe process 400.
[0067] like Figure 4 As shown in box 410, electronic device 110 displays a first message from the virtual object in a conversational interface with the virtual object, the first message being associated with multiple response items.
[0068] In box 420, electronic device 110 displays interactive components associated with multiple response items in the conversation interface. The interactive components display the text content of the multiple response items and additional descriptive information associated with the multiple response items.
[0069] In box 430, electronic device 110 receives a selection of a target response from a plurality of response options via an interactive component.
[0070] In box 440, electronic device 110 enters the target content corresponding to the target response item in the message input component of the conversation interface.
[0071] In some embodiments, displaying interactive components associated with multiple response items in a conversational interface includes: displaying multiple interactive components corresponding to multiple response items in the conversational interface, wherein each interactive component displays the text content of the corresponding response item and additional descriptive information about the corresponding response item.
[0072] In some embodiments, the additional descriptive information includes at least one of the following: descriptive text about the corresponding response item; and descriptive image about the corresponding response item.
[0073] In some embodiments, displaying multiple interactive components corresponding to multiple response items in a session interface includes: in response to multiple response items being included in a set of response items, obtaining additional descriptive information associated with the multiple response items.
[0074] In some embodiments, additional descriptive information is pre-created and associated with a set of response items.
[0075] In some embodiments, additional descriptive information is generated from a model associated with the virtual object.
[0076] In some embodiments, displaying an interactive component associated with multiple response items in a conversational interface includes: displaying a target interactive component in the conversational interface, the target interactive component including multiple interactive areas corresponding to the multiple response items, the distribution of the multiple interactive areas in the target interactive component being determined based on the semantic information of the multiple response items.
[0077] In some embodiments, the additional descriptive information includes a graphical representation of the target object displayed in the target interactive component, multiple response items corresponding to multiple parts of the target object, and the distribution of multiple interactive areas in the graphical representation indicating the location of the multiple parts in the target object.
[0078] In some embodiments, process 400 further includes: in response to receiving a first preset operation in the conversation interface, stopping the display of interactive components in the conversation interface; and displaying a set of response components associated with multiple response items in the conversation interface, wherein the set of response components displays the text content of the corresponding response items.
[0079] In some embodiments, the first preset operation includes: a first swipe operation in a first direction; or a trigger operation for the message input component.
[0080] In some embodiments, process 400 further includes: in response to receiving a second preset operation in the session interface, stopping the display of a set of response components in the session interface and displaying interactive components.
[0081] In some embodiments, the second preset operation includes: a second swipe operation in a second direction; or a trigger operation for an expanded component in the session interface.
[0082] In some embodiments, process 400 further includes: generating a second message to be sent to the virtual object based on the target content.
[0083] Example devices and equipment Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 5 A schematic structural block diagram of a conversational interaction device 500 according to certain embodiments of the present disclosure is shown. The device 500 may be implemented as or included in an electronic device 110. Various modules / components in the device 500 may be implemented by hardware, software, firmware, or any combination thereof.
[0084] like Figure 5 As shown, the device 500 includes a message display module 510 configured to display a first message from a virtual object in a conversation interface with a virtual object, the first message being associated with multiple response items; a component display module 520 configured to display interactive components associated with the multiple response items in the conversation interface, the interactive components displaying the text content of the multiple response items and additional descriptive information associated with the multiple response items; a selection receiving module 530 configured to receive a selection of a target response item among the multiple response items via the interactive components; and a content input module 540 configured to input target content corresponding to the target response item in a message input component in the conversation interface.
[0085] In some embodiments, the component display module 520 is further configured to display multiple interactive components corresponding to multiple response items in the conversation interface, wherein each interactive component displays the text content of the corresponding response item and additional descriptive information about the corresponding response item.
[0086] In some embodiments, the additional descriptive information includes at least one of the following: descriptive text about the corresponding response item; and descriptive image about the corresponding response item.
[0087] In some embodiments, the component display module 520 is further configured to: in response to the inclusion of multiple response items in a set of response items, obtain additional descriptive information associated with the multiple response items.
[0088] In some embodiments, additional descriptive information is pre-created and associated with a set of response items.
[0089] In some embodiments, additional descriptive information is generated from a model associated with the virtual object.
[0090] In some embodiments, the component display module 520 is further configured to display a target interactive component in a conversation interface, the target interactive component including multiple interactive areas corresponding to multiple response items, the distribution of the multiple interactive areas in the target interactive component being determined based on the semantic information of the multiple response items.
[0091] In some embodiments, the additional descriptive information includes a graphical representation of the target object displayed in the target interactive component, multiple response items corresponding to multiple parts of the target object, and the distribution of multiple interactive areas in the graphical representation indicating the location of the multiple parts in the target object.
[0092] In some embodiments, the component display module 520 is further configured to: stop displaying interactive components in the conversation interface in response to receiving a first preset operation in the conversation interface; and display a set of response components associated with multiple response items in the conversation interface, wherein the set of response components displays the text content of the corresponding response items.
[0093] In some embodiments, the first preset operation includes: a first swipe operation in a first direction; or a trigger operation for the message input component.
[0094] In some embodiments, the component display module 520 is further configured to: in response to receiving a second preset operation in the session interface, stop displaying a set of response components in the session interface and display interactive components.
[0095] In some embodiments, the second preset operation includes: a second swipe operation in a second direction; or a trigger operation for an expanded component in the session interface.
[0096] In some embodiments, the apparatus 500 further includes a message generation module configured to generate a second message to be sent to the virtual object based on the target content.
[0097] Figure 6 A block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 6 The electronic device 600 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 6 The electronic device 600 shown can be used to achieve Figure 1 Electronic devices 110.
[0098] like Figure 6 As shown, electronic device 600 is in the form of a general-purpose electronic device. Components of electronic device 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processing unit 610 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 620. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 600.
[0099] Electronic device 600 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 620 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 630 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 600.
[0100] Electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 6 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 620 may include computer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0101] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 600 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, networked personal computers (PCs), or another network node.
[0102] Input device 650 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 660 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 600 can also communicate with one or more external devices (not shown) via communication unit 640 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 600, or with any device that enables electronic device 600 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) interfaces (not shown).
[0103] 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.
[0104] 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.
[0105] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0106] 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.
[0107] 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.
[0108] 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 conversational interaction, comprising: In the conversation interface with the virtual object, a first message from the virtual object is displayed, which is associated with multiple response items; An interactive component is displayed in the conversation interface, which displays the text content of the plurality of response items and additional descriptive information associated with the plurality of response items; Receive a selection for at least one of the plurality of response items; as well as A second message is sent to the virtual object, the second message being obtained based on the at least one response item.
2. The method according to claim 1, wherein the interactive component includes a plurality of interactive areas corresponding to the plurality of response items, the distribution of the plurality of interactive areas in the target interactive component being determined based on the plurality of response items.
3. The method of claim 2, wherein the additional descriptive information includes a graphical representation displayed in the interactive component, the plurality of response items corresponding to a plurality of parts of an object, and the distribution of the plurality of interactive areas in the graphical representation indicating the position of the plurality of parts in the object.
4. The method of claim 1, wherein displaying interactive components associated with the plurality of response items in the conversation interface comprises: The conversation interface displays multiple interactive components corresponding to the multiple response items, wherein the multiple interactive components include a first interactive component, which displays the text content of the first response item and the additional descriptive information about the first response item.
5. The method of claim 4, wherein the additional descriptive information includes at least one of the following: Description text regarding the first response item; The image describing the first response item.
6. The method according to claim 5, wherein displaying a plurality of interactive components corresponding to the plurality of response items in the conversation interface comprises: In response to the inclusion of the plurality of response items in the response item set, the additional descriptive information associated with the plurality of response items is obtained.
7. The method of claim 6, wherein the additional descriptive information is pre-created in association with the set of response items.
8. The method according to claim 1, further comprising: In response to receiving a first operation in the session interface, the display of the interactive component in the session interface is stopped; as well as The conversation interface displays a set of response components associated with the plurality of response items, and the set of response components displays the text content of the corresponding response item.
9. The method of claim 8, wherein the first operation comprises: The first sliding operation in the first direction; or Triggering operations for the message input component.
10. The method of claim 8, further comprising: In response to receiving a second operation in the session interface, the display of the set of response components in the session interface is stopped, and the interaction components are displayed.
11. The method of claim 10, wherein the second operation comprises: The second sliding operation in the second direction; or Triggering operations for the expanded components in the aforementioned session interface.
12. An apparatus for conversational interaction, comprising: The message display module is configured to display a first message from the virtual object in a conversation interface with the virtual object, the first message being associated with multiple response items; A component display module is configured to display interactive components in the conversation interface, the interactive components displaying the text content of the plurality of response items and additional descriptive information associated with the plurality of response items; The selection receiving module is configured to receive a selection of at least one of the plurality of response items; as well as The sending module is configured to send a second message to the virtual object, the second message being obtained based on the at least one response item.
13. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, 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 processing unit.
14. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 11.
15. 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 11.