Application creating method and device, equipment and storage medium
By acquiring and utilizing interactive control information and role setting information, and constructing interactive objects for managing processing entities, the problem of limited interactive scenarios in existing technologies is solved, enabling richer and more flexible application development.
Patent Information
- Application Number
- CN202410599430.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2025-11-14
AI Technical Summary
In existing technologies, user-created applications typically only support interaction with a single intelligent agent or bot, resulting in limited interaction scenarios and a lack of flexibility.
By acquiring the interaction control information and role setting information of the target interaction scenario, a first processing entity is constructed to manage the interaction process of the interactive objects, and the target application is created based on this configuration information.
It enables richer interactive scenarios, improves the flexibility of application development, and supports complex interactive processes involving multiple interactive objects.
Smart Images

Figure CN120950116A_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatus, devices, and computer-readable storage media for creating applications. Background Technology
[0002] With the development of computer technology, people can create and publish various types of applications through various platforms. For example, with the development of machine learning technology, people can quickly create applications by configuring application parameters, such as the models used by the application and available plugins. Summary of the Invention
[0003] In a first aspect of this disclosure, a method for creating an application is provided. The method includes: acquiring configuration information, including interaction control information and role setting information regarding 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 the interaction process of a set of interactive objects participating in the target interactive scenario based on the interaction control information; the role setting information indicates a set of preset roles associated with the target interactive scenario; and creating a target application based on the configuration information.
[0004] In a second aspect of this disclosure, an apparatus for creating an application is provided. The apparatus includes: an acquisition module configured to acquire configuration information, the configuration information including interaction control information and role setting information regarding a target interactive scene, wherein the interaction control information is used to construct a first processing entity corresponding to the target interactive scene, such that the first processing entity manages the interaction process of a set of interactive objects participating in the target interactive scene based on the interaction control information; the role setting information indicates a set of preset roles associated with the target interactive scene; and a creation module configured to create a target application based on the configuration information.
[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented;
[0010] Figure 2 A flowchart illustrating an example process for creating an application according to some embodiments of this disclosure is shown;
[0011] Figures 3A to 3C Example interfaces according to some embodiments of this disclosure are shown;
[0012] Figure 4 A schematic structural block diagram of an example apparatus for creating an application according to some embodiments of the present disclosure is shown; and
[0013] Figure 5 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0014] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0015] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0016] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0017] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0018] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0019] Traditionally, users can quickly create applications, such as bots, by configuring the models and plugins used by the application. However, user-created applications typically only support interaction between the user and a single agent or bot. This limits the interactive scenarios that user-created applications can provide.
[0020] The embodiments of this disclosure propose an application creation scheme. According to this scheme, configuration information is obtained, including interaction control information and role setting information regarding a target interactive scene. The interaction control information is used to construct a first processing entity corresponding to the target interactive scene, enabling the first processing entity to manage the interaction process of a group of interactive objects participating in the target interactive scene based on the interaction control information. The role setting information indicates a set of preset roles associated with the target interactive scene. Based on the configuration information, a target application is created.
[0021] Based on the process described above, the embodiments of this disclosure can acquire interactive control information and role setting information of the target interactive scene, and create the target application based on this configuration information. Therefore, the embodiments of this disclosure can support the creation of richer interactive scenes and improve the flexibility of application development.
[0022] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0023] Example Environment
[0024] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. For example... Figure 1 As shown, example environment 100 may include electronic device 110.
[0025] In this example environment 100, electronic device 110 can run an application 120 that supports user interface interaction. Application 120 can be any suitable type of application for user interface interaction, and examples may include, but are not limited to, applications for development or other suitable applications that support application development. User 140 can interact with application 120 via electronic device 110 and / or its attached devices.
[0026] exist Figure 1 In environment 100, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting application creation.
[0027] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0028] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support virtual scenarios in electronic devices 110.
[0029] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.
[0030] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0031] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0032] Example application creation process
[0033] Figure 2 A flowchart of a process 200 for creating an application according to some embodiments of the present disclosure is shown. Process 200 can be implemented at electronic device 110. Reference is made below. Figure 1 To describe process 200.
[0034] In box 210, electronic device 110 obtains configuration information, which includes interactive control information and role setting information about the target interactive scene. The interactive control information is used to construct a first processing entity corresponding to the target interactive scene, so that the first processing entity manages the interactive process of a group of interactive objects participating in the target interactive scene based on the interactive control information. The role setting information indicates a set of preset roles associated with the target interactive scene.
[0035] The following will combine Figures 3A to 3C This will further describe the specific process of obtaining configuration information. Figures 3A to 3C Example interfaces according to some embodiments of this disclosure are shown.
[0036] like Figure 3A As shown, electronic device 110 can present, based on the user's creation request, such as Figure 3A The configuration interface 300A shown is used to receive configuration information to create applications associated with the target interactive scenario.
[0037] As an example, electronic device 110 can present the configuration interface 300A based on user-input application identifier or scene identifier (e.g., scene A) 305. Figure 3A As shown, the configuration interface 300A may include an input control 310 for obtaining scene description information about the target interactive scene.
[0038] As an example, such scene description information may include descriptive text to describe the interactive scene to be created. This scene description information may be public information visible to the interactive objects participating in the scene. If the interactive objects include a pre-defined processing entity (e.g., an agent, or other applications such as a bot), this scene description information may be provided to the corresponding pre-defined processing entity to control its interactions within the scene.
[0039] For example Figure 3A The debate scenario shown is an example. Such scenario description information may include, for example, the topic of the debate, the arguments of the affirmative side, and the arguments of the negative side.
[0040] In some embodiments, such as Figure 3A As shown, the configuration interface 300A may also include a character configuration control 315 for obtaining a set of preset characters associated with the target interactive scene.
[0041] like Figure 3A As shown, the electronic device 110 can support users in adding multiple preset roles in interactive scenarios. Taking a debate scenario as an example, users can add roles such as the first to third speakers of the affirmative side and the first to third speakers of the negative side.
[0042] During the interaction, a group of interactive objects participating in the interactive scenario will be assigned to corresponding preset roles. As will be described below, such interactive objects may include, for example, user objects, or they may include configured processing entities, such as intelligent agents or bots.
[0043] like Figure 3A As shown, the electronic device 110 can provide an add entry 320 for initiating a request to add a role. Upon receiving a selection for the add entry 320, the electronic device 110 can display the following... Figure 3B The character configuration window shown is 300B.
[0044] like Figure 3B As shown, electronic device 110 can provide one or more controls for obtaining character description information about the character to be added. For example, electronic device 110 can obtain the character's identifier (e.g., name) through control 355.
[0045] Additionally, the electronic device 110 can also determine the visibility information of the character via the control 360. Visibility information can be used to describe whether the character information corresponding to that character is visible to other characters. Taking a debate scenario as an example, the character information of each interactive object is visible to other objects. Therefore, the user can use the control 360 to, for example, set "First Speaker of the Affirmative Team" to be visible to all characters.
[0046] As another example, in some interactive scenarios, certain interactive objects need to hide their role information at specific stages. Accordingly, users can use the 360 control to set the visibility of this role, for example, to be visible only to the host (as described below in the context of the scheduling entity).
[0047] Furthermore, such as Figure 3B As shown, electronic device 110 can also provide control 365 to allow users to associate the role with a preset processing entity or with an empty interactive object. For example, upon receiving a user's request to associate the role with a preset processing entity, electronic device 110 can present the following... Figure 3C The window shown is 300C.
[0048] like Figure 3C As shown, the electronic device 110 may, for example, allow a user to select a preset processing entity (e.g., BOT A) and associate that processing entity with the added role (e.g., the first speaker of the affirmative side). As an example, the electronic device 110 may present a set of candidate processing entities that the user has permission to add (e.g., a set of bots created or accessed by the user), and further allow the user to select a specific processing entity to associate with that role.
[0049] As an example, electronic device 110 may also support users changing the associated processing entity via control 370. Furthermore, electronic device 110 may also provide control 375 to edit the processing entity's identifier (e.g., nickname) in the target interactive scenario; and may provide control 380 to edit descriptive text about the processing entity.
[0050] In some embodiments, such identifiers and descriptive text can be provided to other processing entities in the interactive scenario. For example, such identifiers and descriptive text can be provided to processing entities associated with other roles, or to specific processing entities used for scheduling, etc.
[0051] Continue to refer to Figure 3A The electronic device 110 can display character indicator elements corresponding to one or more preset characters that have been added in the character configuration control 315, such as character indicator element 325 and character indicator element 330.
[0052] like Figure 3A As shown, the role indicated by the role indicator element 325 (e.g., the first speaker of the affirmative side) can be associated with the specified processing entity. Accordingly, the role indicator element 325 can display the image identifier corresponding to the processing entity (e.g., the image identifier of the Bot), the name of the role, and the nickname of the associated processing entity in the interactive scene.
[0053] As another example, the role indicated by role indicator element 330 (e.g., the third speaker of the opposing side) is associated with an empty interaction object. In some scenarios, associating with an empty interaction object can indicate that the role does not have a corresponding preset processing entity set. That is, other users can specify to participate as users and associate with this role during interactions with the target application, or they can select other processing entities and associate them with this role.
[0054] Specifically, if a specific role is associated with an empty interactive object, the electronic device 110 can also control the target application to provide an object configuration window for configuring the target interactive object corresponding to that role. For example, the electronic device 110 can set a user object as the target interactive object based on the user's configuration operation, or it can set a specific processing entity indicated by the user as the target interactive object.
[0055] For example, if the role of "third debater on the opposing side" is associated with an empty interactive object, the user can launch the application and select themselves or a specific processing entity (e.g., a bot) as the role of "third debater on the opposing side" to participate in the interactive scenario.
[0056] Accordingly, such as Figure 3A As shown, the character indicator element 330 can display corresponding object information (e.g., "empty space") to indicate its association with an empty interactive object. Additionally, the character indicator element 330 can display preset image content.
[0057] Furthermore, such as Figure 3A As shown, the configuration interface 300A may also include an input control 335 for obtaining interactive control information. In some embodiments, the interactive control information may include a piece of text describing the interactive rules and / or control logic of the interactive scenario.
[0058] In some embodiments, such interactive control information may be provided to create a target processing entity (i.e., the host role mentioned above) in an interactive scenario. In some embodiments, the target processing entity may be configured to manage the interaction process of multiple interactive objects in the interactive scenario.
[0059] Continuing with the debate scenario as an example, the interactive control information can describe the flow of the entire debate process, the speaking order of each character, and the content that the moderator needs to output.
[0060] In some embodiments, such a target processing entity can be implemented based on a machine learning model. For example, electronic device 110 can provide interactive control information obtained via input control 335 to the target model to instruct the target model to manage the interaction process of multiple interactive objects in the interactive scene according to the content described by the interactive control information.
[0061] In some embodiments, the electronic device 110 may also provide a debug window 340 in the configuration interface 300A. As an example, the debug window 340 may include an entry 345 for initiating debugging based on the current configuration information.
[0062] In some embodiments, the debug window 340 may present a session interface involving multiple interactive objects (e.g., configured processing entities and / or user objects) corresponding to multiple preset roles. This session interface may display interactive messages generated by these multiple interactive objects in the interactive scenario.
[0063] Continuing with the debate scenario as an example, the moderator can generate an opening message based on scenario description information and / or interactive control information. Furthermore, pre-defined processing entities corresponding to each debater can generate corresponding messages based on scenario description information and contextual information in the dialogue. Accordingly, when a user needs to express their opinion, the electronic device 110 can provide corresponding message input controls to support the user in inputting corresponding interactive messages.
[0064] In box 220, electronic device 110 creates a target application based on configuration information.
[0065] As an example, electronic device 110 can create a corresponding target application based on this configuration information. Furthermore, this target application can be published or shared with other users, for example. As an example, electronic device 110 can receive a user's selection of the publishing control 250 to create and publish the target application corresponding to the received configuration information.
[0066] Based on the process described above, the embodiments of this disclosure can acquire interactive control information and role setting information of the target interactive scene, and create the target application based on this configuration information. Therefore, the embodiments of this disclosure can support the creation of richer interactive scenes and improve the flexibility of application development.
[0067] Example devices and equipment
[0068] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an example device 400 for creating applications according to certain embodiments of the present disclosure is shown. Device 400 may be implemented as or included in electronic device 110. Various modules / components in device 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0069] like Figure 4 As shown, the device 400 includes an acquisition module 410 configured to acquire configuration information, which includes interaction control information and role setting information about the target interactive scene. The interaction control information is used to construct a first processing entity corresponding to the target interactive scene, so that the first processing entity manages the interaction process of a group of interactive objects participating in the target interactive scene based on the interaction control information. The role setting information indicates a set of preset roles associated with the target interactive scene. The device also includes a creation module 420 configured to create a target application based on the configuration information.
[0070] In some embodiments, the configuration information may further include scene description information about the target interactive scene, wherein the scene description information is used to construct the first processing entity, or the scene description information is provided to the second processing entity participating in the target interactive scene.
[0071] In some embodiments, obtaining role setting information includes: presenting a role configuration window based on a request to add a first role associated with a target interaction scene; and obtaining role description information about the first role through the role configuration window.
[0072] In some embodiments, the role description information includes at least one of the following: a role identifier for a first role; and visibility information indicating whether role information associated with the first role is visible to other roles.
[0073] In some embodiments, obtaining role setting information includes: receiving a selection of a third processing entity via a role configuration window; and associating the third processing entity with a first role as a preset interactive object in a target interactive scene.
[0074] In some embodiments, the role setting information also indicates at least one of the following: the identifier of the third processing entity in the target interaction scene; and descriptive text about the third processing entity.
[0075] In some embodiments, the device 400 further includes a control module configured to: in response to a second role in a set of preset roles being associated with an empty interactive object, control the target application to provide an object configuration window for configuring the target interactive object corresponding to the second role.
[0076] In some embodiments, the target interaction object includes: a user object, or a fourth processing entity determined based on configuration operations.
[0077] In some embodiments, the acquisition module 410 is further configured to: acquire configuration information via a configuration interface, wherein the configuration interface presents a set of role indicator elements corresponding to a set of preset roles.
[0078] In some embodiments, the role indicator element indicates the role name of the corresponding role and the object information corresponding to the corresponding role, wherein the object information is used to indicate the interactive object associated with the corresponding role.
[0079] In some embodiments, the device 400 further includes a display module configured to: display entity description content of the preset processing entity using a role indicator element in response to a corresponding role being associated with a preset processing entity; or display preset content using a role indicator element in response to a corresponding role being associated with an empty interactive object.
[0080] In some embodiments, the device 400 further includes a debugging module configured to display a debugging session window corresponding to the configuration information in a configuration interface, the debugging session window being used to present interactive messages between a group of interactive objects.
[0081] Figure 5 A block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 5 The electronic device 500 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 5 The electronic device 500 shown can be used to achieve Figure 1 Electronic devices 110.
[0082] like Figure 5As shown, electronic device 500 is in the form of a general-purpose electronic device. Components of electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. Processing unit 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 500.
[0083] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.
[0084] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 5 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0085] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0086] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0087] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0088] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0089] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0090] 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.
[0091] 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.
[0092] 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 for creating an application, comprising: Obtain configuration information, which includes interaction control information and role setting information for the target interactive scene. The interaction control information is used to construct a first processing entity corresponding to the target interactive scene, so that the first processing entity manages the interaction process of a group of interactive objects participating in the target interactive scene based on the interaction control information. The character setting information indicates a set of preset characters associated with the target interactive scene; as well as Based on the configuration information, create the target application.
2. The method according to claim 1, wherein the configuration information further includes scene description information about the target interactive scene. in, The scene description information is used to construct the first processing entity, or the scene description information is provided to the second processing entity participating in the target interactive scene.
3. The method according to claim 1, wherein obtaining the character setting information includes: Based on the request to add a first role associated with the target interactive scene, a role configuration window is presented; as well as The character description information about the first character is obtained through the character configuration window.
4. The method according to claim 3, wherein the role description information includes at least one of the following: The role identifier of the first character; Visibility information indicates whether the role information associated with the first role is visible to other roles.
5. The method according to claim 3, wherein obtaining the character setting information includes: The selection of a third processing entity is received via the role configuration window; as well as The third processing entity is associated with the first role to serve as a preset interactive object in the target interactive scene.
6. The method of claim 5, wherein the role setting information further indicates at least one of the following: The identifier of the third processing entity in the target interactive scenario; Description text about the third processing entity.
7. The method according to claim 1, further comprising: In response to the second role in the set of preset roles being associated with an empty interactive object, the target application is controlled to provide an object configuration window, which is used to configure the target interactive object corresponding to the second role.
8. The method according to claim 7, wherein the target interactive object comprises: User object, or The fourth processing entity is determined based on the configuration operation.
9. The method according to claim 1, wherein obtaining configuration information includes: The configuration information is obtained through the configuration interface, which presents a set of character indicator elements corresponding to the set of preset characters.
10. The method of claim 9, wherein the role indicator element indicates the role name of the corresponding role and object information corresponding to the corresponding role, the object information being used to indicate the interactive object associated with the corresponding role.
11. The method of claim 10, further comprising: In response to the corresponding role being associated with a preset processing entity, the entity description content of the preset processing entity is displayed using the role indicator element; or In response to the corresponding role being associated with an empty interactive object, preset content is displayed using the role indicator element.
12. The method according to claim 9, further comprising: The configuration interface displays a debug session window corresponding to the configuration information. The debug session window is used to present the interaction messages between the group of interactive objects.
13. An apparatus for creating an application, comprising: The acquisition module is configured to acquire configuration information, which includes interaction control information and role setting information about the target interaction scene. The interaction control information is used to construct a first processing entity corresponding to the target interaction scene, so that the first processing entity manages the interaction process of a group of interactive objects participating in the target interaction scene based on the interaction control information. The character setting information indicates a set of preset characters associated with the target interactive scene; as well as The module is configured to create the target application based on the configuration information.
14. An electronic device comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 12 when executed by the at least one processing unit.
15. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 12.