Session interaction method and device, equipment and storage medium
By displaying virtual object messages and the text content and description information of related reply items in the conversation interface, the problem of user understanding is solved and the accuracy and efficiency of virtual object interaction are improved.
Patent Information
- Application Number
- CN202410764613.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-01
AI Technical Summary
During the interaction between users and virtual objects, users may have difficulty understanding concepts in specific fields, which affects the accuracy and efficiency of message interaction.
Display messages from virtual objects in the conversation interface, associate multiple reply items, and display the text content and additional description information of the reply items through interactive components to help users understand the meaning of the reply items, receive the user's selection, and input the message in the message input component Enter the target content in .
It improves the accuracy and efficiency of message interaction, helping users better understand reply items and make accurate choices.
Smart Images

Figure CN118732893A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for conversation interaction. Background Art
[0002] With the development of computer technology, various virtual objects (such as bots or intelligent agents) can communicate with users to meet users' various message acquisition needs. Therefore, how to improve the efficiency of message interaction with virtual objects has become the focus of people's attention. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for conversation interaction is provided. The method includes: displaying a first message from a virtual object in a conversation interface with the virtual object, the first message being associated with a plurality of reply items; displaying an interaction component associated with the plurality of reply items in the conversation interface, the interaction component displaying text content of the plurality of reply items and additional description information associated with the plurality of reply items; receiving a selection of a target reply item from the plurality of reply items via the interaction component; and inputting a target content corresponding to the target reply item in a message input component in the conversation interface.
[0004] In a second aspect of the present disclosure, a conversation interaction device is provided. The device includes: a message display module, configured to display a first message from a virtual object in a conversation interface with the virtual object, the first message being associated with a plurality of reply items; a component display module, configured to display an interaction component associated with the plurality of reply items in the conversation interface, the interaction component displaying textual contents of the plurality of reply items and additional description information associated with the plurality of reply items; a selection receiving module, configured to receive a selection of a target reply item from the plurality of reply items via the interaction component; and a content input module, configured to input a target content corresponding to the target reply item in a message input component in the conversation interface.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;
[0010] FIG. 2A to FIG. 2C shows an example interface according to some embodiments of the present disclosure;
[0011] FIG. 3A to FIG. 3C shows an example interface according to some embodiments of the present disclosure;
[0012] Figure 4 A flowchart showing an example session interaction process according to some embodiments of the present disclosure is shown;
[0013] Figure 5 A schematic structural block diagram of a conversation interaction device according to some embodiments of the present disclosure is shown; and
[0014] Figure 6 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0015] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0016] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0018] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0019] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0020] As described above, during the interaction between a user and a virtual object, the user may need to respond to a query message from the virtual object. However, it may be difficult for the user to understand concepts in certain fields, which may affect the accuracy of the message interaction.
[0021] In view of this, an embodiment of the present disclosure proposes a conversation interaction scheme. According to the scheme, a first message from a virtual object is displayed in a conversation interface with the virtual object, and the first message is associated with multiple reply items; an interaction component associated with the multiple reply items is displayed in the conversation interface, and the interaction component displays the text content of the multiple reply items and additional description information associated with the multiple reply items; a selection of a target reply item among the multiple reply items is received via the interaction component; and a target content corresponding to the target reply item is input in a message input component in the conversation interface.
[0022] Based on the above approach, the embodiments of the present disclosure can help users better understand the meaning of reply items, thereby improving the accuracy of message interaction.
[0023] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.
[0024] Example Environment
[0025] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0026] In this example environment 100, an electronic device 110 may run an application 120. The application 120 may be any suitable type of application suitable for interacting with a virtual object. A user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.
[0027] exist Figure 1 In the environment 100 , if the application 120 is in an active state, the electronic device 110 may present the interface 150 through the application 120 .
[0028] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio receiver, an e-book device, a game device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).
[0029] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports virtual scenes in the electronic device 110.
[0030] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0031] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0032] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0033] Example Interaction
[0034] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings. FIG. 2A to FIG. 2C Example interfaces 200A to 200C according to some embodiments of the present disclosure are shown, and the interfaces 200A to 200C may be provided by the electronic device 110, for example.
[0035] like Figure 2A As shown, interface 200A may be a conversation interface between a user and a virtual object. As described above, the virtual object may include various appropriate types of processing entities implemented based on a machine learning model, also referred to as virtual processing entities. Examples of virtual objects may include, but are not limited to, various robot programs (bots), agents, and digital humans. Such a virtual object may, for example, generate a reply message to a user's input message based on a machine learning model, thereby implementing a conversation interaction.
[0036] In some conversation scenarios, the virtual object can send inquiry messages to the user to obtain the user's response to the inquiry message. Figure 2A As an example, in a medical consultation scenario, the virtual object may send an inquiry message 205 to the user to obtain more accurate information.
[0037] In some embodiments, such an inquiry message 205 may be associated with multiple answer items. Such answer items may also be referred to as candidate answers to the inquiry message 205. Conventionally, the conversation interface usually displays tabs corresponding to multiple answer items for the user to select, or the user may directly input the answer content through the input component.
[0038] In some scenarios, such answer items may have professional meanings, which may make it difficult for users to accurately select from the answer items. For example, in a medical consultation scenario, the answer items may include medical terms, which may make it difficult for users to understand the meaning of such answer items and thus make it difficult to quickly respond.
[0039] In some embodiments, as will be described in detail below, the electronic device 110 may utilize an interactive component to present additional descriptive information associated with multiple reply items to help the user understand the meaning of such reply items, thereby improving the efficiency of message interaction.
[0040] like Figure 2A As shown, the inquiry message 205 may be associated with multiple answer items, namely, "Option A", "Option B" and "Option C". Further, the electronic device 110 may present multiple interaction components corresponding to the multiple answer items, namely, interaction component 210-1, interaction component 210-2 and interaction component 210-3 (individually or collectively referred to as interaction component 210).
[0041] In some embodiments, the interactive component 210 may display text content of the corresponding answer item, for example, “Option A”, “Option B”, and “Option C”. Additionally, the interactive component 210 may also display additional description information associated with the corresponding description item.
[0042] In some embodiments, taking the interactive component 210-1 as an example, such additional description information may include, for example, a description image about "Option A", such as a picture or a video. By displaying the description image, the embodiments of the present disclosure may help users better understand the meaning of "Option A".
[0043] In some embodiments, taking the interactive component 210-1 as an example, such additional description information may include, for example, a description text about "Option A". As an example, in the case where "Option A" is a term in a specific field, such a description text may include more understandable content.
[0044] In this way, the embodiments of the present disclosure can help users understand the meaning of each answer item through additional descriptive information, help users make better choices, and thus improve the efficiency of conversation interaction.
[0045] In some embodiments, such additional description information (e.g., description text and / or description image) may be generated by a model associated with the virtual object. For example, taking the model as a language model, when the message generated by the language model is an inquiry message associated with multiple answer items, the language model may be triggered to further generate additional description information associated with the multiple answer items, such as description image and / or description text. Accordingly, the electronic device 110 may receive such additional description information and present it in the interaction component 210 accordingly.
[0046] In some embodiments, such additional description information may also be pre-constructed by the platform. Specifically, the platform may pre-construct description information corresponding to multiple terms, such as description text and / or description image. Such multiple terms may constitute a set of answer items.
[0047] Furthermore, when multiple answer items associated with the inquiry message 205 are included in the answer item set, the electronic device 110 can correspondingly obtain additional description information pre-organized for the multiple answer items and display it in the interactive component 210 .
[0048] Continue to refer Figure 2B , the electronic device 110 may receive the user's selection of one or more target answer items via the interaction component 210. For example, the electronic device 110 may receive the user's trigger operation on the interaction component 210-2, and determine that the user has selected the target answer item (ie, option B).
[0049] Accordingly, the electronic device 110 may further display the target content 215 corresponding to the selected target reply item in the message input component 220. As an example, the target content 215 may include the text content of the target reply item (e.g., "Option B"). In some other embodiments, the target content 215 may also be generated based on the text content of the target reply item. For example, the target content 215 may be "My choice is Option B".
[0050] Furthermore, the user can trigger sending a message corresponding to the target content 215 through the send button in the message input component 220 as a reply to the inquiry message 205. It should be understood that additional description information of the selected target reply item will be displayed in the message input component 220.
[0051] In some embodiments, the electronic device 110 may also receive a user click on the selected interactive component 210-2, and correspondingly cancel the selection of the reply item (e.g., option B). Additionally, the electronic device 110 may also delete the text content 215 corresponding to the reply item from the message input component 220 accordingly.
[0052] In some embodiments, the electronic device 110 may also receive a preset operation (also referred to as a first preset operation) of the user, and accordingly stop displaying the interactive component 210 in the conversation interface. For example, the electronic device 110 may receive a sliding operation (e.g., an upward sliding operation or a downward sliding operation) of the user in the conversation interface 200B, and may accordingly retract the interactive component 210. As another example, the electronic device 110 may also receive a trigger operation of the user on the message input component 220, and accordingly retract the interactive component 210.
[0053] Furthermore, if Figure 2C As shown, after the interactive component 210 is collapsed, the electronic device 110 may also display multiple reply components corresponding to multiple reply items, for example, reply component 225-1, reply component 225-2, and reply component 225-3 (individually or collectively referred to as reply components 225).
[0054] In some embodiments, the reply component 225 may have a smaller size than the interactive component 210. For example, the reply component 225 may display only the text content of the corresponding reply item. Additionally, the reply component 225 may also display a smaller-sized description image about the reply item. Alternatively, the description text of the corresponding reply item may not be displayed in the reply component 225, for example.
[0055] In some embodiments, the electronic device 110 may also receive a preset operation of the user (also referred to as a second preset operation), and accordingly redisplay the interaction component 210 in the conversation interface and stop displaying the reply component 225 .
[0056] For example, the electronic device 110 may receive a user's trigger operation on the expansion component 230, and display the following information accordingly: Figure 2B The interactive component 210 shown in the figure is closed, and the reply component 225 is stopped from being displayed. Alternatively, such a second preset operation may also include a sliding operation in a preset direction, for example, an upward sliding operation or a downward sliding operation.
[0057] 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 reply component 225 .
[0058] In this way, the embodiments of the present disclosure can further improve the flexibility of message interaction, thereby improving the user's interaction experience.
[0059] FIG. 3A to FIG. 3C Example interfaces 300A to 300C according to some embodiments of the present disclosure are shown, and the interfaces 300A to 300C may be provided by the electronic device 110, for example.
[0060] like Figure 3A As shown, the electronic device 110 may display a virtual object inquiry message 305 in the conversation interface 300C. The inquiry message 305 may be associated with multiple answer items, for example, nine answer items such as "left upper abdomen", "upper abdomen" and "right upper abdomen". Some users may find it difficult to understand the specific ranges corresponding to such answer items, and thus find it difficult to make accurate feedback.
[0061] In some embodiments, the electronic device 110 may display an interactive component 310 associated with multiple answer items. The interactive component 310 may include multiple interactive areas corresponding to the multiple answer items. For example, the interactive areas 315-1 to 315-9 (individually or collectively referred to as interactive areas 315) may correspond to 9 answer items respectively.
[0062] In some embodiments, the electronic device 110 may further display a graphical representation of a target object associated with the inquiry message 305 in the interaction component 310 as additional descriptive information of the plurality of reply items. Figure 3A As an example, the inquiry message 305 may be related to multiple parts of the target object's “abdomen”, and accordingly, the electronic device 110 may use the interaction component 310 to display a graphical representation of the object's “abdomen”.
[0063] Furthermore, if Figure 3A As shown, the distribution of the plurality of interaction areas 315 in the graphical representation may be used to indicate the locations of the plurality of parts corresponding to the plurality of answer items in the target object (eg, “abdomen”).
[0064] In this way, the user can intuitively understand the position of the part corresponding to each answer item in the target object, thereby helping the user to make a more accurate answer.
[0065] Further, the electronic device 110 may receive a trigger operation of the user on one or more interactive areas (eg, interactive area 315 - 8 ), and determine that the user has selected a target response item (ie, the lower abdomen).
[0066] Accordingly, the electronic device 110 may display the triggered one or more areas using a target style to indicate that the corresponding reply item is selected. Further, the electronic device 110 may also display the target content 320 corresponding to the selected reply item in the message input component 325. As described above, such target content may include, for example, the text content of the selected reply item, or may be generated based on the text content of the reply item.
[0067] In some embodiments, the electronic device 110 may also receive a click of the user on the selected interactive area 315-8, and cancel the selection of the reply item (e.g., lower abdomen) accordingly. Additionally, the electronic device 110 may also delete the text content 320 corresponding to the reply item from the message input component 325 accordingly.
[0068] Similar to reference Figure 2C As discussed, the electronic device 110 may also collapse or expand the interactive component 310 accordingly based on a preset operation of the user (eg, the first preset operation and the second preset operation discussed above).
[0069] For example, electronic device 110 may collapse interaction component 310 accordingly based on a user's sliding operation in a preset direction or a triggering operation on message input component 325, and may display reply components 330-1 to 330-3 (individually or collectively referred to as reply components 330) corresponding to one or more reply items among the multiple reply items. For example, a user may slide reply component 330 to view reply components corresponding to other reply items.
[0070] For example, the electronic device 110 may receive a user's trigger operation on the expansion component 335 or a sliding operation in a preset direction, and display the following information accordingly: Figure 3B The interactive component 310 shown is closed and the reply component 330 is stopped from being displayed.
[0071] 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 reply component 330 .
[0072] Based on the above approach, the embodiments of the present disclosure can help users better understand the meaning of reply items, thereby improving the accuracy of message interaction.
[0073] Example Process
[0074] Figure 4 FIG. 4 is a flow chart showing an example session interaction process 400 according to some embodiments of the present disclosure. The process 400 may be implemented at the electronic device 110. Figure 1 4. The process 400 is described below.
[0075] like Figure 4 As shown, in box 410, the electronic device 110 displays a first message from the virtual object in the conversation interface with the virtual object, and the first message is associated with multiple reply items.
[0076] In box 420, the electronic device 110 displays an interactive component associated with the multiple answer items in the conversation interface, and the interactive component displays the text content of the multiple answer items and additional descriptive information associated with the multiple answer items.
[0077] In block 430 , the electronic device 110 receives, via the interaction component, a selection of a target response item from among the plurality of response items.
[0078] In box 440, the electronic device 110 enters target content corresponding to the target reply item in the message input component in the conversation interface.
[0079] In some embodiments, displaying interactive components associated with multiple response items in a conversation interface includes: displaying multiple interactive components corresponding to the multiple response items in the conversation interface, wherein each interactive component displays text content of the corresponding response item and additional descriptive information about the corresponding response item.
[0080] In some embodiments, the additional descriptive information includes at least one of the following: a descriptive text regarding the corresponding answer item; a descriptive image regarding the corresponding answer item.
[0081] In some embodiments, displaying multiple interactive components corresponding to multiple answer items in a conversation interface includes: in response to the multiple answer items being included in the answer item set, obtaining additional descriptive information associated with the multiple answer items.
[0082] In some embodiments, additional descriptive information is pre-created in association with the set of answer items.
[0083] In some embodiments, the additional descriptive information is generated by a model associated with the virtual object.
[0084] In some embodiments, displaying an interaction component associated with multiple reply items in a conversation interface includes: displaying a target interaction component in the conversation interface, the target interaction component including multiple interaction areas corresponding to the multiple reply items, and distribution of the multiple interaction areas in the target interaction component is determined based on semantic information of the multiple reply items.
[0085] In some embodiments, the additional descriptive information includes a graphical representation of the target object displayed in the target interaction component, multiple response items correspond to multiple parts of the target object, and the distribution of multiple interaction areas in the graphical representation indicates the locations of the multiple parts in the target object.
[0086] In some embodiments, process 400 also includes: in response to receiving a first preset operation in the conversation interface, stopping displaying the interactive component in the conversation interface; and displaying a group of reply components associated with multiple reply items in the conversation interface, the group of reply components displaying the text content of the corresponding reply items.
[0087] In some embodiments, the first preset operation includes: a first sliding operation in a first direction; or a triggering operation on a message input component.
[0088] In some embodiments, process 400 further includes: in response to receiving a second preset operation in the conversation interface, stopping displaying a set of reply components in the conversation interface and displaying an interaction component.
[0089] In some embodiments, the second preset operation includes: a second sliding operation in a second direction; or a triggering operation on an expansion component in the conversation interface.
[0090] In some embodiments, process 400 further includes generating, based on the target content, a second message to be sent to the virtual object.
[0091] Example devices and equipment
[0092] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 5 A schematic structural block diagram of a conversation interaction apparatus 500 according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.
[0093] like Figure 5 As shown, the device 500 includes a message display module 510, which is configured to display a first message from a virtual object in a conversation interface with the virtual object, the first message being associated with a plurality of reply items; a component display module 520, which is configured to display an interactive component associated with the plurality of reply items in the conversation interface, the interactive component displaying textual contents of the plurality of reply items and additional descriptive information associated with the plurality of reply items; a selection receiving module 530, which is configured to receive a selection of a target reply item from the plurality of reply items via the interactive component; and a content input module 540, which is configured to input a target content corresponding to the target reply item in a message input component in the conversation interface.
[0094] In some embodiments, the component display module 520 is further configured to: display multiple interactive components corresponding to the multiple reply items in the conversation interface, wherein each interactive component displays the text content of the corresponding reply item and additional descriptive information about the corresponding reply item.
[0095] In some embodiments, the additional descriptive information includes at least one of the following: a descriptive text regarding the corresponding answer item; a descriptive image regarding the corresponding answer item.
[0096] In some embodiments, the component display module 520 is further configured to: in response to the plurality of answer items being included in the answer item set, obtain additional descriptive information associated with the plurality of answer items.
[0097] In some embodiments, additional descriptive information is pre-created in association with the set of answer items.
[0098] In some embodiments, the additional descriptive information is generated by a model associated with the virtual object.
[0099] In some embodiments, the component display module 520 is further configured to: display a target interaction component in the conversation interface, the target interaction component including multiple interaction areas corresponding to multiple reply items, and the distribution of the multiple interaction areas in the target interaction component is determined based on the semantic information of the multiple reply items.
[0100] In some embodiments, the additional descriptive information includes a graphical representation of the target object displayed in the target interaction component, multiple response items correspond to multiple parts of the target object, and the distribution of multiple interaction areas in the graphical representation indicates the locations of the multiple parts in the target object.
[0101] In some embodiments, the component display module 520 is also configured to: in response to receiving a first preset operation in the conversation interface, stop displaying the interactive component in the conversation interface; and display a group of reply components associated with multiple reply items in the conversation interface, wherein the group of reply components displays the text content of the corresponding reply items.
[0102] In some embodiments, the first preset operation includes: a first sliding operation in a first direction; or a triggering operation on a message input component.
[0103] In some embodiments, the component display module 520 is further configured to: in response to receiving a second preset operation in the conversation interface, stop displaying a set of reply components in the conversation interface, and display the interaction component.
[0104] In some embodiments, the second preset operation includes: a second sliding operation in a second direction; or a triggering operation on an expansion component in the conversation interface.
[0105] 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.
[0106] Figure 6 1 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 6 The electronic device 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 6The electronic device 600 shown can be used to implement Figure 1 An electronic device 110.
[0107] like Figure 6 As shown, the electronic device 600 is in the form of a general electronic device. The components of the electronic device 600 may include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 600.
[0108] The electronic device 600 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 600.
[0109] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0110] The communication unit 640 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0111] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 660 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 600, or communicate with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0112] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0113] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0114] 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 device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0115] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0116] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0117] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A method for conversation interaction, comprising: Displaying a first message from the virtual object in a conversation interface with the virtual object, wherein the first message is associated with a plurality of reply items; Displaying an interactive component associated with the multiple answer items in the conversation interface, the interactive component displaying text contents of the multiple answer items and additional description information associated with the multiple answer items; receiving, via the interaction component, a selection of a target response item from among the plurality of response items; as well as The target content corresponding to the target reply item is input in the message input component in the conversation interface.
2. The method according to claim 1, wherein displaying the interactive components associated with the plurality of answer items in the conversation interface comprises: Multiple interactive components corresponding to the multiple reply items are displayed in the conversation interface, wherein each interactive component displays the text content of the corresponding reply item and the additional descriptive information about the corresponding reply item.
3. The method according to claim 2, wherein the additional description information includes at least one of the following: A description of the corresponding response item; A description image about the corresponding answer item.
4. The method according to claim 2, wherein displaying a plurality of interactive components corresponding to the plurality of answer items in the conversation interface comprises: In response to the plurality of answer items being included in the answer item set, the additional descriptive information associated with the plurality of answer items is obtained.
5. The method according to claim 4, wherein the additional description information is pre-created in association with the set of answer items. The method according to claim 2 , wherein the additional description information is generated by a model associated with the virtual object.
7. The method according to claim 1, wherein displaying the interactive components associated with the plurality of answer items in the conversation interface comprises: A target interaction component is displayed in the conversation interface, wherein the target interaction component includes a plurality of interaction areas corresponding to the plurality of reply items, and distribution of the plurality of interaction areas in the target interaction component is determined based on semantic information of the plurality of reply items.
8. A method according to claim 7, wherein the additional descriptive information includes a graphical representation of the target object displayed in the target interaction component, the multiple response items correspond to multiple parts of the target object, and the distribution of the multiple interaction areas in the graphical representation indicates the positions of the multiple parts in the target object.
9. The method according to claim 1, further comprising: In response to receiving a first preset operation in the conversation interface, stopping displaying the interactive component in the conversation interface; as well as A group of reply components associated with the multiple reply items are displayed in the conversation interface, and the group of reply components display the text content of the corresponding reply items.
10. The method according to claim 9, wherein the first preset operation comprises: a first sliding operation in a first direction; or A trigger operation for the message input component.
11. The method according to claim 9, further comprising: In response to receiving a second preset operation in the conversation interface, stop displaying the set of reply components in the conversation interface and display the interaction component.
12. The method according to claim 11, wherein the second preset operation comprises: a second sliding operation in a second direction; or A triggering operation for an expansion component in the conversation interface.
13. The method according to claim 1, further comprising: Based on the target content, a second message is generated and sent to the virtual object.
14. A device for conversation interaction, comprising: a message display module, configured to display a first message from the virtual object in a conversation interface with the virtual object, the first message being associated with a plurality of reply items; A component display module, configured to display interactive components associated with the multiple answer items in the conversation interface, wherein the interactive components display text contents of the multiple answer items and additional description information associated with the multiple answer items; A selection receiving module configured to receive, via the interaction component, a selection of a target answer item among the plurality of answer items; as well as The content input module is configured to input target content corresponding to the target reply item in the message input component in the conversation interface.
15. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being 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 13 when executed by the at least one processing unit.
16. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Information insertion method and system based on instant messaging message between doctor and patient
CN108418745A
Decision tree-based human-computer interaction method, device, computer equipment and medium
CN109273101A
Diagnosis-treatment interaction method and diagnosis-treatment terminal equipment
CN111045575A
Service processing method and device, electronic equipment and storage medium
CN114238594A
Methods and systems for providing and organizing medical information
US20190392926A1
Cited By
Interface interaction method and device, equipment and storage medium
CN119987616A
Interface interaction method and device, equipment and storage medium
CN120631216A
Conversation interaction method and apparatus, and device and storage medium
WO2025256653A1
Interface interaction method and apparatus, device, and storage medium
WO2026149582A1
