Interaction method and apparatus for agent, storage medium, and program product

By receiving user-triggered actions and displaying editable configuration items in the user interface to switch agent stages, the problem of monotonous interactive content caused by fixed agent roles is solved, improving user experience and the convenience of configuration for creators.

WO2025241067A1PCT designated stage Publication Date: 2025-11-27BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/094261
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2025-11-27

AI Technical Summary

Technical Problem

In existing technologies, the roles of intelligent agents are fixed and unchanging, resulting in limited content for user interaction with the intelligent agents and a poor user experience.

Method used

An interaction method and apparatus are provided, which, by receiving a user's trigger operation, switches an intelligent agent to the corresponding stage and displays editable configuration items on the user interface, allowing the user to configure multiple stages of the intelligent agent and the switching information between stages, and realizes visual configuration using controls.

Benefits of technology

It enhances the immersive and interactive experience between users and intelligent agents, strengthens user engagement, and simplifies the configuration process for intelligent agent creators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024094261_27112025_PF_FP_ABST
    Figure CN2024094261_27112025_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of computers, and relates to an interaction method and apparatus for an agent, a computer readable storage medium, and a computer program product. The interaction method comprises: receiving a trigger operation of a first user; and on the basis of the trigger operation of the first user and configuration information related to each stage of an agent and switching of the agent between the plurality of stages, switching the agent to a stage corresponding to the trigger operation, so that the agent interacts with the first user in the stage corresponding to the trigger operation, wherein the configuration information is configured in the following mode: in response to the agent being configured to have a plurality of stages, displaying a plurality of first configuration items in an editable state on a user interface, wherein each first configuration item comprises at least one first control operable by a second user; and on the basis of an operation of the second user on at least one of a plurality of first controls corresponding to the plurality of first configuration items, configuring the configuration information related to each stage of the agent and switching of the agent between the plurality of stages.
Need to check novelty before this filing date? Find Prior Art

Description

Interaction method and device for intelligent agent, storage medium and program product TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer, in particular to an interaction method and device for intelligent agent, computer readable storage medium and computer program product. BACKGROUND

[0002] With the development of artificial intelligence technology, the application of intelligent agent has penetrated into various aspects of our life, such as intelligent question answering, intelligent voice assistant, etc.

[0003] In the related art, for the created intelligent agent, the role setting of the intelligent agent is fixed and unchanged in the process of interaction with the user.

[0004] SUMMARY

[0005] This summary is provided to introduce a selection of concepts, which are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used in limiting the scope of the claimed subject matter.

[0006] According to a first aspect of some embodiments of the present disclosure, an interaction method for an intelligent agent is provided, comprising:

[0007] receiving a trigger operation of a first user;

[0008] switching the intelligent agent to a stage corresponding to the trigger operation according to the trigger operation of the first user and configuration information related to switching of the intelligent agent between a plurality of stages and each stage of the intelligent agent, so that the intelligent agent interacts with the first user in the stage corresponding to the trigger operation, wherein the configuration information is configured by the following way:

[0009] in response to the intelligent agent being configured to have the plurality of stages, displaying a plurality of first configuration items in an editable state at a user interface, wherein each first configuration item comprises at least one first control operable by a second user;

[0010] configuring the configuration information related to switching of the intelligent agent between the plurality of stages and each stage of the intelligent agent based on an operation of the second user on at least one of a plurality of first controls corresponding to the plurality of first configuration items.

[0011] According to a second aspect of some embodiments of the present disclosure, an interaction device for an intelligent agent is provided, comprising:

[0012] a receiving module configured to receive a trigger operation of a first user;

[0013] The switching module is configured to switch the intelligent agent to a stage corresponding to the trigger operation according to the trigger operation of the first user and configuration information related to each stage of the intelligent agent and switching of the intelligent agent between the stages, so that the intelligent agent interacts with the first user in the stage corresponding to the trigger operation, wherein the configuration information is configured by the following way:

[0014] In response to the intelligent agent being configured to have multiple stages, displaying multiple first configuration items in an editable state at a user interface, wherein each first configuration item includes at least one first control operable by a second user;

[0015] Based on the operation of the second user on at least one of the multiple first controls corresponding to the multiple first configuration items, configuration information related to each stage of the intelligent agent and switching of the intelligent agent between the stages is configured.

[0016] According to a third aspect of some embodiments of the present disclosure, there is provided an interaction apparatus for an intelligent agent, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute an interaction method for an intelligent agent of any of the embodiments described in the present disclosure based on instructions stored in the memory.

[0017] According to a fourth aspect of some embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program, which, when executed by a processor, performs an interaction method for an intelligent agent of any of the embodiments described in the present disclosure.

[0018] According to a fifth aspect of some embodiments of the present disclosure, there is provided a computer program product which, when executed on a computer, causes the computer to implement an interaction method for an intelligent agent of any of the embodiments.

[0019] Other features, aspects, and advantages of the present disclosure will become apparent from the following detailed description of the exemplary embodiments of the present disclosure with reference to the following drawings. BRIEF DESCRIPTION OF DRAWINGS

[0020] The preferred embodiments of the present disclosure will be described below with reference to the accompanying drawings. The accompanying drawings described herein are used to provide further understanding of the present disclosure, and together with the following detailed description, constitute a part of the specification of the present disclosure, and are used to explain the present disclosure. It should be understood that the accompanying drawings in the following description only relate to some embodiments of the present disclosure, and do not constitute a limitation on the present disclosure. In the drawings:

[0021] FIG. 1 is a flowchart illustrating an interaction method for an intelligent agent according to some embodiments of the present disclosure;

