Interaction method and device, equipment and storage medium
By presenting multiple interactive objects in the session interface and determining the message order based on interactive control information, the problem of collaborative interaction between users and multiple processing entities is solved, and collaborative interaction management of multiple processing entities is realized.
Patent Information
- Application Number
- CN202410599704.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2025-11-14
AI Technical Summary
In existing technologies, it is difficult for users to interact collaboratively with multiple processing entities, and traditional applications only support interaction with a single processing entity.
By presenting a session interface of the target application, which is associated with multiple interactive objects, including processing entities or user objects, and determining the order of interactive messages based on interactive control information, the first processing entity manages the interaction process of multiple interactive objects.
It enables collaborative interaction among multiple interactive objects in the session interface and supports interaction management between multiple processing entities.
Smart Images

Figure CN120950156A_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to interactive methods, apparatuses, devices, and computer-readable storage media. Background Technology
[0002] With the development of computer technology, people can interact with various types of objects, such as other users or model-based processing entities. Typically, users can only interact with a single processing entity through dialogue, making collaborative interaction between multiple processing entities difficult. Summary of the Invention
[0003] In a first aspect of this disclosure, an interaction method is provided. The method includes: presenting a session interface of a target application, the session interface being associated with multiple interactive objects participating in a target interactive scenario, the multiple interactive objects corresponding to a set of preset roles in the target interactive scenario, the multiple interactive objects including a processing entity or a user object; and presenting a set of interactive messages from the multiple interactive objects in the session interface, the order of the set of interactive messages being determined by a first processing entity based on interactive control information associated with the target interactive scenario.
[0004] In a second aspect of this disclosure, an apparatus for interaction is provided. The apparatus includes: an interface presentation module configured to present a session interface of a target application, the session interface being associated with multiple interactive objects participating in a target interactive scenario, the multiple interactive objects corresponding to a set of preset roles in the target interactive scenario, the multiple interactive objects including a processing entity or a user object; and a message presentation module configured to present a set of interactive messages from the multiple interactive objects in the session interface, the order of the set of interactive messages being determined by a first processing entity based on interactive control information associated with the target interactive scenario.
[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented;
[0010] Figures 2A to 2D Example interfaces according to some embodiments of this disclosure are shown;
[0011] Figure 3 A flowchart illustrating an example interaction process according to some embodiments of this disclosure is shown;
[0012] Figure 4 A schematic structural block diagram of an example device for interaction according to some embodiments of the present disclosure is shown; and
[0013] Figure 5 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0014] 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.
[0015] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0016] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0017] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0018] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0019] Traditionally, users can quickly create applications, such as bots, by configuring the models, plugins, and other elements used by the application. Typically, such applications only support interactions such as dialogue between the user and a single processing entity, and it is difficult to achieve collaborative interactions between multiple processing entities.
[0020] Embodiments of this disclosure propose an interaction scheme. According to this scheme, a session interface of a target application is presented, the session interface being associated with multiple interactive objects participating in a target interactive scenario. These multiple interactive objects correspond to a set of preset roles in the target interactive scenario, and the multiple interactive objects include processing entities or user objects. A set of interactive messages from the multiple interactive objects is presented in the session interface, the order of which is determined by a first processing entity based on interactive control information associated with the target interactive scenario.
[0021] In this way, embodiments of the present disclosure can support the interaction of multiple interactive objects in a session interface, and the interaction process of multiple interactive objects can be managed by a processing entity.
[0022] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0023] Example Environment
[0024] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. For example... Figure 1 As shown, example environment 100 may include electronic device 110.
[0025] In this example environment 100, electronic device 110 can run an application 120 that supports user interface interaction. Application 120 can be any suitable type of application for user interface interaction, and examples may include, but are not limited to, applications for development or other suitable applications that support application development. User 140 can interact with application 120 via electronic device 110 and / or its attached devices.
[0026] exist Figure 1 In environment 100, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting interaction.
[0027] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0028] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support virtual scenarios in electronic devices 110.
[0029] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.
[0030] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0031] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0032] Target application creation
[0033] Figure 2A An example interface 200A according to some embodiments of the present disclosure is shown. Interface 200A may be provided, for example, by electronic device 110. An example process for creating an application according to embodiments of the present disclosure will be described below in conjunction with interface 200A.
[0034] like Figure 2A As shown, electronic device 110 can present, based on the user's creation request, such as Figure 2A The configuration interface 200A shown is used to receive configuration information to create an application associated with the target interactive scenario.
[0035] As an example, electronic device 110 can present the configuration interface 200A based on user-input application identifier or scene identifier (e.g., scene A) 205. Figure 2A As shown, the configuration interface 200A may include an input control 210 for obtaining scene description information about the target interactive scene.
[0036] As an example, such scene description information may include descriptive text to describe the interactive scene to be created. This scene description information may be public information visible to the interactive objects participating in the scene. If the interactive objects include a pre-defined processing entity (e.g., an agent, or other applications such as a bot), this scene description information may be provided to the corresponding pre-defined processing entity to control its interactions within the scene.
[0037] For example Figure 2AThe debate scenario shown is an example. Such scenario description information may include, for example, the topic of the debate, the arguments of the affirmative side, and the arguments of the negative side.
[0038] In some embodiments, such as Figure 2A As shown, the configuration interface 200A may also include a character configuration control 215 for obtaining a set of preset characters associated with the target interactive scene.
[0039] like Figure 2A As shown, the electronic device 110 can support users in adding multiple preset roles in interactive scenarios. Taking a debate scenario as an example, users can add roles such as the first to third speakers of the affirmative side and the first to third speakers of the negative side.
[0040] During the interaction, a group of interactive objects participating in the interactive scenario will be assigned to corresponding preset roles. As will be described below, such interactive objects may include, for example, user objects, or they may include configured processing entities, such as intelligent agents or bots.
[0041] like Figure 2A As shown, electronic device 110 can provide an add entry 220 for initiating a request to add a role. Upon receiving a selection for add entry 220, electronic device 110 can obtain role setting information about the role to be added, in order to create the corresponding role. For example, electronic device 110 can obtain the role's role identifier (e.g., name).
[0042] Additionally, the electronic device 110 can also determine the visibility information of the role. Visibility information can be used to describe whether the role information corresponding to that role is visible to other roles. Taking a debate scenario as an example, the role information of each interactive object is visible to other objects. Therefore, the user can, for example, set "First Speaker of the Affirmative Team" to be visible to all roles.
[0043] As another example, in some interactive scenarios, certain interactive objects need to hide their role information at specific stages. Accordingly, the user can set the visibility of that role, for example, to be visible only to the host (as described below in the context of the scheduling entity).
[0044] Furthermore, the electronic device 110 can also support users in associating the role with a preset processing entity or with an empty interactive object. As an example, the electronic device 110 can present a set of candidate processing entities that the user has permission to add (e.g., a set of bots created or accessed by the user), and can further select a specific processing entity to associate with the role.
[0045] As an example, the electronic device 110 may also support editing the identifier (e.g., nickname) of the processing entity in the target interaction scenario; and may support editing descriptive text about the processing entity. In some embodiments, such identifier and descriptive text may be provided to other processing entities in the interaction scenario. For example, such identifier and descriptive text may be provided to processing entities associated with other roles, or to specific processing entities used for scheduling, etc.
[0046] Continue to refer to Figure 2A The electronic device 110 can display character indicator elements corresponding to one or more preset characters that have been added in the character configuration control 215, such as character indicator element 225 and character indicator element 230.
[0047] like Figure 2A As shown, the role indicated by role indicator element 225 (e.g., the first speaker of the affirmative side) can be associated with the specified processing entity. Accordingly, role indicator element 225 can display the image identifier corresponding to the processing entity (e.g., the image identifier of the Bot), the name of the role, and the nickname of the associated processing entity in the interactive scene.
[0048] As another example, the role indicated by role indicator element 230 (e.g., the third speaker of the opposing side) is associated with an empty interaction object. In some scenarios, associating with an empty interaction object can indicate that the role does not have a corresponding preset processing entity set. That is, other users can specify to participate as users and associate with this role during interactions with the target application, or they can select other processing entities and associate them with this role.
[0049] Accordingly, such as Figure 2A As shown, the character indicator element 230 can display corresponding object information (e.g., "empty space") to indicate its association with an empty interactive object. Additionally, the character indicator element 230 can display preset image content.
[0050] Furthermore, such as Figure 2A As shown, the configuration interface 200A may also include an input control 235 for obtaining interactive control information. In some embodiments, the interactive control information may include a piece of text describing the interactive rules and / or control logic of the interactive scenario.
[0051] In some embodiments, such interactive control information may be provided to create a target processing entity (i.e., the host role mentioned above) in an interactive scenario. In some embodiments, the target processing entity may be configured to manage the interaction process of multiple interactive objects in the interactive scenario.
[0052] Continuing with the debate scenario as an example, the interactive control information can describe the flow of the entire debate process, the speaking order of each character, and the content that the moderator needs to output.
[0053] In some embodiments, such a target processing entity can be implemented based on a machine learning model. For example, electronic device 110 can provide interactive control information obtained via input control 235 to the target model, instructing the target model to manage the interaction process of multiple interactive objects in the interactive scene according to the content described by the interactive control information.
[0054] Furthermore, the electronic device 110 may, for example, receive the user's selection of the publishing entry 250 to create and publish the target application based on the received configuration information.
[0055] Sample interactions of the target application
[0056] In some embodiments, the electronic device 110 may receive a user’s launch request or debugging request for a target application and may accordingly present the target application’s session interface.
[0057] As an example, in the configuration interface 200A, the electronic device 110 can provide a debug window 240 and can receive debug requests for the target application from the creator of the target application via a debug entry 245. As another example, a user (e.g., the creator or other user) can launch the target application through the entry corresponding to the target application.
[0058] In some embodiments, in response to a set of preset roles configured by the target application including a target role associated with an empty interactive object, the electronic device 110 can present as follows: Figure 2B The settings window shown is 200B.
[0059] like Figure 2B As shown, in via Figure 2A When the received configuration information indicates that a role (e.g., the third speaker of the opposing side) is associated with an empty interactive object, the electronic device 110 can configure the interactive object corresponding to that role (e.g., the third speaker of the opposing side) via the setting window 200B.
[0060] In some embodiments, the electronic device 110 can, for example, configure the current user object as an interactive object corresponding to that role via control 255. In this case, the user can participate in the target interactive scenario, for example, through a session.
[0061] Alternatively, the electronic device 110 can also receive user configuration operations via control 260 to configure a specified processing entity as a target interactive object corresponding to that role. For example, the electronic device 110 can present a set of candidate processing entities for which the current user has preset permissions, such as a bot. Further, the electronic device 110 can select a specific processing entity to associate that specific processing entity with the target role.
[0062] In some embodiments, if the set of preset roles includes multiple roles associated with an empty interactive object, the electronic device 110 may, for example, support users configuring the interactive object corresponding to each role separately. In some embodiments, a single user object may, for example, only support association with a unique role, or a single processing entity may also only support association with a unique role.
[0063] In some other embodiments, if the set of preset roles are all associated with preset processing entities, the electronic device 110 may, for example, not present such a... Figure 2B The settings window shown is 200B, and it can directly display as follows: Figure 2C The session interface shown is 200C.
[0064] like Figure 2C As shown, in the session interface 200C, the electronic device 110 can present descriptive information 265 about multiple interactive objects participating in the target interactive scenario. In some embodiments, such descriptive information may include text identifiers (e.g., nicknames), image identifiers (e.g., avatars), text descriptions, etc., of each interactive object.
[0065] In some embodiments, if the role information of the interactive object corresponds to the role of the current interface (e.g., Figure 2C If the interface corresponding to the interactive object (e.g., BOT A) is visible, then the electronic device 110 can display role information about the role corresponding to the interactive object. For example, the electronic device 110 can be associated with the interactive object (e.g., BOT A) to display its role information as "first speaker for the affirmative side".
[0066] Conversely, in some embodiments, if the role information of the character corresponding to the interactive object is consistent with the role corresponding to the current interface (e.g., Figure 2C If the interactive object corresponding to the interface is not visible to user A), then the electronic device 110 may not display role information about the role corresponding to the interactive object. For example, the electronic device 110 may associate the interactive object with displaying "unknown role".
[0067] In some embodiments, such as Figure 2C As shown, the electronic device 110 can display interactive messages from multiple interactive objects that have joined the target interactive scene on the interface 200C. For example... Figure 2C As shown, after a user enters the target application, the first processing entity mentioned above (e.g., corresponding to the host role) can provide the first interactive message 275-1, which also becomes the opening message.
[0068] In some embodiments, the electronic device 110 may also be associated with such a first interactive message 275-1 to display corresponding interactive information 280-1. For example... Figure 2C As shown, such interactive information 280-1 can, for example, instruct a group of interactive objects to which the first interactive message 275-1 is sent.
[0069] As an example, if the interactive object corresponding to the session interface 200C is in the recipient list of the first interactive message 275-1, then the session interface 200C can display the first interactive message 275-1. Otherwise, the session interface 200C will not display the first interactive message 275-1.
[0070] In some embodiments, the first processing entity can control multiple interactive objects participating in the interactive scenario to provide corresponding interactive messages in a specified order based on the interactive control information described above. Taking a debate scenario as an example, the first processing entity can, for example, control the interactive objects corresponding to different debater roles to provide interactive messages in sequence according to the debate process.
[0071] As an example, such as Figure 2D As shown, the processing entity (BOT D) may provide the second interactive message 275-2 based on the process indicated by the first processing entity. Similarly, the electronic device 110 may also present interactive information 280-2 about the second interactive message 275-2 to indicate a set of interactive objects to which the second interactive message 275-2 is sent.
[0072] In some embodiments, such as Figure 2D As shown, the first processing entity may also provide a third interaction message 275-3 for controlling the response of the corresponding interactive objects. For example, the third interaction message 275-3 may instruct specific roles (e.g., the third debater of the opposing side and the third debater of the affirmative side) to respond in sequence.
[0073] As shown in the figure, the interaction information 280-3 regarding the third interaction message 275-3 can indicate the first group of interaction objects receiving the third interaction message 275-3. Alternatively or additionally, the interaction information 280-3 can also indicate the second group of interaction objects to respond to the third interaction message 275-3, and / or the order of response of the second group of interaction objects to the third interaction message 275-3.
[0074] by Figure 2DAs an example, interaction message 280-3 can instruct the interaction object (user A) and the interaction object (BOT C) to respond to the third interaction message 275-3 in turn.
[0075] In some embodiments, the electronic device 110 can also determine the interactive object (e.g., user A) associated with the current session interface via the control 270. Further, the interactive messages displayed by the electronic device 110 in the session interface may only include interactive messages associated with the interactive object (e.g., user A) in the target interactive scenario. For example, the electronic device 110 may only display interactive messages sent by user A, and interactive messages whose recipients include user A, in the session interface.
[0076] In some embodiments, the electronic device 110 may also support users switching the interactive object associated with the current session interface via the control 270. In some embodiments, when the user is the application creator, the electronic device 110 may support the user switching the session interface to any interactive object (including the processing entity corresponding to the host) that has joined the interactive scene.
[0077] In some embodiments, the current user can join the target interactive scene by launching the published target application. Accordingly, the electronic device 110 may only support the user switching to one or more interactive objects configured by the user, such as user objects or processing entities configured via the settings window 200B.
[0078] As an example, when the conversation interface is switched to be associated with another interactive object, the electronic device 110 can switch the conversation interface to display interactive messages associated with that other interactive object. For example, the electronic device 110 may display only the interactive messages sent to that interactive object and the interactive messages sent by that interactive object.
[0079] In some embodiments, when the session interface is associated with a user object, the electronic device 110 can also adjust the interaction mode of the message input control 285 in the session interface based on the user object's interaction state in the target interactive scenario. In some embodiments, the user object's interaction state can indicate whether the user object has been identified as an interactive object to which interactive messages are to be provided.
[0080] like Figure 2D As shown, if the current user object is determined to be the interactive object to which an interactive message is to be provided, the electronic device 110 can enable the message input control 285 to obtain the interactive message from the user object. As an example, the electronic device 110 can also provide a reminder about entering an interactive message.
[0081] As another example, if the user object is not an interactive object to which an interactive message is to be provided, the electronic device 110 may accordingly disable or stop displaying the message input control 285. For example, in situations such as Figure 2C In the state shown, the current user has not yet had their turn to speak, and the electronic device 110 may, for example, not display the message input control 285.
[0082] In some embodiments, the electronic device 110 may also support a user to initiate a stop request via control 290 to trigger at least one processing entity associated with the target application to stop generating interactive messages.
[0083] Specifically, based on a received stop request, the electronic device 110 can control the first processing entity to stop generating instruction information used to control the corresponding processing entity to generate interactive messages. Thus, after a round of dialogue response ends, the electronic device 110 can control the first processing entity to stop advancing subsequent processes, thereby stopping the generation of the corresponding interactive messages.
[0084] In some embodiments, the electronic device 110 may also support users deleting one or more interactive messages from the conversation interface. Specifically, the electronic device 110 may support users switching the conversation interface to one associated with a first processing entity and may delete at least one interactive message corresponding to a specified dialogue round in order to update the context information associated with the interactive scenario.
[0085] Specifically, such a dialogue round may include an interactive message generated by a first processing entity and at least one response message provided by other interactive objects in response to that interactive message.
[0086] by Figure 2D As an example, interactive message 275-3 can serve as the starting message for a new dialogue turn, and may also include response messages generated by the interactive parties (user A and BOT C). Thus, electronic device 110 can support users in managing messages according to dialogue turns.
[0087] Based on the process described above, embodiments of this disclosure can support the interaction of multiple interactive objects in a session interface, and the interaction process of multiple interactive objects can be managed via a processing entity.
[0088] Example process
[0089] Figure 3 A flowchart of an example interaction process 300 according to some embodiments of the present disclosure is shown. Process 300 can be implemented at electronic device 110. Reference is made below. Figure 1 To describe process 300.
[0090] As shown in the figure, in box 310, electronic device 110 presents a session interface of the target application. The session interface is associated with multiple interactive objects participating in the target interactive scenario. The multiple interactive objects correspond to a set of preset roles in the target interactive scenario. The multiple interactive objects include processing entities or user objects.
[0091] In box 320, electronic device 110 presents a set of interactive messages from the plurality of interactive objects in the session interface, the order of which is determined by a first processing entity based on interactive control information associated with the target interactive scenario.
[0092] In some embodiments, process 300 further includes: receiving a launch request or a debug request for the target application; presenting a settings window in response to a target role in the set of preset roles being associated with an empty interactive object; and configuring a target interactive object corresponding to the target role via the settings window.
[0093] In some embodiments, configuring the target interaction object corresponding to the target role includes:
[0094] Configure the current user object as the target interaction object corresponding to the target role; or, based on the received configuration operation, configure the second processing entity as the target interaction object corresponding to the target role.
[0095] In some embodiments, presenting a set of interactive messages from the plurality of interactive objects in the session interface includes: presenting a first interactive message and interactive information corresponding to the first interactive message in the session interface.
[0096] In some embodiments, the interaction information indicates at least one of the following: a first group of interactive objects to which the first interaction message is sent; a second group of interactive objects to respond to the first interaction message; and the order in which the second group of interactive objects respond to the first interaction message.
[0097] In some embodiments, presenting a set of interactive messages from the plurality of interactive objects in the session interface includes: determining a first interactive object associated with the session interface; and displaying a first set of interactive messages associated with the first interactive object in the session interface, the first set of interactive messages including interactive messages sent to the first interactive object and interactive messages sent by the first interactive object.
[0098] In some embodiments, presenting a set of interactive messages from the plurality of interactive objects in the session interface further includes: receiving a request to switch the session interface to be associated with a second interactive object; and in response to the request, switching the session interface to display a second set of interactive messages associated with the second interactive object, the second set of interactive messages including interactive messages sent to the second interactive object and interactive messages sent by the second interactive object.
[0099] In some embodiments, process 300 further includes: in response to the session interface being associated with a user object, adjusting the interaction mode of the message input control in the session interface based on the interaction state of the user object in the target interaction scenario, wherein the interaction state indicates whether the user object is determined to be an interactive object to be provided with interactive messages.
[0100] In some embodiments, adjusting the interaction mode of the message input control in the session interface includes: enabling the message input control to obtain the user object's interaction message in response to the interaction state indicating that the user object is an interactive object to be provided with an interactive message; or disabling or stopping the display of the message input control in response to the interaction state indicating that the user object is not an interactive object to be provided with an interactive message.
[0101] In some embodiments, presenting the session interface of the target application includes:
[0102] Based on the launch request or debugging request for the target application, the session interface of the target application is presented.
[0103] In some embodiments, the target application is created based on configuration information, which includes interaction control information and role setting information about the target interaction scenario, wherein the interaction control information is used to construct the first processing entity; and the role setting information indicates the set of preset roles.
[0104] In some embodiments, the configuration information further includes scene description information about the target interactive scene, wherein the scene description information is used to construct the first processing entity, or the scene description information is provided to another processing entity participating in the target interactive scene.
[0105] In some embodiments, process 300 further includes: in response to a received stop request, triggering at least one processing entity associated with the target application to stop generating interactive messages.
[0106] In some embodiments, triggering at least one processing entity associated with the target application to stop generating interactive messages includes: based on the stop request, controlling the first processing entity to stop generating indication information for controlling the corresponding processing entity to generate interactive messages.
[0107] In some embodiments, process 300 further includes: in response to the session interface being associated with the first processing entity, deleting at least one interactive message corresponding to a specified dialogue round from the session interface based on a received deletion request, so as to update the context information associated with the interactive scenario.
[0108] In some embodiments, the specified dialogue round includes a second interactive message generated by the first processing entity and at least one response message provided by other interactive objects in response to the second interactive message.
[0109] Example devices and equipment
[0110] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an example device 400 for interaction according to certain embodiments of the present disclosure is shown. Device 400 may be implemented as or included in electronic device 110. Various modules / components in device 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0111] like Figure 4 As shown, the device 400 includes an interface presentation module 410, configured to present a session interface of a target application, the session interface being associated with multiple interactive objects participating in a target interactive scenario, the multiple interactive objects corresponding to a set of preset roles in the target interactive scenario, the multiple interactive objects including processing entities or user objects; and a message presentation module 420, configured to present a set of interactive messages from the multiple interactive objects in the session interface, the order of the set of interactive messages being determined by a first processing entity based on interactive control information associated with the target interactive scenario.
[0112] In some embodiments, the interface presentation module 410 is further configured to: receive a launch request or a debugging request for a target application; in response to a target role in a set of preset roles being associated with an empty interactive object, present a settings window; and configure the target interactive object corresponding to the target role via the settings window.
[0113] In some embodiments, configuring a target interaction object corresponding to a target role includes: configuring the current user object as a target interaction object corresponding to the target role; or configuring a second processing entity as a target interaction object corresponding to the target role based on a received configuration operation.
[0114] In some embodiments, presenting a set of interactive messages from multiple interactive objects in a conversation interface includes: presenting a first interactive message and interactive information corresponding to the first interactive message in the conversation interface.
[0115] In some embodiments, the interaction information indicates at least one of the following: a first group of interactive objects to which a first interaction message is sent; a second group of interactive objects to respond to the first interaction message; and the order in which the second group of interactive objects respond to the first interaction message.
[0116] In some embodiments, presenting a set of interactive messages from multiple interactive objects in a session interface includes: identifying a first interactive object associated with the session interface; and displaying a first set of interactive messages associated with the first interactive object in the session interface, the first set of interactive messages including interactive messages sent to the first interactive object and interactive messages sent by the first interactive object.
[0117] In some embodiments, presenting a set of interactive messages from multiple interactive objects in a session interface further includes: receiving a request to switch the session interface to one associated with a second interactive object; and in response to the request, switching the session interface to display a second set of interactive messages associated with the second interactive object, the second set of interactive messages including interactive messages sent to the second interactive object and interactive messages sent by the second interactive object.
[0118] In some embodiments, the interface presentation module 410 is further configured to: in response to the session interface being associated with a user object, adjust the interaction mode of the message input control in the session interface based on the interaction state of the user object in the target interactive scenario, wherein the interaction state indicates whether the user object is determined to be an interactive object to be provided with interactive messages.
[0119] In some embodiments, adjusting the interaction mode of the message input control in the session interface includes: enabling the message input control to obtain the user object's interaction message in response to an interaction state indicating that the user object is an interactive object to be provided with an interactive message; or disabling or stopping the display of the message input control in response to an interaction state indicating that the user object is not an interactive object to be provided with an interactive message.
[0120] In some embodiments, presenting the session interface of the target application includes: presenting the session interface of the target application based on a launch request or debugging request for the target application.
[0121] In some embodiments, the target application is created based on configuration information, which includes interaction control information and role setting information about the target interactive scenario, wherein the interaction control information is used to construct a first processing entity; and the role setting information indicates a set of preset roles.
[0122] In some embodiments, the configuration information may further include scene description information about the target interactive scene, wherein the scene description information is used to construct the first processing entity, or the scene description information is provided to another processing entity participating in the target interactive scene.
[0123] In some embodiments, the message presentation module 420 is further configured to: in response to a received stop request, trigger at least one processing entity associated with the target application to stop generating interactive messages.
[0124] In some embodiments, triggering at least one processing entity associated with the target application to stop generating interactive messages includes: based on a stop request, controlling a first processing entity to stop generating indication information for controlling the corresponding processing entity to generate interactive messages.
[0125] In some embodiments, the interface presentation module 410 is further configured to: in response to the conversation interface being associated with a first processing entity, delete at least one interactive message corresponding to a specified dialogue round from the conversation interface based on a received deletion request, so as to update the context information associated with the interactive scenario.
[0126] In some embodiments, specifying a dialogue turn includes a second interactive message generated by a first processing entity and at least one response message provided by other interactive objects in response to the second interactive message.
[0127] Figure 5 A block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 5 The electronic device 500 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 5 The electronic device 500 shown can be used to achieve Figure 1 Electronic devices 110.
[0128] like Figure 5 As shown, electronic device 500 is in the form of a general-purpose electronic device. Components of electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. Processing unit 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 500.
[0129] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.
[0130] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 5 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0131] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0132] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0133] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0134] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0135] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0136] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0137] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0138] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. An interaction method, comprising: Presenting a conversational interface of the target application, the conversational interface is associated with multiple interactive objects participating in the target interactive scenario, the multiple interactive objects correspond to a set of preset roles in the target interactive scenario, the multiple interactive objects include processing entities or user objects; as well as A set of interactive messages from the plurality of interactive objects is presented in the conversation interface. The order of the set of interactive messages is determined by a first processing entity based on interactive control information associated with the target interactive scenario.
2. The method according to claim 1, further comprising: Receive a startup request or a debug request for the target application; In response to the target role in the set of preset roles being associated with an empty interactive object, a settings window is displayed; as well as Configure the target interaction object corresponding to the target role through the settings window.
3. The method according to claim 2, wherein configuring the target interaction object corresponding to the target role includes: Configure the current user object as the target interaction object corresponding to the target role; or Based on the received configuration operation, the second processing entity is configured as the target interaction object corresponding to the target role.
4. The method according to claim 1, wherein presenting a set of interactive messages from the plurality of interactive objects in the session interface includes: The first interactive message and the corresponding interactive information are presented in the conversation interface.
5. The method of claim 4, wherein the interactive information indicates at least one of the following: The first interactive message is sent to the first group of interactive objects; The second group of interactive objects awaiting a response to the first interactive message; The order in which the second group of interactive objects respond to the first interactive message.
6. The method of claim 1, wherein presenting a set of interactive messages from the plurality of interactive objects in the session interface comprises: Determine the first interactive object associated with the session interface; as well as The first set of interactive messages associated with the first interactive object is displayed in the conversation interface. The first set of interactive messages includes interactive messages sent to the first interactive object and interactive messages sent by the first interactive object.
7. The method of claim 6, wherein presenting a set of interactive messages from the plurality of interactive objects in the session interface further comprises: Receive a request to switch the session interface to the one associated with the second interactive object; as well as In response to the request, the session interface is switched to display a second set of interactive messages associated with the second interactive object, the second set of interactive messages including interactive messages sent to the second interactive object and interactive messages sent by the second interactive object.
8. The method according to claim 1, further comprising: In response to the association of the session interface with a user object, the interaction mode of the message input control in the session interface is adjusted based on the interaction state of the user object in the target interaction scenario. The interaction state indicates whether the user object is determined to be an interactive object to provide interactive messages.
9. The method according to claim 8, wherein adjusting the interaction mode of the message input control in the session interface includes: In response to the interaction state indicating that the user object is an interactive object to be provided with an interactive message, the message input control is enabled to obtain the interactive message of the user object; or In response to the interaction state indicating that the user object is not an interactive object to which an interactive message is to be provided, the message input control is disabled or stopped from being displayed.
10. The method of claim 1, wherein presenting the session interface of the target application comprises: Based on the launch request or debugging request for the target application, the session interface of the target application is presented.
11. The method of claim 1, wherein the target application is created based on configuration information, the configuration information including interaction control information and role setting information regarding the target interaction scenario, wherein the interaction control information is used to construct the first processing entity; and the role setting information indicates the set of preset roles.
12. The method according to claim 11, wherein the configuration information further includes scene description information about the target interactive scene. in, The scene description information is used to construct the first processing entity, or the scene description information is provided to another processing entity participating in the target interactive scene.
13. The method according to claim 1, further comprising: In response to a received stop request, at least one processing entity associated with the target application is triggered to stop generating interactive messages.
14. The method of claim 13, wherein triggering at least one processing entity associated with the target application to stop generating interactive messages comprises: Based on the stop request, the first processing entity is controlled to stop generating indication information used to control the corresponding processing entity to generate interactive messages.
15. The method according to claim 1, further comprising: In response to the conversation interface being associated with the first processing entity, based on the received deletion request, at least one interactive message corresponding to a specified dialogue round is deleted from the conversation interface to update the context information associated with the interactive scenario.
16. The method of claim 15, wherein the designated dialogue turn comprises a second interactive message generated by the first processing entity and at least one response message provided by other interactive objects in response to the second interactive message.
17. A device for interaction, comprising: The interface presentation module is configured to present the session interface of the target application. The session interface is associated with multiple interactive objects participating in the target interactive scenario. The multiple interactive objects correspond to a set of preset roles in the target interactive scenario. The multiple interactive objects include processing entities or user objects. as well as The message presentation module is configured to present a set of interactive messages from the plurality of interactive objects in the session interface, the order of which is determined by a first processing entity based on interactive control information associated with the target interactive scenario.
18. An electronic device comprising: At least one processing unit; as well as At least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 16 when executed by the at least one processing unit.
19. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 16.