Application creation method and apparatus, and device and storage medium

By obtaining and configuring the description information of multiple processing entities, the problem that traditional single processing entity applications are difficult to handle complex requests is solved, and the flexible switching and efficient processing capabilities of multi-processing entity applications are achieved.

WO2025200592A1PCT designated stage Publication Date: 2025-10-02BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/138827
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-03-29
Filing Date
2024-12-12
Publication Date
2025-10-02

AI Technical Summary

Technical Problem

Traditional single-processing entity applications find it difficult to effectively process complex requests, and it is difficult to flexibly switch to multiple processing entities to improve processing capabilities.

Method used

By acquiring configuration information, configuring description information of multiple processing entities, including a first processing entity and a group of second processing entities associated therewith, determining whether to switch to the second processing entity to process a request based on the description information, and creating a target application.

Benefits of technology

It realizes the flexible switching of multi-processing entity applications, improves the ability to handle complex requests and the execution efficiency of applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024138827_02102025_PF_FP_ABST
    Figure CN2024138827_02102025_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure relate to an application creation method and apparatus, and a device and a storage medium. The method provided herein comprises: acquiring configuration information, wherein the configuration information indicates a plurality of processing entities for creating an application, the plurality of processing entities comprise a first processing entity and a group of second processing entities associated with the first processing entity, the configuration information comprises description information about the group of second processing entities, the first processing entity is configured to determine, on the basis of the description information of the group of second processing entities, whether to switch to a second processing entity so as to process a request, and the description information indicates an application scenario of the corresponding second processing entity and / or the function of the corresponding second processing entity; and creating a target application on the basis of the configuration information. In this way, the embodiments of the present disclosure can support a user to configure description information of a group of processing entities so as to support a specific processing entity to execute the determination of whether to jump.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment and storage medium for creating application

[0001] This application claims priority to the Chinese invention patent application entitled “Method, apparatus, device and storage medium for creating applications” filed on March 29, 2024, with application number: 202410383122.7. The entire contents of this application are incorporated by reference into this application. Technical Field

[0002] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, apparatuses, devices, and computer-readable storage media for creating applications. Background Art

[0003] With the development of computer technology, people can create and publish various types of applications through some platforms. For example, with the development of machine learning technology, people can quickly create applications by configuring application parameters, such as the model used by the application and the available plug-ins. Summary of the Invention

[0004] In a first aspect of the present disclosure, a method for creating an application is provided. The method includes: obtaining configuration information indicating multiple processing entities used to create the application, the multiple processing entities including a first processing entity and a group of second processing entities associated with the first processing entity, the configuration information including descriptive information about the group of second processing entities, the first processing entity being configured to determine whether to switch to the second processing entity to process a request based on the descriptive information about the group of second processing entities, the descriptive information indicating applicable scenarios and / or functions of the corresponding second processing entities; and creating a target application based on the configuration information.

[0005] In a second aspect of the present disclosure, a device for creating an application is provided. The device includes: an acquisition module configured to acquire configuration information, the configuration information indicating multiple processing entities used to create the application, the multiple processing entities including a first processing entity and a group of second processing entities associated with the first processing entity, the configuration information including descriptive information about the group of second processing entities, the first processing entity being configured to determine whether to switch to the second processing entity to process a request based on the descriptive information of the group of second processing entities, the descriptive information indicating applicable scenarios and / or functions of the corresponding second processing entity; and a creation 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 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.

[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0008] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0010] FIG1 shows a schematic diagram of an example environment in which embodiments according to the present disclosure may be implemented;

[0011] FIG2 illustrates a flowchart of an example process for creating an application according to some embodiments of the present disclosure;

[0012] 3A to 3C illustrate example interfaces according to some embodiments of the present disclosure;

[0013] FIG4 shows a schematic structural block diagram of an example apparatus for creating an application according to some embodiments of the present disclosure; and

[0014] FIG5 shows a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION

[0015] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0016] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section / subsection. Furthermore, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or in different sections / subsections.

[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, 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 may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0018] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects shall comply with the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms them. Accordingly, when implementing the various embodiments of the present disclosure, the types, scope of use, and usage scenarios of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method may vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0019] If this specification and the solutions in the examples involve the processing of personal information, such processing will be done only with a legitimate basis (such as with the consent of the subject of personal information or as necessary for the performance of a contract) and only within the prescribed or agreed scope. A user's refusal to process personal information other than that required for basic functions will not affect the user's use of basic functions.

