Method and apparatus for creating application, and device and storage medium
By setting the target processing component to asynchronous running mode in the application editing interface, the inefficiency caused by the waiting of processing components in traditional applications is solved, and efficient application execution with asynchronous processing is achieved.
Patent Information
- Application Number
- PCT/CN2025/103385
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-30
- Filing Date
- 2025-06-25
- Publication Date
- 2026-01-08
AI Technical Summary
In traditional applications, processing components must wait for the previous request to complete before they can process subsequent requests, resulting in low request processing efficiency.
The application editing interface provides configuration controls associated with the target processing component, which can be set to asynchronous running mode. The created target application responds to receiving a second message during the running of the processing component without waiting for the processing component to complete.
It improves the application's execution efficiency, supports asynchronous execution of processing components, and enhances the efficiency of request processing.
Smart Images

Figure CN2025103385_08012026_PF_FP_ABST
Abstract
Description
Method, device, equipment and storage medium for creating application
[0001] The present application claims priority to the Chinese patent application No. 202410870547.0, filed on June 30, 2024, entitled “Method, device, equipment and storage medium for creating application”, the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The example embodiments of the present disclosure generally relate to the field of computer, and in particular, to a method, device, equipment and computer readable storage medium for creating application. BACKGROUND
[0003] With the development of computer technology, people can create and publish various types of applications through some platforms. For example, with the development of machine learning technology, people can quickly create applications by configuring parameters of the applications, such as models used by the applications, available plug-ins, etc. SUMMARY
[0004] In a first aspect of the present disclosure, a method for creating an application is provided. The method comprises: providing, in an application editing interface, a first configuration control associated with a target processing component; setting, via the first configuration control, the target processing component to an asynchronous running mode; and creating a target application comprising the target processing component, the target application being configured to, during a triggered running of the target processing component based on a first message, in response to receiving a second message, process the second message without waiting for the target processing component to run to completion.
[0005] In a second aspect of the present disclosure, a method for processing a request is provided. The method comprises: based on a first message received by a target application, triggering a target processing component of the target application to run, the target processing component being configured to an asynchronous running mode; before the target processing component executes to completion, receiving a second message via the target application; and providing first response content for the second message independently of a running state of the target processing component.
[0006] In a third aspect of the present disclosure, a device for creating an application is provided. The device comprises: a providing module configured to provide, in an application editing interface, a first configuration control associated with a target processing component; a setting module configured to set, via the first configuration control, the target processing component to an asynchronous running mode; and a creating module configured to create a target application comprising the target processing component, the target application being configured to, during a triggered running of the target processing component based on a first message, in response to receiving a second message, process the second message without waiting for the target processing component to run to completion.
[0007] In a fourth aspect of the present disclosure, an apparatus for processing a request is provided. The apparatus includes a running module configured to trigger a target processing component running a target application based on a first message received by the target application, the target processing component configured to run in an asynchronous running mode; a receiving module configured to receive a second message via the target application before the target processing component finishes execution; and an output module configured to provide a first response content for the second message independently of a running state of the target processing component.
[0008] In a fifth 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. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect or the second aspect.
[0009] In a sixth aspect of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon a computer program, the computer program being executable by a processor to implement the method of the first aspect or the second aspect.
[0010] In a seventh aspect of the present disclosure, a computer program product is provided. The computer program product includes computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method of the first aspect or the second aspect.
[0011] It should be understood that the contents described in this section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0012] The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by describing in detail some embodiments thereof with reference to the annexed drawings in which:
[0013] FIG. 1 shows a schematic diagram of an example environment in which embodiments according to the present disclosure can be implemented;
[0014] FIG. 2A shows a flowchart of an example process of creating an application according to some embodiments of the present disclosure;
[0015] FIG. 2B shows a flowchart of an example process of processing a request according to some embodiments of the present disclosure;
[0016] FIG. 3A shows an example editing interface according to some embodiments of the present disclosure;
[0017] FIG. 3B shows an example debugging interface according to some embodiments of the present disclosure;
[0018] FIG. 3C illustrates an example running interface, in accordance with some embodiments of the present disclosure;
[0019] FIG. 4A illustrates a schematic structural block diagram of an example apparatus for creating an application, in accordance with some embodiments of the present disclosure;
[0020] FIG. 4B illustrates a schematic structural block diagram of an example apparatus for creating an application, in accordance with some embodiments of the present disclosure; and
[0021] FIG. 5 illustrates a block diagram of an electronic device that is capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION
[0022] Embodiments of the present disclosure will be described in more detail with reference to the drawings. While certain embodiments of the present disclosure are illustrated in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be interpreted in a limited sense. Rather, the embodiments are provided so that the present disclosure can be more thoroughly understood and completely conveyed. It is to be understood that the drawings and embodiments of the present disclosure are only for illustrative purposes and should not be construed as limiting the scope of the present disclosure.
[0023] It is noted that the headings provided herein are not limitations of the various embodiments of the present disclosure. Various embodiments are described throughout this document and can be included under any heading. Additionally, embodiments described in any heading can be combined with any other embodiment described in the same heading and / or a different heading in any manner.
[0024] In the description of embodiments of the present disclosure, the term "includes" and its derivatives are to be construed as open-ended, i.e., "includes but is not limited to." The term "based on" is to be construed as "based at least in part on." The term "one embodiment" or "an embodiment" are to be construed as "at least one embodiment." The term "some embodiments" is to be construed as "at least some embodiments." Other explicit and implicit definitions can also be included below. The terms "first," "second," etc. can refer to different or same objects. Other explicit and implicit definitions can also be included below.
[0025] The data of the user, the acquisition and / or use of the data, etc. can be involved in the embodiments of the present disclosure. These aspects all comply with the corresponding laws and regulations and relevant provisions. In the embodiments of the present disclosure, the collection, acquisition, processing, processing, forwarding, use, etc. of all data are performed on the premise that the user is aware of and confirms. Accordingly, when implementing the embodiments of the present disclosure, the type of data or information that can be involved, the use range, the use scenario, etc. should be informed to the user and the authorization of the user should be obtained through appropriate means according to the relevant laws and regulations. The specific informing and / or authorization manner can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this aspect.
[0026] In the present specification and embodiments, if the scheme involves processing of personal information, the processing is performed on the premise of having a legal basis (for example, obtaining the consent of the subject of personal information, or being necessary for performing a contract, etc.) and is performed only within the prescribed or agreed range. The user refuses to process personal information other than the necessary information required for the basic function, which does not affect the user's use of the basic function.
[0027] Traditionally, an application such as a bot usually needs to wait for a processing component to complete a request before processing a subsequent request. However, some processing components can take a long time to complete the processing work, which greatly affects the efficiency of request processing.
[0028] Embodiments of the present disclosure provide a scheme for creating an application. According to the scheme, a first configuration control associated with a target processing component can be provided in an application editing interface. Further, the target processing component can be set to an asynchronous running mode via the first configuration control. Accordingly, a target application including the target processing component can be created. The created target application can be configured to, during the target processing component is triggered to run based on a first message, in response to receiving a second message, the target application processes the second message without waiting for the target processing component to run to completion.
[0029] In this way, embodiments of the present disclosure can support configuring a specific processing component in an application to be executed asynchronously, thereby improving the efficiency of application execution.
[0030] Various example implementations of the scheme are described in further detail below in conjunction with the accompanying drawings.
[0031] Example Environment
[0032] FIG. 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG. 1, the example environment 100 can include an electronic device 110.
[0033] In this example environment 100, the electronic device 110 can be running an application 120 that supports interface interaction. The application 120 can be any suitable type of application for interface interaction, examples of which can include, but are not limited to, a development application or other suitable application that supports workflow creation. The user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0034] In the environment 100 of FIG. 1, the electronic device 110 can present an interface 150 for supporting creation of an application by the application 120 if the application 120 is in an active state.
[0035] In some embodiments, the electronic device 110 communicates with the server 130 to enable provisioning of services to the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a tablet computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) 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 electronic book device, a game device, or any combination thereof, including an accessory or peripheral device for the foregoing, or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as “wearable” circuitry, etc.).
[0036] The server 130 can be a standalone physical server, a server cluster or distributed system of multiple physical servers, or a cloud server that provides 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, etc. basic cloud computing services. The server 130 may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 can provide background services for the application 120 in the electronic device 110 that supports virtual scenarios.
[0037] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established through a wired manner or a wireless manner. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, and the like, and embodiments of the present disclosure are not limited in this regard. In embodiments of the present disclosure, the server 130 and the electronic device 110 can implement signaling interaction through the communication connection therebetween.
[0038] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, without implying any limitation on the scope of the present disclosure.
[0039] Some example embodiments of the present disclosure will be described hereinafter with reference to the accompanying drawings.
[0040] Example process
[0041] FIG. 2A illustrates a flowchart of a process 200A of creating an application, according to some embodiments of the present disclosure. In the context of the present disclosure, “creating an application” can include various forms, for example, a new application (e.g., a bot) can be created using the example process 200A, and an existing application can be opened and edited using an editing interface as introduced below. The process 200A can be implemented at the electronic device 110. The process 200A will be described below with reference to FIG. 1.
[0042] As shown in FIG. 2A, at block 210, the electronic device 110 provides, in an application editing interface, a first configuration control associated with a target processing component.
[0043] FIG. 3A illustrates an example application editing interface 300A, according to some embodiments of the present disclosure. As shown in FIG. 3A, the interface 300A can be used to edit “Application X”, for example, to create a new application or edit an existing application. Such an application can include, for example, a bot, an agent, and the like, as examples.
[0044] As shown in FIG. 3A, the electronic device 110 can manage one or more processing components added by the application in the interface 300A. Such a processing component can include, for example, but is not limited to, a workflow, an image flow, a plugin, a trigger, and the like. During the execution of the application, the application can invoke such a processing component to trigger the execution of a corresponding processing task.
[0045] An example process of configuring a processing component will be described below with the workflow as an example of the processing component. As shown in FIG. 3A, the electronic device 110 can present a workflow 305 configured in the application, and can provide a control 310 for managing the workflow 305.
[0046] Upon receiving the selection of the control 310, the electronic device 110 can display a configuration panel 315 of the workflow 305. The electronic device 110 can provide a first configuration control 320 and a second configuration control 325 in the configuration panel 315.
[0047] At block 220, the electronic device 110 sets the target processing component to an asynchronous running mode via the first configuration control.
[0048] As shown in FIG. 3A, the electronic device 110 can receive a setting operation for the first configuration control 320, and can accordingly set the workflow 305 to the asynchronous running mode. In some embodiments, if a workflow or an image stream is set to the asynchronous running mode, multiple processing nodes in the workflow or the image stream will also be accordingly set to the asynchronous running mode.
[0049] Further, as shown in FIG. 3A, the electronic device 110 can also acquire target reply content via the second configuration control 325. Accordingly, when the workflow 305 is triggered to be executed asynchronously, the application can provide the set target reply content to the user. In some embodiments, if the user does not set the target reply content, the application can also provide a preset reply content, for example.
[0050] In some embodiments, whether a processing component is executed asynchronously can also be set in a configuration interface or a management interface of the processing component. Additionally, an application editing interface can support modification of whether a processing component is executed asynchronously.
[0051] At block 230, the electronic device 110 creates a target application including the target processing component, the target application being configured to, during a running of the target processing component triggered based on a first message, in response to receiving a second message, process the second message without waiting for the running of the target processing component to complete.
[0052] The following describes the asynchronous execution of the workflow 305 by taking a debugging process of a target application as an example. As shown in FIG. 3B, the target application can receive a first message 340, and accordingly invoke the workflow 305 to process the first message 340.
[0053] Since the workflow 305 is configured to the asynchronous execution mode, the target application can provide a reply message 345, for example. The reply message 345 can be acquired based on the second configuration control 325 described above, or the reply message 345 can also include a preset reply content.
[0054] Further, before the execution of the invoked workflow 305 is completed, the target application can further receive the second message 355 without waiting for the execution of the workflow 305 to be completed. That is, the target application can receive the new message, process the new message, or generate the response content regarding the new message independently of the running state of the workflow 305. For example, the target application can further process the second message 355 and generate a corresponding reply message 360.
[0055] Additionally, in response to the workflow 305 processing the first message 340, the target application can provide the response content 365 for the first message based on the processing result of the target processing component.
[0056] In some embodiments, to further specify that the response content 365 corresponds to the first message 340, the response content 365 can further indicate a reference to the first message 340. For example, the response content 365 can display the content of the referenced first message 340.
[0057] In some instances, if the response content 365 includes multiple reply messages, the target application can include a reference element in the first reply message of the multiple reply messages to indicate a reference to the first message 340.
[0058] In some embodiments, after the processing of the first message 340 is completed, the context information of the target application can be updated. For example, the target application can update the context information based on the first message 340 and the response content 365 for the first message 340.
[0059] As an example, in the case that the response content 365 includes a single reply message, the target application can update the context information based on the message pair (i.e., the first message 340 and the reply message). As another example, in the case that the response content 365 includes multiple reply messages, the multiple reply messages can be merged into an aggregated reply message, for example. The target application can update the context information based on the message pair (i.e., the first message 340 and the aggregated reply message).
[0060] In some embodiments, during the debugging or running of the target application, the debugging interface or the running interface of the target application can further display task description information associated with the triggered asynchronous tasks. Such task description information can be used to describe a set of asynchronous tasks triggered during the running of the target application.
[0061] Taking the debugging interface shown in FIG. 3B as an example, as shown in FIG. 3B, the electronic device 110 can present a task management panel 370 based on the user’s selection of the task viewing entry 335. The task management panel 370 can be used to show the task description information 375 associated with the triggered asynchronous tasks.
[0062] As shown in FIG. 3B, such task description information 375 can indicate the component identification of the processing component corresponding to the respective asynchronous task. For example, the task description information 375 can include the name (e.g., WORK_FLOW A) and type (e.g., workflow) of the processing component that triggers the execution.
[0063] Additionally, the task description information 375 can also indicate the input message that triggers the respective asynchronous task. For example, the task description information 375 can display the content of the user query that triggers the execution of the task.
[0064] Additionally, the task description information 375 can also indicate the processing status of the respective asynchronous task. For example, the task description information 375 can indicate that the task corresponding to the workflow 305 is in processing.
[0065] In some embodiments, the task management panel 370 can also include management entries for managing a group of asynchronous tasks. For example, the task management panel 370 can provide an entry for deleting a task, an entry for re-executing a task, an entry for pausing the execution of a task, etc.
[0066] FIG. 3C illustrates an example running interface 300C, according to some embodiments of the present disclosure. As shown in FIG. 3C, during the running process of the target application, when a processing component in the asynchronous running mode is triggered, the target application can receive and process additional messages without waiting for the completion of the execution of the processing component. The above process can refer to the debugging process as described in FIG. 3B, which will not be repeated here.
[0067] In some embodiments, to facilitate the management of tasks in the conversation interface, the target application may, for example, present a reminder message 380 associated with a group of asynchronous tasks that are triggered for execution in the running interface. For example, the reminder message 380 can indicate the number of asynchronous tasks that are triggered for execution in the target application.
[0068] Further, the target application can receive a selection of the reminder message 380 and can accordingly display a task management panel 385. Similar to the task management panel 370 in the debugging interface 300B, the task management panel 385 can present task description information about the group of asynchronous tasks. Details about the task description information can refer to the content described above, which will not be repeated here.
[0069] In some embodiments, the above-described reminder message 380 can also be generated based on a query message input by the user. For example, the user can input “how many tasks are currently being executed” to the conversation window, and the target application can accordingly provide the reminder message 380 about the currently executed asynchronous tasks.
[0070] In some embodiments, the task description information can also be provided, for example, through a conversation message or other suitable manners. For example, the target application can also present the task description information about the group of asynchronous tasks in the form of a text message.
[0071] Additionally, the target application can also support the user to manage such tasks through inputting messages or the like. For example, the user can trigger the target application to delete the first asynchronous task listed in the task management panel by inputting “delete the first task” into the conversation window.
[0072] In some embodiments, when the target application includes a plurality of asynchronous tasks, the target application can also adjust the execution order of the plurality of asynchronous tasks based on the preset operation of the user. For example, the user can change the execution order of the tasks by moving the display order of the plurality of asynchronous tasks in the task management panel. As another example, the user can also manage the execution order of the asynchronous tasks by inputting messages or the like.
[0073] Based on the above-described process, embodiments of the present disclosure can support configuring a specific processing component in an application to be executed asynchronously, thereby improving the efficiency of application execution.
[0074] FIG. 2B illustrates a flowchart of a process 200B of processing a request, according to some embodiments of the present disclosure. The process 200B can be implemented at the electronic device 110. The process 200B is described below with reference to FIG. 1.
[0075] As shown in FIG. 2B, at block 240, the electronic device 110 triggers a target processing component running a target application based on a first message received by the target application, the target processing component being configured in an asynchronous running mode.
[0076] At block 250, the electronic device 110 receives a second message via the target application before the target processing component completes execution.
[0077] At block 260, the electronic device 110 provides first response content for the second message independently of a running state of the target processing component.
[0078] In some embodiments, the process 200B further includes presenting, in a target interface associated with the target application, task description information for describing a group of asynchronous tasks triggered in a running process of the target application.
[0079] In some embodiments, the task description information indicates at least one of: a component identifier of a processing component corresponding to a respective asynchronous task; an input message triggering the respective asynchronous task; a processing state of the respective asynchronous task.
[0080] In some embodiments, the process 200B further includes: displaying, in the target interface, a management entry for managing the set of asynchronous tasks.
[0081] In some embodiments, the target interface includes a debugging interface of the target application, and presenting the task description information in the target interface associated with the target application includes: in response to a selection of the task viewing entry in the debugging interface, presenting the task description information in the first task management panel.
[0082] In some embodiments, the target interface includes a running interface of the target application, and presenting the task description information in the target interface associated with the target application includes: presenting, in the target interface, a reminder message associated with the set of asynchronous tasks; and in response to a selection of the reminder message, presenting the task description information in the second task management panel.
[0083] In some embodiments, the process 200B further includes: in response to the target processing component processing completing the first message, providing second response content for the first message, the second response content indicating a reference to the first message.
[0084] In some embodiments, the second response content includes a plurality of reply messages, and a first reply message in the plurality of reply messages includes a reference element indicating a reference to the first message.
[0085] Example apparatuses and devices
[0086] Embodiments of the present disclosure also provide corresponding apparatuses for implementing the above-described methods or processes. FIG. 4A shows a schematic structural block diagram of an example apparatus 400A for creating an application, according to certain embodiments of the present disclosure. The apparatus 400A can be implemented as or included in the electronic device 110. Various modules / components in the apparatus 400A can be implemented by hardware, software, firmware, or any combination thereof.
[0087] As shown in FIG. 4A, the apparatus 400A includes: a providing module 410 configured to provide, in an application editing interface, a first configuration control associated with a target processing component; a setting module 420 configured to set, via the first configuration control, the target processing component to an asynchronous running mode; and a creating module 430 configured to create a target application including the target processing component, the target application being configured to, during a running of the target processing component triggered based on a first message, in response to receiving a second message, process the second message without waiting for the running of the target processing component to complete.
[0088] In some embodiments, the apparatus 400A further includes a reply configuration module configured to obtain target reply content via a second configuration control associated with the target processing component, and the target application is configured to provide the target reply content when the target processing component is triggered to execute.
[0089] In some embodiments, the apparatus 400A further includes a task viewing module configured to trigger presentation of task description information in a target interface associated with the target application, the task description information being used to describe a set of asynchronous tasks triggered in a running process of the target application.
[0090] In some embodiments, the task description information indicates at least one of: a component identifier of a processing component corresponding to a respective asynchronous task; an input message triggering the respective asynchronous task; a processing status of the respective asynchronous task.
[0091] In some embodiments, the target interface further includes a management portal for managing the set of asynchronous tasks.
[0092] In some embodiments, the target interface includes a debugging interface of the target application, and the task viewing module is further configured to, in response to selection of a task viewing portal in the debugging interface, present the task description information in the first task management panel.
[0093] In some embodiments, the target interface includes a running interface of the target application, and the task viewing module is further configured to trigger presentation of a reminder message associated with the set of asynchronous tasks in the target interface, and in response to selection of the reminder message, trigger presentation of the task description information in the second task management panel.
[0094] In some embodiments, the target application is further configured to, in response to the target processing component processing the first message, provide response content for the first message, the response content indicating a reference to the first message.
[0095] In some embodiments, the response content includes a plurality of reply messages, and a first reply message in the plurality of reply messages includes a reference element indicating a reference to the first message.
[0096] In some embodiments, the target processing component includes at least one of: a workflow component; an image flow component; a plug-in component; a trigger component.
[0097] In some embodiments, in response to the workflow component or the image flow component being set to an asynchronous running mode, a plurality of processing nodes in the workflow component or the image flow component are set to the asynchronous running mode.
[0098] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above method or process. FIG. 4B shows a schematic structural block diagram of an example apparatus 400B for processing a request according to certain embodiments of the present disclosure. The apparatus 400B can be implemented as or included in the electronic device 110. Various modules / components in the apparatus 400B can be implemented by hardware, software, firmware, or any combination thereof.
[0099] As shown in FIG. 4B, the apparatus 400B includes a running module 440 configured to trigger a target processing component running a target application based on a first message received by the target application, the target processing component being configured in an asynchronous running mode; a receiving module 450 configured to receive a second message via the target application before the target processing component completes execution; and an output module 460 configured to provide first response content for the second message independently of a running state of the target processing component.
[0100] In some embodiments, the apparatus 400B further includes a task management module configured to present task description information in a target interface associated with the target application, the task description information being used to describe a set of asynchronous tasks triggered in a running process of the target application.
[0101] In some embodiments, the task description information indicates at least one of: a component identifier of a processing component corresponding to a respective asynchronous task; an input message triggering the respective asynchronous task; a processing state of the respective asynchronous task.
[0102] In some embodiments, the task management module is further configured to display a management portal for managing the set of asynchronous tasks in the target interface.
[0103] In some embodiments, the target interface includes a debugging interface of the target application, and the task management module is further configured to present the task description information in a first task management panel in response to selection of a task viewing portal in the debugging interface.
[0104] In some embodiments, the target interface includes a running interface of the target application, and the task management module is further configured to present a reminder message associated with the set of asynchronous tasks in the target interface, and present the task description information in a second task management panel in response to selection of the reminder message.
[0105] In some embodiments, the output module 460 is further configured to provide second response content for the first message in response to the target processing component completing processing of the first message, the second response content indicating a reference to the first message.
[0106] In some embodiments, the second response content includes a plurality of reply messages, and a first reply message of the plurality of reply messages includes a quote element indicating a quote of the first message.
[0107] FIG. 5 illustrates a block diagram of an electronic device 500 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 500 illustrated in FIG. 5 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 500 illustrated in FIG. 5 can be used to implement the electronic device 110 of FIG. 1.
[0108] As shown in FIG. 5, the electronic device 500 is in the form of a general electronic device. Components of the electronic device 500 can include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 can be a real or virtual processor and is capable of executing various processing in accordance with programs stored in the memory 520. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve parallel processing capability of the electronic device 500.
[0109] The electronic device 500 typically includes a number of computer storage media. Such media can be any available media that is accessible by the electronic device 500 and includes both volatile and non-volatile media, removable and non-removable media. The memory 520 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 can be a removable or non-removable media and can include a machine-readable medium, such as a flash drive, a magnetic disk, or any other medium that can be used to store information and / or data and that can be accessed by the electronic device 500.
[0110] The electronic device 500 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, a disk drive and a disk drive interface can be provided for reading from or writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive and disk drive interface can be provided for reading from or writing to a removable, non-volatile optical disk (e.g., a "CD-ROM" or "DVD"). In these instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 520 can include a computer program product 525 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the disclosure.
[0111] The communication unit 540 enables communication through the communication medium with other electronic devices. Additionally, the functionality of the components of the electronic device 500 can be implemented in a single computing cluster or a plurality of computer machines that are capable of communicating over a communication connection. As such, the electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0112] The input device 550 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 560 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 can also communicate with one or more external devices (not shown), such as a storage device, a display device, etc., through the communication unit 540, as necessary, with one or more devices that enable a user to interact with the electronic device 500, or with any device (e.g., a network card, a modem, etc.) that enables the electronic device 500 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0113] According to an example implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, where the computer-executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and including computer-executable instructions, where the computer-executable instructions are executed by a processor to implement the method described above.
[0114] Various aspects of the disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, and computer program products implemented in accordance with the present disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0115] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include a non-transitory computer readable storage medium that can direct a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including a manufacture including instructions which implement aspects of the function / act specified in the flowchart and / or block diagram block or blocks.
[0116] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0117] The flow diagrams and the block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flow diagrams and the block diagrams can represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logic functions (s). In some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in some cases, be executed substantially concurrently, or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and
[0118] implementations. Numerous modifications and adaptations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The herein described subject matter is to be considered in all its novel implications and applications and can be practiced in a variety of environments. It is also to be understood that such features are only examples and that many modifications, additions, or omissions can be made without departing from the scope of the claimed disclosure.
Claims
1.A method for creating an application, comprising: providing, in an application editing interface, a first configuration control associated with a target processing component; setting, via the first configuration control, the target processing component to an asynchronous running mode; and creating a target application comprising the target processing component, the target application being configured to, during a triggered running of the target processing component based on a first message, in response to receiving a second message, process the second message without waiting for the target processing component to run to completion. 2.The method of claim 1, further comprising: acquiring, via a second configuration control associated with the target processing component, target reply content, and the target application being configured to, when the target processing component is triggered to execute, provide the target reply content. 3.The method of claim 1, wherein the target processing component comprises at least one of: a workflow component; an image flow component; a plug-in component; a trigger component. 4.The method of claim 3, wherein in response to the workflow component or the image flow component being set to the asynchronous running mode, a plurality of processing nodes in the workflow component or the image flow component are set to the asynchronous running mode. 5.A method for processing a request, comprising: triggering, based on a first message received by a target application, a target processing component of the target application to run, the target processing component being configured to an asynchronous running mode; receiving, via the target application, a second message before the target processing component completes execution; and providing, independent of a running state of the target processing component, first response content for the second message. 6.The method of claim 5, further comprising: presenting, in a target interface associated with the target application, task description information, the task description information being used to describe a set of asynchronous tasks triggered in a running process of the target application. 7.The method of claim 6, wherein the task description information indicates at least one of: a component identifier of a processing component corresponding to a respective asynchronous task; an input message triggering the respective asynchronous task; a processing state of the respective asynchronous task. 8.The method of claim 6, further comprising: displaying, in the target interface, a management portal for managing the set of asynchronous tasks. 9.The method of claim 6, wherein the target interface comprises a debugging interface of the target application, and presenting, in a target interface associated with the target application, task description information comprises: in response to a selection of a task viewing portal in the debugging interface, presenting the task description information in a first task management panel. 10.The method of claim 6, wherein the target interface comprises a running interface of the target application, and presenting, in a target interface associated with the target application, task description information comprises: presenting, in the target interface, a reminder message associated with the set of asynchronous tasks; and in response to a selection of the reminder message, presenting the task description information in a second task management panel. 11.The method of claim 5, further comprising: in response to the target processing component completing processing of the first message, providing second response content for the first message, the second response content indicating a reference to the first message. 12.The method of claim 11, wherein the second response content comprises a plurality of reply messages, and a first reply message of the plurality of reply messages comprises a reference element indicating a reference to the first message. 13.An apparatus for creating an application, comprising: a providing module configured to provide, in an application editing interface, a first configuration control associated with a target processing component; a setting module configured to set, via the first configuration control, the target processing component to an asynchronous running mode; and a creating module configured to create a target application comprising the target processing component, the target application being configured to, during a triggered running of the target processing component based on a first message, in response to receiving a second message, process the second message without waiting for the target processing component to complete running. 14.An apparatus for processing a request, comprising: a running module configured to trigger, based on a first message received by a target application, a target processing component of the target application to run, the target processing component being configured to an asynchronous running mode; a receiving module configured to receive, via the target application, a second message before the target processing component completes execution; and an outputting module configured to provide first response content for the second message independent of a running state of the target processing component. 15.An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions when executed by the at least one processing unit cause the electronic device to perform the method of any of claims 1-4 or 5-12. 16.A computer-readable storage medium having stored thereon a computer program, the computer program being executable by a processor to implement the method of any of claims 1-4 or 5-12. 17.A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method of any of claims 1-4 or 5-12.
Citation Information
Patent Citations
System capable of realizing asynchronous programming, controller, control system and storage medium
CN113641139A
Asynchronous processing flow generation method and device
CN115687224A
Programming language trigger mechanisms for parallel asynchronous enumerations
US20210406029A1