Methods, devices, electronic devices, storage media, and program products for replying to conversation messages

By displaying virtual objects in the conversation interface and using artificial intelligence and large language models to generate reply messages, the problem of limited conversation message reply methods is solved, enabling diversified conversation message replies and improving user experience.

CN120455426BActive Publication Date: 2026-05-26BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2025-06-10
Publication Date
2026-05-26

Smart Images

  • Figure CN120455426B_ABST
    Figure CN120455426B_ABST
Patent Text Reader

Abstract

This disclosure provides a method, apparatus, electronic device, storage medium, and program product for replying to conversation messages. The method includes: displaying a first conversation interface of a preset conversation, the preset conversation including a first user and at least one second user; displaying a first conversation message in a first message display area of ​​the first conversation interface; and, based on the display of the first conversation message, displaying a first reply message from a virtual object in the first message display area in response to the first conversation message, the first reply message being generated based on at least one piece of reference content, the at least one piece of reference content being obtained based on the preset conversation message, the preset conversation message including the first conversation message and / or a second conversation message associated with the first conversation message. This disclosure, utilizing the above technical solution, can enrich the ways of replying to conversation messages in conversations between multiple users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, electronic device, storage medium, and program product for replying to conversational messages. Background Technology

[0002] Currently, in some applications, users in a group can send conversational messages and / or reply to conversational messages sent by other users in the group. However, the methods for replying to conversational messages in related technologies are relatively limited. Summary of the Invention

[0003] This disclosure provides a method, apparatus, electronic device, storage medium, and program product for replying to conversation messages, thereby enriching the ways to reply to conversation messages.

[0004] In a first aspect, embodiments of this disclosure provide a method for replying to conversation messages, including:

[0005] A first session interface is displayed, which includes a first user and at least one second user;

[0006] The first session message is displayed in the first message display area of ​​the first session interface;

[0007] Based on the display of the first session message, a first reply message from a virtual object to the first session message is displayed in the first message display area. The first reply message is generated based on at least one reference content, which is obtained based on a preset session message. The preset session message includes the first session message and / or a second session message associated with the first session message.

[0008] Secondly, embodiments of this disclosure also provide a device for replying to conversation messages, including:

[0009] The first interface display module is used to display the first session interface of the preset session, which includes a first user and at least one second user.

[0010] The conversation message display module is used to display the first conversation message in the first message display area of ​​the first conversation interface;

[0011] The reply message display module is used to display a first reply message from a virtual object to the first session message in the first message display area based on the display of the first session message. The first reply message is generated based on at least one reference content, and the at least one reference content is obtained based on a preset session message. The preset session message includes the first session message and / or a second session message associated with the first session message.

[0012] Thirdly, embodiments of this disclosure also provide an electronic device, including:

[0013] One or more processors;

[0014] Memory, used to store one or more programs.

[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the session message reply method as described in the embodiments of this disclosure.

[0016] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method for replying to session messages as described in embodiments of this disclosure.

[0017] Fifthly, embodiments of this disclosure also provide a computer program product that, when executed by a computer, enables the computer to implement the session message reply method as described in embodiments of this disclosure.

[0018] The methods, apparatus, electronic devices, storage media, and program products for replying to session messages provided in this disclosure, for preset sessions between multiple users, support waking up a virtual object set in the preset session by sending a first session message in the preset session, obtaining at least one piece of reference content based on the first session message through this virtual object, and replying to the first session message based on this at least one piece of reference content. This can enrich the reference content that the virtual object relies on when replying to messages in a session between multiple users and the reply methods for session messages in a session between multiple users. Attached Figure Description

[0019] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0020] Figure 1 A flowchart illustrating a method for replying to conversation messages provided in an embodiment of this disclosure;

[0021] Figure 2 A schematic diagram illustrating a first session interface provided in an embodiment of this disclosure;

[0022] Figure 3 A schematic diagram illustrating a first session message provided in an embodiment of this disclosure;

[0023] Figure 4A schematic diagram illustrating another first session message provided in an embodiment of this disclosure;

[0024] Figure 5 A schematic diagram illustrating a first response message provided in an embodiment of this disclosure;

[0025] Figure 6 A schematic diagram illustrating another first response message provided in an embodiment of this disclosure;

[0026] Figure 7 A schematic diagram illustrating a second session interface provided in an embodiment of this disclosure;

[0027] Figure 8 A flowchart illustrating another method for replying to conversation messages provided in an embodiment of this disclosure;

[0028] Figure 9 A schematic diagram illustrating another first session interface provided in an embodiment of this disclosure;

[0029] Figure 10 A schematic diagram illustrating yet another first session interface provided in an embodiment of this disclosure;

[0030] Figure 11 A structural block diagram of a conversation message reply device provided in an embodiment of this disclosure;

[0031] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0032] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0033] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0034] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0035] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0036] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0037] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

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

[0039] Figure 1 This is a flowchart illustrating a method for replying to conversation messages provided in an embodiment of this disclosure. The method can be executed by a conversation message reply device, which can be implemented in software and / or hardware and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. The conversation message reply method provided in this disclosure is applicable to scenarios where conversation messages in a conversation are replied to using virtual objects, such as scenarios where conversation messages in a conversation are replied to using virtual objects based on information search, or scenarios where conversation messages in a conversation are summarized using virtual objects.

[0040] In some applications, chatbots can be used to reply to conversational messages sent by users in a group, such as responding to questions raised in the group.

[0041] Currently, chatbots in groups respond to conversational messages sent by users within the group based on pre-set knowledge within the group, and the response methods are relatively simple.

[0042] In view of this, embodiments of the present disclosure provide a method for replying to conversation messages, which obtains reference content in the current conversation based on the conversation messages sent in the conversation, and generates a reply message based on the reference content, which can enrich the reply methods of conversation messages in conversations between multiple users and meet the conversational needs of users with other users.

[0043] like Figure 1 As shown, the method for replying to session messages provided in this embodiment may include:

[0044] S101. Display the first session interface of the preset session, wherein the preset session includes a first user and at least one second user.

[0045] The preset session can be a session involving at least two users, such as a one-on-one session between two users and / or a group session between multiple users. It should be noted that these at least two users can be real users within the current application, not virtual objects. The aforementioned at least two users include a first user and at least one second user. The first user can be understood as the current user, such as the user currently viewing the first session interface of the preset session. The second user can be understood as any other user included in the preset session besides the current user. The first session interface can be the session interface of the preset session. The first session interface can be used for users in the preset session to send session messages, view sent session messages, and / or interact with other users in the preset session, etc.

[0046] In this embodiment, a preset session interface (i.e., the first session interface) can be displayed. For example, when a first user performs an operation to display the preset session interface, such as when the first user triggers the preset session interface entry, the preset session interface can be displayed. Figure 2 As shown.

[0047] Please continue to refer to this. Figure 2 The first session interface may include a first message display area 20 and a message input area 21. The first message display area 20 can be understood as the message display area of ​​the first session interface. The first message display area 20 can be used to display session messages sent by users in the preset session; the message input area 21 can be used for the user currently viewing the first session interface (such as the first user) in the preset session to input the message content of the session message to be sent in the preset session and / or to send a session message in the preset session.

[0048] S102. Display the first session message in the first message display area of ​​the first session interface.

[0049] The first session message can be a session message that triggers a response from a virtual object. For example, the message content and / or message indication of the first session message can be associated with a virtual object set in a preset session. For instance, the message content of the first session message may mention (e.g., @) a virtual object set in the preset session; and / or, the first session message may include a session message containing an information retrieval instruction or a message content summary instruction. For example, the first session message can be used to instruct information retrieval or to instruct a summary of the message content of one or more historical session messages in the preset session. The following explanation uses a session message whose message content mentions a virtual object set in the preset session as an example. The first session message can be sent by a first user or a second user. For example, the first session message can be a session message sent by the first user in the preset session, or a session message received by the first user in the preset session but sent by a second user in the preset session.

