Application Workflow Asynchrony for Concurrent Message Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional applications, such as bots, often need to wait for a processing component to complete a request before processing a subsequent one, leading to inefficiencies due to long processing times.
Innovation Solution
A configuration control is provided in an application editing interface to set a target processing component to an asynchronous operating mode, allowing the target application to process subsequent messages without waiting for the completion of the current operation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the application waits for the processing component to complete the current operation before processing the next message, then the processing accuracy and completeness are improved, but the execution efficiency and response speed deteriorate
Solution Approach 1:
The system dynamically adjusts the processing mode of the processing component based on the asynchronous configuration. The processing component can operate in different states (waiting vs. non-waiting) depending on the configuration parameters set in the application editing interface, allowing the system to adapt between reliability and efficiency requirements
Solution Approach 2:
The patent changes the operational parameters of the processing component by introducing an asynchronous mode configuration. Through the first configuration control in the application editing interface, users can set the processing component to not wait for completion of current operations, fundamentally changing its operational behavior from synchronous to asynchronous
2Reliability
If the application processes messages sequentially waiting for each operation to complete, then the processing thoroughness is improved, but the time consumption and operational delays worsen
Solution Approach 1:
The system performs preliminary configuration actions by setting the processing component to asynchronous mode before runtime. This preliminary setup allows the processing component to be pre-configured to operate without waiting for completion, thereby reducing time consumption during actual message processing while maintaining processing thoroughness through proper configuration
Solution Approach 2:
The processing component continues its useful action without interruption or waiting. By operating in asynchronous mode, the processing component can continuously process messages without pausing to wait for previous operations to complete, eliminating idle time and maintaining continuous productive action
3Ease of operation
If the application uses synchronous processing mode, then the control simplicity is maintained, but the system complexity and operational constraints increase
Solution Approach 1:
The patent extracts the waiting behavior from the processing component's operational requirements. By separating the synchronization constraint from the processing logic, the system allows the processing component to operate independently without being constrained by synchronous waiting, thereby reducing system complexity while maintaining ease of operation through the configuration interface
Data Source
AI summary
The embodiments of the disclosure relate to a method, apparatus, device and storage medium for application creation. The method proposed herein includes: providing, in an application editing interface, a first configuration control associated with a target processing component; setting the target processing component to an asynchronous operating mode via the first configuration control; and creating a target application including the target processing component, the target application being configured to, during an operation of the target processing component based on a trigger by a first message and in response to receiving a second message, process the second message without waiting for completion of the operation of the target processing component.