[0020] Traditionally, users have supported configuring models, plug-ins, and other features used by applications to quickly create applications, such as bots. However, such applications typically correspond to a single processing entity, such as a single agent. Because a single processing entity typically has strong processing capabilities in a specific area, this results in a limited number of requests that the application can process, making it difficult to effectively handle complex requests.

[0021] An embodiment of the present disclosure proposes a solution for creating an application. According to the solution, configuration information can be obtained, the configuration information indicating multiple processing entities used to create the application, the multiple processing entities including a first processing entity and a group of second processing entities associated with the first processing entity, the configuration information including descriptive information about the group of second processing entities, the first processing entity being configured to determine whether to switch to the second processing entity to process a request based on the descriptive information of the group of second processing entities, the descriptive information indicating the applicable scenario of the corresponding second processing entity and / or the function of the corresponding second processing entity. Further, based on the configuration information, a target application can be created.

[0022] In this way, embodiments of the present disclosure can support users in creating an application (eg, a bot based on multiple processing entities) by configuring description information of a group of processing entities to support a specific processing entity in performing a jump decision.

[0023] Various example implementations of this solution are described in detail below in conjunction with the accompanying drawings.

[0024] Sample Environment

[0025] FIG1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG1 , the example environment 100 may include an electronic device 110 .

[0026] In this example environment 100, electronic device 110 may run an application 120 that supports interface interaction. Application 120 may be any suitable type of application for interface interaction, examples of which may include, but are not limited to, development applications or other suitable applications that support application development. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.

[0027] In the environment 100 of FIG. 1 , if the application 120 is in an active state, the electronic device 110 may present an interface 150 for supporting the creation of an application through the application 120 .

[0028] In some embodiments, the electronic device 110 communicates with the server 130 to enable the provision of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, 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 e-book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0029] The server 130 may be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as 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 big data and artificial intelligence platforms. For example, the server 130 may 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 may provide background services for the application 120 that supports virtual scenes in the electronic device 110.

[0030] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired or wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.

[0031] 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.

[0032] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0033] Example Process

[0034] FIG2 shows a flowchart of a process 200 for creating an application according to some embodiments of the present disclosure. The process 200 may be implemented at the electronic device 110. The process 200 is described below with reference to FIG1.

[0035] As shown in FIG2 , at block 210, electronic device 110 obtains configuration information, wherein the configuration information indicates a plurality of processing entities for creating an application, the plurality of processing entities including a first processing entity and a set of second processing entities associated with the first processing entity. Additionally, the configuration information may include descriptive information about the set of second processing entities, and the first processing entity is configured to determine whether to switch to the second processing entity to process a request based on the descriptive information about the set of second processing entities. In some embodiments, the descriptive information indicates applicable scenarios of the corresponding second processing entity and / or the functions of the corresponding second processing entity.

[0036] In some embodiments, the electronic device 110 may support multiple processing entities included in a user-configured application to create an application. Such multiple processing entities may include, for example, two or more agents or sub-applications (e.g., bots). An example process for obtaining configuration information according to some embodiments of the present disclosure will be described below in conjunction with Figures 3A to 3C.

[0037] In some embodiments, the electronic device 110 may provide an editing interface 300A as shown in FIG3A . In the interface 300A, the electronic device 110 may support a user in creating a node connection graph 312. Such a node connection graph may include a start node 302 and multiple nodes corresponding to multiple processing entities, such as a node 304 corresponding to "processing entity 1."

[0038] 3A , the electronic device 110 may support the user to add one or more new nodes to the node connection graph 312 through the control 310. For example, the user may add a new node corresponding to a processing entity (eg, an agent or bot) through the control 306.

[0039] As an example, as shown in FIG. 3B , the user may use the control 306 to add a node 314 - 1 corresponding to “processing entity 2 ” and a node 314 - 2 corresponding to “processing entity 3 ” to the node connection graph 312 .

[0040] 3C , the user may edit properties of a specific node included in the node connection graph. Taking node 314 as an example, the electronic device 110 may support the user in editing properties of the “processing entity 2 ” corresponding to the node 314 .

[0041] For example, electronic device 110 may obtain descriptive information for "processing entity 2" through controls 316 and 318. In some embodiments, control 316 may be used to obtain scenario description information about scenarios applicable to "processing entity 2." Control 318 may be used to obtain functional description information about the functions of "processing entity 2."

[0042] In some embodiments, such descriptive information may include, for example, textual content input by a user via control 316 and / or control 318 .