[0050] Specifically, the first session message 30 can be displayed in the first message display area 20 of the first session interface, such as... Figure 3 and 4 As shown in the figure (taking the first session message 30 sent by the first user as an example), for example, the first message display area 20 of the first session interface displays the first session message 30 sent by the first user or the second user in the preset session.

[0051] S103. Based on the display of the first session message, display the first reply message of the virtual object in the first message display area in response to the first session message. The first reply message is generated based on at least one reference content. The at least one reference content is obtained based on a preset session message. The preset session message includes the first session message and / or a second session message associated with the first session message.

[0052] The virtual object can be understood as an object associated with the first conversation message, such as a virtual chatbot or chat assistant associated with the first conversation message. This virtual object can respond to conversation messages associated with it in the preset conversation based on artificial intelligence (AI) and / or large language model (LLM).

[0053] The first reply message can be understood as a response to the first conversation message. The first reply message is used to reply to the first conversation message. When the message instructions in the first conversation message are different, the message content of the first reply message can also be different. For example, when the first conversation message contains an information retrieval instruction, the message content of the first reply message can include information matching the message retrieval instruction; when the first conversation message contains a message content summary instruction, the message content of the first reply message can include a summary of one or more conversation messages corresponding to this first conversation message. The first reply message can include text content and / or image content, and this image content can include, but is not limited to, image content and / or video content.

[0054] The first reply message is generated based on at least one piece of reference content. This reference content can be obtained based on the message indication of the first session message. For example, the first session message can be determined based on a preset session message, and at least one piece of reference content matching it can be obtained based on the first session message. Exemplarily, this reference content may include reference content other than knowledge pre-set in the preset session; for example, this virtual object does not need to pre-set knowledge when replying to a message. In some examples, this reference content may include search results obtained from information searches in public information and / or historical session messages in the current preset session.

[0055] The preset session messages include a first session message and / or a second session message. This second session message can be understood as a session message in the preset session that is associated with the first session message. For example, the second session message may include the m most recently sent session messages in the preset session before the first session message and / or the n most recently sent session messages by the user who sent the first session message before the first session message, and so on. Both m and n are positive integers, and their values ​​can be set as needed. For example, m and / or n can be set to 10, 20, or 30, etc., and m and n can be the same or different.

[0056] Specifically, after displaying the first session message 30 in the first message display area 20, the first reply message 50 generated by the virtual object in response to the first session message 30 can be obtained based on the display of this first session message 30, and this first reply message 50 can be displayed in the first message display area 20, such as... Figure 5 and 6 As shown.

[0057] In some implementations, an association information retrieval instruction can be triggered based on the display of the first session message, so that a subsequent response to this association information retrieval instruction can retrieve the first reply message of the virtual object in response to the first session message. Optionally, displaying the first reply message of the virtual object in the first message display area based on the display of the first session message includes: triggering an association information retrieval instruction based on the first session message, wherein the association information retrieval instruction retrieves the first reply message of the virtual object in response to the first session message based on the first session message. Here, the association information retrieval instruction can be understood as an instruction to retrieve association information. This association information retrieval instruction can be configured to trigger the invocation of the virtual object to retrieve the first reply message of the virtual object in response to the first session message.

[0058] In this embodiment, the virtual object can respond to an associated message retrieval instruction by generating a first reply message for the first session message. For example, based on the first session message and / or a second session message associated with the first session message in a preset session, the first session message is analyzed to determine the message instruction of the first session message. According to the first session message, at least one matching reference content is obtained, such as by information search or by retrieving at least one reference content matching the message instruction from historical session messages in the preset session. Based on the obtained at least one reference content, a first reply message matching the message instruction of the first session message is generated, and this first reply message is used to reply to the first session message. Correspondingly, the current application can obtain the first reply message generated by the virtual object for the first session message and display the first reply message as a session message sent by the virtual object in the first message display area.

[0059] In some implementations, users in a preset session can trigger a virtual object to search for information and generate a reply message based on the search results by sending a first session message in the preset session. This does not require the user to exit the first session interface of the preset session. After a series of triggering operations, the user can enter the search interface to search for information and share the searched information to the preset session or edit and send a session message based on the searched information. This simplifies the operations required for information searching in preset sessions between multiple users and enriches the reply methods for session messages in preset sessions.

[0060] Optionally, displaying the first reply message of the virtual object in response to the first session message in the first message display area includes: in response to the associated information acquisition instruction, acquiring at least a portion of the first reply content generated by the virtual object in response to the preset session message, using it as the message content of the first reply message, and displaying the first reply message in the first message display area, wherein the first reply content is generated based on at least one search content, and the at least one search content is obtained based on the first session message and / or the second session message.

[0061] The first reply can be understood as the reply content generated by the virtual object in response to the first reply message. The search content can be reference content obtained through information searching. The search content can be obtained by searching information based on the first session message and / or the second session message.

[0062] For example, a virtual object may, in response to an associated information retrieval instruction, analyze the message indication of the first session message based on the first session message 30 and / or the second session message. If the analysis determines that the first session message 30 indicates information retrieval (e.g., ...), ... Figure 3 As shown, Figure 3 Taking the first session message 30 indicating the retrieval of scenic spot information as an example, at least one search term matching the message indication of the first session message 30 can be generated; information searches are performed based on each generated search term to obtain search results; at least a portion of the search results is obtained as a reference search, such as obtaining the top k results as search content; each search content is analyzed to generate the first reply content of the first session message 30; and at least a portion of the first reply content can be obtained as the message content of the first reply message 50, which is then sent in a preset session. Correspondingly, the current application can receive the first reply message 50 sent by the virtual object and display it in the first message display area 20 of the first session interface in the form of a session message sent by the virtual object, such as... Figure 5 As shown.

[0063] In the above embodiments, the first reply message may include at least part of the first reply content generated by the virtual object in response to the first session message.

[0064] In some examples, instead of pre-setting the message character threshold or message size threshold for reply messages (such as the first reply message) sent by the virtual object in a session between multiple users (such as a preset session), the entire content of the first reply generated by the virtual object can be directly obtained as the message content of the first reply message, and the first reply message containing this entire content can be displayed in the first message display area to simplify the operations required for users to view the complete content of the first reply generated by the virtual object.

[0065] In some examples, a threshold for the number of characters and / or the size of the reply messages sent by the virtual object in a session between multiple users can be preset. After the virtual object generates the first reply content, at least a portion of the first reply content not exceeding this threshold for the number of characters and / or the size of the message can be obtained as the message content of the first reply message, and the first reply message containing this at least portion of the content can be displayed in the first message display area so that the user can view other session messages in the preset session in the first message display area. For example, if the total number of characters in the first reply content is less than or equal to this threshold for the number of characters and the total display size of the first reply content is less than or equal to this threshold for the size of the message, the entire content of the first reply content generated by the virtual object can be obtained as the message content of the first reply message; if the total number of characters in the first reply content is greater than this threshold for the number of characters and / or the total display size of the first reply content is greater than this threshold for the size of the message, a portion of the content of the first reply content generated by the virtual object can be obtained as the message content of the first reply message.

[0066] In some implementations, users in a preset session can instruct a virtual object to summarize the message content of one or more historical session messages in the preset session by sending a first session message in the preset session. This allows users to understand the session content of the preset session without having to view each historical session message sent in the preset session one by one, which can reduce the time spent by users to understand the session content of the preset session and enrich the ways to reply to session messages in the preset session.

[0067] Optionally, displaying the first reply message of the virtual object in the first message display area in response to the association information acquisition instruction includes: summarizing the session messages in response to the association information acquisition instruction, acquiring at least a portion of the second reply content obtained by summarizing the virtual object in response to at least one historical session message in the preset session, using it as the message content of the first reply message, and displaying the first reply message in the first message display area, wherein the at least one historical session message corresponds to the preset session message.

