Bot Runtime Instruction Batching for Faster WebGUI Automation

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering Contradiction Analysis

1Productivity

If bot instructions are executed sequentially, then each instruction is processed in order, but execution time increases and productivity decreases

Engineering Contradiction:
Improvebot execution speedVSAvoidexecution time
Core Design Contradiction:
ProductivityVSLoss of time

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #15Dynamics

2Power

If bot instructions are executed sequentially, then execution order is maintained, but system efficiency and power utilization decrease

Engineering Contradiction:
Improvesystem processing efficiencyVSAvoidinstruction throughput
Core Design Contradiction:
PowerVSProductivity

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.

Inventive Principle:
Principle #5Merging (Combining)

3Loss of time

If instructions are batched for simultaneous execution, then execution speed increases, but complexity of managing instruction dependencies increases

Engineering Contradiction:
Improveexecution timeVSAvoidbatch processing system complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Reliability

If sequential execution is used, then system simplicity is maintained, but execution time and error risk increase

Engineering Contradiction:
Improveerror reductionVSAvoidexecution efficiency
Core Design Contradiction:
ReliabilityVSProductivity

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.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12373225B2Batch processing during bot runtime
Publication Date: 2025.07.29 SAP SE
  • US12373225B2 patent drawing
  • US12373225B2 patent drawing
  • US12373225B2 patent drawing

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.