[0043] In some embodiments, the electronic device 110 may also add corresponding capabilities to the "processing entity 2." Such capabilities may include, but are not limited to, plug-in capabilities, tool capabilities, and knowledge capabilities.

[0044] Specifically, the electronic device 110 may configure plug-in information, tool information, or knowledge base information of the "processing entity 2." The electronic device 110 may support adding one or more plug-ins, one or more tools, and / or one or more knowledge bases to the "processing entity 2."

[0045] Additionally, the electronic device 110 may also allow the user to modify other properties of "processing entity 2." For example, the electronic device 110 may allow the user to modify the name of "processing entity 2," add a new processing entity with the same properties to the node connection graph, or delete the node 314-1.

[0046] Additionally, the electronic device 110 may also allow the user to modify the model information of "processing entity 2." For example, the electronic device 110 may determine the model corresponding to "processing entity 2" through the control 332 and allow the user to modify relevant parameters of the model, such as temperature and maximum response length.

[0047] Similarly, the electronic device 110 may configure the node 314 - 2 based on the same manner, for example.

[0048] 3C , the electronic device 110 may further support configuring the connection relationship of nodes in the node connection graph 312. Specifically, as shown in FIG3B , the electronic device 110 may add a connection between the node 304 and the node 314-1, or add a connection between the node 304 and the node 314-2 based on a user editing operation.

[0049] In some embodiments, such a node connection may indicate an association between the node 304 and the node 314 - 1 or the node 314 - 2 , indicating that the node 304 may jump to the node 314 - 1 or the node 314 - 2 to process a task.

[0050] In some embodiments, such a node 304 may also be referred to as a “host node.” Such a node 304 may establish a node connection with one or more other nodes and determine whether to jump to the corresponding node to process a request based on description information of the one or more other nodes.

[0051] In some embodiments, as shown in FIG3B , such a node 304 may be a starting node in the node connection diagram 312 , so that a newly received request is always sent to the node 304 first to determine which node to jump to for processing the task.

[0052] In some embodiments, to support the jump from "processing entity 1" to "processing entity 2" or "processing entity 3", the electronic device 110 can create a corresponding jump plug-in for "processing entity 1" based on the description information of "processing entity 2" and "processing entity 3". This enables "processing entity 1" to independently determine whether the jump plug-in needs to be used in the current scenario to perform the switch from "processing entity 1" to "processing entity 2" or "processing entity 3". In some examples, if "processing entity 1" creates a jump plug-in, the electronic device 110 can also generate recommended interaction items for "processing entity 1" based on the jump plug-in.

[0053] Taking into account the increase in the number of nodes, in some scenarios, the user may expect to configure a global jump condition. As shown in Figure 3A, the electronic device 110 can also support the user to configure global jump information through a control 308. The global jump information can indicate that at least one other processing entity other than the target processing entity in the node connection diagram can switch to the target processing entity under a unified specific condition to process the request. In some embodiments, the global jump information can indicate that all processing entities other than the target processing entity in the node connection diagram can switch to the target processing entity under a unified specific condition to process the request.

[0054] 3C , after receiving a selection for control 308, electronic device 110 may add global jump node 320 to node connection graph 312. Furthermore, electronic device 110 may establish a connection between global jump node 320 and node 314-2 based on a user's configuration operation, and obtain a corresponding jump condition via control 322.

[0055] Based on this configuration operation, for the application to be created, all other processing entities except "Processing Entity 3" can determine whether to switch to "Processing Entity 3" based on "Global Jump Condition 2" during runtime. By allowing users to create global jump nodes, embodiments of the present disclosure can further improve user editing efficiency.

[0056] In some embodiments, after the target application is published based on the node connection graph 312, the target application can switch between processing entities during the process of processing the target request. For example, after the target application receives a target request to be processed, the target application can provide the target request to "processing entity 1", and "processing entity 1" determines the target processing entity for processing the target request based on the description information of other associated processing entities (e.g., "processing entity 2" and "processing entity 3").

[0057] For example, "Processing Entity 2" can provide a weather query function, and "Processing Entity 3" can provide a traffic query function. Therefore, when receiving a user's request for weather query, "Processing Entity 1" can determine to jump to "Processing Entity 2" to handle the request based on the description information of "Processing Entity 2".

[0058] Furthermore, the target application may switch to the determined target processing entity (eg, “processing entity 2 ”) to process the target request.

[0059] In some embodiments, after the target request is processed, the target application may switch back to "processing entity 1" to process other requests received subsequently.