[0068] The historical session messages can be session messages sent in a preset session, such as session messages sent before the first session message. These can be session messages in the preset session whose message content needs to be summarized. The method for determining these historical session messages can be preset or determined based on message conditions contained in the preset session messages or the status of each session message in the preset session. Optionally, at least one historical session message matches the message conditions in the preset session message or is in a selected state. For example, session messages that match the message conditions contained in the preset session can be obtained as historical session messages to be summarized, or session messages in a selected state in the preset session can be used as historical session messages to be summarized. These message conditions can be understood as the conditions that the session messages to be summarized must meet. Such message conditions can be used to indicate the sending time of the historical session message, the sending user, and / or the number of session messages between the first session message and the previous session message.

[0069] The second response content can be understood as the response content generated by the virtual object summarizing the content of at least one historical session message in the preset session. Optionally, the second response content includes the message summary content of the at least one historical session message and / or the event information to be executed. This message summary content can be generated by summarizing and generalizing the message content of the at least one historical session message. This event information to be executed can be understood as the event information of the event to be executed (such as the event execution party information and / or event content information). The event information to be executed can be generated by the virtual object based on the aforementioned at least one historical session message. For example, the virtual object can generate an event to be executed related to the aforementioned at least one historical session message and determine the task information (event information to be executed) of the event to be executed.