[0022] FIG. 2 is a flow diagram illustrating an interaction method according to some embodiments of the present disclosure;

[0023] FIG. 3A is a flow diagram illustrating a configuration process of the configuration information according to some embodiments of the present disclosure;

[0024] FIG. 3B is a flow diagram illustrating a configuration process of the configuration information according to some other embodiments of the present disclosure;

[0025] FIG. 3C is a flow diagram illustrating a configuration process of the configuration information according to some other embodiments of the present disclosure;

[0026] FIG. 3D is a flow diagram illustrating a configuration process of the configuration information according to some other embodiments of the present disclosure;

[0027] FIG. 3E is a flow diagram illustrating a configuration process of the configuration information according to some other embodiments of the present disclosure;

[0028] FIG. 3F is a flow diagram illustrating a configuration process of the configuration information according to some other embodiments of the present disclosure;

[0029] FIG. 4 is a diagram illustrating a user interface for configuring the configuration information according to some embodiments of the present disclosure;

[0030] FIG. 5 is a block diagram illustrating an interaction apparatus for an agent according to some embodiments of the present disclosure;

[0031] FIG. 6 is a block diagram illustrating an interaction apparatus for an agent according to some other embodiments of the present disclosure;

[0032] FIG. 7 is a block diagram illustrating an electronic device according to some embodiments of the present disclosure.

[0033] It should be understood that the dimensions of the various portions shown in the attached drawings are shown for purposes of convenience and do not necessarily bear an accurate relationship to each other. Identical or similar reference numerals are used throughout the various drawings to denote identical or similar components. Thus, where a component is defined in one drawing, it can not be further discussed in subsequent drawings. DETAILED DESCRIPTION

[0034] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, but not all the embodiments of the present disclosure. The description of the embodiments below is actually only illustrative, and is by no means any limitation on the present disclosure and its application or use. It should be understood that the present disclosure can be implemented in various forms, and should not be interpreted as being limited to the embodiments described herein.

[0035] It should be understood that various steps in the method implementations of the present disclosure can be performed in different order and / or in parallel. Additionally, the method implementations can include additional steps and / or omit performing the steps shown. The scope of the present disclosure is not limited in this regard. The relative arrangement of components and steps, numerical expressions, and numerical values set forth in these examples are to be interpreted as examples only and not limiting of the scope of the present disclosure unless otherwise specifically stated.

[0036] The term "include," and derivations thereof, means the term "comprise" or "contain" and variations as an open-ended term such that when the phrase "includes (comprises, contains)" is used, it means at least the stated elements, but not excluding others. Further, the term "comprise" and variations thereof as used in the present disclosure means the term "comprise" or "contain" and variations as an open-ended term such that when the phrase "comprises (contains)" is used, it means at least the stated elements, but not excluding others. Thus, include and comprise are synonymous. The term "based on" means "based, at least in part, on."

[0037] Reference throughout this specification to "an embodiment", "some embodiments" or "embodiments" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, although it can. Furthermore, the term "a plurality" or "a plurality of means "two or more" or "at least two" unless expressly specified otherwise.

[0038] It should be noted that the terms "first", "second", and so on used in the present disclosure are merely used to distinguish different apparatuses, modules or units, and do not imply the order or the mutual dependency of the functions performed by these apparatuses, modules or units. Unless otherwise specified, the terms "first", "second", and so on are not intended to imply a given order or any other way of given order.

[0039] It should be noted that the terms "one", "multiple" used in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that "one" or "multiple" should be understood as "one or more" unless otherwise explicitly specified in the context.

[0040] The names of the messages or information exchanged between the plurality of apparatuses in the embodiments of the present disclosure are merely used for illustrative purposes, and are not intended to limit the scope of the messages or information.

[0041] Embodiments of the present disclosure are described in detail below with reference to the accompanying drawings, but the present disclosure is not limited to these specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in some embodiments. In addition, in one or more embodiments, specific features, structures, or characteristics can be combined by any suitable means from the present disclosure that will be clear to those of ordinary skill in the art.

[0042] In the related art, once the agent is set, the role stage does not change over time, and the user interacts with the agent with a fixed role stage, the interaction content is single, and the user experience is poor.

[0043] The present disclosure provides a technical solution that can enrich the interaction content between the user and the agent, improve the immersion of the user and the agent interaction, and improve the user experience.

[0044] FIG. 1 is a flowchart illustrating an interaction method for an agent according to some embodiments of the present disclosure.

[0045] As shown in FIG. 1, the interaction method includes: step S110, receiving a triggering operation of a first user; and step S120, switching the agent to a stage corresponding to the triggering operation according to the triggering operation of the first user and configuration information related to each stage of the agent and switching of the agent between multiple stages, so that the agent interacts with the first user in the stage corresponding to the triggering operation.

[0046] The configuration information is configured in the following manner:

[0047] In response to the agent being configured to have the multiple stages, a plurality of first configuration items in an editable state are displayed on a user interface, wherein each first configuration item includes at least one first control operable by a second user;

[0048] Based on the operation of the second user on at least one of the plurality of first controls corresponding to the plurality of first configuration items, configuration information related to each stage of the agent and switching of the agent between the multiple stages is configured.

[0049] For example, the first user is a user interacting with the agent, which can be referred to as an agent user or an interactor. The triggering operation of the first user can be the first user inputting interaction content, or the first user performing a specific interface operation, etc. The present disclosure does not specifically limit the form of the triggering operation.

[0050] For example, the second user is a user who builds or configures the agent, which can be referred to as an agent creator.

[0051] The multiple stages of the agent can be any stage, for example, for an agent with a life cycle, the stages of the agent can be key stages in the entire process of the life cycle. The definition of the stage in the present disclosure is not specifically limited.

