Method and device for session interaction, equipment and storage medium

By receiving and processing questions from multiple users in group chat sessions, generating and presenting related reply messages, the problem that digital assistants in the prior art cannot handle multiple user contexts in group chat scenarios is solved, and the assistance efficiency and users are improved Experience.

CN119002746APending Publication Date: 2024-11-22BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311570257.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-11-08
Filing Date
2023-11-22
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Existing digital assistants cannot effectively handle the questioning context of multiple users in group chat scenarios, and cannot conduct dialogues between multiple people and digital assistants on a topic, resulting in inefficient assistance.

Method used

In a group chat session including at least one user and a digital assistant, a session message from the first user is received, context information is determined according to the triggering mode of the message, and a reply message of the digital assistant is generated and presented, supporting a question context reply of multiple users and Topic discussion.

Benefits of technology

It improves the assistance efficiency of digital assistants in multi-person scenarios, can respond based on the question context of multiple users, and conducts dialogue and discussion on a certain topic, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002746A_ABST
    Figure CN119002746A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a session interaction method and device, equipment and a storage medium. The method comprises the following steps: in a session comprising at least one user and a digital assistant, receiving a first session message aiming at the digital assistant from a first user; determining context information associated with the first session message according to the triggering mode of the first session message; generating a first reply message of the digital assistant for the first session message based on the context information; and presenting the first reply message according to a presentation mode associated with the trigger mode. In this way, reply can be carried out based on the context of questions of multiple users, and dialogue discussion between multiple persons and a digital assistant can also be carried out for a certain theme. This in turn advantageously improves the assistance efficiency of the digital assistant to the user.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Related Applications

[0002] This application claims priority to the Chinese invention patent application entitled “Methods, devices, equipment and storage media for conversational interaction” and application number 202311482320.0, filed on November 8, 2023. The entire contents of this application are incorporated by reference into this application. Technical Field

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

[0004] With the development of information technology, various terminal devices can provide various services to people in work and life. Applications that provide services can be deployed in terminal devices. Terminal devices present corresponding content and interact with users through the user interface of applications to meet various needs of users. Therefore, rich application interaction interfaces are an important means to improve user experience. Terminal devices or applications can provide users with digital assistant functions to assist users in using terminal devices or applications. Users may have the need to use digital assistants in different sessions. Summary of the invention

[0005] In a first aspect of the present disclosure, a method for conversation interaction is provided. The method comprises: in a conversation including at least one user and a digital assistant, receiving a first conversation message from a first user for a digital assistant; determining context information associated with the first conversation message according to a trigger mode of the first conversation message; generating a first reply message of the digital assistant for the first conversation message based on the context information; and presenting the first reply message according to a presentation mode associated with the trigger mode.

[0006] In a second aspect of the present disclosure, a device for conversation interaction is provided. The device includes: a receiving module configured to receive a first conversation message from a first user for a digital assistant in a conversation including at least one user and a digital assistant; a context information determination module configured to: determine context information associated with the first conversation message according to a trigger mode of the first conversation message; a first reply message generation module configured to generate a first reply message of the digital assistant for the first conversation message based on the context information; and a presentation module configured to present the first reply message according to a presentation mode associated with the trigger mode.

[0007] 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 electronic device executes the method of the first aspect.

[0008] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and when the computer program is executed by a processor, the method of the first aspect is implemented.

[0009] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it 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

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

[0011] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;

[0012] Figure 2 A flowchart showing an example process for conversation interaction according to some embodiments of the present disclosure is shown;

[0013] FIG. 3A to FIG. 3F A schematic diagram showing an example interface of a conversation interaction according to some embodiments of the present disclosure;

[0014] Figure 4 A flowchart of a process for conversation interaction according to some embodiments of the present disclosure is shown;

[0015] Figure 5 A schematic structural block diagram of an apparatus for conversation interaction according to some embodiments of the present disclosure is shown; and

[0016] Figure 6 A block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented is shown. DETAILED DESCRIPTION

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

[0018] 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 also be included below.

[0019] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.

[0020] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0021] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scopes of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.

[0022] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.

[0023] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.

[0024] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0025] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multi-layer processing units. A neural network model is an example of a model based on deep learning. In this article, "model" may also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", and these terms are used interchangeably in this article.