[0070] For example, a virtual object may, in response to an associated message retrieval instruction, analyze the message indication of the first session message based on the first session message 30 and / or the second session message, and if the analysis determines that the first session message 20 indicates a session message summary (e.g., ... Figure 4 As shown, Figure 4Taking the first session message 30 indicating a summary of session messages sent that day in a preset session as an example, it can retrieve historical session messages in the preset session that match the message conditions in the first session message 20 and / or the second session message, or retrieve historical session messages in the preset session that are selected. The retrieved historical session messages are then summarized to generate a second reply, which is used as the message content of the first reply message 50 and sent in the preset session. Correspondingly, the current application can receive the first reply message 50 sent by the virtual object and display it in the first message display area 20 of the first session interface in the form of a session message sent by the virtual object. Figure 6 As shown.

[0071] In addition, in some implementations, users can also be allowed to instruct virtual objects to perform certain tasks by sending session messages in the first session interface, such as session management and / or timed reminders for preset sessions, which can be set as needed.

[0072] The method for replying to conversation messages provided in this embodiment displays a first conversation interface of a preset conversation, which includes a first user and at least one second user; a first conversation message is displayed in a first message display area of ​​the first conversation interface; based on the display of the first conversation message, a first reply message from a virtual object to the first conversation message is displayed in the first message display area. This first reply message is generated based on at least one piece of reference content, which is obtained based on the preset conversation message. The preset conversation message includes the first conversation message and / or a second conversation message associated with the first conversation message. This embodiment, utilizing the above technical solution, supports waking up a virtual object set in the preset conversation by sending a first conversation message in the preset conversation for preset conversations between multiple users. The virtual object obtains at least one piece of reference content based on the message instruction of the first conversation message and replies to the first conversation message based on this at least one piece of reference content. This enriches the reference content used by the virtual object to reply to messages in conversations between multiple users and the reply methods for conversation messages in conversations between multiple users.

[0073] In some embodiments, users may also be allowed to enter a second session interface between themselves and the virtual object based on the first reply message, which facilitates interaction between the user and the virtual object in the second session interface.

[0074] Optionally, the method for replying to the conversation message may further include: in response to a conversation interface display operation based on the first reply message, displaying a second conversation interface between the first user and the virtual object; in response to a second message sending operation based on the second conversation interface, sending a fourth conversation message and displaying the fourth conversation message in a second message display area of ​​the second conversation interface; and in response to the display of the fourth conversation message, displaying a second reply message from the virtual object to the fourth conversation message in the second message display area.

[0075] The operation of displaying the conversation interface based on the first reply message can be a triggering operation to instruct the display of the conversation interface between the first user and the virtual object that sent the first reply message. The execution method of this conversation interface display operation is not limited; for example, it can include triggering the first reply message and / or triggering the conversation interface display control associated with the first reply message, etc. The second conversation interface can be the conversation interface between the first user and the virtual object that sent the first reply message, and it is a different conversation interface from the first conversation interface. The second message sending operation can be a triggering operation to instruct the sending of a conversation message in the second conversation interface, such as triggering the message sending control displayed in the second conversation interface, etc. The second message display area can be the area in the second conversation interface used to display the conversation message sent between the first user and this virtual object. The fourth conversation message can be the conversation message sent as instructed by the second message sending operation. The second reply message can be understood as a reply message to the fourth conversation message, which can be generated by the virtual object in the second conversation interface based on the fourth conversation message.

[0076] Specifically, upon receiving a session interface display operation based on the first reply message 50, such as when it is detected that the first user triggers the first reply message 50 displayed in the first message display area 20, or when it is detected that the first user triggers the interface display control 51 associated with the first reply message 50 in the first message display area 20 (e.g., ... Figure 5 In the case shown), a second session interface 70 can be displayed between the first user and the virtual object that sent the first reply message 50, such as... Figure 7 As shown.

[0077] After the second conversation interface 70 is displayed, the first user can send conversation messages to the virtual object and / or view the response messages generated by the virtual object in response to the conversation messages sent by the first user. For example, the second conversation interface 70 may display a message input area; and / or, the second conversation interface 70 may display an input area display control 71 (such as...). Figure 7As shown, when the input area display control 71 is triggered by a second user, a message input area can be displayed in the second session interface 70. The message input area displayed in the second session interface 70 can be used by the first user to input and edit the message content of the session message to be sent to this virtual object.

[0078] When a second message sending operation based on the second session interface is received, such as when the message sending control in the second session interface 70 is triggered after the first user enters message content in the message input area of ​​the second session interface 70, the message content entered in the message input area of ​​the second session interface 70 can be used as the message content of the fourth session message, and this fourth session message can be sent and displayed in the second message display area of ​​the second session interface.

[0079] After the fourth session message is displayed in the second message display area, the second reply message generated by the virtual object based on this fourth session message can be obtained, and this fourth session message can be displayed in the second message display area of ​​the second session interface 70 in the form of a session message sent by this virtual object.

[0080] In some implementations, the second session interface can also allow users in a preset session to view the first reply content and / or second reply content generated by the virtual object in response to the first session message, corresponding to the first reply message. This eliminates the need to exit the first session interface and undergo a series of triggering operations to switch to the session interface between the first user and the virtual object, and then view the first reply content and / or second reply content by asking a question again in this session interface. This simplifies the operations required for users to view the first reply content and / or second reply content. Optionally, in this case, the session message reply method further includes: in response to a session interface display operation based on the first reply message, displaying the complete reply content of the virtual object in response to the first session message in the second message display area of ​​the second session interface. The complete reply content includes either the first reply content or the second reply content. For example, when displaying the second session interface between the first user and the virtual object that sent the first reply message in response to a session interface display operation based on the first reply message, the first reply content and / or second reply content corresponding to the first reply message can be further displayed in this second session interface, such as... Figure 7 As shown.

[0081] In this embodiment, when displaying the second conversation interface, the first conversation interface may be displayed or not. For example, in response to a conversation interface display operation based on a first reply message, the first conversation interface may be switched to the second conversation interface, such as canceling the display of the first conversation interface and displaying the second conversation interface; alternatively, the first conversation interface may be displayed, and the second conversation interface may be displayed on top of at least a portion of the first conversation interface. In this case, optionally, displaying the second conversation interface between the first user and the virtual object includes: maintaining the display of the first conversation interface and displaying the second conversation interface between the first user and the virtual object on top of at least a portion of the first conversation interface.

[0082] In some embodiments, when the first reply message contains image content, users can be supported to enter the image content display interface of the first reply message based on the first reply message, and switch to view different image content contained in the first reply message in this image content display interface, so as to enrich the way to view the image content in the first reply message and simplify the operations required to view different image content in the first reply message.

[0083] Optionally, the method for replying to the conversation message may further include: in response to an image content display operation based on the first reply message, displaying an image content display interface for the first reply message, and displaying preset image content in the first reply message on the image content display interface, the preset image content corresponding to the image content display operation; in response to an image content switching operation performed on the image content display interface, switching the image content displayed in the image content display interface.

[0084] The image content display operation based on the first reply message can be understood as an operation used to instruct the display of image content contained in the first reply message. The execution method of this image content display operation is not limited. For example, this image content display operation may include an operation that triggers the identification information (such as image content name, cover, and / or thumbnail) of a certain image content contained in the first reply message. The image content display interface of the first reply message can be an interface used to switch the display of image content contained in the first reply message. The preset image content can be the image content corresponding to the image content display operation, which can be the Lth (L is a positive integer) image content in the first reply message, or the image content triggered by the image content display operation, etc. The image content switching operation can be a triggering operation used to instruct the switching of the currently displayed image content in the image content display interface, such as a preset sliding operation on the image content display interface and / or an operation that triggers the image content switching control displayed in the image content display interface. This preset interactive operation can be a sliding operation along a preset direction, such as a horizontal sliding operation or a vertical sliding operation.

[0085] For example, upon receiving an image content display operation based on a first reply message, such as detecting that a first user has triggered a thumbnail of an image content displayed in the first reply message (e.g., ... Figure 5 and 6 In the case shown in the figure, an image content display interface for the first reply message can be displayed, and a preset image content corresponding to the image content display operation can be displayed in this image content display interface; and, when an image content switching operation is received in the image content display interface, the image content currently displayed in the image content display interface can be switched based on the image content switching operation and the display order of each image content in the first reply message, such as switching the image content currently displayed in the image content display interface to the previous or next image content of the image content displayed before the switch in the first reply message.

[0086] In some embodiments, the virtual object's reply to the first session message can be displayed in the first session interface only when a virtual object is set in the preset session, such as when the object reply function is enabled in the preset session; otherwise, the virtual object is not used to reply to the session messages in the first session interface, thus meeting different user reply needs. Optionally, in this case, displaying the virtual object's first reply to the first session message in the first message display area based on the display of the first session message includes: if the object reply function of the preset session is enabled, then displaying the virtual object's first reply to the first session message in the first message display area based on the display of the first session message. The object reply function can be a function that allows replying to at least some session messages (such as the first session message) in the preset session through a virtual object.

[0087] In the above embodiments, the management user of a preset session can enable or disable the object reply function of the preset session. Optionally, the first user is the management user of the preset session, and the method for replying to session messages further includes adjusting the object reply function of the preset session from a disabled state to an enabled state in response to the operation of enabling the object reply function of the preset session. When the object reply function is enabled, virtual objects can reply to session messages in the preset session.

[0088] The "reply function enable" operation can be a trigger operation used to instruct the object reply function of the preset session to be enabled, such as triggering the operation of the enable control corresponding to the object reply function of the preset session. The administrator user of the preset session can be a user with administrative permissions for the preset session. Taking a group session as an example, this administrator user can include, but is not limited to, the group owner of the preset session.

[0089] For example, when receiving an operation to enable the object reply function for a preset session, such as when the administrator of the preset session triggers the control to enable the object reply function for the preset session, the object reply function for the preset session can be enabled, that is, the object reply function for the preset session can be adjusted to the enabled state; when receiving an operation to disable the object reply function for the preset session, such as when the administrator of the preset session triggers the control to disable the object reply function for the preset session, the object reply function for the preset session can be disabled, that is, the object reply function for the preset session can be adjusted to the disabled state.

[0090] Figure 8This is a flowchart illustrating another method for replying to a conversation message provided in an embodiment of this disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, displaying the first conversation message in the first message display area of ​​the first conversation interface includes: in response to a preset trigger operation by the first user, sending the first conversation message, triggering an associated information retrieval instruction, and displaying the first conversation message in the first message display area of ​​the first conversation interface; or, in response to receiving the first conversation message sent by the second user, displaying the first conversation message in the first message display area of ​​the first conversation interface.

[0091] Correspondingly, such as Figure 8 As shown, the method for replying to session messages provided in this embodiment may include:

[0092] S201. Display the first session interface of the preset session, and execute S202 and / or S203, wherein the preset session includes a first user and at least one second user.

[0093] S202. In response to the preset trigger operation of the first user, send a first session message, trigger an instruction to obtain associated information, and display the first session message in the first message display area of ​​the first session interface, and execute S204.

[0094] Specifically, upon receiving a preset trigger operation from the first user based on the first session interface, a first session message 30 can be sent based on this preset trigger operation to trigger an instruction to retrieve associated information. This first session message 30 can then be displayed in the first message display area 20 of the first session interface. Figure 3 and 4 As shown.

[0095] The preset trigger operation can be a trigger operation used to instruct the sending of the first session message, such as a trigger operation used to instruct the sending of a session message that mentions a virtual object. The execution method of the preset trigger operation is not limited. For example, the preset trigger operation may include the operation of triggering the operation of the preset control displayed in the first session interface, the operation of triggering the object identifier of the virtual object, the operation of triggering the operation of the preset prompt information displayed in the first session interface, or the operation of entering message content that mentions the virtual object in the message input area of ​​the first session message, etc.

[0096] In some embodiments, the method for replying to the session message further includes at least one of the following: displaying a preset control on the first session interface, the preset control being configured to trigger an association information retrieval indication; or, the preset control being configured to trigger the display of a virtual object set of the preset session, the virtual object set displaying a second object identifier of the virtual object, the second object identifier being configured to trigger an association information retrieval indication; displaying a third session message sent by the virtual object in a first message display area of ​​the first session interface, and displaying the third object identifier of the virtual object in a first association position of the third session message, the third object identifier being configured to trigger an association information retrieval indication; and displaying preset prompt information in response to a session message sent within a preset time length in the preset session satisfying a preset prompt condition, the preset prompt information being configured to trigger an association information retrieval indication.

[0097] In some examples, preset controls can be displayed on the first session interface to allow users (such as the first user) to perform preset trigger operations based on these preset controls, such as sending first session messages, triggering instructions to obtain related information, or viewing a collection of virtual objects in the preset session.

[0098] The display position of the preset control in the first session interface is not limited. For example, the preset control can be displayed in a preset position in the first session interface and / or in an associated position of certain session messages displayed in the first session interface, etc. Optionally, displaying the preset control in the first session interface includes: displaying a first preset control in a preset position in the first session interface; and / or, displaying a second preset control in a second associated position of at least some session messages in the first session interface, wherein the at least some session messages indicate information retrieval or session message summary.

[0099] The preset controls may include a first preset control and / or a second preset control. The first preset control can be understood as a preset control displayed at a preset position on the first session interface. This preset position can be located at the bottom, top, left, or right of the first session interface, etc., and this embodiment does not impose any limitations. The second preset control can be understood as a preset control associated with certain session messages in the first session interface. The second associated position can be a position associated with the display position of a certain session message on the first session interface. The second associated position of the session message can be a position near the display position of this session message, such as being located above, below, to the left, or to the right of this session message. This session message can be a session message indicating information retrieval or a session message summary, such as a session message indicating information retrieval or a session message summary. Optionally, at least some of the session messages are sent by the first user and / or the second user. For example, this session message can be a session message sent by the first user in a preset session, or it can be a session message sent by the second user in a preset session.

[0100] For example, such as Figure 2 As shown, when the first session interface is displayed, a first preset control 22 can be displayed at a preset position on the first session interface, such as above the message input area 21 of the first session interface. And / or, when the first session interface displays a session message indicating the presence of an information retrieval instruction and / or a session message summary instruction, a second preset control 23 can be displayed at a second associated position on this session message. For example, based on whether the message content contains a setting sentence to determine the information retrieval instruction and the session message summary instruction, this setting sentence can be set as needed. For example, this setting sentence can include a question sentence and / or a search sentence, etc.

[0101] After displaying the preset controls, users can trigger preset trigger operations to obtain associated information by triggering the preset controls; and / or, users can view the virtual object set of the preset session by triggering the preset controls, and trigger the associated information obtain instruction by triggering the second object identifier of a virtual object in the virtual object set. This embodiment does not limit this. This virtual object set can be understood as the set of virtual objects set in the preset session. The virtual object set may display the second object identifiers of one or more virtual objects set in the preset session. This second object identifier can be understood as the object identifier of the virtual object displayed in the virtual object set, such as the virtual object's avatar and / or name, etc.

[0102] In some implementations, when a preset session has only one virtual object, the preset control can be configured to trigger an association information retrieval indication, such as triggering the execution of a preset trigger operation to trigger the association information retrieval indication; when a preset session has multiple virtual objects, the preset control can be configured to trigger the display of the virtual object set of the preset session. And / or, one of the first preset control and the second preset control can be configured to trigger the display of the virtual object set of the preset session, and the other can be configured to trigger an association information retrieval indication, such as triggering the execution of a preset trigger operation to trigger the association information retrieval indication, and so on. The virtual object set of the preset session can be displayed within the first session interface or within an interface different from the first session interface; this embodiment does not limit this.

[0103] In some examples, when a session message (such as a third session message) sent by a virtual object is displayed in the first message display area, a third object identifier of the virtual object can be displayed at the first associated position of this session message. This allows the user to trigger a preset trigger operation by activating this third object identifier to trigger an instruction to retrieve associated information. For example, upon receiving a third session message sent by a virtual object, this third session message can be displayed in the first message display area, and the third object identifier of the virtual object that sent the third session message can be displayed at the first associated position of the third session message. The first associated position can be a position associated with the third session message, which may include, but is not limited to, the location where the sender's identifier of the third session message is displayed. The third object identifier can be the object identifier of the virtual object displayed at the first associated position, such as the virtual object's avatar and / or name, and it may be the same as or different from the second object identifier.

[0104] In some optional examples, upon receiving a long-press operation on the third object identifier displayed in the first session interface, it can be determined that a preset trigger operation has been received. In response to this preset trigger operation, the first object identifier of the virtual object corresponding to the third object identifier can be displayed in the message input area of ​​the first session interface. Thus, the first user can directly send the message content entered in the message input area. In this case, the first session message may only contain the "@" content for this virtual object, without containing other message content, such as... Figure 9 As shown; alternatively, users can continue to enter the message content to be sent in the message input area before sending. Furthermore, upon receiving a click operation on the third object identifier displayed in the first session interface, an object information panel corresponding to this third object identifier can be displayed, showing the basic and descriptive information of this virtual object for the first user to view.

[0105] In some examples, when the number of session messages sent within a preset time period in a preset session meets preset prompt conditions, preset prompt information can be displayed on the first session interface. This preset prompt information prompts the user to trigger a virtual object to retrieve information and / or summarize session messages by sending the first session message. Thus, the first user can execute a preset trigger operation by triggering this preset prompt information to trigger the associated content retrieval instruction. Both the preset time period and the preset prompt conditions can be set as needed; for example, the preset time period can be set to 10 minutes, 30 minutes, or 60 minutes, etc. Preset prompt conditions may include, for example, the total number of session messages sent within the preset time period reaching a preset threshold, or at least one session message sent within the preset time period containing an information retrieval instruction and / or a session message summary instruction, etc.

[0106] In some implementations, upon receiving a preset trigger operation, a first session message can be sent directly in response to this preset trigger operation, such as generating and sending the first session message based on this preset trigger operation, without needing to input the object identifier of the virtual object in the message input area of ​​the first session interface in response to this preset trigger operation, thereby simplifying the operations required to send the first session message.

[0107] In some implementations, after receiving a preset trigger operation, the object identifier of the virtual object can be entered into the message input area of ​​the first session interface, so that the first user can continue to edit the message content of the first session message to be sent in the message input area, making the sent first session message more in line with the needs of the first user.

[0108] Optionally, the first session message mentions the virtual object, and the step of sending the first session message in response to the preset trigger operation of the first user includes: in response to the preset trigger operation of the first user, inputting the first object identifier of the virtual object into the message input area of ​​the first session interface; in response to the first message sending operation based on the message input area, obtaining the message content input in the message input area as the message content of the first session message, and sending the first session message.

[0109] The first message sending operation can be a triggering operation used to indicate the message content entered in the message input area, such as triggering the message sending control corresponding to the message input area. The first object identifier can be understood as the object identifier entered into the message input area of ​​the first session interface in response to the first user's preset triggering operation. The first object identifier may include, but is not limited to, the avatar and / or name of a virtual object, which may be the same as or different from the first object identifier and / or the second object identifier.

[0110] Specifically, when the current application receives a preset trigger operation from the first user, it can input the first object identifier of the virtual object into the message input area 21 of the first session interface, such as... Figure 9 As shown, this virtual object is mentioned in the message input area 21. Thus, the user can input and / or edit the message content they wish to send in the message input area 21, and perform a first message sending operation after inputting and / or editing, such as triggering the message sending control corresponding to the message input area 21. Figure 9 (Not shown in the image). When the current application receives the first message from the first user, it can retrieve the message content entered in the message input area 21 as the message content of the first session message 30, send the first session message 30, trigger the associated information retrieval instruction, and display this first session message 30 in the first message display area 20 of the first session interface, such as... Figure 3 and 4 As shown.

[0111] In some implementations, when the first object identifier of a virtual object is input into the message input area 21 of the first session interface in response to a preset trigger operation, other message content besides the first object identifier may be input into the message input area 21 without responding to this preset trigger operation, such as... Figure 9 As shown.

[0112] In some implementations, when the first object identifier of a virtual object is input into the message input area 21 of the first session interface in response to a preset trigger operation, other message content besides the first object identifier can be input in the message input area 21 in response to this preset trigger operation, thereby simplifying the operations required for the user to input message content. The input of this other message content can be generated based on session messages in a preset session or can be preset; this embodiment does not limit this.

[0113] In some examples, upon receiving a preset trigger operation applied to a second preset control, in response to this preset trigger operation, the first object identifier of the virtual object and at least a portion of the message content of the session message corresponding to the second preset control can be input into the message input area of ​​the first session interface, such as... Figure 10 As shown. In this case, optionally, the step of inputting the first object identifier of the virtual object into the message input area of ​​the first session interface in response to the preset trigger operation of the first user includes: in response to the preset trigger operation based on the second preset control, inputting the first object identifier of the preset object and at least a portion of the message content of the session message corresponding to the second preset control into the message input area of ​​the first session interface.

[0114] In some examples, upon receiving a preset trigger operation based on preset prompt information, the system can respond to this preset trigger operation by inputting the first object identifier of the virtual object and the preset message content corresponding to the preset prompt information into the message input area of ​​the first session interface. Optionally, in this case, inputting the first object identifier of the virtual object into the message input area of ​​the first session interface in response to the preset trigger operation of the first user includes: inputting the first object identifier of the virtual object and the preset message content corresponding to the preset prompt information into the message input area of ​​the first session interface in response to the preset trigger operation based on the preset prompt information. The preset message content corresponding to the preset prompt information can be preset.

[0115] S203. In response to receiving the first session message sent by the second user, display the first session message in the first message display area of ​​the first session interface.

[0116] In this embodiment, the first session message can also be sent by a second user in a preset session. Upon receiving the first session message from the second user, this first session message can be displayed in the first message display area of ​​the first session interface. The method by which the second user sends the first session message is similar to the method by which the first user sends the first session message, and will not be described again here.

[0117] S204. Based on the display of the first session message, display a first reply message from a virtual object to the first session message in the first message display area. The first reply message is generated based on at least one reference content. The at least one reference content is obtained based on a preset session message. The preset session message includes the first session message and / or a second session message associated with the first session message.

[0118] The method for replying to conversation messages provided in this embodiment supports virtual objects in replying to first conversation messages sent by the first user in a preset conversation and / or first conversation messages received by the first user in a preset conversation, which can further enrich the ways of replying to conversation messages.

[0119] Figure 11 This is a structural block diagram of a conversation message reply device provided in an embodiment of this disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. It can reply to conversation messages in a conversation through a virtual object by executing a conversation message reply method, such as replying to conversation messages in a conversation through information search using a virtual object, or summarizing conversation messages in a conversation using a virtual object. Figure 11As shown, the conversation message reply device provided in this embodiment may include: a first interface display module 1101, a conversation message display module 1102, and a reply message display module 1103, wherein,

[0120] The first interface display module 1101 is used to display the first session interface of a preset session, wherein the preset session includes a first user and at least one second user.

[0121] The conversation message display module 1102 is used to display the first conversation message in the first message display area of ​​the first conversation interface;

[0122] The reply message display module 1103 is used to display a first reply message of a virtual object in the first message display area based on the display of the first session message. The first reply message is generated based on at least one reference content, and the at least one reference content is obtained based on a preset session message. The preset session message includes the first session message and / or a second session message associated with the first session message.

[0123] The conversation message reply device provided in this embodiment displays a first conversation interface of a preset conversation through a first interface display module. This preset conversation includes a first user and at least one second user. A first conversation message is displayed in a first message display area of ​​the first conversation interface through a conversation message display module. Based on the display of the first conversation message, a reply message display module displays a first reply message from a virtual object in the first message display area. This first reply message is generated based on at least one reference content, which is obtained based on the preset conversation message. The preset conversation message includes the first conversation message and / or a second conversation message associated with the first conversation message. This embodiment, utilizing the above technical solution, supports waking up a virtual object set in the preset conversation by sending a first conversation message in the preset conversation for preset conversations between multiple users. The virtual object obtains at least one reference content based on the message instruction of the first conversation message and replies to the first conversation message based on this at least one reference content. This enriches the reference content used by the virtual object when replying to messages in conversations between multiple users and the reply methods for conversation messages in conversations between multiple users.

[0124] Optionally, the reply message display module 1103 may be specifically used to: trigger an association information acquisition instruction based on the first session message, wherein the association information acquisition instruction acquires the first reply message of the virtual object in response to the first session message based on the first session message.

[0125] Optionally, the reply message display module 1103 may be specifically used to: in response to the preset session message instruction, perform information acquisition, acquire at least a portion of the first reply content generated by the virtual object in response to the preset session message, use it as the message content of the first reply message, and display the first reply message in the first message display area, wherein the first reply content is generated based on at least one search content, and the at least one search content is obtained based on the first session message and / or the second session message; and / or, in response to the preset session message instruction, perform session message summary, acquire at least a portion of the second reply content obtained by the virtual object summarizing at least one historical session message in the preset session, use it as the message content of the first reply message, and display the first reply message in the first message display area, wherein the at least one historical session message corresponds to the preset session message.

[0126] Optionally, the second response content includes a message summary of the at least one historical session message and / or event information to be executed, wherein the at least one historical session message matches the message conditions in the preset session message or is in a selected state.

[0127] Optionally, the conversation message display module 1102 may include: a first conversation message display unit, configured to send a first conversation message, trigger an associated information acquisition instruction, and display the first conversation message in the first message display area of ​​the first conversation interface in response to a preset trigger operation by the first user; or, a second conversation message display unit, configured to display the first conversation message in the first message display area of ​​the first conversation interface in response to receiving the first conversation message sent by the second user.

[0128] Optionally, if the virtual object is mentioned in the first session message, the first session message display unit may be specifically used to: in response to the first user's preset trigger operation, input the first object identifier of the virtual object into the message input area of ​​the first session interface; in response to the first message sending operation based on the message input area, obtain the message content input in the message input area as the message content of the first session message, and send the first session message.

[0129] Furthermore, the conversation message reply device may further include at least one of the following: a control display module, configured to display a preset control on the first conversation interface, the preset control being configured to trigger an association information acquisition indication; or, the preset control being configured to trigger the display of a virtual object set of the preset conversation, the virtual object set displaying a second object identifier of the virtual object, the second object identifier being configured to trigger an association information acquisition indication; an identifier display module, configured to display a third conversation message sent by the virtual object in a first message display area of ​​the first conversation interface, and display the third object identifier of the virtual object at a first association position of the third conversation message, the third object identifier being configured to trigger an association information acquisition indication; and a prompt information display module, configured to display preset prompt information in response to a conversation message sent within a preset time length in the preset conversation meeting a preset prompt condition, the preset prompt information being configured to trigger an association information acquisition indication.

[0130] Optionally, the control display module may be specifically used to: display a first preset control at a preset position in the first session interface; and / or, display a second preset control at a second associated position of at least some session messages in the first session interface, wherein the at least some session messages indicate information acquisition or session message summary.

[0131] Optionally, the first session message display unit may be specifically used to: in response to a preset trigger operation based on the second preset control, input the first object identifier of the preset object and at least part of the message content of the session message corresponding to the second preset control into the message input area of ​​the first session interface.

[0132] Optionally, at least some of the session messages are sent by the first user and / or the second user.

[0133] Optionally, the first session message display unit may be specifically used to: in response to a preset trigger operation based on the preset prompt information, input the first object identifier of the virtual object and the preset message content corresponding to the preset prompt information into the message input area of ​​the first session interface.

[0134] Furthermore, the conversation message reply device may further include: a second interface display module, configured to display a second conversation interface between the first user and the virtual object in response to a conversation interface display operation based on the first reply message; a conversation message sending module, configured to send a fourth conversation message in response to a second message sending operation based on the second conversation interface, and display the fourth conversation message in the second message display area of ​​the second conversation interface; and a message reply module, configured to display a second reply message from the virtual object to the fourth conversation message in response to the display of the fourth conversation message in the second message display area.

[0135] Furthermore, the conversation message reply device may further include: a reply content display module, used to display the complete reply content of the virtual object to the first conversation message in the second message display area of ​​the second conversation interface in response to the conversation interface display operation based on the first reply message, wherein the complete reply content includes the first reply content or the second reply content.

[0136] Optionally, the second interface display module may be specifically used to: maintain the display of the first session interface, and display a second session interface between the first user and the virtual object on top of at least a portion of the first session interface.

[0137] Furthermore, the conversation message reply device may further include: an image content display module, configured to display an image content display interface of the first reply message in response to an image content display operation based on the first reply message, and display preset image content in the first reply message on the image content display interface, the preset image content corresponding to the image content display operation; and an image content switching module, configured to switch the image content displayed in the image content display interface in response to an image content switching operation performed on the image content display interface.

[0138] Optionally, the reply message display module 1103 may be specifically used to: when the object reply function of the preset session is enabled, based on the display of the first session message, display the first reply message of the virtual object to the first session message in the first message display area.

[0139] Optionally, the first user is the management user of the preset session, and the session message reply device may further include: a function activation module, used to adjust the object reply function of the preset session from a closed state to an open state in response to the object reply function activation operation for the preset session, wherein when the object reply function is in the open state, virtual objects can reply to the session messages in the preset session.

[0140] The conversation message reply apparatus provided in this disclosure can execute the conversation message reply method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the conversation message reply method. Technical details not described in detail in this embodiment can be found in the conversation message reply method provided in any embodiment of this disclosure.

[0141] The following is for reference. Figure 12 The diagram illustrates a structural schematic of an electronic device (e.g., a terminal device) 1200 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 12 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0142] like Figure 12 As shown, the electronic device 1200 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage device 1208 into a random access memory (RAM) 1203. The RAM 1203 also stores various programs and data required for the operation of the electronic device 1200. The processing unit 1201, ROM 1202, and RAM 1203 are interconnected via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.

[0143] Typically, the following devices can be connected to I / O interface 1205: input devices 1206 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1207 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1208 including, for example, magnetic tape, hard disk, etc.; and communication devices 1209. Communication device 1209 allows electronic device 1200 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 12 An electronic device 1200 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0144] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1209, or installed from storage device 1208, or installed from ROM 1202. When the computer program is executed by processing device 1201, it performs the functions defined in the methods of embodiments of this disclosure.