[0060] For example, if the user further inputs a request regarding traffic inquiry, "processing entity 1" may continue to determine, based on the request, that it is necessary to switch to "processing entity 3" to process the request.

[0061] Therefore, the embodiments of the present disclosure can improve the execution efficiency of the target application by configuring the hosting node to perform the distribution and flow of requests according to the description information of other processing entities.

[0062] As discussed above, the electronic device 110 can support various types of editing operations on the node connection diagram 312 by the user, such as adding new nodes, deleting existing nodes, editing node attributes, modifying node connection relationships, etc. It should be understood that although the acquisition of configuration information is discussed above with reference to the node connection diagram, the electronic device 110 can also support the user inputting configuration information through other appropriate methods.

[0063] As an example, the electronic device 110 may support the user to configure multiple processing entities and jump information between processing entities by code editing. Alternatively, the electronic device 110 may also configure the associations between the processing entities by means of a data table or the like.

[0064] As an example, the electronic device 110 may support configuring a type attribute of a node (such as node 314-1 or node 314-2) to indicate that description information of the node can be provided to the node 304 so that the node 304 can determine whether to jump to the node. In this case, the user may not need to add connections between nodes, thereby improving the efficiency of node configuration.

[0065] As another example, an upper limit on the number of other nodes that the node 304 is allowed to associate with may be set to avoid the logic of the "processing entity 1" from being too complex, thereby improving the execution efficiency of the created application.

[0066] 2 , in block 220 , the electronic device 110 creates a target application based on the configuration information.

[0067] As an example, the electronic device 110 may create a corresponding target application, such as a bot, based on the configuration information. Furthermore, the bot may be published or shared with other users.

[0068] In some embodiments, with the permission of the publisher, for example, other users may be supported to create templates of published applications, and new applications may be created by editing corresponding node connection diagrams, thereby improving application efficiency.

[0069] Example devices and equipment

[0070] Embodiments of the present disclosure also provide corresponding apparatuses for implementing the above-described methods or processes. FIG4 shows a schematic block diagram of an example apparatus 400 for creating an application according to certain embodiments of the present disclosure. Apparatus 400 may be implemented as or included in electronic device 110. Each module / component in apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0071] As shown in Figure 4, the device 400 includes an acquisition module 410, which is configured to configure information indicating multiple processing entities for creating an application, the multiple processing entities including a first processing entity and a group of second processing entities associated with the first processing entity, the configuration information including descriptive information about the group of second processing entities, the first processing entity is configured to determine whether to switch to the second processing entity to process a request based on the descriptive information of the group of second processing entities, the descriptive information indicates the applicable scenarios of the corresponding second processing entities and / or the functions of the corresponding second processing entities; a creation module 420, which is configured to create a target application based on the configuration information.

[0072] In some embodiments, the acquisition module 410 is further configured to: create a node connection graph via an editing interface, the node connection graph including multiple nodes corresponding to multiple processing entities, the multiple nodes including a first node corresponding to a first processing entity and a group of second nodes corresponding to a group of second entities, and the node connection graph including a connection between the first node and the group of second nodes to indicate the association between the first processing entity and the group of second entities; and determine configuration information based on the node connection graph.

[0073] In some embodiments, the acquisition module 41 is further configured to: receive a set of editing operations via an editing interface to create a node connection graph, wherein the set of editing operations includes at least one of the following: adding new nodes to the node connection graph; deleting existing nodes in the node connection graph; editing the properties of nodes in the node connection graph; and modifying the connection relationship of nodes in the node connection graph.

[0074] In some embodiments, the first node is a starting node in the node connection graph.

[0075] In some embodiments, the acquisition module 410 is further configured to: present a configuration interface regarding the second processing entity; and acquire description information regarding the second processing entity via the configuration interface.

[0076] In some embodiments, the description information includes text content entered via the configuration interface.

[0077] In some embodiments, the device 400 also includes a plug-in creation module, which is configured to: create a set of jump plug-ins for the first processing entity based on the description information of a set of second processing entities, so that the first processing entity can switch to the corresponding second processing entity by calling the jump plug-in.

[0078] In some embodiments, the configuration information includes global jump information indicating that at least one other agent among the plurality of processing entities except the third processing entity can switch to the third processing entity to process the request under a target condition.

[0079] In some embodiments, the apparatus 400 further includes a node creation module configured to create a global jump node corresponding to the global jump information in the editing interface.

[0080] In some embodiments, the device 400 also includes a processing module configured to: in response to the target application receiving a target request to be processed, the target application provides a request to the first processing entity; the first processing entity determines a target processing entity for processing the target request from a group of second processing entities based on description information of the group of second processing entities; and the target application switches to the target processing entity to process the target request.