[0026] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. The environment 100 involves an application creation platform 110 and an application execution platform 140.

[0027] like Figure 1 As shown, the application creation platform 110 can provide a user 105 with an environment for creating and publishing applications. User 105 can be referred to as an application creation user or creator. In some embodiments, the application creation platform 110 can be a low-code platform that provides a collection of tools for application creation. The application creation platform 110 can support visual development of various types of applications, allowing developers to skip the manual coding process and speed up the application development cycle and cost. The application creation platform 110 can support any appropriate platform for users to develop one or more types of applications, and may include, for example, a platform based on Application Platform as a Service (aPaaS). Such a platform can support users to efficiently develop applications and implement operations such as application creation and application function adjustment.

[0028] The application creation platform 110 may be deployed locally on the terminal device of the user 105, and / or may be supported by a server-side device. For example, the terminal device of the user 105 may run a client of the application creation platform 110, which may support the interaction between the user and the application creation platform 110 provided by the server. In the case where the application creation platform 110 runs locally on the user's terminal device, the user 105 may directly interact with the local application creation platform 110 using the terminal device. In the case where the application creation platform 110 runs on the server-side device, the server-side device may provide services to the client running in the terminal device based on the communication connection with the terminal device. The application creation platform 110 may present a corresponding page 130 to the user 105 based on the operation of the user 105, so as to output information related to application creation to the user 105 and / or receive information from the user 105.

[0029] In some embodiments, the application creation platform 110 may be associated with a corresponding database, which stores data or information required for the application creation process supported by the application creation platform 110. For example, the database may store codes and description information corresponding to the various functional modules that constitute the application. The application creation platform 110 may also perform operations such as calling, adding, deleting, and updating the functional modules in the database. The database may also store operations that can be performed on different functional blocks. Exemplarily, in a scenario where an application is to be created, the application creation platform 110 may call the corresponding functional blocks from the database to build the application.

[0030] In an embodiment of the present disclosure, a user 105 can create a target application 120 as needed on an application creation platform 110 and publish the target application 120. The target application 120 can be published to any appropriate application runtime platform 140, as long as the application runtime platform 140 can support the operation of the target application 120. After publishing, the target application 120 can be used to be operated by one or more users 145. The user 145 can be referred to as an end user of the target application 120. In some embodiments, the target application 120 may include or be implemented as a digital assistant 122.

[0031] The digital assistant 122 may be configured to have an intelligent conversation. Figure 1In the example shown, the digital assistant 122 can be integrated into the target application 120 to assist in performing task processing within the target application 120 as part of the target application 120. In other examples, the digital assistant 122 can be configured as an independently running application, such as a web application or other types of applications. In such an example, the digital assistant 122 and the target application 120 can be regarded as the same application. The digital assistant 122 is provided to assist users with various task processing requirements in different applications and scenarios. During the interaction with the digital assistant 122, the user inputs an interactive message, and the digital assistant 122 provides a reply message in response to the user input. Typically, the digital assistant 122 can support users to input questions in natural language, and perform tasks and provide replies based on the understanding of natural language input and logical reasoning ability.

[0032] In some embodiments, digital assistant 122 can interact with user 145 as a contact. For example, digital assistant 122 can be implemented in an instant messaging (IM) application. Digital assistant 122 can interact with user 145 in a single chat session with user 145. In some embodiments, digital assistant 122 can interact with multiple users in a group chat session including multiple users.

[0033] For each user 145, the client of the application running platform 140 can present an interactive window 142 of the target application 120 or the digital assistant 122 in the client interface, such as a conversation window with the digital assistant 122. The user 145 can enter a conversation message in the conversation window, and the target application 120 can determine the reply message of the digital assistant 122 based on the created configuration information and present it to the user in the interactive window 142. In some embodiments, depending on the configuration of the target application 120, the interactive message with the target application 120 may include a message in a multimodal form, such as a text message (e.g., a natural language text), a voice message, an image message, a video message, and the like.

[0034] Similar to the application creation platform 110, the application operation platform 140 can be deployed locally on the terminal device of each user 145, and / or can be supported by a server-side device. For example, the terminal device of the user 145 can run a client of the application operation platform 140, which can support the interaction between the user and the application operation platform 140 provided by the server. In the case where the application operation platform 140 runs locally on the user's terminal device, the user 145 can directly use the terminal device to interact with the local application operation platform 140. In the case where the application operation platform 140 runs on the server-side device, the server-side device can realize the service supply to the client running in the terminal device based on the communication connection with the terminal device. The application operation platform 140 can present the corresponding application page to the user 145 based on the operation of the user 145, so as to output and / or receive information related to the use of the application to the user 145 and / or from the user 145.