[0145] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0146] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0147] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0148] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: display a first session interface of a preset session, the preset session including a first user and at least one second user; display a first session message in a first message display area of ​​the first session interface; and, based on the display of the first session message, display a first reply message from a virtual object in the first message display area in response to the first session message, the first reply message being generated based on at least one reference content, the at least one reference content being obtained based on the preset session message, the preset session message including the first session message and / or a second session message associated with the first session message.

[0149] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0150] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0151] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules do not, in some cases, constitute a limitation on the unit itself.

[0152] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0153] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0154] According to one or more embodiments of this disclosure, Example 1 provides a method for replying to a session message, including:

[0155] A first session interface is displayed, which includes a first user and at least one second user;

[0156] The first session message is displayed in the first message display area of ​​the first session interface;

[0157] Based on the display of the first session message, a first reply message from a virtual object to the first session message is displayed in the first message display area. The first reply message is generated based on at least one reference content, which is obtained based on a preset session message. The preset session message includes the first session message and / or a second session message associated with the first session message.

[0158] According to one or more embodiments of this disclosure, Example 2, based on the method described in Example 1, includes displaying a first reply message from a virtual object to the first session message in the first message display area, based on the display of the first session message.

[0159] Based on the first session message, an association information retrieval instruction is triggered, and the association information retrieval instruction retrieves the first reply message of the virtual object in response to the first session message based on the first session message.

