Method and apparatus for creating application, device, and storage medium
By acquiring and constructing interactive control information, a target processing entity is created to manage the interaction process of multiple interactive objects, solving the problem of limited interactive scenarios in existing technologies and achieving efficient application development and interactive process management.
Patent Information
- Application Number
- PCT/CN2025/108357
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-16
- Filing Date
- 2025-07-14
- Publication Date
- 2026-01-22
AI Technical Summary
In existing technologies, user-created applications typically only support interaction with a single intelligent agent or bot, resulting in limited interaction scenarios, an inability to effectively manage the interaction process of multiple interactive objects, and increased application development costs.
By acquiring application configuration information, including interactive control information, a target processing entity is constructed to manage multiple interactive objects in the target interactive scenario. Workflows are used to manage the interactive process, and the target control entity is supported in calling workflows to manage the interactive process in the target interactive scenario.
It improves the management efficiency of the interaction process, reduces application development costs, and enhances the reliability and scheduling efficiency of the application's interaction process control.
Smart Images

Figure CN2025108357_22012026_PF_FP_ABST
Abstract
Description
Method, apparatus, device and storage medium for creating application
[0001] The present application claims priority to the Chinese patent application No. 202410955318.9, filed on July 16, 2024, entitled “Method, apparatus, device and storage medium for creating application”, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] Example embodiments of the present disclosure generally relate to the field of computer, and in particular, to a method, apparatus, device and computer readable storage medium for creating application. BACKGROUND
[0003] With the development of computer technology, people can create and publish various types of applications through some platforms. For example, with the development of machine learning technology, people can quickly create applications by configuring parameters of the applications, such as models used by the applications, available plugins, etc. SUMMARY
[0004] In a first aspect of the present disclosure, a method for creating an application is provided. The method comprises: obtaining application configuration information, the application configuration information comprising interaction control information about a target interaction scenario, wherein the interaction control information is used to construct a target processing entity corresponding to the target interaction scenario, so that the target processing entity manages an interaction process of a group of interaction objects participating in the target interaction scenario based on the interaction control information, and the interaction control information indicates at least one workflow associated with the target processing entity; and creating a target application based on the application configuration information.
[0005] In a second aspect of the present disclosure, an apparatus for creating an application is provided. The apparatus comprises: an obtaining module configured to obtain application configuration information, the application configuration information comprising interaction control information about a target interaction scenario, wherein the interaction control information is used to construct a target processing entity corresponding to the target interaction scenario, so that the target processing entity manages an interaction process of a group of interaction objects participating in the target interaction scenario based on the interaction control information, and the interaction control information indicates at least one workflow associated with the target processing entity; and a creating module configured to create a target application based on the application configuration information.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. The instructions, when executed by the at least one processor, cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon a computer program, the computer program being executable by a processor to implement the method of the first aspect.
[0008] In a fifth aspect of the present disclosure, a computer program product is provided. The computer program product includes computer executable instructions, wherein the computer executable instructions implement the method of the first aspect when executed by a processor.
[0009] It should be understood that nothing in the Summary is to be construed as a limitation on the scope of the embodiments of the present disclosure or the present disclosure. Other features of the present disclosure will be apparent from the following description, the drawings, and the claims. BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other features, aspects, and advantages of embodiments of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like reference numerals refer to like elements, wherein:
[0011] FIG. 1 shows a schematic diagram of an example environment in which embodiments according to the present disclosure can be implemented;
[0012] FIG. 2 shows a flowchart of an example process of creating an application according to some embodiments of the present disclosure;
[0013] FIGS. 3A-3B show example interfaces according to some embodiments of the present disclosure;
[0014] FIG. 4 shows a schematic block diagram of an example apparatus for creating an application according to some embodiments of the present disclosure; and
[0015] FIG. 5 shows a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION
[0016] Embodiments of the present disclosure will be described in more detail with reference to the drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein, but rather should be construed to encompass all alternatives and modifications falling within the scope of the present disclosure. It is understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of the present disclosure.
[0017] It should be noted that the headings provided in any section / subsection herein are not limitations. Various embodiments are described throughout this document and any type of embodiment can be included under any section / subsection. Moreover, embodiments described in any section / subsection can be combined with any other embodiments described in the same section / subsection and / or different section / subsection in any manner.
[0018] In the description of embodiments of the disclosure, the term "includes" and its derivatives, such as "including," should be understood in an open-ended way, that is, "including but not limited to." The term "based on" should be understood as "based at least in part on." The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment." The term "some embodiments" should be understood as "at least some embodiments." Other explicit and implicit definitions can also be included below. The terms "first," "second," and the like can refer to different or the same objects. Other explicit and implicit definitions can also be included below.
[0019] Data of users, acquisition and / or use of data, etc. can be involved in embodiments of the disclosure. These aspects all comply with corresponding laws and regulations and relevant provisions. In embodiments of the disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are performed on the premise that the user is aware of and confirms. Accordingly, when implementing embodiments of the disclosure, the type of data or information that can be involved, the use range, the use scenario, etc. should be notified to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations. The specific notification and / or authorization manner can vary according to the actual situation and application scenario, and the scope of the disclosure is not limited in this aspect.
[0020] In the specification and embodiments of the present disclosure, if personal information processing is involved, it will be processed on the premise of legality (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and only within the prescribed or agreed range. Users refuse to process personal information other than the necessary information required for basic functions, which will not affect the user's use of basic functions.
[0021] Traditionally, user support configurations used by applications, such as models, plug-ins, etc. are used to quickly create applications, such as bots. However, the applications created by the user usually only support the user to interact with a single agent or bot. This makes the interactive scenarios that can be provided by the applications created by the user limited.
[0022] Embodiments of the present disclosure propose a scheme for creating an application. According to the scheme, application configuration information can be acquired, the application configuration information including interaction control information about a target interaction scenario, wherein the interaction control information is used to construct a target processing entity corresponding to the target interaction scenario, so that the target processing entity manages an interaction process of a group of interaction objects participating in the target interaction scenario based on the interaction control information, and the interaction control information indicates at least one workflow associated with the target processing entity. Further, the target application can be created based on the application configuration information.
[0023] In this way, embodiments of the present disclosure can support the target control entity to manage the interaction process in the target interaction scenario by invoking the workflow, thereby improving the management efficiency of the interaction process and reducing the development cost of the application.
[0024] Various example implementations of the scheme are described in further detail below in conjunction with the accompanying drawings.
[0025] Example environment
[0026] FIG. 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG. 1, the example environment 100 can include an electronic device 110.
[0027] In the example environment 100, the electronic device 110 can run an application 120 that supports interface interaction. The application 120 can be any suitable type of application for interface interaction, examples of which can include but are not limited to a development application or other suitable application that supports development of an application. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0028] In the environment 100 of FIG. 1, if the application 120 is in an active state, the electronic device 110 can present an interface 150 for supporting creation of an application through the application 120.
[0029] In some embodiments, the electronic device 110 communicates with the server 130 to enable provisioning of services of the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a tablet computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) terminal, a personal navigation device, a Personal Digital Assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including an accessory or peripheral device for the foregoing, or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface to a user (such as “wearable” circuitry, etc.).
[0030] The server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and basic cloud computing services such as big data and artificial intelligence platforms. The server 130 may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 can provide background services for the application 120 in the electronic device 110 that supports virtual scenes.
[0031] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established by wired or wireless means. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, and the like, and embodiments of the present disclosure are not limited in this regard. In embodiments of the present disclosure, the server 130 and the electronic device 110 can implement signaling interaction through the communication connection therebetween.
[0032] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, and do not imply any limitation on the scope of the present disclosure.
[0033] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0034] Example application creation process
[0035] FIG. 2 illustrates a flowchart of a process 200 of creating an application, according to some embodiments of the present disclosure. The process 200 can be implemented at the electronic device 110. The process 200 is described below with reference to FIG. 1.
[0036] At block 210, the electronic device 110 obtains application configuration information including interaction control information about a target interaction scenario, where the interaction control information is used to construct a target processing entity corresponding to the target interaction scenario, such that the target processing entity manages an interaction process of a group of interaction objects participating in the target interaction scenario based on the interaction control information, and the interaction control information indicates at least one workflow associated with the target processing entity.
[0037] The specific obtaining process of the application configuration information will be further described below in conjunction with FIGS. 3A-3B. FIGS. 3A-3B illustrate example interfaces, according to some embodiments of the present disclosure.
[0038] As shown in FIG. 3A, the electronic device 110 can present a configuration interface 300A as shown in FIG. 3A based on a user’s creation request. The configuration interface 300A can be used to receive application configuration information to create an application associated with a target interaction scenario.
[0039] As an example, the electronic device 110 can present the configuration interface 300A based on a user inputted application identification or scenario identification (e.g., scenario A) 305. As shown in FIG. 3A, the configuration interface 300A can include an input control 310 for obtaining scenario description information about the target interaction scenario.
[0040] As an example, such scenario description information can include a piece of description text for describing the interaction scenario to be created. Such scenario description information can be public information visible to the interaction objects participating in the interaction scenario. In a case where the interaction objects include preset processing entities (e.g., agents or other applications such as bots), such scenario description information can be provided to the corresponding preset processing entities for controlling the interaction of the preset processing entities in the interaction scenario.
[0041] Taking the debate scenario as shown in FIG. 3A as an example, such scenario description information may, for example, include the topic of the debate, the pro-debate viewpoint, the anti-debate viewpoint, etc.
[0042] In some embodiments, as shown in FIG. 3A, the configuration interface 300A can further include a role configuration control 315 for obtaining a group of preset roles associated with the target interaction scenario.
[0043] As shown in FIG. 3A, the electronic device 110 can support a user to add a plurality of preset roles in an interactive scenario. Taking a debate scenario as an example, the user can add, for example, a positive first debater to a positive third debater and a negative first debater to a negative third debater, etc.
[0044] During the interaction, a group of interactive objects participating in the interactive scenario will be assigned to the corresponding preset roles. As will be introduced below, such interactive objects can include, for example, user objects, or can also include configured processing entities, such as agents or bots, etc.
[0045] As shown in FIG. 3A, the electronic device 110 can provide an adding entry 320 for initiating an adding role request. After receiving a selection of the adding entry 320, the electronic device 110 can obtain role description information about the role to be added.
[0046] In addition, the electronic device 110 can also determine the visibility information of the role. The visibility information can be used to describe whether the role information corresponding to the role is visible to other roles. Taking a debate scenario as an example, the role information of each interactive object is visible to other objects. Thus, the user can set, for example, that the “positive first debater” is visible to all roles.
[0047] As another example, in some interactive scenarios, some interactive objects need to hide their role information at a certain stage. Accordingly, the user can set, for example, the visibility information of the role to be visible only to the moderator (a processing entity for scheduling as will be introduced below).
[0048] Further, the electronic device 110 can also support the user to associate the role to a preset processing entity, or to an empty interactive object. The electronic device 110 can support, for example, the user to select a preset processing entity (for example, BOT A) and associate the processing entity to the added role (for example, the positive first debater). As an example, the electronic device 110 can present a group of candidate processing entities (for example, a group of bots created by the user or accessible by the user) that the user has the right to add, and further can select a specific processing entity to associate to the role.
[0049] As an example, the electronic device 110 can also support, for example, the user to replace the associated processing entity. Further, the electronic device 110 can also support editing the identity (for example, nickname) of the processing entity in the target interactive scenario; and can edit the description text about the processing entity.
[0050] In some embodiments, such identity and description text can be provided to other processing entities in the interactive scenario. For example, such identity and description text can be provided to the processing entities associated with other roles, or to a specific processing entity for scheduling, etc.
[0051] With continued reference to FIG. 3A, the electronic device 110 can display, in the role configuration control 315, role indication elements corresponding to the added one or more preset roles, e.g., the role indication element 325 and the role indication element 330.
[0052] As shown in FIG. 3A, the role corresponding to the role indication element 325 (e.g., Proponent) can be associated to a designated processing entity. Accordingly, the role indication element 325 can display an image identifier (e.g., an image identifier of Bot) corresponding to the processing entity, a name of the role, a nickname of the associated processing entity in the interactive scenario, etc.
[0053] As another example, the role corresponding to the role indication element 330 (e.g., Cross-Examiner) is associated to a null interactive object. In some scenarios, the association to the null interactive object can indicate that the role is not set with a corresponding preset processing entity. That is, other users can be designated to participate in the interactive scenario in the role of the user and be associated to the role, or other processing entities can be selected and be associated to the role.
[0054] Specifically, if a particular role is associated to a null interactive object, the electronic device 110 can further control the target application to provide an object configuration window for configuring a target interactive object corresponding to the role. For example, the electronic device 110 can set a user object as the target interactive object based on a configuration operation of the user, or can set a particular processing entity indicated by the user as the target interactive object.
[0055] For example, in the case that the role of Cross-Examiner is associated to a null interactive object, the user can launch the application and select himself or a particular processing entity (e.g., a bot) as the role of Cross-Examiner to participate in the interactive scenario.
[0056] Accordingly, as shown in FIG. 3A, the role indication element 330 can display corresponding object information (e.g., Null) to indicate that it is associated to a null interactive object. In addition, the role indication element 330 can display preset image content.
[0057] Further, as shown in FIG. 3A, the configuration interface 300A can further include an input control 335 for obtaining interactive control information. In some embodiments, the interactive control information can include a piece of text for describing interactive rules and / or control logic of the interactive scenario.
[0058] In some embodiments, as shown in FIG. 3A, the configuration interface 300A can further include a workflow configuration control 340 for configuring one or more workflows associated with the target processing entity.
[0059] As shown in FIG. 3A, the target processing entity may, for example, be associated with a workflow A 345-1 and a workflow B 345-2 (individually or collectively referred to as workflows 345). In some embodiments, the interaction control information received via the input control 335 may, for example, indicate the workflows 345 associated with the target processing entity.
[0060] With FIG. 3A as an example, the interaction control information may, for example, indicate that the target processing entity invokes the workflow A 345-1 in a first round of debate and invokes the workflow B 345-2 in a second round of debate.
[0061] In this way, the target processing entity may, for example, manage the interaction process in the target interaction scenario by invoking the workflows, thereby improving the reliability of the interaction process control.
[0062] In some embodiments, the workflows 345 may, for example, be specific to the created target interaction scenario (e.g., scenario A). For example, the user may, for example, not be able to view the workflows corresponding to other scenarios when the other interaction scenarios are created.
[0063] In some embodiments, the electronic device 110 may, for example, receive a view request via the workflow configuration control 340 and may, for example, present a set of candidate workflows associated with the current interaction scenario accordingly. Further, the electronic device 110 may, for example, receive a selection of one or more workflows from the set of candidate workflows and may, for example, associate the selected workflows to the target processing entity accordingly.
[0064] In some embodiments, the electronic device 110 may, for example, also receive a creation request via the workflow configuration control 340 and may, for example, present a workflow creation page accordingly. Further, the electronic device 110 may, for example, create a workflow associated with the target interaction scenario based on the workflow creation page and may, for example, associate the workflow to the target processing entity.
[0065] In some embodiments, the workflows 345 for the target interaction scenario may, for example, include a plurality of nodes and may, for example, process the request sequentially based on the connections between the plurality of nodes.
[0066] In some embodiments, the workflows 345 may, for example, include a dialogue node for creating a speech task, where the speech task is used to trigger at least one speaker to provide a corresponding message in the target interaction scenario. The at least one speaker may, for example, include the target processing entity in the target interaction scenario and / or one or more interaction objects participating in the target interaction scenario.
[0067] FIG. 3B illustrates a schematic diagram of a speaking node 300B, according to some embodiments of the present disclosure. As shown in FIG. 3B, the electronic device 110 may, for example, support a user to add a speaking node in a workflow 345 for triggering a speaking task in a target interactive scenario.
[0068] In particular, as shown in FIG. 3B, the speaking node 300B can include a configuration control 365 for configuring input parameters of the speaking node 300B. In some embodiments, such input parameters can be configured by referencing a predecessor node of the speaking node 300B. The predecessor node can include any suitable predecessor node associated with the speaking node 300B, without requiring it to be directly connected to the speaking node 300B.
[0069] In some embodiments, the speaking node 300B can further include a configuration control 370. The configuration control 370 can be used to configure one or more parameters related to the speaking task. As shown in FIG. 3B, the electronic device 110 can determine, via the configuration control 370, a visibility range 372 of a message provided by at least one speaking party.
[0070] In some embodiments, such visibility range 372 can include the following predetermined modes: visible to all interactive objects, visible to all speaking parties, visible to a message receiver, visible to a specific role, and the like.
[0071] In some embodiments, the electronic device 110 can further determine, via the configuration control 370, an order mode 374 of the plurality of speaking parties, where the order mode 374 can indicate an order of speaking of the plurality of speaking parties.
[0072] In some embodiments, the order mode 374 can include, but not limited to: a first order mode indicating that the plurality of speaking parties speak in turn according to a target order configured by a dialog node; a second order mode indicating that the plurality of speaking parties speak in turn according to a random order; a third order mode indicating that the plurality of speaking parties speak in parallel, and the like.
[0073] Further, the electronic device 110 can further obtain, via the configuration control 370, identity configuration information corresponding to the at least one speaking party. The identity configuration information may, for example, indicate that the speaking is performed by a target processing entity or a specific interactive object.
[0074] As shown in FIG. 3B, the electronic device 110 can configure, via the configuration control 370, a content item 376 to indicate that the speaking is performed by a role “Host”. For example, the user can indicate that the speaking party is a target processing entity by selecting the role “Host”.
[0075] Similarly, the electronic device 110 can configure the content item 378 via the configuration control 370 to indicate that the speech is made by the character "Square One". For example, the user can indicate that the speaker is the processing entity BOT A by selecting the character "Square One".
[0076] In some embodiments, the electronic device 110 can also configure the content item 380 via the configuration control 370 to indicate that the speech is made by the processing entity "BOT D". For example, the user can indicate that the processing entity "BOT D" is the speaker by specifying the nickname "BOT D" of the speaker.
[0077] In some embodiments, the electronic device 110 may, for example, also support indicating the speaker by selecting an identity variable defined in the workflow. Such an identity variable can be used to determine at least one interactive object in the target interactive scenario.
[0078] As an example, the workflow 345 can include other nodes to determine the value of the identity variable according to the interactive information in the target interactive scenario, and in turn can provide the value to the dialog node 300B to indicate that the interactive object corresponding to the value is the speaker in the round of conversation.
[0079] Further, as shown in FIG. 3B, the electronic device 110 can also obtain, by the configuration control 370, message configuration information of the at least one speaker, where the message configuration information can indicate the content of the target message to be provided by the at least one speaker.
[0080] Taking FIG. 3B as an example, the electronic device 110 may, for example, support directly inputting the content to be provided by the speaker via the configuration control 370. For example, the content item 376 and the content item 378 can include the message content input by the user via the configuration control 370.
[0081] In some embodiments, the electronic device 110 can also support configuring the target message to be generated by the speaker. Specifically, the electronic device 110 may, for example, receive a selection of a message providing mode corresponding to a particular speaker.
[0082] In some embodiments, such a message providing mode may, for example, include a first providing mode and a second providing mode. The first providing mode can indicate that the target message is generated by the at least one speaker. The second providing mode can indicate that the at least one speaker provides the target message configured via the dialog node.
[0083] In some embodiments, the target processing entity may, for example, only support the second providing mode. That is, when the speaker is the target processing entity, the user needs to configure the content to be provided by the target processing entity.
[0084] In some embodiments, a role associated with an empty interactive object may, for example, only support the first providing mode. That is, when a certain role is not associated with a preset processing entity, the speaker corresponding to the role is only allowed to make a speech in a generated manner. It should be understood that if the role is associated with a user object, the message content input by the user object can be obtained.
[0085] In some embodiments, a speaker defined by an identity variable may only support the first providing mode. That is, if a certain speaker is defined in a manner of selecting a corresponding identity variable, the speaker will only support the first providing mode.
[0086] Taking FIG. 3B as an example, the processing entity “BOT D” may correspond to the first providing mode. The content item 380 may indicate that the processing entity “BOT D” can generate a corresponding message in this round of conversation.
[0087] In some scenarios, the sequential mode 374 is a first sequential mode, that is, the multiple speakers make speeches in turn according to a target sequence configured by the conversation node. Accordingly, the electronic device 110 may, for example, also adjust the display sequence of the multiple content items (for example, the content item 376, the content item 378 and the content item 380) corresponding to the multiple speakers in the conversation node 300B based on the received configuration operation, to determine the target sequence of speeches.
[0088] For example, the user may change the display sequence of the content item 376, the content item 378 and the content item 380 in the conversation node 300B by dragging the content item or the interactive element in front of the content item, and further adjust the speaking sequence of “the host”, “the positive debater” and “BOT D”.
[0089] In some embodiments, as shown in FIG. 3B, the conversation node 300B further includes a configuration control 385 for configuring the output content of the conversation node 300B. As an example, the conversation node 300B may be configured to output the first content according to a first format shown by the configuration control 385.
[0090] In some embodiments, the first content output by the conversation node 300B includes at least one of the following: a role of at least one speaker; an identity (for example, a nickname) of at least one speaker; and message content provided by at least one speaker.
[0091] In some embodiments, the workflow 345 may also include a starting node. Unlike the starting nodes of other types of workflows, the starting node in the workflow 345 for the target interactive scenario may, for example, be configured to output second content according to a configured second format. In some embodiments, the second content is used to describe a group of interactive objects in the target interactive scenario.
[0092] As an example, the starting node can define a set of identity variables, and can obtain description information (e.g., role configuration information) associated with the target interactive scenario, and further determine values of the set of identity variables. Accordingly, the starting node can construct second content based on the values of the set of identity variables, and can provide to other appropriate nodes in the workflow 345.
[0093] In some embodiments, the workflow 345 can further include an ending node. In some embodiments, the ending node is configured to generate a control message for ending the target interactive scenario. For example, when the ending node in the workflow 345 is triggered to execute, the workflow 345 can return a control message to control ending of the target interactive scenario.
[0094] The workflow configured in the above manner can be more suitable for scheduling needs of the interactive scenario, thereby improving scheduling efficiency of the interactive process.
[0095] In some embodiments, such interactive control information can be provided for creating a target processing entity (i.e., the moderator role mentioned above) in the interactive scenario. In some embodiments, the target processing entity can be configured to manage the interactive process of the plurality of interactive objects in the interactive scenario.
[0096] Continuing with the debate scenario as an example, the interactive control information may, for example, describe a flow of the entire debate process, speaking order of the roles, content to be output by the moderator role, and the like.
[0097] In some embodiments, such target processing entity can be implemented based on a machine learning model. For example, the electronic device 110 can provide the interactive control information obtained via the input control 335 to a target model to instruct the target model to manage the interactive process of the plurality of interactive objects in the interactive scenario according to content described by the interactive control information.
[0098] In some embodiments, the electronic device 110 can further provide a debugging window 350 in the configuration interface 300A. As an example, the debugging window 350 may, for example, include an entry 355 for starting debugging based on current application configuration information.
[0099] In some embodiments, the debugging window 350 can present a session interface in which a plurality of interactive objects (e.g., configured processing entities and / or user objects) corresponding to a plurality of preset roles participate. The session interface can display interactive messages generated by the plurality of interactive objects in the interactive scenario.
[0100] Continuing with the debate scenario as an example, the host role can generate an opening message based on the scenario description information and / or the interaction control information. Further, the preset processing entity corresponding to each debater role may, for example, generate a corresponding message according to the scenario description information and context information in the dialogue. Accordingly, when it is necessary for the user object to present a viewpoint, the electronic device 110 can provide a corresponding message input control to support user input of a corresponding interaction message.
[0101] At block 220, the electronic device 110 creates a target application based on the application configuration information.
[0102] As an example, the electronic device 110 can create a corresponding target application based on the application configuration information. Further, the target application may, for example, be published or shared to other users. As an example, the electronic device 110 can receive a selection of the publishing control 360 by the user to accordingly create and publish a target application corresponding to the received application configuration information.
[0103] Based on the above-described processes, embodiments of the present disclosure can support a target control entity to manage an interaction process in a target interaction scenario by invoking a workflow, thereby improving the management efficiency of the interaction process and reducing the development cost of the application.
[0104] Example apparatuses and devices
[0105] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above-described methods or processes. FIG. 4 shows a schematic structural block diagram of an example apparatus 400 for creating an application according to certain embodiments of the present disclosure. The apparatus 400 can be implemented as or included in the electronic device 110. Various modules / components in the apparatus 400 can be implemented by hardware, software, firmware, or any combination thereof.
[0106] As shown in FIG. 4, the apparatus 400 includes an obtaining module 410 configured to obtain application configuration information, the application configuration information including interaction control information about a target interaction scenario, wherein the interaction control information is used to construct a target processing entity corresponding to the target interaction scenario, such that the target processing entity manages an interaction process of a group of interaction objects participating in the target interaction scenario based on the interaction control information, and the interaction control information indicates at least one workflow associated with the target processing entity; and a creating module 420 configured to create a target application based on the application configuration information.
[0107] In some embodiments, the at least one workflow includes a first workflow, and the obtaining module 410 is further configured to: in response to receiving a viewing request, present a group of candidate workflows associated with the target interaction scenario; and receive a selection of the first workflow from the group of candidate workflows.
[0108] In some embodiments, the at least one workflow comprises a second workflow, and the obtaining module 410 is further configured to: in response to receiving the creation request, present a workflow creation page; and create the second workflow via the workflow creation page.
[0109] In some embodiments, the at least one workflow comprises a dialogue node for creating a speaking task, the speaking task being configured to trigger at least one speaker to provide a corresponding message in a target interactive scenario.
[0110] In some embodiments, the obtaining module 410 is further configured to: obtain, via the dialogue node, identity configuration information corresponding to the at least one speaker, the identity configuration information comprising at least one of: a role of the speaker, a nickname of the speaker, an identity variable defined in the workflow, the identity variable indicating at least one interactive object in a set of interactive objects.
[0111] In some embodiments, the obtaining module 410 is further configured to: obtain, via the dialogue node, message configuration information corresponding to the at least one speaker, the message configuration information indicating content of a target message provided by the at least one speaker.
[0112] In some embodiments, the message configuration information indicates a message providing mode of the at least one speaker, the message providing mode comprising: a first providing mode indicating that the target message is generated by the at least one speaker; or a second providing mode indicating that the target message is provided by the at least one speaker via the dialogue node.
[0113] In some embodiments, the at least one speaker comprises a plurality of speakers, and the obtaining module 410 is further configured to: determine, via the dialogue node, a sequence mode of the plurality of speakers, the sequence mode indicating a speaking sequence of the plurality of speakers.
[0114] In some embodiments, the sequence mode comprises: a first sequence mode indicating that the plurality of speakers speak in turn according to a target sequence configured via the dialogue node; a second sequence mode indicating that the plurality of speakers speak in turn according to a random sequence; or a third sequence mode indicating that the plurality of speakers speak in parallel.
[0115] In some embodiments, the apparatus 400 further comprises an adjusting module configured to: in response to the sequence mode being the first sequence mode, adjust, based on a received configuration operation, a display sequence of a plurality of content items corresponding to the plurality of speakers in the dialogue node to determine the target sequence.
[0116] In some embodiments, the obtaining module 410 is further configured to: determine, via the dialogue node, a visible range of the message provided by the at least one speaker.
[0117] In some embodiments, the dialogue node is configured to output the first content according to the first format, the first content comprising at least one of: a role of the at least one speaker; an identity of the at least one speaker; a message content provided by the at least one speaker.
[0118] In some embodiments, the at least one workflow comprises a start node configured to output second content according to a second format, the second content being used to describe a set of interactive objects in the target interactive scenario.
[0119] In some embodiments, the at least one workflow comprises an end node configured to generate a control message for ending the target interactive scenario.
[0120] In some embodiments, the application configuration information further comprises role configuration information, the role configuration information indicating a set of preset roles associated with the target interactive scenario.
[0121] FIG. 5 illustrates a block diagram of an electronic device 500 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 500 illustrated in FIG. 5 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 500 illustrated in FIG. 5 can be used to implement the electronic device 110 of FIG. 1.
[0122] As shown in FIG. 5, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 can include, but are not limited to, one or more processing units or processors 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processor 510 can be a real or virtual processor and is capable of performing various processing according to programs stored in the memory 520. In a multi-processor system, multiple processors perform computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0123] The electronic device 500 typically includes a number of computer storage media. Such media can be any available media that is accessible by the electronic device 500 and includes both volatile and non-volatile media, removable and non-removable media. The memory 520 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 can be a removable or non-removable media and can include machine-readable media, such as a flash drive, a magnetic disk, or any other medium that can be used to store information and / or data and that can be accessed by the electronic device 500.
[0124] The electronic device 500 can further include additional detachable / non-detachable, volatile / non-volatile storage media. Although not shown in FIG. 5, a disk drive for reading from or writing to a detachable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a detachable, non-volatile optical disk can be provided. In these cases, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 520 can include a computer program product 525 having one or more program modules configured to carry out the various methods or acts of the various embodiments of the present disclosure.
[0125] The communication unit 540 enables communication with other electronic devices through communication media. Additionally, the functionality of the components of the electronic device 500 can be implemented in a single computing cluster or a plurality of computer machines capable of communicating over a communication connection. As such, the 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 nodes in the networking environment.
[0126] The input device 550 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 560 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc., one or more devices that enable a user to interact with the electronic device 500, or any devices (e.g., a network card, a modem, etc.) that enable the electronic device 500 to communicate with one or more other electronic devices over a network, as needed, through the communication unit 540. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0127] According to an example implementation of the present disclosure, a computer readable storage medium having computer executable instructions stored thereon is provided, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.
[0128] Various aspects of the disclosure are now described with reference to the drawings. In general, the drawings described herein relate to a method, an apparatus, a device, and a computer program product implemented in accordance with the present disclosure. It should be understood that each block of the flowchart diagrams and / or block diagrams, and combinations of blocks in the flowchart diagrams and / or block diagrams, can be implemented by computer readable program instructions.
[0129] These computer-readable program instructions can be provided to a processor 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 processor 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.
[0130] 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.
[0131] 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.
[0132] 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. A method of creating an application, comprising: obtaining application configuration information, the application configuration information comprising interaction control information about a target interaction scenario, wherein the interaction control information is used to construct a target processing entity corresponding to the target interaction scenario, such that the target processing entity manages an interaction process of a group of interaction objects participating in the target interaction scenario based on the interaction control information, the interaction control information indicating at least one workflow associated with the target processing entity; and creating a target application based on the application configuration information.
2. The method of claim 1, wherein the at least one workflow comprises a first workflow, and obtaining application configuration information comprises: presenting a group of candidate workflows associated with the target interaction scenario in response to receiving a viewing request; and receiving a selection of the first workflow in the group of candidate workflows.
3. The method of claim 1, wherein the at least one workflow comprises a second workflow, and obtaining application configuration information comprises: presenting a workflow creation page in response to receiving a creation request; and creating the second workflow via the workflow creation page.
4. The method of claim 1, wherein the at least one workflow comprises a dialogue node for creating a speaking task, the speaking task being used to trigger at least one speaker to provide a corresponding message in the target interaction scenario.
5. The method of claim 4, wherein obtaining application configuration information comprises: obtaining, via the dialogue node, identity configuration information corresponding to the at least one speaker, the identity configuration information comprising at least one of: a role of the speaker, a nickname of the speaker, an identity variable defined in the workflow, the identity variable indicating at least one interaction object in the group of interaction objects.
6. The method of claim 4, wherein obtaining application configuration information comprises: obtaining, via the dialogue node, message configuration information corresponding to the at least one speaker, the message configuration information indicating a content of a target message provided by the at least one speaker.
7. The method of claim 6, wherein the message configuration information indicates a message providing mode of the at least one speaker, the message providing mode comprising: a first providing mode indicating that the target message is generated by the at least one speaker; or a second providing mode indicating that the at least one speaker provides the target message configured via the dialogue node.
8. The method of claim 4, wherein the at least one speaker comprises a plurality of speakers, and obtaining application configuration information comprises: determining, via the dialogue node, a sequence mode of the plurality of speakers, the sequence mode indicating a speaking order of the plurality of speakers.
9. The method of claim 8, wherein the sequence mode comprises: a first sequence mode indicating that the plurality of speakers speak in turn according to a target sequence configured via the dialogue node; a second sequence mode indicating that the plurality of speakers speak in turn according to a random sequence; or a third sequence mode indicating that the plurality of speakers speak in turn according to a target sequence configured via the dialogue node. A third sequential mode indicating that the plurality of speakers speak in parallel.
10. The method of claim 9, further comprising: in response to the sequential mode being the first sequential mode, adjusting, based on the received configuration operation, a display order of a plurality of content items corresponding to the plurality of speakers in the conversation node to determine the target order.
11. The method of claim 4, wherein obtaining the application configuration information comprises: determining, via the conversation node, a visibility range of the message provided by the at least one speaker.
12. The method of claim 4, wherein the conversation node is configured to output, according to a first format, first content comprising at least one of: a role of the at least one speaker; an identity of the at least one speaker; a message content provided by the at least one speaker.
13. The method of claim 1, wherein the at least one workflow comprises a start node configured to output, according to a second format, second content for describing the set of interactive objects in the target interactive scene.
14. The method of claim 1, wherein the at least one workflow comprises an end node configured to generate a control message for ending the target interactive scene.
15. The method of claim 1, wherein the application configuration information further comprises role configuration information indicating a set of preset roles associated with the target interactive scene.
16. An apparatus for creating an application, comprising: an obtaining module configured to obtain application configuration information, the application configuration information comprising interactive control information about a target interactive scene, wherein the interactive control information is used to construct a target processing entity corresponding to the target interactive scene, such that the target processing entity manages an interactive process of a set of interactive objects participating in the target interactive scene based on the interactive control information, the interactive control information indicating at least one workflow associated with the target processing entity; and a creating module configured to create a target application based on the application configuration information.
17. An electronic device, comprising: at least one processor; and at least one memory that is coupled to the at least one processor and stores instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, cause the electronic device to perform the method according to any one of claims 1-15.
18. A computer-readable storage medium having stored thereon a computer program, the computer program being executable by a processor to implement the method according to any one of claims 1-15.
19. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1-15.
Citation Information
Patent Citations
Task execution method and device, electronic equipment and storage medium
CN117436808A
Automatic process generation method, related device and system, equipment and storage medium
CN117472478A
Information processing method, electronic equipment and storage medium
CN117556864A
Intelligent agent scheduling method, system and equipment based on large language model and medium
CN118132227A
System and method for collaborative conversational AI
US11431660B1