[0035] In some embodiments, the implementation of at least part of the functions of the target application 120 and / or the implementation of at least part of the functions of the digital assistant 122 in the target application 120 can be implemented based on the model. During the creation or operation of the target application 120, one or more models 150 can be called. In the target application 120, the digital assistant 122 can use the model 155 to understand the user input and provide a reply to the user based on the output of the model 155.

[0036] During the creation process, the application creation platform 110 needs to use the model 155 to determine whether the operation result of the target application 120 meets expectations when testing the target application 120. During the operation process, in response to different operation requests of the user of the target application 120, the application operation platform 140 may need to use the model 155 to determine the response result to the user.

[0037] Although shown as being independent of the application creation platform 110 and the application runtime platform 140, one or more models 155 may run on the application creation platform 110 and / or the application runtime platform 140, or other remote servers. In some embodiments, the model 155 may be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model may be based on a language model (LM). The language model can have question-answering capabilities by learning from a large amount of corpus. The model 155 may also be based on other appropriate models.

[0038] The application creation platform 110 and / or the application running platform 140 can be run on appropriate electronic devices. The electronic device here can be any type of device with computing capabilities, including terminal devices or server devices. The terminal device 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, personal communication systems (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. In some embodiments, the application creation platform 110 and / or the application running platform 140 can be implemented based on cloud services.

[0039] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure. Figure 1 A single user interacting with the application creation platform 110 and a single user interacting with the application execution platform 140 are shown, but in fact multiple users can access the application creation platform 110 to each create a digital assistant, and each digital assistant can be used to interact with multiple users.

[0040] At present, with the rapid development of digital assistants, users' demand for digital assistants is gradually increasing. For example, in the scenario of group chat, multiple users need to get replies from digital assistants. In the scenario of group chat, the traditional solution is that digital assistants can only reply to specified questions or the entire question context of a specified user. It is impossible to reply based on the question context of multiple users, nor can multiple people discuss a topic with digital assistants.

[0041] In an embodiment of the present disclosure, an improved scheme for conversation interaction is proposed. In this scheme, in a first topic of a group chat session including at least one user and a digital assistant, a first conversation message from a first user to a digital assistant is received. Based on context information related to the first topic, a first reply message of the digital assistant to the first conversation message is generated. And the first reply message of the digital assistant is presented in the first topic. In this way, replies can be made based on the context of questions asked by multiple users, and multiple people can also have a conversation and discussion with the digital assistant on a certain topic.

[0042] Some example embodiments of the present disclosure will be described in detail below with reference to the examples of the accompanying drawings. It should be understood that the pages shown in the accompanying drawings are only examples, and various page designs may actually exist. The various graphical elements in the page may have different arrangements and different visual representations, one or more of which may be omitted or replaced, and one or more other elements may also exist. The embodiments of the present disclosure are not limited in this respect.

[0043] Figure 2 A flowchart for conversation interaction according to some embodiments of the present disclosure is shown. Through flowchart 200, a conversation interaction between at least one user 145 and a digital assistant 122 can be implemented. In the following example, for the purpose of discussion, it is described from the perspective of an application running platform, for example, based on a page presented by the application running platform 140, the user 145 performs a conversation interaction with the digital assistant 122.

[0044] In some embodiments, user 145 may represent each user, for example, a first user, a second user, a third user, etc. This disclosure is not limited to this.

[0045] In some embodiments, the application running platform 140 receives a first session message from the first user 145 to the digital assistant 122 in a session including at least one user 145 and the digital assistant 122. For example, the application running platform 140 receives a first session message sent by the user 145, "Help me generate a customer order trend report."

[0046] In some embodiments, the first conversation message may include a mention operation to the digital assistant.In some embodiments, the first conversation message may be sent in any other manner directed to the digital assistant.

[0047] The session described herein may be any suitable type of session, for example, a group chat session. In some embodiments, the session may be a normal group chat session. For example, Figure 2 In some embodiments, the session may be a topic group chat session. For example, Figure 2 Frame 212 and frame 216 are shown. In a topic group chat session, each conversation message can be attributed to a topic. In contrast, in a common group chat session, unless otherwise specified, conversation messages are not attributed to a topic.

[0048] Then, the application execution platform 140 may determine the context information associated with the first conversation message according to the triggering mode of the first conversation message.

[0049] In some embodiments, the context information may be determined based on the time dimension information associated with the first conversation message. For example, the context information may be determined based on conversation messages in the conversation whose sending time is less than a threshold from the sending time of the first conversation message.

[0050] Alternatively or additionally, in some embodiments, in order to determine the context information, the user dimension information associated with the first conversation message may be used. For example, if the first conversation message mentions one or more users or is sent to one or more users, the context information may be determined based on information related to the one or more users mentioned or sent to the first conversation message (e.g., sent messages).

[0051] In some embodiments, the trigger mode may include triggering in a conversational manner, such as a conversation in a normal group chat session. In other words, in this mode triggered by a conversational manner, the first user may send a first conversation message without addressing any topic. In this embodiment, the application runtime platform 140 may determine context information based at least on the first conversation message. For example, the user 145 sends a first conversation message with the content "Help me generate a customer order trend report", and the application runtime platform 140 or the digital assistant may determine the context information based on the content of this conversation message.

[0052] In some embodiments, the trigger mode may include topic-based triggering, that is, the conversation message is sent for a certain topic. For example, such a topic may be a topic in a general group chat session. For another example, such a topic may be a topic in a topic group chat session. In such an embodiment, the context information may be determined based on one or more conversation messages under the topic.

[0053] Furthermore, the digital assistant may generate a first reply message for the first conversation message based on the determined context information. For example, in box 218, the digital assistant 122 obtains all conversation contents related to the first topic as context. In box 220, the digital assistant 122 generates a first reply message based on the first conversation message of the user 145 and the context information related to the first topic.

[0054] In some embodiments, a machine learning model may be used to generate the first reply message. For example, a prompt word may be generated based on context information, and the generated prompt word may be sent to the machine learning model. Then, at least a portion of the first reply message may be obtained from the machine learning model.

[0055] After obtaining the first reply message, the first reply message of the digital assistant can be presented according to the presentation mode associated with the triggering mode. The presentation mode can be used to indicate the location and presentation style of the reply message.

[0056] In some embodiments, as described above, the first conversation message may be triggered in a conversation form, that is, the trigger mode is a conversation form trigger. In such embodiments, since the first conversation message is not directed to any topic, a first topic may be created in the conversation, and the first reply message may be presented under the first topic.

[0057] In some embodiments, as described above, the first conversation message may be triggered for a certain topic (also referred to as the second topic). Then, the first reply message may be directly presented under the second topic.

[0058] In the disclosed embodiment, it is possible to reply based on the context of multiple users' questions, and it is also possible to start a conversation and discussion between multiple people and the digital assistant on a certain topic. This further advantageously improves the efficiency of the digital assistant in assisting users, especially in the scenario of multiple users.

[0059] Continue to refer to FIG. 3A to FIG. 3F The example interfaces shown describe some example embodiments of the present disclosure. FIG. 3A to FIG. 3F Schematic diagrams of example interfaces according to some embodiments of the present disclosure are shown. It should be understood that the application interfaces shown in the drawings are merely examples, and various interface designs may actually exist. The various graphical elements in the interface may have different arrangements and different visual representations, one or more of which may be omitted or replaced, and one or more other elements may also exist. The embodiments of the present disclosure are not limited in this respect.

[0060] In some embodiments, the first topic may be created in response to a conversation message from a user. Specifically, the application runtime platform 140 may receive a conversation message from a user for the digital assistant 122 in a group chat session. Such a group chat session may be a normal group chat session. For example, in block 210, the user asks a question to the digital assistant 122 in a normal group chat session.

[0061] References Figure 3A The interface diagram 301 is shown. Figure 3A In the example of FIG. 1 , the application runtime platform 140 provides a conversation interaction page 330 for the user 145. The conversation interaction page 330 includes a message list 320 and a group chat conversation page 310. The group chat conversation page 310 provides a function card 340 automatically generated by the digital assistant 122, also called a message card. For example, the function card automatically generated by the digital assistant 122 may include, but is not limited to, an entry to the functions of the digital assistant 122, such as Figure 3A The card also provides the following functions: knowledge question and answer function, data update function, data query function, business intelligence (BI) report function, etc. The card can also be used to open the dashboard, etc.

[0062] The group chat session page 310 also displays a session message 343 from the user 145 to the digital assistant 122. For example, the application runtime platform 140 receives a session message from the user to the digital assistant 122 in the group chat session and displays it in the group chat session page 310.

[0063] In some embodiments, the conversation message may include a mention operation on the digital assistant 122. Exemplarily, the mention operation may include @digital assistant 122. For example, a user in a group chat session sends a message "@XX assistant helps me generate a customer order trend report", such as Figure 3A As shown in the conversation message 343.

[0064] In some embodiments, the conversation message may not be associated with an existing topic in the group chat session. For example, in a normal group chat session, the user has not entered a message for any topic, such as Figure 3A Session message 343 is shown.

[0065] Then, the application runtime platform 140 creates a first topic. The creation of the first topic may be based on a question from the user to the digital assistant (i.e., sending a conversation message), or may be in response to generating a reply message to the conversation message. For example, in box 212, the user asks the digital assistant a question in a general group chat session. In box 214, the digital assistant 122 creates a topic in the general group chat session based on the user's message and replies to the user.

[0066] The first topic created includes at least a conversation message sent by the user to the digital assistant and a reply message of the digital assistant 122 to the conversation message, for example, Figure 3B and Figure 3C Schematic diagrams 302 and 303 are shown. The digital assistant 122 determines a reply message for the conversation message. For example, Figure 3B The topics 353 shown include Figure 3A The session message 343 and the reply message 351 to the session message 343 are shown in FIG.

[0067] In some embodiments, if a request to view the first topic is detected in the group chat session, the application execution platform 140 may present a topic area corresponding to the first topic, and present messages related to the first topic in the topic area. Figure 3C The schematic diagram 303 shown includes a conversation interaction page 330, which includes a message list 320 and a group chat session 310. The group chat session 310 includes a topic area 355. The topic area 355 includes a conversation message 354 and a reply message 363 to the conversation message 354.

[0068] For example, if the user clicks Figure 3B The card corresponding to the topic 353 shown can present a topic area 355, such as Figure 3C As shown in the figure. User 145 sent a message “XX Assistant, help me generate a customer order trend report”. XX Assistant will reply to “XX Assistant, help me generate a customer order trend report” with “Customer order trend report has been generated, please check”. Figure 3C As shown in the topic area 355.

[0069] In some embodiments, for ordinary group chats, topics may not be created. The digital assistant can directly reply to the user in the group chat session. If the user asks the digital assistant again, at least a portion of the group message previously sent by the user can be obtained as context so that the digital assistant can generate further replies. In some embodiments, whether to create a topic in a group chat is configurable. For example, it can be configured by the creator when creating an application or a digital assistant. In this case, the same configuration is applied to different group chat sessions. For another example, it can be configured by a group member with preset permissions (such as group chat management permissions). In this case, different configurations can be applied to different group chat sessions.

[0070] In some embodiments, a topic has been created before the first conversation message is received. For example, a topic previously created by a user may exist in a common group chat session. If the user mentions the digital assistant in such a topic, the digital assistant can reply to the user based on the context of the topic.

[0071] For another example, in a topic group chat session, each message is sent for a topic. The user can mention the digital assistant in one of the topics or invoke the digital assistant in any other suitable manner.

[0072] Figure 3D , Figure 3E The schematic diagrams 304 and 305 shown respectively include a conversation interaction page 330, which includes a message list 320 and a topic group chat session 360. The topic group chat session 360 includes a created topic 313. The topic 313 includes a user's conversation message, an input control 314, and a reply message 315 to the conversation message. In some embodiments, the input control 314 can be used to reply to a conversation message from a user.

[0073] In this example, in the topic group chat session, user A mentions digital assistant 122 in topic 313 and asks "What's the weather like today?" User A or other users can click Figure 3D Input control 314 in to enter a message in topic 313.

[0074] The digital assistant 122 responds to the conversation message such as "@XX assistant how is the weather today?" to form a reply message, such as Figure 3E As shown in message 315 “@XX Assistant [Card Message]”.

[0075] In some embodiments, if the user clicks any position in the interface area corresponding to the topic 313, the message in the topic 313 can be displayed. Figure 3F Describe an example. Figure 3F The schematic diagram 306 shown includes a conversation interaction page 330, and the conversation interaction page 330 includes a message list 320 and a topic window 333. The topic window 333 may be a topic window corresponding to a single topic 313 in the topic group chat session 360.

[0076] For example, in a topic group chat session, if user A asks the digital assistant "XX assistant, what's the weather like today?", XX assistant will reply "Today's weather is as follows: XXX" to "XX assistant, what's the weather like today?" Figure 3F shown.

[0077] In some embodiments, the group chat session may include multiple users 145 and digital assistants 122. In some embodiments, the group chat session may include a topic group chat session consisting of at least one user 145 and a digital assistant 122. The topic group chat session supports two or more conversation parties to discuss multiple topics.

[0078] In some embodiments, the topic has been created before the first conversation message is received. For example, as described above, the group chat session is a topic group chat session. For another example, in a normal group chat session, a topic is created, and a user mentions the digital assistant under the topic. In some embodiments, the topic is created in response to a trigger operation of a user in the group chat session. For example, the topic may be manually created by a user.

[0079] In some embodiments, in response to detecting a viewing request for a first topic in a group chat session, a topic area corresponding to the first topic is presented, and messages related to the first topic are presented in the topic area. For example, in a normal group chat session, the topic area is as follows: Figure 3C In the topic group chat session, the topic area can be understood as follows Figure 3F 333 in the topic window.

[0080] In this way, responses can be given based on the context of multiple users' questions, and multiple people can engage in conversations with the digital assistant on a certain topic.

[0081] Figure 4 FIG. 4 is a flowchart of a process 400 for session interaction according to some embodiments of the present disclosure. The process 400 may be implemented at the application execution platform 140. Figure 1 Process 400 is described.

[0082] In box 410, the application execution platform 140 receives a first session message for a digital assistant from a first user in a session including at least one user and a digital assistant.

[0083] In block 420 , the application execution platform 140 determines context information associated with the first conversation message according to the triggering mode of the first conversation message.

[0084] In box 430, the application execution platform 140 generates a first reply message of the digital assistant to the first conversation message based on the context information.

[0085] In block 440 , the application execution platform 140 presents the first reply message according to the presentation mode associated with the triggering manner.

[0086] In some embodiments, the trigger mode includes triggering in a conversational manner, and the terminal device 110 determines the context information based on at least the first conversation message.

[0087] In some embodiments, the application execution platform 140 creates a first topic in the conversation, the first topic includes at least a first conversation message, and the application execution platform 140 presents a first reply message under the first topic.

[0088] In some embodiments, the trigger mode includes triggering for a second topic in the conversation, and the application execution platform 140 determines the context information based on one or more conversation messages in the second topic.

[0089] In some embodiments, the application execution platform 140 presents the first reply message under the first topic.

[0090] In some embodiments, the session comprises a topical group chat session.

[0091] In some embodiments, the first conversation message includes a mention operation to the digital assistant.

[0092] In some embodiments, the session includes multiple users and the digital assistant.

[0093] In some embodiments, in response to detecting a request to view a first topic in a conversation, the terminal device 110 presents a topic area corresponding to the first topic, and presents messages related to the first topic in the topic area.

[0094] In some embodiments, the application execution platform 140 provides a prompt word generated based on the context information to the machine learning model; and obtains at least a portion of the first reply message from the machine learning model.

[0095] In some embodiments, the application execution platform 140 determines the context information based on at least one of the following: time dimension information associated with the first conversation message, or user dimension information associated with the first conversation message.

[0096] Figure 5 A schematic structural block diagram of an apparatus 500 for conversation interaction according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented in or included in the application execution platform 110, for example. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0097] As shown in the figure, the device 500 includes a receiving module 510, which is configured to receive a first conversation message for a digital assistant from a first user in a conversation including at least one user and a digital assistant; a context information determination module 520, which is configured to: determine the context information associated with the first conversation message according to the trigger mode of the first conversation message; a first reply message generation module 530, which is configured to generate a first reply message of the digital assistant for the first conversation message based on the context information; and a presentation module 540, which is configured to present the first reply message according to the presentation mode associated with the triggering method.