[0081] In some embodiments, the processing module is further configured to: in response to completion of processing the target request, switch the target application back to the first processing entity for processing subsequently received requests.

[0082] FIG5 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 500 shown in FIG5 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 500 shown in FIG5 can be used to implement the electronic device 110 of FIG1 .

[0083] As shown in FIG5 , electronic device 500 is 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 real or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 500.

[0084] The electronic device 500 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 500, including but not limited to 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 medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 500.

[0085] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5 , a disk drive for reading from or writing to a removable, non-volatile disk (e.g., a “floppy disk”) and an optical drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0086] The communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0087] Input device 550 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 560 may be one or more output devices, such as a display, a speaker, or a printer. Electronic device 500 may also communicate with one or more external devices (not shown) via communication unit 540 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with electronic device 500, or with any device that allows electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0088] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0089] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0090] 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 device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0091] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0092] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0093] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not 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 selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for creating an application, comprising: acquiring configuration information, the configuration information indicating a plurality of processing entities for creating an application, the plurality of processing entities including a first processing entity and a group of second processing entities associated with the first processing entity, the configuration information including description information about the group of second processing entities, the first processing entity being configured to determine whether to switch to the second processing entity to process a request based on the description information of the group of second processing entities, the description information indicating applicable scenarios of corresponding second processing entities and / or functions of the corresponding second processing entities; and Based on the configuration information, a target application is created.

2. The method according to claim 1, wherein obtaining configuration information comprises: creating a node connection graph via an editing interface, the node connection graph including a plurality of nodes corresponding to the plurality of processing entities, the plurality of nodes including a first node corresponding to the first processing entity and a group of second nodes corresponding to the group of second entities, and the node connection graph including a connection between the first node and the group of second nodes to indicate an association between the first processing entity and the group of second entities; as well as The configuration information is determined based on the node connection graph.

3. The method according to claim 2, wherein creating a node connection graph via an editing interface comprises: receiving a set of editing operations via the editing interface to create the node connection graph, The set of editing operations includes at least one of the following: Adding a new node to the node connection graph; Deleting existing nodes in the node connection graph; Editing properties of nodes in the node connection graph; Modify the connection relationship of the nodes in the node connection graph. The method according to claim 2 , wherein the first node is a starting node in the node connection graph.

5. The method according to claim 1, wherein obtaining configuration information comprises: Presenting a configuration interface for the second processing entity; as well as The description information about the second processing entity is obtained via the configuration interface. The method according to claim 5 , wherein the description information comprises text content input via the configuration interface.

7. The method according to claim 1, further comprising: Based on the description information of the group of second processing entities, a group of jump plug-ins for the first processing entity is created, so that the first processing entity can switch to the corresponding second processing entity by calling the jump plug-ins.

8. The method according to claim 1, wherein the configuration information includes global jump information, and the global jump information indicates that at least one other intelligent agent among the plurality of processing entities except the third processing entity can switch to the third processing entity to process the request under target conditions.

9. The method according to claim 8, further comprising: A global jump node corresponding to the global jump information is created in the editing interface.

10. The method according to claim 1, further comprising: In response to the target application receiving a target request to be processed, the target application provides the request to the first processing entity; The first processing entity determines, from the group of second processing entities based on the description information of the group of second processing entities, a target processing entity for processing the target request; and The target application switches to the target processing entity to process the target request.

11. The method according to claim 10, further comprising: In response to completion of processing the target request, the target application switches back to the first processing entity for processing subsequently received requests.

12. A device for creating an application, comprising: an acquisition module configured to acquire configuration information, the configuration information indicating a plurality of processing entities used to create an application, the plurality of processing entities including a first processing entity and a group of second processing entities associated with the first processing entity, the configuration information including description information about the group of second processing entities, the first processing entity being configured to determine whether to switch to the second processing entity to process a request based on the description information of the group of second processing entities, the description information indicating an applicable scenario of a corresponding second processing entity and / or a function of the corresponding second processing entity; as well as The creation module is configured to create a target application based on the configuration information.

13. 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 11 when executed by the at least one processing unit.

14. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Method and device for processing data table, equipment and storage medium

    CN117312305A

  • Target application generation method and device based on large language model and storage medium

    CN117492743A

  • Method, device and equipment for skill editing and storage medium

    CN117753013A

  • In-service raid mirror reconfiguring

    US20050102603A1