Application creation method and apparatus, device, and storage medium
By acquiring and configuring interactive control information and scene variables, and constructing a processing entity to manage multiple interactive objects, the problem of limited interactive scenes in existing technologies is solved, and more efficient interactive process management is achieved.
Patent Information
- Application Number
- PCT/CN2025/108211
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-16
- Filing Date
- 2025-07-11
- 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 and an inability to effectively manage the interaction process of multiple interactive objects.
Obtain configuration information, including interactive control information and scene variables, construct a target processing entity to manage the interaction process of multiple interactive objects, provide scene variables to interactive objects during the interaction process, and create a target application based on this information.
It enhances the controllability of the interaction process, enabling interactive objects to participate in the interaction based on scene variables, and expands the application's ability to support interactive scenarios.
Smart Images

Figure CN2025108211_22012026_PF_FP_ABST
Abstract
Description
Method, apparatus, device and storage medium for creating an application
[0001] The present application claims priority to the Chinese patent application No. 202410955229.4, filed on July 16, 2024, entitled “Method, apparatus, device and storage medium for creating an 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 an 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 an application by configuring parameters of the application, such as a model used by the application, 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 configuration information, the configuration information comprising interaction control information about a target interaction scenario, wherein the interaction control information is used to construct a first processing entity corresponding to the target interaction scenario, so that the first 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 configuration information further indicates a group of scene variables associated with the target interaction scenario, the group of scene variables being configured to be provided to the corresponding interaction objects in the interaction process; and creating a target application based on the configuration information.
[0005] In a second aspect of the present disclosure, an apparatus for creating an application is provided. The apparatus comprises: obtaining configuration information, the configuration information comprising interaction control information about a target interaction scenario, wherein the interaction control information is used to construct a first processing entity corresponding to the target interaction scenario, so that the first 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 configuration information further indicates a group of scene variables associated with the target interaction scenario, the group of scene variables being configured to be provided to the corresponding interaction objects in the interaction process; and a creating module configured to create a target application based on the configuration information.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of the 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 disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.
[0009] It should be understood that nothing in the Summary is to be construed as a limitation on the scope of the embodiments of the disclosure or the present disclosure. Other features, aspects, and advantages of the disclosure will become apparent from the following detailed description, figures and claims. BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other features, aspects, and advantages of embodiments of the 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, in which:
[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 disclosure;
[0013] FIGS. 3A-3C show example interfaces according to some embodiments of the disclosure;
[0014] FIG. 4 shows a schematic block diagram of an example apparatus for creating an application according to some embodiments of the disclosure; and
[0015] FIG. 5 shows a block diagram of an electronic device capable of implementing various embodiments of the disclosure. DETAILED DESCRIPTION
[0016] Embodiments of the disclosure will be described below in greater detail with reference to the accompanying drawings. While certain embodiments of the disclosure are shown in the drawings, it is understood that the disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so that the disclosure will be more thoroughly and completely understood. It should be understood that the drawings and embodiments of the disclosure are only for illustrative purposes and should not be construed as limiting the scope of protection of the 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, configuration information can be acquired, the configuration information comprising interaction control information about a target interaction scenario, wherein the interaction control information is used to construct a first processing entity corresponding to the target interaction scenario, such that the first 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 configuration information further indicates a group of scenario variables associated with the target interaction scenario, the group of scenario variables being configured to be provided to corresponding interaction objects in the interaction process. Further, the target application can be created based on the configuration information.
[0023] In this way, embodiments of the present disclosure can support configuring one or more scenario variables in an interaction scenario to be provided to respective interaction objects participating in the interaction scenario. This enables the interaction objects to further participate in the interaction process according to the scenario variables, thereby improving the controllability of the interaction process.
[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 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG. 1, the example environment 100 can include an electronic device 110.
[0027] In this 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 applications. 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 via 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 configuration information, the configuration information including interaction control information about a target interactive scenario, wherein the interaction control information is used to construct a target processing entity corresponding to the target interactive scenario, such that the target processing entity manages an interactive process of a group of interactive objects participating in the target interactive scenario based on the interaction control information, and the configuration information further indicates a group of scenario variables associated with the target interactive scenario, the group of scenario variables being configured to be provided to corresponding interactive objects in the interactive process.
[0037] The specific obtaining process of the configuration information will be further described below in conjunction with FIGS. 3A-3C. FIGS. 3A-3C 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 configuration information to create an application associated with a target interactive scenario.
[0039] As an example, the electronic device 110 can present the configuration interface 300A based on a user-inputted application identifier or scenario identifier (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 interactive scenario.
[0040] As an example, such scenario description information can include a piece of description text for describing the interactive scenario to be created. Such scenario description information can be public information visible to interactive objects participating in the interactive scenario. In a case where the interactive objects include preset processing entities (e.g., agents or other applications such as bots), such scenario description information can be provided to corresponding preset processing entities for controlling the interaction of the preset processing entities in the interactive 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 interactive 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 (e.g., Proponent) corresponding to the role indication element 325 can be associated to a specified 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, and a nickname of the associated processing entity in the interactive scenario, etc.
[0053] As another example, the role (e.g., Contra) corresponding to the role indication element 330 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 as 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 “Contra” is associated to a null interactive object, the user can start the application and select himself or a particular processing entity (e.g., a bot) as the role of “Contra” 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, such interaction control information can be provided for creating a target processing entity (i.e., the aforementioned host role) in the interactive scenario. In some embodiments, the target processing entity (also referred to as a first processing entity) can be configured to manage the interactive process of the plurality of interactive objects in the interactive scenario.
[0059] Continuing with the debate scenario as an example, the interaction control information may, for example, describe the flow of the entire debate process, the speaking order of the roles, the content that the host role needs to output, etc.
[0060] In some embodiments, such target processing entity can be implemented based on a machine learning model. For example, the interaction control information acquired by the electronic device 110 via the input control 335 can be provided 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 the content described by the interaction control information.
[0061] In some embodiments, as shown in FIG. 3A, the configuration interface 300A can further include a variable configuration control 340 for configuring one or more scenario variables associated with the target interactive scenario.
[0062] As shown in FIG. 3A, the target interactive scenario can be associated with a scenario variable 345-1 and a scenario variable 345-2 (individually or collectively referred to as scenario variables 345). In some embodiments, the electronic device 110 can receive a preset operation on the variable configuration control 340 and present a variable configuration interface 300B as shown in FIG. 3B.
[0063] As shown in FIG. 3B, the electronic device 110 can acquire variable configuration information via the variable configuration interface 300B. Specifically, the variable configuration information may, for example, indicate the identification (e.g., also referred to as field name, variable name) of the scenario variables 345.
[0064] Alternatively, the variable configuration information can also indicate the initial values of the scenario variables 345. As shown in FIG. 3B, the initial value of the scenario variable 345-1 can be set to “A1”, and the initial value of the scenario variable 345-2 can be set to “B1”.
[0065] Further, the variable configuration information can also indicate the description information of the scenario variables 345, for example, the explanation about the scenario variables 345. Additionally, the variable configuration information can also indicate the visibility range of the scenario variables 345. Specifically, the visibility range can indicate the specific interactive object that can acquire the corresponding scenario variable 345 in the interactive process.
[0066] For example, the visibility range of the scene variable 345-1 can indicate that all the interactive objects can obtain the scene variable 345-1; in contrast, the visibility range of the scene variable 345-2 can indicate that only the "host" (i.e., the target processing entity) can obtain the scene variable 345-2.
[0067] In some embodiments, the electronic device 110 can further add more scene variables via an add entry 365 provided by the variable configuration interface 300B. Alternatively, the electronic device 110 can further delete one or more existing scene variables.
[0068] In some embodiments, the electronic device 110 can further provide a debug window 350 in the configuration interface 300A. As an example, the debug window 350 can include an entry 355 for launching a debug based on the current configuration information, for example.
[0069] In some embodiments, the debug window 350 can present a conversation interface in which a plurality of interactive objects (e.g., the configured processing entities and / or user objects) corresponding to a plurality of preset roles participate. The conversation interface can display the interactive messages generated by the plurality of interactive objects in the interactive scene.
[0070] Continuing with the debate scene as an example, the host role can generate an opening message based on the scene description information and / or the interactive control information. Further, the preset processing entities corresponding to the debater roles can generate corresponding messages according to the scene description information and the context information in the conversation, for example. Accordingly, when it is the turn of a user object to present a viewpoint, the electronic device 110 can provide a corresponding message input control to support user input of a corresponding interactive message.
[0071] At block 220, the electronic device 110 creates a target application based on the configuration information.
[0072] As an example, the electronic device 110 can create a corresponding target application based on the configuration information. Further, the target application can be published or shared to other users, for example. As an example, the electronic device 110 can receive a selection of the publish control 360 by a user to create and publish a target application corresponding to the received configuration information accordingly.
[0073] In some embodiments, where the target application is configured with scene variables 345, the target application can provide the scene variables 345 to corresponding interactive objects at runtime. Specifically, taking the scene variable 345-1 as an example, the visibility range of the scene variable 345-1 includes all the interactive objects.
[0074] Accordingly, during the runtime of the target application, the target application can provide the scenario variable 345-1 to the processing entity (e.g., bot) and user object participating in the target interactive scenario. For the processing entity (e.g., BOT A), the target application can utilize the scenario variable 345-1 to update the prompt information (also referred to as prompt item) corresponding to the processing entity. As an example, the target application can write the current value of the scenario variable 345-1 into the system prompt item of BOT A.
[0075] In some embodiments, in a case where the scenario variable 345-1 is updated, the target application can further write the updated scenario variable 345-1 into the system prompt item of BOT A. Accordingly, the system prompt item of the BOT A can include both the current value and one or more historical values of the scenario variable 345-1.
[0076] In some embodiments, during the runtime of the target application, the target processing entity can update one or more scenario variables 345 associated with the target interactive scenario according to the interactive process.
[0077] In some embodiments, the target processing entity can update one or more scenario variables in the set of scenario variables 345 based on the interactive control information acquired via the input control 335. As shown in FIG. 3A, the interactive control information may, for example, include text content corresponding to an update policy of the scenario variable 345, such that the target processing entity can update the scenario variable 345 based on the text content.
[0078] In some embodiments, the target processing entity may, for example, also be associated with a workflow. Such a workflow may, for example, include a variable update node. The electronic device 110 can configure, through the variable update node, an update policy associated with one or more scenario variables in the set of scenario variables 345, such that the target processing entity updates the corresponding scenario variable based on the update policy.
[0079] In some embodiments, the workflow associated with the target processing entity may, for example, also support adding a variable reading node to read the value of one or more scenario variables associated with the target interactive scenario. Such a variable reading node can further provide the read variable value to other nodes in the workflow.
[0080] In some embodiments, during the runtime of the target application, the set of scenario variables 345 can be provided to the target processing entity. For example, the target application can utilize the set of scenario variables 345 to update the prompt information corresponding to the target processing entity.
[0081] For example, the target application can write the current values and the historical values of all the scene variables 345 into the hint item of the target processing entity, to support the target processing entity to schedule the interaction process of the target interaction scene based on the scene variables 345.
[0082] In some embodiments, the target application can also support viewing the values of the scene variables 345 in the interaction process. As shown in FIG. 3C, FIG. 3C illustrates a target window 300C of the target application. The target window 300C can be, for example, a debugging window or a running window of the target application.
[0083] As shown in FIG. 3C, the target application can display description information 380 associated with the target interaction scene in the window 300C. For example, the description information 380 can display a plurality of interaction objects participating in the interaction scene. Additionally, the target application can also display variable information 385 to indicate a set of values, e.g., real-time values and / or historical values, of one or more scene variables (e.g., “field A”) allowed to be viewed by the current interaction object (e.g., user A) corresponding to the target window.
[0084] In some embodiments, the electronic device 110 can receive a triggering operation of the control 375 by the user, and switch the interaction object corresponding to the target window. Accordingly, the electronic device 110 can update the variable information 385 accordingly, to present the current values and / or the historical values of the one or more scene variables provided to another interaction object.
[0085] Based on the above-described process, embodiments of the present disclosure can support configuring one or more scene variables in an interaction scene, to provide to a corresponding interaction object participating in the interaction scene. This enables the interaction object to further participate in the interaction process according to the scene variables, thereby improving the controllability of the interaction process.
[0086] Example apparatuses and devices
[0087] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above-described methods or processes. FIG. 4 illustrates 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.
[0088] As shown in FIG. 4, the apparatus 400 includes an obtaining module 410 configured to obtain configuration information, the configuration information comprising interaction control information about a target interactive scenario, wherein the interaction control information is used to construct a first processing entity corresponding to the target interactive scenario, such that the first processing entity manages an interactive process of a group of interactive objects participating in the target interactive scenario based on the interaction control information, and the configuration information further indicates a group of scenario variables associated with the target interactive scenario, the group of scenario variables being configured to be provided to corresponding interactive objects in the interactive process; and a creating module 420 configured to create a target application based on the configuration information.
[0089] In some embodiments, the group of scenario variables comprises a target scenario variable, and the target application is configured to: in response to the target scenario variable being configured to be provided to a first interactive object corresponding to a second processing entity, update first prompt information corresponding to the second processing entity with the target scenario variable during a running of the target application.
[0090] In some embodiments, the first prompt information indicates a current value and at least one historical value of the target scenario variable.
[0091] In some embodiments, the first processing entity is configured to update the group of scenario variables in the interactive process.
[0092] In some embodiments, the first processing entity is configured to update a first scenario variable in the group of scenario variables based on the interaction control information.
[0093] In some embodiments, the first processing entity is associated with a workflow, and the workflow comprises a variable updating node used to configure an updating strategy associated with a second scenario variable in the group of scenario variables, such that the first processing entity updates the second scenario variable based on the updating strategy.
[0094] In some embodiments, the obtaining module 410 is further configured to: present a variable editing interface; and obtain variable configuration information via the variable editing interface, the variable configuration information indicating at least one attribute of the group of scenario variables: an identifier of the scenario variable; an initial value of the scenario variable; description information of the scenario variable; a visible range of the scenario variable.
[0095] In some embodiments, the target application is configured to: update second prompt information corresponding to the first processing entity with the group of scenario variables during a running of the target application.
[0096] In some embodiments, the apparatus 400 further includes a triggering module configured to trigger display of variable information in a target window of the target application, the target window corresponding to the second interactive object, the variable information indicating a group of values of at least one scenario variable provided to the second interactive object.
[0097] 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.
[0098] As shown in FIG. 5, the electronic device 500 is in the form of a general electronic device. Components of the electronic device 500 can include, but are not limited to, one or more processors or processing units 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 processing unit 510 can be a real or virtual processor and is capable of executing various processing in accordance with programs stored in the memory 520. In a multi-processing system, multiple processing units execute computer-executable instructions in parallel to improve the processing power of the electronic device 500.
[0099] The electronic device 500 typically includes a plurality 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 a machine-readable medium, such as a flash drive, a magnetic disk drive, or any other medium that can be used to store information and / or data and that can be accessed by the electronic device 500.
[0100] The electronic device 500 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, a disk drive and a disk drive interface can be provided for reading from or writing to a removable, non- volatile magnetic disk (e.g., a "hard drive"), and a disk drive interface can be provided for reading from or writing to a removable, non-volatile optical disk (e.g., a "floppy disk"). In these instances, 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 actions of the various embodiments of the present disclosure.
[0101] The communication unit 540 enables communication through the communication medium with other electronic devices. 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 that are 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 node.
[0102] 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., through the communication unit 540, as necessary, with one or more devices that enable a user to interact with the electronic device 500, or with any device (e.g., a network card, a modem, etc.) that enables the electronic device 500 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0103] According to an example implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, where the computer-executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions, where the computer-executable instructions are executed by a processor to implement the method described above.
[0104] Various aspects of the disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, and computer program products implemented in accordance with the present disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0105] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include a non-transitory computer readable storage medium that can direct a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including a manufacture including instructions which implement aspects of the function / act specified in the flowchart and / or block diagram block or blocks.
[0106] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0107] The flow diagrams and the block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flow diagrams and the block diagrams can represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logic functions (s). In some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in some cases, be executed substantially concurrently, or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and
[0108] implementations. Numerous modifications and adaptations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The herein described subject matter is to be considered in all its novel implications and applications and can be practiced in a variety of environments. The herein described subject matter is also to be considered as being without limitation, and the examples provided herein are intended to be illustrative rather than restrictive. The scope of the described implementations should be considered in conjunction with the summary, abstract and drawings.
Claims
1. A method for creating an application, comprising: obtaining configuration information, the configuration information comprising interaction control information about a target interactive scenario, wherein the interaction control information is used to construct a first processing entity corresponding to the target interactive scenario, such that the first processing entity manages an interactive process of a group of interactive objects participating in the target interactive scenario based on the interaction control information, and the configuration information further indicates a group of scenario variables associated with the target interactive scenario, the group of scenario variables being configured to be provided to corresponding interactive objects in the interactive process; and based on the configuration information, creating a target application. 2.The method of claim 1, wherein the group of scenario variables comprises a target scenario variable, and the target application is configured to: in response to the target scenario variable being configured to be provided to a first interactive object corresponding to a second processing entity, update first prompt information corresponding to the second processing entity with the target scenario variable during a running of the target application. 3.The method of claim 2, wherein the first prompt information indicates a current value and at least one historical value of the target scenario variable. 4.The method of claim 1, wherein the first processing entity is configured to update the group of scenario variables in the interactive process. 5.The method of claim 4, wherein the first processing entity is configured to update a first scenario variable in the group of scenario variables based on the interaction control information. 6.The method of claim 4, wherein the first processing entity is associated with a workflow, the workflow comprising a variable update node configured to configure an update policy associated with a second scenario variable in the group of scenario variables, such that the first processing entity updates the second scenario variable based on the update policy. 7.The method of claim 1, wherein obtaining the configuration information comprises: presenting a variable editing interface; and via the variable editing interface, obtaining variable configuration information indicating at least one attribute of the group of scenario variables, the at least one attribute comprising: an identification of a scenario variable; an initial value of a scenario variable; description information of a scenario variable; and a visible range of a scenario variable. 8.The method of claim 1, wherein the target application is configured to: update second prompt information corresponding to the first processing entity with the group of scenario variables during a running of the target application. 9.The method of claim 1, further comprising: triggering display of variable information in a target window of the target application, the target window corresponding to a second interactive object, the variable information indicating a group of values of at least one scenario variable provided to the second interactive object. 10.An apparatus for creating an application, comprising: an obtaining module configured to obtain configuration information, the configuration information including interaction control information about a target interaction scenario, wherein the interaction control information is used to construct a first processing entity corresponding to the target interaction scenario, so that the first 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 configuration information further indicates a group of scenario variables associated with the target interaction scenario, the group of scenario variables being configured to be provided to corresponding interaction objects in the interaction process; and a creating module configured to create a target application based on the configuration information.
11. An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the method according to any one of claims 1 to 9.
12. 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 to 9.
13. 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 to 9.
Citation Information
Patent Citations
Method and device for creating interactive activity and storage medium
CN112114782A
Interactive live broadcast method and device of offline game, computer equipment and storage medium
CN114082197A
Control method and device of foot type robot, control equipment and storage medium
CN115476366A
CONVERSATIONAL BOTs PLATFORM
US20210409292A1