[0098] In some implementations, the trigger mode includes triggering in a conversational manner, and the context information determination module 520 is further configured to determine the context information based on at least the first conversation message.

[0099] In some implementations, the presentation module 540 is further configured to create a first topic in the conversation, the first topic including at least the first conversation message; and present the first reply message under the first topic.

[0100] In some implementations, the trigger mode includes triggering for a second topic in the conversation, and the context information determination module 520 is further configured to determine the context information based on one or more conversation messages in the second topic.

[0101] In some implementations, the presentation module 540 is further configured to present the first reply message under the first topic.

[0102] In some implementations, the session includes a topic group chat session.

[0103] In some implementations, the first conversation message includes a mention operation to the digital assistant.

[0104] In some implementations, a session includes multiple users and a digital assistant.

[0105] In some implementations, the apparatus 500 further includes a viewing request processing module configured to present a topic area corresponding to the first topic in response to detecting a viewing request for the first topic in the conversation, and present messages related to the first topic in the topic area.

[0106] In some implementations, the first reply message generation module 530 is further configured to provide prompt words generated based on the context information to the machine learning model; and obtain at least a portion of the first reply message from the machine learning model.

[0107] In some implementations, the context information determination module 520 is further configured to determine the context information based on at least one of the following: time dimension information associated with the first conversation message, or user dimension information associated with the first conversation message.