[0052] In the above embodiment, in the case that the first user interacts with the agent, the agent can be switched to the stage corresponding to the trigger operation according to the trigger operation of the first user and the configuration information related to each stage of the agent and switching between the multiple stages of the agent, so that the first user (i.e., the agent user) can interact with the multiple stages of the agent, so that the role of the agent is more full and vivid, the immersion of the user interacting with the agent is improved, the interaction experience with the agent is improved, and the user stickiness is enhanced. In addition, by visualizing the configuration process of each stage of the agent and the switching between the multiple stages, it is convenient for the second user (i.e., the agent creator) to create a multi-stage agent, and the user experience of the agent creator is improved.

[0053] The interaction method in other embodiments of the present disclosure will be described in detail below in combination with FIGS. 2-3F.

[0054] FIG. 2 is a flow diagram illustrating an interaction method according to some embodiments of the present disclosure. FIG. 2 differs from FIG. 1 in that steps S121 and S122 in FIG. 2 are an implementation of step S120 in FIG. 1. Only the differences between FIG. 2 and FIG. 1 will be described below, and the same parts will not be described again.

[0055] As shown in FIG. 2, in step S121, according to the trigger operation of the first user, the configuration information related to the stage corresponding to the trigger operation is determined from the configuration information related to each stage of the agent and the switching between the multiple stages of the agent.

[0056] In step S122, the agent is switched to the stage corresponding to the trigger operation according to the configuration information related to the stage corresponding to the trigger operation.

[0057] In the above embodiment, different trigger operations of the first user correspond to stages of the agent, so that the configuration information related to the stage corresponding to the trigger operation of the first user can be obtained to switch the agent to the stage corresponding to the trigger operation, the accurate switching of the agent stage can be realized, the immersion of the user interacting with the agent is improved, and the interaction needs of the first user interacting with the agent are met.

[0058] FIG. 3A is a flow diagram illustrating a configuration process of the configuration information according to some embodiments of the present disclosure.

[0059] As shown in FIG. 3A, the configuration process of the configuration information includes: step S10, in response to the agent being configured to have the plurality of stages, displaying a plurality of first configuration items in an editable state at a user interface, wherein each first configuration item includes at least one first control operable by a second user; and step S20, based on the operation of at least one of a plurality of first controls corresponding to the plurality of first configuration items by the second user, configuring configuration information related to each stage of the agent and switching between the plurality of stages of the agent.

[0060] FIG. 3B is a flow diagram illustrating a configuration process of the configuration information according to some embodiments of the present disclosure. FIG. 3B differs from FIG. 3A in that steps S21 and S22 in FIG. 3B are an implementation of step S20 in FIG. 3A. Only the differences between FIG. 3B and FIG. 3A will be described below, and the same parts will not be described again.

[0061] In some embodiments, the plurality of first controls includes a control for configuring each stage and a control for configuring switching between the plurality of stages. As shown in FIG. 3B, in step S21, based on the operation of the control for configuring each stage by the second user, configuration information related to each stage of the agent is configured. In step S22, based on the operation of the control for configuring switching between the plurality of stages by the second user, configuration information related to switching between the plurality of stages of the agent is configured.

[0062] In the above embodiments, the visual configuration is realized through the controls, and the configuration of each stage and the configuration of multi-stage switching are divided into two parts, simplifying the configuration process and further improving the experience of the creator user (agent creator).

[0063] FIG. 3C is a flow diagram illustrating a configuration process of the configuration information according to some embodiments of the present disclosure. FIG. 3C differs from FIG. 3B in that steps S211 and S212 in FIG. 3C are an implementation of step S21 in FIG. 3B. Only the differences between FIG. 3C and FIG. 3B will be described below, and the same parts will not be described again.

[0064] In some embodiments, the control for configuring each stage includes a control for configuring a role attribute of each stage. As shown in FIG. 3C, in step S211, in response to the operation of the control for configuring the role attribute of each stage by the second user, an attribute configuration area of at least one stage of the plurality of stages is displayed at the user interface. In step S212, based on the operation of the attribute configuration area of any stage by the second user, an attribute value of a role attribute of the agent in the any stage is configured as the configuration information related to each stage of the agent.

[0065] In the above embodiment, the display of the attribute configuration area in response to the second user operation of configuring the control of the role attribute of each stage can simplify the configuration interface and improve the user experience of the creator user.

[0066] FIG. 3D is a flow diagram illustrating a configuration process of the configuration information according to some embodiments of the present disclosure. FIG. 3D is different from FIG. 3C in that steps S2121 and S2122 in FIG. 3D are an implementation of step S212 in FIG. 3C. In the following, only the difference between FIG. 3D and FIG. 3C will be described, and the same will not be described again.

[0067] As shown in FIG. 3D, in step S2121, at least one attribute value template is displayed in the attribute configuration area of the any stage in response to the second user performing a first operation in the attribute configuration area of the any stage, wherein the at least one attribute value template is a template including the attribute value of the role attribute of the any stage. In step S2122, the attribute value of the role attribute of the agent in the any stage is configured based on the operation of the second user on the at least one attribute value template.

[0068] The second user can perform operations such as adding, modifying, deleting, etc. on the at least one attribute value template to update the content of the attribute value template to meet the creation needs of the second user.

[0069] In the above embodiment, by providing the attribute value template, the user experience of the creator user in the process of configuring the agent can be further improved.