[0160] According to one or more embodiments of this disclosure, Example 3, based on the method described in Example 2, includes displaying a first reply message from a virtual object to the first session message in the first message display area, comprising:

[0161] In response to the associated information acquisition instruction, information acquisition is performed, acquiring at least a portion of the first reply content generated by the virtual object in response to the preset session message, as the message content of the first reply message, and displaying the first reply message in the first message display area, wherein the first reply content is generated based on at least one search result, and the at least one search result is obtained based on the first session message and / or the second session message; and / or

[0162] In response to the association information acquisition instruction, a session message summary is performed. At least a portion of the second reply content obtained by the virtual object in summarizing at least one historical session message in the preset session is used as the message content of the first reply message, and the first reply message is displayed in the first message display area, wherein the at least one historical session message corresponds to the preset session message.

[0163] According to one or more embodiments of this disclosure, Example 4 describes the method described in Example 3, wherein the second response content includes a message summary of the at least one historical session message and / or event information to be executed, wherein the at least one historical session message matches or is selected in the message conditions of the preset session message.

[0164] According to one or more embodiments of this disclosure, Example 5, based on the method described in Example 1, includes displaying the first session message in the first message display area of ​​the first session interface, comprising:

[0165] In response to the first user's preset trigger operation, a first session message is sent, triggering an instruction to retrieve associated information, and the first session message is displayed in the first message display area of ​​the first session interface; or