[0108] 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 6 The electronic device 600 shown may include or be implemented as Figure 1 application execution platform 140, or Figure 5 Device 500.

[0109] 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 670. 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.

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

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

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

[0113] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 670 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).

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

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

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

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

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

[0119] 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 market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A conversation interaction method, comprising: In a conversation including at least one user and a digital assistant, receiving a first conversation message from a first user for the digital assistant; determining, according to a triggering mode of the first conversation message, context information associated with the first conversation message; Based on the context information, generating a first reply message of the digital assistant to the first conversation message; as well as The first reply message is presented according to a presentation mode associated with the triggering manner.

2. The method of claim 1, wherein the triggering mode comprises triggering in a dialog manner, and wherein determining the context information comprises: The context information is determined based at least on the first conversation message.

3. The method of claim 2, wherein presenting the first reply message comprises: Creating a first topic in the conversation, wherein the first topic at least includes the first conversation message; as well as The first reply message is presented under the first topic.

4. The method of claim 1 , wherein the trigger mode comprises triggering on a second topic in the conversation, and wherein determining the context information comprises: The context information is determined based on one or more conversation messages in the second topic.

5. The method of claim 4, wherein presenting the first reply message comprises: The first reply message is presented under the first topic. The method of claim 4 , wherein the session comprises a topic group chat session.