[0070] In some embodiments, the plurality of controls further includes a control for configuring whether the role attributes of the plurality of stages are different. Displaying at least one attribute value template in the attribute configuration area of the any stage in response to the second user performing a first operation in the attribute configuration area of the any stage includes: in response to the second user performing a specified operation on the control for configuring whether the role attributes of the plurality of stages are different and performing a first operation in the attribute configuration area of the any stage, displaying at least one attribute value template that is different from other stages except the any stage in the attribute configuration area of the any stage. For example, different role background pictures and voices are matched for different stages of the agent to help the role of the agent show the growth of multiple stages.

[0071] In the above embodiment, the creator user can configure different attribute value templates for different stages according to the needs of the creator user to provide differentiated stage configuration, further improve the experience of the creator user, and at the same time provide the user user with differentiated stages of the agent, further improve the experience of the user user.

[0072] FIG. 3E is a flow diagram illustrating a configuration process of the configuration information according to some embodiments of the present disclosure. FIG. 3E is different from FIG. 3B in that steps S221 and S223 in FIG. 3E are an implementation of step S22 in FIG. 3B. In the following, only the differences between FIG. 3E and FIG. 3B will be described, and the same parts will not be described again.

[0073] In some embodiments, the control for configuring switching between the plurality of stages comprises a control for configuring switching information and a control for copying the switching information. As shown in FIG. 3E, in step S221, based on the operation of the second user on the control for configuring the switching information, the switching information for implementing the switching between the plurality of stages of the agent is configured as the configuration information for the switching between the plurality of stages of the agent. In step S222, in response to the operation of the second user on the control for copying the switching information, a copy of the control for configuring the switching information is displayed on the user interface as the control for configuring switching between the plurality of stages. In step S223, based on the operation of the second user on the copy of the control for configuring the switching information, the switching information is configured as the configuration information for the switching between the plurality of stages of the agent.

[0074] In the above embodiments, by the cooperation between the control for configuring the switching information and the control for copying the switching information, the user interface can be simplified, the structure of the user interface is more clear, and the experience of the creator user is improved.

[0075] In some embodiments, the user interface further comprises a second configuration item always in an editable state, and the second configuration item comprises a second control operable by the second user. In response to the agent being configured to have a plurality of stages, displaying a plurality of first configuration items in the editable state on the user interface comprises: in response to the second user performing a first operation on the second control, configuring the agent to have a plurality of stages, and switching the plurality of first configuration items in the user interface from the editable state to the non-editable state.

[0076] In this embodiment, the second control is used to configure whether the agent has a plurality of stages, and the editing state of the first configuration items in the user interface is switched, which simplifies the operation of the creator user and further improves the experience of the creator user.

[0077] In some embodiments, in response to the second user performing a second operation on the second control, the agent is configured to not have a plurality of stages, and the plurality of first configuration items in the editable state in the user interface are switched to the non-editable state.

[0078] FIG. 3F is a flow diagram illustrating a configuration process of the configuration information according to some embodiments of the present disclosure. FIG. 3F is different from FIG. 3C in that steps S2121' and S2122' in FIG. 3F are an implementation of step S212 in FIG. 3C. Only the differences between FIG. 3F and FIG. 3C will be described below, and the same parts will not be described again.

[0079] As shown in FIG. 3F, in step S2121', in response to the second user performing a second operation on the attribute configuration area of each stage, one or more input areas that are editable are displayed on the attribute configuration area. In step S2122', based on the attribute values of the at least one role attribute that are customized by the second user inputting on the one or more input areas, the attribute values of the at least one role attribute of the agent in each stage are configured.

[0080] In some embodiments, the plurality of first controls further includes a control of a first expansion interface element, the control of the first expansion interface element being a parent control of the control of configuring switching between stages. In response to the agent being configured to have a plurality of stages, displaying a plurality of first configuration items in an editable state on a user interface includes, in response to the agent being configured to have a plurality of stages and the second user performing an expansion operation on the control of the first expansion interface element, displaying the control of configuring switching between stages in the editable state on the user interface.

[0081] In some embodiments, the control of configuring switching between stages further includes a control of a second expansion interface element, the control of the second expansion interface element being a parent control of the control of copying switching information and the copy of the control of configuring switching information. The interaction method further includes, in response to the user performing an expansion operation on the control of the second expansion interface element, displaying the control of copying switching information and the copy of the control of configuring switching information on the user interface.

[0082] In some embodiments, the plurality of first controls further includes a sliding control, and the control of configuring switching between stages is bound to the sliding control. The interaction method further includes, in response to at least a part of the control of configuring switching between stages exceeding a visible area, switching the sliding control from an unslidable state to a slidable state; and based on a sliding operation performed by the second user on the sliding control in the slidable state, displaying at least a part of the control of configuring switching between stages that exceeds the visible area on the user interface.

[0083] In some embodiments, the switching information includes a completion target of each stage, a stage jumped to in a case where the completion target is achieved, and content required to be executed by the agent in a case where the completion target is achieved; and / or the plurality of first controls further include a control configuring a stage where the agent first interacts; and / or the plurality of first configuration items include first guide information for guiding the second user to operate at least one of the plurality of first controls; and / or the second configuration item includes second guide information for guiding the second user to operate the second control.

[0084] The control in any of the above embodiments can be set according to a business scenario, for example, can be a text box, a drop-down button, a check box, etc., and the specific form of the control is not limited in the present disclosure.

[0085] The configuration process of the configuration information involved in the interaction method in some embodiments of the present disclosure will be described in detail below in combination with FIG. 4.

[0086] FIG. 4 is a schematic diagram of a user interface for configuring the configuration information according to some embodiments of the present disclosure.

[0087] As shown in FIG. 4, in the process of configuring the agent by the second user, the presented user interface includes a plurality of controls and guide information of at least one control.