[0166] In response to receiving the first session message sent by the second user, the first session message is displayed in the first message display area of ​​the first session interface.

[0167] According to one or more embodiments of this disclosure, Example 6 describes the method described in Example 5, wherein the first session message mentions the virtual object, and the sending of the first session message in response to a preset trigger operation by the first user includes:

[0168] In response to the first user's preset trigger operation, the first object identifier of the virtual object is input into the message input area of ​​the first session interface;

[0169] In response to a first message sending operation based on the message input area, the message content entered in the message input area is obtained as the message content of a first session message, and the first session message is sent.

[0170] According to one or more embodiments of this disclosure, Example 7 describes the method according to Example 5, wherein the method further includes at least one of the following:

[0171] A preset control is displayed in the first session interface, and the preset control is configured to trigger an association information retrieval indication; or, the preset control is configured to trigger the display of a virtual object set of the preset session, and the virtual object set displays a second object identifier of the virtual object, and the second object identifier is configured to trigger an association information retrieval indication;

[0172] The third session message sent by the virtual object is displayed in the first message display area of ​​the first session interface, and the third object identifier of the virtual object is displayed in the first associated position of the third session message. The third object identifier is configured to trigger an associated information acquisition indication.

[0173] In response to a preset prompt condition being met by a session message sent within a preset time period in the preset session, a preset prompt message is displayed, which is configured to trigger an indication to obtain associated information.

[0174] According to one or more embodiments of this disclosure, Example 8 describes the method described in Example 7, wherein displaying preset controls on the first session interface includes:

[0175] Display a first preset control at a preset location on the first session interface; and / or

[0176] A second preset control is displayed at a second associated position of at least some of the conversation messages in the first conversation interface, wherein the at least some of the conversation messages indicate information acquisition or conversation message summary.

[0177] According to one or more embodiments of this disclosure, Example 9 describes the method described in Example 8, wherein the step of inputting a first object identifier of a virtual object into the message input area of ​​the first session interface in response to a preset trigger operation by the first user includes:

[0178] In response to a preset trigger operation based on the second preset control, the first object identifier of the preset object and at least part of the message content of the session message corresponding to the second preset control are input into the message input area of ​​the first session interface.

[0179] According to one or more embodiments of this disclosure, Example 10 describes the method according to Example 8, in which at least a portion of the session messages are sent by the first user and / or the second user.

[0180] According to one or more embodiments of this disclosure, Example 11, in response to a preset trigger operation by the first user as described in Example 7, inputs a first object identifier of a virtual object into the message input area of ​​the first session interface, including:

[0181] In response to a preset trigger operation based on the preset prompt information, the first object identifier of the virtual object and the preset message content corresponding to the preset prompt information are input into the message input area of ​​the first session interface.

[0182] According to one or more embodiments of this disclosure, Example 12 describes the method according to any one of Examples 1-11, the method further comprising:

[0183] In response to the session interface display operation based on the first reply message, a second session interface between the first user and the virtual object is displayed;

[0184] In response to a second message sending operation based on the second session interface, a fourth session message is sent and the fourth session message is displayed in the second message display area of ​​the second session interface.

[0185] In response to the display of the fourth session message, the virtual object's second reply message to the fourth session message is displayed in the second message display area.

[0186] According to one or more embodiments of this disclosure, Example 13 describes the method according to Example 12, the method further comprising:

[0187] In response to the session interface display operation based on the first reply message, the complete reply content of the virtual object to the first session message is displayed in the second message display area of ​​the second session interface. The complete reply content includes either the first reply content or the second reply content.

[0188] According to one or more embodiments of this disclosure, Example 14, based on the method described in Example 12, includes displaying a second session interface between the first user and the virtual object, comprising:

[0189] The first session interface is displayed, and a second session interface between the first user and the virtual object is displayed on top of at least a portion of the first session interface.

[0190] According to one or more embodiments of this disclosure, Example 15 describes the method according to any one of Examples 1-11, the method further comprising:

[0191] In response to the image content display operation based on the first reply message, an image content display interface for the first reply message is displayed, and preset image content in the first reply message is displayed on the image content display interface, the preset image content corresponding to the image content display operation;

[0192] In response to an image content switching operation performed on the image content display interface, the image content displayed in the image content display interface is switched.

[0193] According to one or more embodiments of this disclosure, Example 16 describes the method according to any one of Examples 1-11, wherein displaying a first reply message from a virtual object to the first session message in the first message display area based on the display of the first session message includes:

[0194] If the object reply function of the preset session is enabled, then based on the display of the first session message, the first reply message of the virtual object to the first session message is displayed in the first message display area.

[0195] According to one or more embodiments of this disclosure, Example 17 describes the method according to Example 16, wherein the first user is the administrator user of the preset session, and the method further includes...

[0196] In response to the operation of enabling the object reply function for the preset session, the object reply function for the preset session is changed from a closed state to an open state. When the object reply function is in the open state, virtual objects can reply to session messages in the preset session.

[0197] According to one or more embodiments of this disclosure, Example 18 provides a device for replying to conversational messages, including:

[0198] The first interface display module is used to display the first session interface of the preset session, which includes a first user and at least one second user.