7. The method of claim 1, wherein the first conversation message comprises a mention operation to the digital assistant.

8. The method of claim 1, wherein the session includes multiple users and the digital assistant.

9. The method according to claim 1, further comprising: In response to detecting a viewing request for the first topic in the conversation, presenting a topic area corresponding to the first topic, and presenting messages related to the first topic in the topic area.

10. The method according to claim 1, wherein generating a first reply message of the digital assistant to the first conversation message comprises: Providing the prompt words generated based on the context information to the machine learning model; as well as Obtain at least a portion of the first reply message from the machine learning model.

11. The method of claim 1 , wherein determining the context information comprises: The context information is determined based on at least one of the following: time dimension information associated with the first conversation message, or User dimension information associated with the first conversation message.

12. A device for conversation interaction, comprising: A receiving module configured to receive a first conversation message from a first user for the digital assistant in a conversation including at least one user and the digital assistant; a context information determination module, configured to: determine context information associated with the first conversation message according to a triggering mode of the first conversation message; A first reply message generating module is configured to generate a first reply message of the digital assistant to the first conversation message based on the context information; as well as The presentation module is configured to present the first reply message according to a presentation mode associated with the triggering method.

13. 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 11 when executed by the at least one processing unit.

14. 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 11.

Citation Information

Patent Citations

  • Intelligent automated assistant

    CN102792320A

  • Dialogue display method and device, computer equipment and storage medium

    CN112231463A

  • Conversation processing method and device, electronic equipment and storage medium

    CN117009482A

  • Contextual Help Recommendations for Conversational Interfaces Based on Interaction Patterns

    US20210382925A1