[0088] In some embodiments, referring to FIG. 4, the guide information includes “whether it is a multi-stage role”, and the control corresponding to “whether it is a multi-stage role” is a check box. The second user can configure whether the agent is a multi-stage role, i.e., whether the agent has multiple stages, by performing a check operation or an uncheck (revoke) operation.

[0089] In some embodiments, referring to FIG. 4, the guide information further includes “whether the stage content is intercommunicated”, and the control corresponding to “whether the stage content is intercommunicated” is a check box. The second user can configure whether the multiple stages of the agent are intercommunicated, i.e., whether the role attributes of different stages of the agent are different, by performing a check operation or an uncheck operation.

[0090] In some embodiments, referring to FIG. 4, the guide information further includes “the stage where the first chat is located”, and the control corresponding to “the stage where the first chat is located” is a text box. The second user can configure the stage where the agent first chats with the first user by inputting the name of the stage in the text box.

[0091] In some embodiments, referring to FIG. 4, the guidance information further comprises information for guiding the second user to configure the switching information, such as comprising “finish goal”, “role needs to perform content” and “and jump to stage”. The “finish goal”, “role needs to perform content” and “and jump to stage” correspond to text boxes, and the second user performs an input operation to input text in the text boxes to configure the switching information.

[0092] In some embodiments, referring to FIG. 4, the controls in the user interface can comprise an add button for copying the guidance information “finish goal”, “role needs to perform content” and “and jump to stage” and the corresponding controls thereof, so that the second user can continue to configure the switching information.

[0093] In some embodiments, referring to FIG. 4, the controls in the user interface can comprise a slider control, and the second user can operate the slider control to view the visual area.

[0094] In some embodiments, referring to FIG. 4, a drop-down button can be configured near the guidance information “finish goal”, and the drop-down button can expand the controls for configuring the switching information and the guidance information.

[0095] In some embodiments, referring to FIG. 4, a drop-down button can be configured near the guidance information “stage content intercommunication”, and the drop-down button can expand the sub-controls of the guidance information “stage content intercommunication” and the guidance information of the sub-controls.

[0096] In some embodiments, the display form of the configuration of each stage of the intelligent agent can refer to FIG. 4. As shown in FIG. 4, the guidance information “stage 1” is the stage name configured by the second user. The configuration area below the guidance information “stage 1” is the configuration area of the role attributes. The attributes of the role, for example, include but are not limited to the role name, gender, occupation, character tag, personality characteristics, hobbies, appearance description, language style, language style reference, character relationship, past experience, relationship between us, current state, and the like shown in FIG. 4.

[0097] The language style, for example, is charming, gentle or cold. Taking the language style as charming as an example, the language style reference, for example, is a charming language word example. The character relationship is the relationship between the corresponding role of the intelligent agent and other NPC (Non-Player Character). The relationship between us is the relationship between the role played by the user and the corresponding role of the intelligent agent. The current state, for example, is the problem currently faced by the intelligent agent, which can drive the user interacting with the intelligent agent to participate.

[0098] As shown in FIG. 4, the guide information "click the left text to use the template, and click the blank to use the blank page" is used to guide the user to use the attribute value template configured by the second user or to input the attribute value of the role attribute by the second user.

[0099] In some embodiments, referring to FIG. 4, the adding button below the configuration area of the role attribute is used to add more configuration areas of the role attribute of the stage.

[0100] Taking FIG. 4 as an example, the operation process of the second user is as follows.

[0101] The second user checks or unchecks the check box based on the guide information "whether it is a multi-stage role" by clicking the check box in the user interface as shown in FIG. 4, so as to select whether the role of the agent itself has multiple stages.

[0102] In the case that the second user checks the check box corresponding to the guide information "whether it is a multi-stage role", the triangular drop-down button next to the guide information "whether the stage content is interlinked" is unlocked and the check box (or check box) corresponding to the guide information "whether the stage content is interlinked" is unlocked. The adding button at the bottom of the user interface in FIG. 4 is in a usable state.

[0103] The second user checks or unchecks the check box corresponding to the guide information "whether the stage content is interlinked" in FIG. 4, so as to configure whether the multiple stages of the agent are interlinked, that is, whether the role attributes of the multiple stages are different.

[0104] The second user can click the drop-down button next to the guide information "completion goal" in FIG. 4 to display more content.

[0105] The second user can fill in the text box corresponding to the guide information "first chat stage" in FIG. 4 with the stage of the role of the agent when the user first opens the chat.

[0106] After the second user fills in the completion goal of the agent, the second user can also configure the content to be executed by the role after the completion goal of the agent (which can be empty) and the stage to be jumped after the role executes the content. These configuration operations can be performed by inputting the content of the text box in the configuration switching information area of FIG. 4.

[0107] The second user can also add more stage switching configurations by clicking the adding button near the guide information "completion goal" in FIG. 4. When more stage configurations are added, a slider control can be displayed on the user interface to allow the second user to browse more content.

[0108] The second user can also click an add button at the bottom of the user interface in FIG. 4 to add more stage role attribute configurations.

[0109] The interface layout mentioned in FIG. 4 can be adjusted according to actual application, which is not specifically limited in the disclosure.

[0110] The above is the interaction method provided by some embodiments of the disclosure. The interaction device in some embodiments of the disclosure will be described below in combination with FIG. 5.

[0111] FIG. 5 is a block diagram of an interaction device for an intelligent agent according to some embodiments of the disclosure.

[0112] As shown in FIG. 5, the interaction device 5 includes a receiving module 51 and a switching module 52.

