Bot Runtime Instruction Batching for Faster WebGUI Automation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Robotic processing automation (RPA) for WebGUI-based applications is inefficient due to sequential execution of bot instructions, which slows performance and increases the risk of human error.
Innovation Solution
A system that batches bot instructions together into a single payload for simultaneous execution on the server-side, utilizing a WebGUI SDK to identify batchable actions and generate batched payloads, reducing execution time and minimizing human error.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If bot instructions are executed sequentially, then each instruction is processed in order, but execution time increases and productivity decreases
Solution Approach 1:
The patent segments bot instructions into discrete, batchable units that can be processed independently. By dividing the bot's action sequence into individual instructions with defined dependencies, the system enables parallel processing of independent instructions while maintaining execution order for dependent ones, thereby improving productivity and reducing execution time.
Solution Approach 2:
The patent implements dynamic instruction batching where the system adaptively determines which instructions can be executed in parallel based on real-time dependency analysis. The batch processing mechanism dynamically adjusts execution groups, allowing maximum parallelization while respecting instruction dependencies, thus optimizing execution speed without compromising correctness.
2Power
If bot instructions are executed sequentially, then execution order is maintained, but system efficiency and power utilization decrease
Solution Approach 1:
The patent merges multiple independent bot instructions into single batch execution units. By combining independent instructions that can be processed simultaneously into unified batches, the system increases instruction throughput and utilizes server processing power more efficiently, while still maintaining the logical execution order through dependency tracking.
3Loss of time
If instructions are batched for simultaneous execution, then execution speed increases, but complexity of managing instruction dependencies increases
Solution Approach 1:
The patent introduces an intermediary batch processing layer between instruction submission and execution. This intermediary component manages dependency analysis, batch formation, and execution coordination, thereby handling the complexity of simultaneous execution management while presenting a simple interface for bot instruction submission and retrieval.
4Reliability
If sequential execution is used, then system simplicity is maintained, but execution time and error risk increase
Solution Approach 1:
The patent implements feedback mechanisms where the system monitors instruction execution status, dependency satisfaction, and batch completion. This feedback enables the system to dynamically adjust batch formation, ensure correct execution order for dependent instructions, and quickly identify or recover from execution errors, thereby improving reliability while maintaining high productivity through parallel processing.
Data Source
AI summary
Provided are systems and methods for batching instructions of a bot during execution/runtime of the bot. The bot may be a software program that is designed to perform user interface interactions (e.g., button clicks, opening/closing pages, text entry, etc.) in place of a human. In one example, a method may include receiving a request to execute a bot program configured to perform a sequence of actions on a user interface of a software application, identifying a plurality of actions of the bot program that can be batched, assembling a plurality of instructions for performing the plurality of actions of the bot program into a batched payload, and transmitting an automation request with the batched payload to a back-end of the application on a server.


