Method and apparatus for message interaction, device, and storage medium
By acquiring and sending control messages, multiple interactive objects are instructed to generate responses and the response messages of the processing entities are obtained. This solves the problem of difficult collaborative interaction among multiple processing entities in the prior art and achieves more efficient interactive scene management.
Patent Information
- Application Number
- PCT/CN2025/085407
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-14
- Filing Date
- 2025-03-27
- Publication Date
- 2025-11-20
AI Technical Summary
In existing technologies, it is difficult for users to achieve collaborative interaction between multiple processing entities, and traditional applications only support interaction such as dialogue with a single processing entity.
By acquiring control messages generated by a first processing entity associated with the target interactive scene, multiple interactive objects are instructed to generate responses, and instruction messages are sent to a second processing entity to acquire its response messages. The processing entities then automatically schedule the interactions of multiple interactive objects in the target interactive scene.
It enables collaborative interaction among multiple processing entities, improving interaction efficiency.
Smart Images

Figure CN2025085407_20112025_PF_FP_ABST
Abstract
Description
Message interaction method, apparatus, device, and storage medium
[0001] The present application claims priority to the Chinese patent application No. 202410599428.6, filed on May 14, 2024, entitled “Message interaction method, apparatus, device, and storage medium”, the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] Example embodiments of the present disclosure generally relate to the field of computer, and in particular, to a message interaction method, apparatus, device, and computer readable storage medium. BACKGROUND
[0003] With the development of computer technology, people can interact with various types of objects, such as other users, or model-based processing entities, etc. Generally, a user can only interact with a single processing entity for conversation, etc., and it is difficult to achieve collaborative interaction between multiple processing entities. SUMMARY
[0004] In a first aspect of the present disclosure, a message interaction method is provided. The method comprises: obtaining a control message generated by a first processing entity associated with a target interaction scenario, the target interaction scenario being associated with a plurality of interactive objects, the control message at least indicating that a response to target message content is generated by a group of target interactive objects from the plurality of interactive objects; in response to the group of target interactive objects including a second processing entity, sending an indication message to the second processing entity; and obtaining a response message generated by the second processing entity based on the target message content.
[0005] In a second aspect of the present disclosure, an apparatus for message interaction is provided. The apparatus comprises: a message obtaining module configured to obtain a control message generated by a first processing entity associated with a target interaction scenario, the target interaction scenario being associated with a plurality of interactive objects, the control message at least indicating that a response to target message content is generated by a group of target interactive objects from the plurality of interactive objects; an indication sending module configured to, in response to the group of target interactive objects including a second processing entity, send an indication message to the second processing entity; and a response obtaining module configured to obtain a response message generated by the second processing entity based on the target message content.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. The instructions, when executed by the at least one processor, cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon computer-executable instructions that are executable by a processor to implement the method of the first aspect.
[0008] In a fifth aspect of the present disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.
[0009] It is to be understood that the details set forth herein are by way of example and not intended to limit the scope of the embodiments of the present disclosure, and that the other objectives, features and advantages of the present disclosure will be readily apparent to those skilled in the art from the following detailed description and the appended claims. BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other features, aspects and advantages of embodiments of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like reference numerals refer to like elements, wherein:
[0011] FIG. 1 shows a schematic diagram of an example environment in which embodiments according to the present disclosure can be implemented;
[0012] FIGS. 2A-2B show example interfaces according to some embodiments of the present disclosure;
[0013] FIG. 3 shows a flowchart of an example process of controlling message interaction according to some embodiments of the present disclosure;
[0014] FIG. 4 shows a flowchart of an example message interaction process according to some embodiments of the present disclosure;
[0015] FIG. 5 shows a schematic structural block diagram of an example apparatus for message interaction according to some embodiments of the present disclosure; and
[0016] FIG. 6 shows a block diagram of an electronic device capable of implementing embodiments of the present disclosure. DETAILED DESCRIPTION
[0017] Embodiments of the present disclosure will be described herein below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so that the present disclosure can be more thoroughly and completely understood. It is to be understood that the drawings and embodiments of the present disclosure are merely for illustrative purposes and should not be construed as limiting the scope of protection of the present disclosure.
[0018] It should be noted that the headings provided in any section / subsection herein are not limitations. Various embodiments are described throughout this document and any type of embodiment can be included under any section / subsection. Furthermore, embodiments described in any section / subsection can be combined with any other embodiments described in the same section / subsection and / or different section / subsection in any manner.
[0019] In the description of embodiments of the disclosure, the term "includes" and its derivatives, such as "including," should be understood in an open-ended way, that is, "including but not limited to." The term "based on" should be understood as "based at least in part on." The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment." The term "some embodiments" should be understood as "at least some embodiments." Other explicit and implicit definitions can also be included below. The terms "first," "second," and the like can refer to different or the same objects. Other explicit and implicit definitions can also be included below.
[0020] Data of users, acquisition and / or use of data, etc. can be involved in embodiments of the disclosure. These aspects all comply with corresponding laws and regulations and relevant provisions. In embodiments of the disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are performed on the premise that the user is aware of and confirms. Accordingly, when implementing embodiments of the disclosure, the type of data or information that can be involved, the use range, the use scenario, etc. should be notified to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations. The specific notification and / or authorization manner can vary according to the actual situation and application scenario, and the scope of the disclosure is not limited in this aspect.
[0021] In the specification and embodiments, if personal information processing is involved, it will be processed on the premise of legality (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and only within the prescribed or agreed range. Users refuse to process personal information other than the necessary information required for basic functions, which will not affect the user's use of basic functions.
[0022] Traditionally, user support configurations used by applications, such as models, plug-ins, etc. are used to quickly create applications, such as bots. Generally, such applications only support users interacting with a single processing entity, such as a dialogue, and it is difficult to achieve collaborative interaction between multiple processing entities.
[0023] Embodiments of the present disclosure propose an interaction scheme. According to the scheme, a control message generated by a first processing entity associated with a target interaction scenario is obtained, the target interaction scenario is associated with a plurality of interactive objects, and the control message at least indicates that a response to target message content is generated by a group of target interactive objects from the plurality of interactive objects; in response to the group of target interactive objects including a second processing entity, a message indicating the second processing entity is sent to the second processing entity; and a response message generated by the second processing entity based on the target message content is obtained.
[0024] In this way, embodiments of the present disclosure can support the use of processing entities to control message interactions between interactive objects.
[0025] Various example implementations of the scheme are described in further detail below in conjunction with the accompanying drawings.
[0026] Example Environment
[0027] FIG. 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG. 1, the example environment 100 can include an electronic device 110.
[0028] In this example environment 100, the electronic device 110 can be running an application 120 that supports interface interactions. The application 120 can be any suitable type of application for interface interactions, examples of which can include, but are not limited to, a development application or other suitable application that supports development of applications. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0029] In the environment 100 of FIG. 1, the electronic device 110 can present an interface 150 for supporting interactions via the application 120 if the application 120 is in an active state.
[0030] In some embodiments, the electronic device 110 communicates with the server 130 to implement provisioning of services of the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a tablet computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) terminal, a personal navigation device, a Personal Digital Assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including an accessory or peripheral device for the foregoing, or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface to a user (such as “wearable” circuitry, etc.).
[0031] The server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and basic cloud computing services such as big data and artificial intelligence platforms. The server 130 may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 can provide background services for the application 120 in the electronic device 110 that supports a virtual scene.
[0032] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established by wired or wireless means. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, and the like, and embodiments of the present disclosure are not limited in this regard. In embodiments of the present disclosure, the server 130 and the electronic device 110 can implement signaling interaction through the communication connection therebetween.
[0033] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, and do not imply any limitation on the scope of the present disclosure.
[0034] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0035] Creation of a target application
[0036] FIG. 2A illustrates an example interface 200A, according to some embodiments of the present disclosure. The interface 200A may, for example, be provided by the electronic device 110. An example process of creating an application according to embodiments of the present disclosure will be described below in connection with the interface 200A.
[0037] As shown in FIG. 2A, the electronic device 110 may, based on a user’s creation request, present a configuration interface 200A as shown in FIG. 2A. The configuration interface 200A can be used to receive configuration information for creating an application associated with a target interactive scenario.
[0038] As an example, the electronic device 110 may, based on a user-inputted application identification or scenario identification (e.g., scenario A) 205, present the configuration interface 200A. As shown in FIG. 2A, the configuration interface 200A can include an input control 210 for obtaining scenario description information about the target interactive scenario.
[0039] As an example, such scenario description information can include a piece of description text for describing the interactive scenario to be created. Such scenario description information can be public information visible to interactive objects participating in the interactive scenario. In a case where the interactive objects include preset processing entities (e.g., agents or other applications such as bots), such scenario description information can be provided to the corresponding preset processing entities for controlling the preset processing entities’ interactions in the interactive scenario.
[0040] Taking the debate scenario as shown in FIG. 2A as an example, such scenario description information may, for example, include the topic of the debate, the pro-debate viewpoint, the anti-debate viewpoint, etc.
[0041] In some embodiments, as shown in FIG. 2A, the configuration interface 200A can further include a role configuration control 215 for obtaining a set of preset roles associated with the target interactive scenario.
[0042] As shown in FIG. 2A, the electronic device 110 can support a user to add multiple preset roles in the interactive scenario. Taking the debate scenario as an example, the user may, for example, add the pro-debate speaker 1 to the pro-debate speaker 3 and the anti-debate speaker 1 to the anti-debate speaker 3, etc.
[0043] In an interactive process, a set of interactive objects participating in the interactive scenario will be assigned to the corresponding preset roles. As will be introduced below, such interactive objects may, for example, include user objects or also include preset processing entities such as agents or bots, etc.
[0044] As shown in FIG. 2A, the electronic device 110 can provide an add entry 220 for initiating an add role request. Upon receiving a selection of the add entry 220, the electronic device 110 can obtain role setting information about a role to be added for creating a corresponding role. For example, the electronic device 110 can obtain a role identifier (e.g., a name) of the role.
[0045] Additionally, the electronic device 110 can further determine visibility information of the role. The visibility information can be used to describe whether the role information corresponding to the role is visible to other roles. Taking the debate scenario as an example, the role information of each interactive object is visible to other objects. Thus, the user can set, for example, the “proponent” to be visible to all roles.
[0046] As another example, in some interactive scenarios, some interactive objects need to hide their role information at a certain stage. Accordingly, the user can set, for example, the visibility information of the role to be visible only to the moderator (a processing entity for scheduling as will be introduced below).
[0047] Further, the electronic device 110 can further support the user to associate the role to a preset processing entity, or to an empty interactive object. As an example, the electronic device 110 can present a set of candidate processing entities (e.g., a set of Bots created by the user or accessible by the user) that the user has the permission to add, and further can select a specific processing entity to be associated to the role.
[0048] As an example, the electronic device 110 can further support editing an identifier (e.g., a nickname) of the processing entity in the target interactive scenario, and can support editing a description text about the processing entity. In some embodiments, such identifier and description text can be provided to other processing entities in the interactive scenario. For example, such identifier and description text can be provided to processing entities associated to other roles, or to a specific processing entity for scheduling, etc.
[0049] With reference back to FIG. 2A, the electronic device 110 can display, in the role configuration control 215, role indication elements corresponding to the added one or more preset roles, for example, a role indication element 225 and a role indication element 230.
[0050] As shown in FIG. 2A, the role (e.g., the proponent) corresponding to the role indication element 225 can be associated to a specified processing entity. Accordingly, the role indication element 225 can display an image identifier (e.g., an image identifier of a Bot) of the processing entity, a name of the role, and a nickname of the associated processing entity in the interactive scenario, etc.
[0051] As another example, the role indicated by the role indication element 230 (e.g., the third party) is associated to a null interactive object. In some scenarios, the association to the null interactive object can indicate that the role is not set with a corresponding preset processing entity. That is, other users can be designated to participate in the interactive session as the user and be associated to the role, or other processing entities can be selected and be associated to the role, in the course of the interaction with the target application.
[0052] Accordingly, as shown in FIG. 2A, the role indication element 230 can display corresponding object information (e.g., “null”) to indicate that it is associated to a null interactive object. In addition, the role indication element 230 can display preset image content.
[0053] Further, as shown in FIG. 2A, the configuration interface 200A can further include an input control 235 for obtaining interactive control information. In some embodiments, the interactive control information can include a piece of text describing the interactive rules and / or control logic of the interactive scenario.
[0054] In some embodiments, such interactive control information can be provided for creating a target processing entity (i.e., the moderator role mentioned above) in the interactive scenario. In some embodiments, the target processing entity can be configured to manage the interactive process of multiple interactive objects in the interactive scenario.
[0055] Continuing with the debate scenario as an example, the interactive control information can describe, for example, the flow of the entire debate process, the speaking order of each role, the content to be output by the moderator role, and the like.
[0056] In some embodiments, such target processing entity can be implemented based on a machine learning model. For example, the electronic device 110 can provide the interactive control information obtained via the input control 235 to a target model to instruct the target model to manage the interactive process of multiple interactive objects in the interactive scenario according to the content described by the interactive control information.
[0057] Further, the electronic device 110 can receive, for example, a selection of the publishing portal 250 by the user to create and publish the target application based on the received configuration information.
[0058] Example interactions of the target application
[0059] In some embodiments, the electronic device 110 can receive a start request or a debug request for the target application by the user, and can present a session interface of the target application accordingly.
[0060] In some embodiments, in a case where the configuration information received via Fig. 2A indicates that a role (e.g., the third party) is associated with an empty interactive object, the electronic device 110 can configure, via the setting window, an interactive object corresponding to the role (e.g., the third party).
[0061] In some embodiments, the electronic device 110 may, for example, configure a current user object as an interactive object corresponding to the role based on a configuration operation of the user. In this case, the user may, for example, participate in the target interactive scenario through a conversation.
[0062] Alternatively, the electronic device 110 may, for example, also configure a specified processing entity as a target interactive object corresponding to the role based on a configuration operation of the user. For example, the electronic device 110 can present a set of candidate processing entities (e.g., bots) that the current user has preset permissions, and further select a specific processing entity to associate the specific processing entity to the target role.
[0063] In some embodiments, if the set of preset roles includes multiple roles associated with empty interactive objects, the electronic device 110 may, for example, support the user to configure an interactive object corresponding to each role respectively. In some embodiments, a single user object may, for example, only support association to a unique role, or a single processing entity also only supports association to a unique role.
[0064] In yet other embodiments, if the set of preset roles are all associated with preset processing entities, the electronic device 110 may, for example, directly present the conversation interface 200B as shown in Fig. 2B.
[0065] In some embodiments, the electronic device 110 can display, in the conversation interface 200B, interactive messages from multiple interactive objects that join the target interactive scenario. As an example, after the user enters the target application, a first processing entity (e.g., corresponding to the moderator role) can provide an interactive message, which is also an opening message.
[0066] In some embodiments, the first processing entity may, based on the interactive control information described above, control multiple interactive objects participating in the interactive scenario to provide corresponding interactive messages in a specified order. Taking a debate scenario as an example, the first processing entity may, for example, control interactive objects corresponding to different debater roles to provide interactive messages in turn according to the flow of the debate.
[0067] As shown in Fig. 2B, the first processing entity may, for example, also provide a first interactive message 245-1 for controlling corresponding interactive objects to respond. For example, the first interactive message 245-1 can indicate that specific roles (e.g., the third party and the fourth party) respond in turn.
[0068] As shown, the interaction information 250-1 regarding the third interaction message 245-1 can indicate a first group of interaction objects that receive the first interaction message 245-1. Alternatively or additionally, the interaction information 250-1 can also indicate a second group of interaction objects that are to respond to the first interaction message 245-1, and / or an order of responding to the first interaction message 245-1 by the second group of interaction objects.
[0069] Taking FIG. 2B as an example, the interaction information 250-1 can indicate that the interaction object (User A) and the interaction object (BOT C) are to respond to the first interaction message 245-1 in turn.
[0070] Further, as shown in FIG. 2B, upon determining that the target interaction object for responding to the first interaction message 245-1 includes a user object, the electronic device 110 can enable an input control associated with the user object to obtain an input message of the user object. In contrast, if the target interaction object does not include a user object, or the interaction object to be responded to is not a user object, the electronic device 110 may, for example, disable the input control 255 as shown in FIG. 2B.
[0071] Further, as shown in FIG. 2B, the electronic device 110 can also display a second interaction message 245-2 constructed based on the input message and corresponding interaction information 250-2 to indicate that the recipients of the second interaction message 245-2 include the moderator and the BOT C.
[0072] Accordingly, upon completion of the input of the second interaction message 245-2 by the user, the electronic device 110 can obtain a third interaction message 245-3 generated by the specified processing entity (e.g., the BOT C) based on the first interaction message 245-1 and the second interaction message 245-2. Taking the debate scenario as an example, the third interaction message 245-3 may, for example, include refutation content regarding the viewpoint in the second interaction message 245-2.
[0073] Similarly, the electronic device 110 can display interaction information 250-3 of the third interaction message 245-3 to indicate that the recipients of the third interaction message 245-3 include the moderator and the user A.
[0074] The generation and control process of the interaction message in the target interaction scenario will be described in detail below in conjunction with FIG. 3.
[0075] Control process of message interaction
[0076] In some embodiments, as introduced above, the first control entity created based on the configuration information can manage the interaction of the plurality of interactive objects in the target interactive scenario based on the interactive control information. FIG. 3 illustrates a flowchart of an example process 300 of interactive control, according to some embodiments of the present disclosure. By way of example, the process 300 can be performed by an interactive control system, for example.
[0077] Specifically, as shown in FIG. 3, at block 302, the interactive control system can start the scenario. At block 304, the interactive control system can integrate scenario information, such as the running rules indicated by the interactive control information, the scenario description information about the target scenario, and the object description information of the interactive objects participating in the interactive scenario, for example.
[0078] By way of example, such object description information can include the name, the corresponding role, the description text, and the like of the interactive objects participating in the interactive scenario.
[0079] Further, such scenario information can be provided to the first processing entity 310 to perform scheduling. Further, part of such scenario information can also be provided to other processing entities participating in the target interactive scenario, such as the bot 332.
[0080] By way of example, the electronic device 110 can also construct the system prompt words of the bot 332 based on the scenario description information. Additionally, the object description information of the interactive objects participating in the interactive scenario can also be sent to the bot 332.
[0081] Further, after starting the interactive scenario, at block 308, the interactive control system can send a start message to the first processing entity 310 to trigger the first processing entity 310 to generate the corresponding control message according to the interactive control information introduced above. For example, at block 312, the interactive control system can publish the dialogue task based on the control message generated by the first processing entity 310.
[0082] In some embodiments, the control message can indicate that a response for target message content is generated by a group of target interactive objects from the plurality of interactive objects in the interactive scenario. Such a group of target interactive objects can also be referred to as a message reply party.
[0083] In some embodiments, the control message can also include the target message content to be processed, for example. The target message content can be the text content generated by the first processing entity 110 based on the interactive control information to trigger the corresponding interactive object to perform the task corresponding to the current interactive stage, for example.
[0084] In some embodiments, the electronic device 110 can also display, in the conversation interface, an interactive message corresponding to the target message content, e.g., the first interactive message 245-1 introduced above.
[0085] Additionally, the control message can also include at least one interactive object receiving the target message content, also referred to as a recipient. As an example, the electronic device 110 can display, in the conversation interface, the recipient of the corresponding interactive message using the interactive information.
[0086] Additionally, the control message can also include a response mode of a group of target interactive objects responding to the target message content, the response mode including a sequential response mode or a parallel response mode. Taking FIG. 2B as an example, since BOT C needs to refute the input content of the user, the two can correspond to the sequential response mode. In some scenarios, e.g., in a free debate session, the first processing entity can configure, for example, that multiple interactive objects can respond to the target message content based on the parallel response mode.
[0087] Additionally, the control message can also indicate a visible range of the response message provided by the interactive object. Taking FIG. 2B as an example, the recipients indicated in the interactive information 250-2 and the interactive information 250-3 can be determined based on the visible range.
[0088] Additionally, the control message can also indicate whether to end the target interactive scenario, e.g., for terminating the dialog interaction of the multiple interactive objects.
[0089] With reference to FIG. 3 continuing, at block 314, the interaction control system can insert the initial content (i.e., the target message content to be processed) into the context 330 of the recipient indicated by the control message.
[0090] Further, at block 316, the interaction control system can determine the message reply mode indicated by the control message and can execute the corresponding trigger strategy. Taking the sequential reply mode as an example, the interaction control system can trigger, at block 318, one or more target interactive objects that need to process the target message content in sequence.
[0091] In some embodiments, in the case where the target object is a processing entity, the interaction control system can obtain a response message generated by the processing entity (e.g., BOT 332) based on the target message content and the context information, the scenario description information, etc. Specifically, the interaction control system can send an indication message to the BOT 332 to instruct the BOT 332 to generate a response message about the target message content.
[0092] In some embodiments, in a case where the target object is a user object, the interaction control system can enable an input control associated with the user object and obtain an input message in response. As shown in FIG. 2B, such a response message may, for example, include a second interaction message 245-2.
[0093] Further, at block 320, the interaction control system can update context information of at least one associated processing entity (e.g., a recipient of the response message) associated with the response message based on the received response message. Taking FIG. 2B as an example, a recipient of the second interaction message 245-2 can include a processing entity BOT C. Accordingly, the interaction control system can update the context information of the processing entity BOT C based on the second interaction message 245-2.
[0094] As shown in FIG. 3, the interaction control system can determine whether all interaction objects have been triggered to perform responses at block 322, and if not, can return to block 318 to continue the triggering process. Taking FIG. 2B as an example, after receiving the second interaction message 245-2 of the user object, the interaction control system can update the context information of BOT C and trigger BOT C to process the target message content corresponding to the first interaction message 245-1 based on the updated context information. Accordingly, the interaction control system can obtain a response message generated by BOT C and can display a corresponding third interaction message 245-3 accordingly.
[0095] With continued reference to FIG. 3, unlike the sequential reply mode, if the control message indicates a parallel reply mode, the interaction control system can trigger the group of target interaction objects simultaneously at block 324 to obtain response content generated by the group of target interaction objects.
[0096] Similarly, the interaction control system can update context information of one or more associated processing entities based on recipient information of the received response.
[0097] With continued reference to FIG. 3, at block 328, the interaction control system can determine whether the interaction scenario needs to be ended based on the control message. If so, the interaction control system can end the interaction scenario at block 334.
[0098] Conversely, if it is determined to continue the interaction scenario, the interaction control system can trigger the first processing entity 310 to generate a new control message. In some embodiments, such a new control message can be generated based on the scenario information and the updated context information of the first processing entity described above.
[0099] In this way, embodiments of the present disclosure can utilize processing entities (e.g., agents or bots) to automatically schedule interactions of multiple interaction objects in a target interaction scenario, thereby improving interaction efficiency.
[0100] Example process
[0101] FIG. 4 shows a flowchart of an example process 400 of message interaction, according to some embodiments of the present disclosure. The process 400 can be implemented at the electronic device 110 and / or the server 130. The process 400 is described below with reference to FIG. 1.
[0102] As shown, at block 410, a control message generated by a first processing entity associated with a target interaction scenario is obtained, the target interaction scenario being associated with a plurality of interaction objects, the control message indicating at least a response to target message content generated by a set of target interaction objects from the plurality of interaction objects.
[0103] At block 420, in response to the set of target interaction objects including a second processing entity, a message indicating the second processing entity is sent.
[0104] At block 430, a response message generated by the second processing entity based on the target message content is obtained.
[0105] In some embodiments, the control message further indicates at least one of: at least one interaction object that receives the target message content; a response mode of the set of target interaction objects responding to the target message content, the response mode including a sequential response mode or a parallel response mode; a visible range of the response message provided by the set of target interaction objects.
[0106] In some embodiments, obtaining the control message generated by the first processing entity associated with the target interaction scenario includes: sending, to the first processing entity, scenario information including scenario description information about the target interaction scenario, interaction control information associated with the target interaction scenario, and object description information about the plurality of interaction objects; and obtaining the control message generated by the first processing entity based on the scenario information.
[0107] In some embodiments, the process 400 further includes: providing, to at least one interaction object from the plurality of interaction objects associated with the processing entity, the scenario description information and / or the object description information.
[0108] In some embodiments, the process 400 further includes: based on the control message, displaying a first interaction message from the first processing entity in a conversation interface associated with the target interaction scenario; and / or based on the response message, displaying a second interaction message from the second processing entity in the conversation interface.
[0109] In some embodiments, the process 400 further includes: based on the control message, determining first interaction information corresponding to the first interaction message and / or second interaction information corresponding to the second interaction message; and displaying the first interaction information and / or the second interaction information in the conversation interface.
[0110] In some embodiments, the first interaction information indicates at least one of: an interaction object to which the first interaction message is sent; a group of target interaction objects to be responded to the first interaction message; a response order of the group of target interaction objects to the first interaction message.
[0111] In some embodiments, the control message is a first control message, and the process 400 further includes: in response to the first control message indicating ending the target interaction scene, stopping an interaction process associated with the target interaction scene; or in response to the first control message indicating continuing the target interaction scene, triggering the first processing entity to generate a second control message.
[0112] In some embodiments, the process 400 further includes: based on the response message, updating context information of at least one associated processing entity associated with the response message, the at least one associated processing entity corresponding to a receiver of the response message.
[0113] In some embodiments, the process 400 further includes: in response to the group of target interaction objects including a user object, enabling an input control associated with the user object to obtain an input message of the user object.
[0114] Example apparatus and device
[0115] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above method or process. FIG. 5 shows a schematic structural block diagram of an example apparatus 500 for message interaction according to certain embodiments of the present disclosure. The apparatus 500 can be implemented as or included in the electronic device 110. Various modules / components in the apparatus 500 can be implemented by hardware, software, firmware, or any combination thereof.
[0116] As shown in FIG. 5, the apparatus 500 includes a message obtaining module 510 configured to obtain a control message generated by a first processing entity associated with a target interaction scene, the target interaction scene being associated with a plurality of interaction objects, the control message indicating at least that a response to target message content is generated by a group of target interaction objects among the plurality of interaction objects; an indication sending module 520 configured to, in response to the group of target interaction objects including a second processing entity, send an indication message to the second processing entity; and a response obtaining module 530 configured to obtain a response message generated by the second processing entity based on the target message content.
[0117] In some embodiments, the control message further indicates at least one of: at least one interaction object receiving the target message content; a response mode of the group of target interaction objects responding to the target message content, the response mode including a sequential response mode or a parallel response mode; a visible range of the response message provided by the group of target interaction objects.
[0118] In some embodiments, the message obtaining module 510 is further configured to: send, to the first processing entity, scene information including scene description information about the target interactive scene, interaction control information associated with the target interactive scene, and object description information about the plurality of interactive objects; and obtain a control message generated by the first processing entity based on the scene information.
[0119] In some embodiments, the apparatus 500 further includes a providing module configured to: provide, to at least one interactive object associated with the processing entity among the plurality of interactive objects, the scene description information and / or the object description information.
[0120] In some embodiments, the apparatus 500 further includes a display module configured to: based on the control message, display, in a conversation interface associated with the target interactive scene, a first interactive message from the first processing entity; and / or based on the response message, display, in the conversation interface, a second interactive message from the second processing entity.
[0121] In some embodiments, the display module is further configured to: based on the control message, determine first interaction information corresponding to the first interactive message and / or second interaction information corresponding to the second interactive message; and display, in the conversation interface, the first interaction information and / or the second interaction information.
[0122] In some embodiments, the first interaction information indicates at least one of: an interactive object to which the first interactive message is sent; a group of target interactive objects to be responded to the first interactive message; a response order of the group of target interactive objects to the first interactive message.
[0123] In some embodiments, the control message is a first control message, and the apparatus 500 further includes a control module configured to: in response to the first control message indicating ending the target interactive scene, stop an interaction process associated with the target interactive scene; or in response to the first control message indicating continuing the target interactive scene, trigger the first processing entity to generate a second control message.
[0124] In some embodiments, the apparatus 500 further includes an updating module configured to: based on the response message, update context information of at least one associated processing entity associated with the response message, the at least one associated processing entity corresponding to a receiver of the response message.
[0125] In some embodiments, the apparatus 500 further includes an input module configured to: in response to the group of target interactive objects including a user object, enable an input control associated with the user object to obtain an input message of the user object.
[0126] FIG. 6 illustrates a block diagram of an electronic device 600 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 600 illustrated in FIG. 6 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 600 illustrated in FIG. 6 can be used to implement the electronic device 110 and / or the server 130 of FIG. 1.
[0127] As shown in FIG. 6, the electronic device 600 is in the form of a general electronic device. Components of the electronic device 600 can include, but are not limited to, one or more processing units or processors 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processor 610 can be a real or virtual processor and is capable of performing various processes according to programs stored in the memory 620. In a multi-processor system, multiple processing units perform computer-executable instructions in parallel to improve parallel processing capabilities of the electronic device 600.
[0128] The electronic device 600 typically includes a number of computer storage media. Such media can be any available media that is accessible by the electronic device 600 and includes both volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 can be a removable or non-removable media and can include machine-readable media such as a flash drive, a magnetic disk drive, or any other media that can be used to store information and / or data and that can be accessed by the electronic device 600.
[0129] The electronic device 600 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 6, a disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In such instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 620 can include a computer program product 625 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.
[0130] The communication unit 640 enables communication through communication media with other electronic devices. Additionally, the functionality of the components of the electronic device 600 can be implemented in a single computing cluster or a plurality of computer machines that are capable of communicating over a communication connection. As such, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0131] The input device 650 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 660 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 can also communicate with one or more external devices (not shown), such as a storage device, a display device, etc., through the communication unit 640, as necessary, with one or more devices that enable a user to interact with the electronic device 600, or with any device (e.g., a network card, a modem, etc.) that enables the electronic device 600 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0132] According to an example implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, where the computer-executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and including computer-executable instructions, where the computer-executable instructions are executed by a processor to implement the method described above.
[0133] Various aspects of the disclosure can be described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, and computer program products according to this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0134] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include a non-transitory computer readable storage medium that can direct a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including a processor executable program of instructions which implement the function / act specified in the flowchart and / or block diagram block or blocks.
[0135] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0136] The flow diagrams and the 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 implementations of the present disclosure. In this regard, each block in the flow diagrams and the block diagrams can represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logic functions (s). In some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in some cases, be executed substantially concurrently, or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and
[0137] implementations. Numerous modifications and adaptations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The herein described subject matter is to be considered in all its novel implications and applications and can be practiced in a variety of environments. It is also to be understood that such features are only examples and that many modifications, additions, or omissions can be made without departing from the scope of the claimed subject matter. Accordingly, the exemplary implementations described herein are not intended to limit the scope of the claimed subject matter but rather are intended to embrace all such alterations, modifications, and additions within the scope and spirit of the disclosed implementations.
Claims
1. A method for message interaction, comprising: obtaining a control message generated by a first processing entity associated with a target interaction scenario, the target interaction scenario being associated with a plurality of interactive objects, the control message indicating at least a response to target message content generated by a group of target interactive objects among the plurality of interactive objects; in response to the group of target interactive objects including a second processing entity, sending an indication message to the second processing entity; and obtaining a response message generated by the second processing entity based on the target message content.
2. The method of claim 1, wherein the control message further indicates at least one of: at least one interactive object receiving the target message content; a response mode of the group of target interactive objects responding to the target message content, the response mode including a sequential response mode or a parallel response mode; a visibility range of the response message provided by the group of target interactive objects.
3. The method of claim 1, wherein obtaining a control message generated by a first processing entity associated with a target interaction scenario comprises: sending scenario information to the first processing entity, the scenario information including scenario description information about the target interaction scenario, interaction control information associated with the target interaction scenario, and object description information about the plurality of interactive objects; and obtaining the control message generated by the first processing entity based on the scenario information.
4. The method of claim 3, further comprising: providing the scenario description information and / or the object description information to at least one interactive object associated with a processing entity among the plurality of interactive objects.
5. The method of claim 1, further comprising: based on the control message, displaying a first interactive message from the first processing entity in a conversation interface associated with the target interaction scenario; and / or based on the response message, displaying a second interactive message from the second processing entity in the conversation interface.
6. The method of claim 5, further comprising: based on the control message, determining first interactive information corresponding to the first interactive message and / or second interactive information corresponding to the second interactive message; and displaying the first interactive information and / or the second interactive information in the conversation interface.
7. The method of claim 6, wherein the first interactive information indicates at least one of: an interactive object to which the first interactive message is sent; the group of target interactive objects to be responsive to the first interactive message; a response order of the group of target interactive objects to the first interactive message.
8. The method of claim 1, wherein the control message is a first control message, the method further comprising: in response to the first control message indicating ending the target interaction scenario, stopping an interaction process associated with the target interaction scenario; or in response to the first control message indicating continuing the target interaction scenario, triggering the first processing entity to generate a second control message.
9. The method of claim 1, further comprising: based on the response message, updating context information of at least one associated processing entity associated with the response message, the at least one associated processing entity corresponding to a recipient of the response message.
10. The method of claim 1, further comprising: in response to the set of target interactive objects including a user object, enabling an input control associated with the user object to obtain an input message of the user object.
11. An apparatus for message interaction, comprising: a message obtaining module configured to obtain a control message generated by a first processing entity associated with a target interactive scenario, the target interactive scenario associated with a plurality of interactive objects, the control message indicating at least a response to target message content generated by a set of target interactive objects among the plurality of interactive objects; an indication sending module configured to, in response to the set of target interactive objects including a second processing entity, send an indication message to the second processing entity; and a response obtaining module configured to obtain a response message generated by the second processing entity based on the target message content.
12. An electronic device, comprising: at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, cause the electronic device to perform the method according to any one of claims 1-10.
13. A computer-readable storage medium having computer-executable instructions stored therein, the computer-executable instructions being executable by a processor to implement the method according to any one of claims 1-10.
14. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1-10.
Citation Information
Patent Citations
Group message display method, device, terminal and storage medium
CN109039671A
Processing method and device based on multi-person session, equipment and medium
CN114257570A
Live broadcast interaction method and device, equipment, medium and program product
CN116996700A
Panel discussions in a social media platform
US20190058682A1