[0113] The receiving module 51 is configured to receive a triggering operation of a first user. The switching module 52 is configured to switch the intelligent agent to a stage corresponding to the triggering operation according to the triggering operation of the first user and configuration information related to switching of the intelligent agent between stages, so that the intelligent agent interacts with the first user in the stage corresponding to the triggering operation. The configuration information is configured in the following manner: in response to the intelligent agent being configured to have multiple stages, displaying multiple first configuration items in an editable state on a user interface, wherein each first configuration item includes at least one first control operable by a second user; and based on an operation of the second user on at least one of multiple first controls corresponding to the multiple first configuration items, configuring the configuration information related to switching of the intelligent agent between stages.

[0114] The interaction device 5 can be used to perform steps S110-S120 of FIG. 1. The interaction device 5 can also be used to perform steps of other embodiments related to steps S110-S120 of FIG. 1.

[0115] It should be noted that each of the above modules is only a logical module according to the specific function implemented by it, and is not used to limit the specific implementation manner, for example, it can be implemented in software, hardware or a combination of software and hardware. In actual implementation, each of the above modules can be implemented as an independent physical entity, or can also be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.). In addition, each of the above modules is indicated by a dashed line in the drawing to indicate that these modules can not actually exist, and the operations / functions implemented by them can be implemented by the processing circuit itself.

[0116] The above is the content publishing device in some embodiments of the disclosure.

[0117] FIG. 6 is a block diagram illustrating an interaction apparatus for an intelligent agent according to some embodiments of the present disclosure.

[0118] As shown in FIG. 6, the interaction apparatus for an intelligent agent 6 includes a memory 61 and a processor 62 coupled to the memory 61, the processor 62 being configured to perform the interaction method according to any of the preceding embodiments based on instructions stored in the memory 61.

[0119] The memory 61 is configured to store one or more computer-readable instructions. The memory 61 can include any combination of various types of computer-readable storage media, such as volatile memory and / or non-volatile memory, including but not limited to random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read-only memory (ROM), flash memory. The memory 61 may, for example, store an operating system, application programs, a boot loader, a database, and other programs, and can also store various application programs and various data.

[0120] The processor 62 is configured to run the computer-readable instructions to implement the content publishing method according to any of the preceding embodiments. For specific implementation of each step of the content publishing method, please refer to the above embodiments, and the repeated parts will not be described here.

[0121] The processor 62 and the memory 61 can communicate with each other directly or indirectly. For example, the processor 62 and the memory 61 can communicate through a network. The network can include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. The processor 62 and the memory 61 can also communicate with each other through a system bus, and the present disclosure does not limit the communication between the processor 62 and the memory 61.

[0122] It should be noted that the components of the interaction apparatus for an intelligent agent 6 shown in FIG. 6 are only exemplary and not limiting, and the interaction apparatus for an intelligent agent 6 can also have other components according to actual application needs. The processor 62 can be used in other components of the interaction apparatus for an intelligent agent 6 to perform desired functions.

[0123] The interaction apparatus for an intelligent agent can be implemented by software, firmware, and / or hardware, and can be integrated into an electronic device installed with a related application program.

[0124] FIG. 7 is a block diagram illustrating an electronic device according to some embodiments of the present disclosure.

[0125] The electronic device 7 shown in FIG. 7 can be a computer system with a special hardware structure, which can perform corresponding functions when installed with a related application program.

[0126] The electronic device includes, but is not limited to, a mobile terminal such as a smartphone, a notebook computer, a Personal Digital Assistant (PDA), a Tablet Personal Computer (Tablet PC), a PMP (Portable Multimedia Player), a car terminal (e.g., a car navigation terminal), a wearable device, and the like, and a stationary terminal such as a digital television, a desktop computer, and the like.

[0127] As shown in FIG. 7, a central processing unit (CPU) 71 performs various processes according to a program stored in a read only memory (ROM) 72 or a program loaded from a storage section 78 into a random access memory (RAM) 73. In the RAM 73, data required when the CPU 71 performs various processes and the like is stored as necessary. The central processing unit is merely exemplary and can be other types of processors such as the various processors described above. The ROM 72, the RAM 73, and the storage section 78 can be various forms of computer readable storage media. Note that although the ROM 72, the RAM 73, and the storage section 78 are shown separately in FIG. 7, one or more of them can be combined or located in the same or different memory or storage module.

[0128] The CPU 71, the ROM 72, and the RAM 73 are connected to each other via a bus 74. An input / output interface 75 is also connected to the bus 74.

[0129] The following components are connected to the input / output interface 75: an input section 76 including a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, and the like; an output section 77 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, a vibrator, and the like; a storage section 78 including a hard disk, a magnetic tape, and the like; and a communication section 79 including a network interface card such as a LAN card, a modem, and the like. The communication section 79 allows communication processing to be performed via a network such as the Internet. It is readily understood that although the various devices or modules in the electronic device 7 are shown in FIG. 7 as communicating via the bus 74, they can also communicate through a network or other means, where the network can include a wireless network, a wired network, and / or any combination of a wireless network and a wired network.

[0130] A drive 710 is also connected to the input / output interface 75 as necessary. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 710 as necessary, so that a computer program read therefrom is installed in the storage section 78 as necessary.

[0131] In a case where the above series of processes are realized by software, the program constituting the software can be installed from a network such as the Internet or a storage medium 711 such as a detachable medium.

[0132] According to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product that, when run on a computer, causes the computer to implement the interaction method described in any of the preceding embodiments. The computer program product includes a computer program carried on a computer-readable medium, which contains program code for executing the method shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from the network by the communication section 79, or installed from the storage section 78, or installed from the ROM 72. When the computer program is executed by the CPU 71, the interaction method of the embodiments of the present disclosure is executed.

