# US 2021/0286658 A1 · Bottleneck detection for processes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286658 A1
- Document ID: US20210286658A1
- Status: Published application
- Kind: A1
- Application number: 16/816,184
- Filed: 2020-03-11
- Published: 2021-09-16
- Earliest claimed: 2020-03-11
- Assignees: UiPath, Inc.
- Applicants: UiPath, Inc.
- Inventors: Martijn COPIER; Roeland Johannus SCHEEPENS
- Web page: https://patentgrep.com/patent/US20210286658A1

## CPC

- G06F 9/524: {Deadlock detection or avoidance}
- G06Q 20/02: involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
- G06F 8/77: Software metrics
- G06Q 20/042: {characterized in that the payment protocol involves at least one cheque}
- G06Q 20/102: {Bill distribution or payments}
- G06Q 20/405: {Establishing or using transaction specific rules}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Systems and methods for analyzing an event log for a plurality of instances of execution of a process to identify a bottleneck are provided. An event log for a plurality of instances of execution of a process is received and segments executed during one or more of the plurality of instances of execution are identified from the event log. The segments represent a pair of activities of the process. For each particular segment of the identified segments, a measure of performance is calculated for each of the one or more instances of execution of the particular segment based on the event log, each of the one or more instances of execution of the particular segment is classified based on the calculated measures of performance, and one or more metrics are computed for the particular segment based on the classified one or more instances of execution of the particular segment. The identified segments are compared with each other based on the one or more metrics to identify one of the identified segments that is most likely to have a bottleneck.

## Claims

### Claim 1

A computer-implemented method for analyzing an event log for a plurality of instances of execution of a process to identify a bottleneck, comprising:
identifying segments executed during one or more of the plurality of instances of execution from the event log, each of the segments representing a pair of activities of the process;
for each particular segment of the identified segments:
calculating a measure of performance for each of the one or more instances of execution of the particular segment based on the event log,
classifying each of the one or more instances of execution of the particular segment based on the calculated measures of performance, and
computing one or more metrics for the particular segment based on the classified one or more instances of execution of the particular segment; and
comparing the identified segments with each other based on the one or more metrics to identify one of the identified segments that is most likely to have a bottleneck.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the pair of activities comprises a source activity and a destination activity, where execution of the destination activity directly follows execution of the source activity in the event log.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the measure of performance is a time interval between the pair of activities.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein classifying each of the one or more instances of execution of the particular segment based on the calculated measures of performance comprises:
classifying each of the one or more instances of execution of the particular segment into one of a plurality of classes using a Jenks Natural Breaks Optimization algorithm.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein computing one or more metrics for the particular segment based on the classified one or more instances of execution of the particular segment comprises:
computing 1) an effect size metric for the particular segment representing an average difference between classes of the particular segment, 2) a lost time metric for the particular segment representing a time difference between a best performing class and other classes of the particular segment, and 3) a weighted impact metric representing contribution of the particular segment to an overall performance.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein comparing the identified segments with each other based on the one or more metrics to identify one of the identified segments that is most likely to have a bottleneck comprises:
ranking the identified segments based on the one or more metrics.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein ranking the identified segments based on the one or more metrics comprises:
determining an individual ranking of the identified segments for each of the effect size metric, the lost time metric, and the weighted impact metric; and
determining an aggregate ranking of the identified segments based on the individual rankings.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, further comprising:
identifying the one of the identified segments that is most likely to have the bottleneck based on the aggregate ranking.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising:
causing to display results of the comparing to identify the bottleneck.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the process is a robotic process automation process.

### Claim 11