[0199] The conversation message display module is used to display the first conversation message in the first message display area of ​​the first conversation interface;

[0200] The reply message display module is used to display a first reply message from a virtual object to the first session message in the first message display area based on the display of the first session message. The first reply message is generated based on at least one reference content, and the at least one reference content is obtained based on a preset session message. The preset session message includes the first session message and / or a second session message associated with the first session message.

[0201] According to one or more embodiments of this disclosure, Example 19 provides an electronic device comprising:

[0202] One or more processors;

[0203] Memory, used to store one or more programs.

[0204] When the one or more programs are executed by the one or more processors, the one or more processors implement a method for replying to session messages as described in any of Examples 1-17.

[0205] According to one or more embodiments of the present disclosure, Example 20 provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements a method for replying to session messages as described in any of Examples 1-17.

[0206] According to one or more embodiments of this disclosure, Example 21 provides a computer program product that, when executed by a computer, causes the computer to implement a method for replying to session messages as described in any of Examples 1-17.

[0207] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0208] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0209] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method for replying to a conversation message, characterized in that, include: A first session interface is displayed, which includes a first user and at least one second user; The first session message is displayed in the first message display area of ​​the first session interface; Based on the display of the first session message, a first reply message from a virtual object to the first session message is displayed in the first message display area. The first reply message is generated based on at least one reference content, which is obtained based on a preset session message. The preset session message includes the first session message and / or a second session message associated with the first session message. The method further includes: Based on the first reply message, a second conversation interface is displayed between the first user and the virtual object. The second conversation interface is used for the first user to interact with the virtual object.

2. The method according to claim 1, characterized in that, The display based on the first session message, which involves displaying the virtual object's first reply message to the first session message in the first message display area, includes: Based on the first session message, an association information retrieval instruction is triggered, and the association information retrieval instruction retrieves the first reply message of the virtual object in response to the first session message based on the first session message.

3. The method according to claim 2, characterized in that, The step of displaying the virtual object's first reply message to the first session message in the first message display area includes: In response to the associated information acquisition instruction, information acquisition is performed, acquiring at least a portion of the first reply content generated by the virtual object in response to the preset session message, as the message content of the first reply message, and displaying the first reply message in the first message display area, wherein the first reply content is generated based on at least one search result, and the at least one search result is obtained based on the first session message and / or the second session message; and / or In response to the association information acquisition instruction, a session message summary is performed. At least a portion of the second reply content obtained by the virtual object in summarizing at least one historical session message in the preset session is used as the message content of the first reply message, and the first reply message is displayed in the first message display area, wherein the at least one historical session message corresponds to the preset session message.

4. The method according to claim 3, characterized in that, The second response content includes a message summary of the at least one historical session message and / or information on events to be executed, wherein the at least one historical session message matches the message conditions in the preset session message or is in a selected state.

5. The method according to claim 1, characterized in that, Displaying the first session message in the first message display area of ​​the first session interface includes: In response to the first user's preset trigger operation, a first session message is sent, triggering an instruction to retrieve associated information, and the first session message is displayed in the first message display area of ​​the first session interface; or In response to receiving the first session message sent by the second user, the first session message is displayed in the first message display area of ​​the first session interface.

6. The method according to claim 5, characterized in that, The first session message mentions the virtual object, and the sending of the first session message in response to the first user's preset trigger operation includes: In response to the first user's preset trigger operation, the first object identifier of the virtual object is input into the message input area of ​​the first session interface; In response to a first message sending operation based on the message input area, the message content entered in the message input area is obtained as the message content of a first session message, and the first session message is sent.

7. The method according to claim 5, characterized in that, The method further includes at least one of the following: A preset control is displayed in the first session interface, and the preset control is configured to trigger an association information retrieval indication; or, the preset control is configured to trigger the display of a virtual object set of the preset session, and the virtual object set displays a second object identifier of the virtual object, and the second object identifier is configured to trigger an association information retrieval indication; The third session message sent by the virtual object is displayed in the first message display area of ​​the first session interface, and the third object identifier of the virtual object is displayed in the first associated position of the third session message. The third object identifier is configured to trigger an associated information acquisition indication. In response to a preset prompt condition being met by a session message sent within a preset time period in the preset session, a preset prompt message is displayed, which is configured to trigger an indication to obtain associated information.

8. The method according to claim 7, characterized in that, The step of displaying preset controls on the first session interface includes: Display a first preset control at a preset location on the first session interface; and / or A second preset control is displayed at a second associated position of at least some of the conversation messages in the first conversation interface, wherein the at least some of the conversation messages indicate information acquisition or conversation message summary.

9. The method according to claim 8, characterized in that, The step of responding to the preset trigger operation of the first user by inputting the first object identifier of the virtual object into the message input area of ​​the first session interface includes: In response to a preset trigger operation based on the second preset control, the first object identifier of the preset object and at least part of the message content of the session message corresponding to the second preset control are input into the message input area of ​​the first session interface.

10. The method according to claim 8, characterized in that, At least some of the session messages are sent by the first user and / or the second user.

11. The method according to claim 7, characterized in that, The step of responding to the preset trigger operation of the first user by inputting the first object identifier of the virtual object into the message input area of ​​the first session interface includes: In response to a preset trigger operation based on the preset prompt information, the first object identifier of the virtual object and the preset message content corresponding to the preset prompt information are input into the message input area of ​​the first session interface.

12. The method according to any one of claims 1-11, characterized in that, The method further includes: In response to the session interface display operation based on the first reply message, a second session interface between the first user and the virtual object is displayed; In response to a second message sending operation based on the second session interface, a fourth session message is sent and the fourth session message is displayed in the second message display area of ​​the second session interface. In response to the display of the fourth session message, the virtual object's second reply message to the fourth session message is displayed in the second message display area.

13. The method according to claim 12, characterized in that, The method further includes: In response to the session interface display operation based on the first reply message, the complete reply content of the virtual object to the first session message is displayed in the second message display area of ​​the second session interface. The complete reply content includes either the first reply content or the second reply content.

14. The method according to claim 12, characterized in that, The second session interface displaying the first user and the virtual object includes: The first session interface is displayed, and a second session interface between the first user and the virtual object is displayed on top of at least a portion of the first session interface.

15. The method according to any one of claims 1-11, characterized in that, The method further includes: In response to the image content display operation based on the first reply message, an image content display interface for the first reply message is displayed, and preset image content in the first reply message is displayed on the image content display interface, the preset image content corresponding to the image content display operation; In response to an image content switching operation performed on the image content display interface, the image content displayed in the image content display interface is switched.

16. The method according to any one of claims 1-11, characterized in that, The display based on the first session message, which involves displaying the virtual object's first reply message to the first session message in the first message display area, includes: If the object reply function of the preset session is enabled, then based on the display of the first session message, the first reply message of the virtual object to the first session message is displayed in the first message display area.

17. The method according to claim 16, characterized in that, The first user is the administrator of the preset session, and the method further includes... In response to the operation of enabling the object reply function for the preset session, the object reply function for the preset session is changed from a closed state to an open state. When the object reply function is in the open state, virtual objects can reply to session messages in the preset session.

18. A device for replying to conversational messages, characterized in that, include: The first interface display module is used to display the first session interface of the preset session, which includes a first user and at least one second user. The conversation message display module is used to display the first conversation message in the first message display area of ​​the first conversation interface; The reply message display module is used to display a first reply message of a virtual object in response to the first session message in the first message display area based on the display of the first session message. The first reply message is generated based on at least one reference content, and the at least one reference content is obtained based on a preset session message. The preset session message includes the first session message and / or a second session message associated with the first session message. The device further includes: The second interface display module is used to display a second conversation interface between the first user and the virtual object based on the first reply message. The second conversation interface is used for the first user to interact with the virtual object.

19. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the method for replying to a session message as described in any one of claims 1-17.

20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method for replying to a session message as described in any one of claims 1-17.

21. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method for replying to session messages as described in any one of claims 1-17.