[0133] Note that, in the context of the present disclosure, the computer-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.

[0134] The computer-readable medium can be a computer-readable storage medium, or a computer-readable signal medium, or any combination of the two.

[0135] The computer-readable storage medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium stores a computer program that, when executed by a processor, implements the interaction method described in any of the preceding embodiments.

[0136] The computer readable medium can include a computer-readable signal medium and / or computer-readable storage medium. A computer readable signal medium can include a propagated data signal with computer executable instructions. A computer readable storage medium can include any non-transitory medium that can store computer executable instructions such as volatile memory or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, or any suitable combination of the preceding. Computer readable program instructions, when loaded into the computer, cause the computer to perform one or more of the methods as described herein. Computer readable program instructions for carrying out operations of the present disclosure can be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object-oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). The computer readable program instructions can also be programmed into a computer readable storage medium to result in a computer program product.

[0137] The computer readable medium can include a computer-readable signal medium and / or computer-readable storage medium. A computer readable signal medium can include a propagated data signal with computer executable instructions. A computer readable storage medium can include any non-transitory medium that can store computer executable instructions such as volatile memory or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, or any suitable combination of the preceding. Computer readable program instructions, when loaded into the computer, cause the computer to perform one or more of the methods as described herein. Computer readable program instructions for carrying out operations of the present disclosure can be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object-oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). The computer readable program instructions can also be programmed into a computer readable storage medium to result in a computer program product.

[0138] In some embodiments, a computer program product is provided which, when running on a computer, causes the computer to implement the interaction method of any of the above embodiments.

[0139] In some embodiments, a computer program is provided which comprises instructions which, when executed on a processor, cause the processor to carry out the interaction method of any of the above embodiments. The instructions can for example be encoded in a computer readable medium. The computer readable medium may, for example, comprise a non-transitory computer readable storage medium.

[0140] In an embodiment of the disclosure, computer program code to carry out operations of the present disclosure described above can written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0141] The computer program product of the first aspect can include one or more non-transitory computer-readable media storing instructions that, when executed by one or more processors of a computing device, cause the one or more processors to perform the operations of the method of the first aspect. The one or more non-transitory computer-readable media can include one or more of the following: a magnetic storage device, an optical storage device, a solid-state storage device, a hard disk drive, a flash drive, a RAM, a ROM, a database, and a cache. The one or more processors can include one or more of the following: a central processing unit (CPU), a microprocessor, a microcontroller, a microcomputer, a microprocessor-based or microcontroller-based system, a programmable logic device (PLD), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a system-on-chip (SoC), and a complex programmable logic device (CPLD).

[0142] The functions described above can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, non-limiting examples of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SOCs), complex programmable logic devices (CPLDs), etc.

[0143] While certain aspects of the present disclosure have been described with reference to particular examples, those having ordinary skill in the art will understand that variations can be made in the function and implementation of the examples described and that such variations are intended to be included within the scope of the present disclosure. The above-described implementations are merely meant to be illustrative and not limiting. The scope of the present disclosure is defined by the appended claims.

Claims

1. An interaction method for an agent, comprising: receiving a triggering operation of a first user; switching the agent to a stage corresponding to the triggering operation according to the triggering operation of the first user and configuration information related to each stage of the agent and switching of the agent between the stages, so that the agent interacts with the first user in the stage corresponding to the triggering operation, wherein the configuration information is configured by: in response to the agent being configured to have the stages, displaying a plurality of first configuration items in an editable state at a user interface, wherein each first configuration item comprises at least one first control operable by a second user; configuring the configuration information related to each stage of the agent and switching of the agent between the stages based on an operation of the second user on at least one of the plurality of first controls corresponding to the plurality of first configuration items.

2. The interaction method of claim 1, wherein, switching the agent to a stage corresponding to the triggering operation according to the triggering operation of the first user and configuration information related to each stage of the agent and switching of the agent between the stages comprises: determining configuration information related to the stage corresponding to the triggering operation from the configuration information related to each stage of the agent and switching of the agent between the stages according to the triggering operation of the first user; switching the agent to the stage corresponding to the triggering operation according to the configuration information related to the stage corresponding to the triggering operation. 3.The interaction method of claim 1, wherein: the plurality of first controls comprises a control for configuring each stage and a control for configuring switching between the stages; the configuring the configuration information related to each stage of the agent and switching of the agent between the stages based on the operation of the second user on at least one of the plurality of first controls corresponding to the plurality of first configuration items comprises: configuring the configuration information related to each stage of the agent based on the operation of the second user on the control for configuring each stage; configuring the configuration information related to switching of the agent between the stages based on the operation of the second user on the control for configuring switching between the stages. 4.The interaction method of claim 3, wherein: the control for configuring each stage comprises a control for configuring a role attribute of each stage; the configuring the configuration information related to each stage of the agent based on the operation of the second user on the control for configuring each stage comprises: in response to the second user operating the control for configuring the role attribute of each stage, displaying an attribute configuration area of at least one stage of the stages at the user interface; configuring an attribute value of the role attribute of the agent in the at least one stage as the configuration information related to each stage of the agent based on the operation of the second user on the attribute configuration area of the at least one stage. the configuring the attribute value of the role attribute of the agent in the at least one stage based on the operation of the second user on the attribute configuration area of the at least one stage comprises:

5. The interaction method of claim 4, wherein, ​ displaying at least one attribute value template in the attribute configuration area of the any stage in response to the second user performing a first operation in the attribute configuration area of the any stage, wherein the at least one attribute value template is a template including attribute values of role attributes of the any stage; configuring attribute values of role attributes of the agent in the any stage based on operations of the second user on the at least one attribute value template.