An apparatus comprising:
a memory storing computer instructions for analyzing an event log for a plurality of instances of execution of a process to identify a bottleneck; and
at least one processor configured to execute the computer instructions, the computer instructions configured to cause the at least one processor to perform operations of:
identifying segments executed during one or more of the plurality of instances of execution from the event log, each of the segments representing a pair of activities of the process;
for each particular segment of the identified segments:
calculating a measure of performance for each of the one or more instances of execution of the particular segment based on the event log,
classifying each of the one or more instances of execution of the particular segment based on the calculated measures of performance, and
computing one or more metrics for the particular segment based on the classified one or more instances of execution of the particular segment; and
comparing the identified segments with each other based on the one or more metrics to identify one of the identified segments that is most likely to have a bottleneck.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the pair of activities comprises a source activity and a destination activity, where execution of the destination activity directly follows execution of the source activity in the event log.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the measure of performance is a time interval between the pair of activities.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein classifying each of the one or more instances of execution of the particular segment based on the calculated measures of performance comprises:
classifying each of the one or more instances of execution of the particular segment into one of a plurality of classes using a Jenks Natural Breaks Optimization algorithm.

### Claim 15

A computer program embodied on a non-transitory computer-readable medium for analyzing an event log for a plurality of instances of execution of a process to identify a bottleneck, the computer program configured to cause at least one processor to perform operations comprising:
identifying segments executed during one or more of the plurality of instances of execution from the event log, each of the segments representing a pair of activities of the process;
for each particular segment of the identified segments:
calculating a measure of performance for each of the one or more instances of execution of the particular segment based on the event log,
classifying each of the one or more instances of execution of the particular segment based on the calculated measures of performance, and
computing one or more metrics for the particular segment based on the classified one or more instances of execution of the particular segment; and
comparing the identified segments with each other based on the one or more metrics to identify one of the identified segments that is most likely to have a bottleneck.

### Claim 16 (depends on 15)

The computer program of claim 15, wherein computing one or more metrics for the particular segment based on the classified one or more instances of execution of the particular segment comprises:
computing 1) an effect size metric for the particular segment representing an average difference between classes of the particular segment, 2) a lost time metric for the particular segment representing a time difference between a best performing class and other classes of the particular segment, and 3) a weighted impact metric representing contribution of the particular segment to an overall performance.

### Claim 17 (depends on 16)

The computer program of claim 16, wherein comparing the identified segments with each other based on the one or more metrics to identify one of the identified segments that is most likely to have a bottleneck comprises:
ranking the identified segments based on the one or more metrics.

### Claim 18 (depends on 17)

The computer program of claim 17, wherein ranking the identified segments based on the one or more metrics comprises:
determining an individual ranking of the identified segments for each of the effect size metric, the lost time metric, and the weighted impact metric; and
determining an aggregate ranking of the identified segments by based on the individual rankings.

### Claim 19 (depends on 18)

The computer program of claim 18, the operations further comprising:
identifying the one of the segments that is most likely to have the bottleneck based on the aggregate ranking.

### Claim 20 (depends on 15)

The computer program of claim 15, wherein the process is a robotic process automation process.

### Claim 21

A method comprising:
maintaining an event log during multiple instances of execution of a process, the event log identifying segments executed during the multiple instances of execution, each of the segments representing a pair of activities of the process;
computing a metric for each of the identified segments; and
identifying one of the identified segments that is most likely to have a bottleneck based on the metrics.

### Claim 22 (depends on 21)

The method of claim 21, wherein computing a metric for each of the identified segments comprises:
for each particular segment of the identified segments:
calculating a measure of performance for each of the multiple instances of execution of the particular segment based on the event log,
classifying each of the multiple instances of execution of the particular segment based on the calculated measures of performance, and
computing the metric for the particular segment based on the classified multiple instances of execution of the particular segment.

### Claim 23 (depends on 22)

The method of claim 22, wherein the measure of performance is a time interval between the pair of activities.

### Claim 24 (depends on 21)

The method of claim 21, wherein identifying one of the identified segments that is most likely to have a bottleneck based on the metrics comprises:
comparing the identified segments with each other based on the metrics to identify the one of the identified segments that is most likely to have the bottleneck.

### Claim 25 (depends on 21)

The method of claim 21, wherein the pair of activities comprises a source activity and a destination activity, where execution of the destination activity directly follows execution of the source activity in the event log.