6. The interaction method of claim 5, wherein: the plurality of controls further include a control configured to configure whether role attributes of a plurality of stages differ; displaying at least one attribute value template in the attribute configuration area of the any stage in response to the second user performing a first operation in the attribute configuration area of the any stage includes: displaying at least one attribute value template in the attribute configuration area of the any stage in response to the second user performing a specified operation on the control configured to configure whether role attributes of a plurality of stages differ and performing a first operation in the attribute configuration area of the any stage, wherein the at least one attribute value template is a template including attribute values of role attributes of stages other than the any stage.

7. The interaction method of any one of claims 3-6, wherein: the control configured to configure switching between a plurality of stages includes a control configured to configure switching information and a control configured to copy switching information; configuring configuration information for switching of the agent between the plurality of stages based on operations of the second user on the control configured to configure switching between a plurality of stages includes: configuring switching information for implementing switching of the agent between the plurality of stages as the configuration information for switching of the agent between the plurality of stages based on operations of the second user on the control configured to configure switching information; displaying a copy of the control configured to configure switching information as the control configured to configure switching between a plurality of stages in the user interface in response to the second user operating the control configured to copy switching information; configuring the switching information as the configuration information for switching of the agent between the plurality of stages based on operations of the second user on the copy of the control configured to configure switching information.

8. The interaction method of any one of claims 1-6, wherein: the user interface further includes a second configuration item that is always in an editable state, wherein the second configuration item includes a second control operable by the second user; displaying a plurality of first configuration items in an editable state in the user interface in response to the agent being configured to have a plurality of stages includes: configuring the agent to have a plurality of stages and switching the plurality of first configuration items in the user interface from the editable state to an uneditable state in response to the second user performing a first operation on the second control.

9. The interaction method of claim 8, further comprising: configuring the agent to not have a plurality of stages and switching the plurality of first configuration items in the user interface from the uneditable state to the editable state in response to the second user performing a second operation on the second control.

10. The interaction method according to any of claims 4-6, wherein, configuring the attribute value of the role attribute of the agent at the any stage based on the operation of the second user on the attribute configuration area of the any stage comprises: in response to the second user performing a second operation on the attribute configuration area of the each stage, displaying one or more input areas that are editable on the attribute configuration area; configuring the attribute value of the at least one role attribute of the agent at the each stage based on the attribute value of the at least one role attribute inputted by the second user in the one or more input areas.

11. The interaction method of any one of claims 3-6, wherein: the plurality of first controls further comprises a control of a first expanded interface element, the control of the first expanded interface element being a parent control of the control that switches between the plurality of stages of configuration; in response to the agent being configured to have a plurality of stages, displaying a plurality of first configuration items in an editable state on the user interface comprises: in response to the agent being configured to have a plurality of stages and the second user performing an expansion operation on the control of the first expanded interface element, displaying the control that switches between the plurality of stages of configuration in the editable state on the user interface.

12. The interaction method of claim 7, wherein: the control that switches between the plurality of stages of configuration further comprises a control of a second expanded interface element, the control of the second expanded interface element being a parent control of the control that switches information and the copy of the control that configures information; the interaction method further comprises: in response to the user performing an expansion operation on the control of the second expanded interface element, displaying the control that switches information and the copy of the control that configures information on the user interface.

13. The interaction method of claim 7, wherein: the plurality of first controls further comprises a sliding control, the control that switches between the plurality of stages of configuration being bound to the sliding control; the interaction method further comprises: in response to at least a portion of the control that switches between the plurality of stages of configuration exceeding a visible area, switching the sliding control from an unslidable state to a slidable state; in response to a sliding operation performed by the second user on the sliding control in the slidable state, displaying at least a portion of the control that switches between the plurality of stages of configuration that exceeds the visible area on the user interface.

14. The interaction method of claim 8, wherein: the switching information comprises a completion target of each stage, a stage to which the agent jumps in the case where the completion target is achieved, and content required to be performed by the agent in the case where the completion target is achieved; and / or the plurality of first controls further comprises a control that configures a stage in which the agent first interacts; and / or the plurality of first configuration items comprises first guide information for guiding the second user to operate at least one control in the plurality of first controls; and / or the second configuration item comprises second guide information for guiding the second user to operate the second control.

15. An interaction apparatus for an agent, comprising: ​ receive a trigger operation of a first user; switch the agent to a stage corresponding to the trigger operation according to the trigger operation of the first user and configuration information related to each stage of the agent and switching of the agent between the stages, so that the agent interacts with the first user in the stage corresponding to the trigger operation, wherein the configuration information is configured by: in response to the agent being configured to have a plurality of stages, displaying a plurality of first configuration items in an editable state at a user interface, wherein each first configuration item includes at least one first control operable by a second user; based on an operation of the second user on at least one of a plurality of first controls corresponding to the plurality of first configuration items, configuring configuration information related to each stage of the agent and switching of the agent between the stages.

16. An interaction apparatus for an agent, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute an interaction method as claimed in any one of claims 1 to 14 based on instructions stored in the memory.

17. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the interaction method of any one of claims 1 to 14.

18. A computer program product causing a computer to implement the interaction method of any one of claims 1 to 14 when the computer program product is run on the computer.

Citation Information

Patent Citations

  • Reinforced learning method and device, electronic equipment and storage medium

    CN112418435A

  • Interaction method and device, computer readable storage medium and computer program product

    CN117908681A

  • Interactive agents for user engagement in an interactive environment

    US10389607B1

  • Event processing systems and methods

    US20160026495A1

  • Method and system for an intelligent artificial agent

    US20190303776A1