# US 2018/0322427 A1 · System and method for time critical automation

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

- Number: US 2018/0322427 A1
- Document ID: US20180322427A1
- Status: Published application
- Kind: A1
- Application number: 15/586,925
- Filed: 2017-05-04
- Published: 2018-11-08
- Earliest claimed: 2017-05-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Guang Yu Dai; Jing Bo Jiang; Wen Jing Wang; Ying UW Wang; Xin TY Xu; Jie BJ Zheng
- Web page: https://patentgrep.com/patent/US20180322427A1

## CPC

- G06Q 10/06313: {Resource planning in a project environment}
- G06Q 10/06317: {Resource planning based on arrival predictions or arrival tracking}
- G06Q 30/08: Auctions
- G07F 17/3269: {Timing aspects of game play, e.g. blocking/halting the operation of a gaming machine}
- 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
- G07F: COIN-FREED OR LIKE APPARATUS (coin sorting G07D3/00; coin testing G07D5/00; {handling coins or paper currencies apart from payment activated apparatus G07D; payment architectures, schemes or protocols G06Q20/00})

## Abstract

The present invention is a system and method for forecasting automation timing behavior based on historical automation logs and business rules. The system includes a computer processor having a non-transitory memory containing program code for executing playback of an automation log, identifying a timing related failure in the automation log, extracting automation time-action mapping from the automation log, executing one or more scripts, comparing a baseline playback time from the automation log to an actual playback time from executing the scripts, and calculating a wait time based on differences between the actual playback time and the baseline playback time. The system generates time flexible scripts and a baseline or pattern to control the pace of automation scripts, which can be applied to other solutions. Therefore, the system distills patterns and generates predictive analysis and recommendations for other solutions and domains.

## Claims

### Claim 1

A computer processing system comprising:
a computer processor having a non-transitory memory containing program code for:
executing playback of an automation log;
executing one or more scripts;
analyzing automation logs to generate automation time baseline in a first environment;
comparing the automation time baseline to an actual playback time for the scripts;
calculating a wait time based on differences between the actual playback time and the automation time baseline; and
adjusting the timing of one or more actions of the scripts.

### Claim 2 (depends on 1)

The system of claim 1, wherein the timing of one or more actions of the scripts are adjusted based on at least one of business rules and time related parameters.

### Claim 3 (depends on 1)

The system of claim 1, further comprising the step of identifying timing related failure during playback

### Claim 4 (depends on 1)

The system of claim 1, wherein the step of comparing the automation time baseline to an actual playback time for the scripts occurs at a checkpoint.

### Claim 5 (depends on 2)

The system of claim 2, wherein the time related parameters are arranged in a mapping structure.

### Claim 6 (depends on 2)

The system of claim 2, further comprising the step of running playback of the scripts against a second environment after the timing of the scripts is adjusted.

### Claim 7

A computer program product providing time critical automation, the computer program comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions are readable by a computer to cause the computer to perform a method comprising the steps of:
executing playback of an automation log;
identifying a timing related failure in the automation log;
extracting automation time-action mapping from the automation log;
executing one or more scripts;
comparing a baseline playback time from the automation log to an actual playback time from executing the scripts; and
calculating a wait time based on differences between the actual playback time and the baseline playback time.

### Claim 8 (depends on 7)

The method of claim 7, further comprising the step of reducing the wait time of one or more actions of the scripts.

### Claim 9 (depends on 7)

The method of claim 7, further comprising the step of terminating execution of the scripts.

### Claim 10 (depends on 7)

The method of claim 7, further comprising the step of adding user interface widgets to the scripts.

### Claim 11 (depends on 7)

The method of claim 7, further comprising the step of fetching business rules for time reset.

### Claim 12 (depends on 11)

The method of claim 11, further comprising the step of modifying the scripts with business rules.

### Claim 13 (depends on 11)

The method of claim 11, further comprising the step of modifying the scripts with time related parameters.

### Claim 14

A method for time critical automation, comprising the steps of:
executing playback of an automation log;
executing one or more scripts;
analyzing automation logs to generate automation time baseline in a first environment;
comparing the automation time baseline to an actual playback time for the scripts;
calculating a wait time based on differences between the actual playback time and the automation time baseline; and
reducing the wait time of one or more actions of the scripts.

### Claim 15 (depends on 13)

The method of claim 13, further comprising the step of receiving at least one of business rules and time related parameters.

### Claim 16 (depends on 14)

The method of claim 14, further comprising the step of adjusting the timing of the actions of the scripts based on the at least one of business rules and time related parameters.

### Claim 17 (depends on 15)

The method of claim 15, further comprising the step of testing the scripts against a second environment.

### Claim 18 (depends on 14)

The method of claim 14, further comprising the step of generating a mapping structure comprising automation logs, actions of the scripts, and business timing rules.

### Claim 19 (depends on 17)

The method of claim 17, further comprising the step of modifying the scripts using the mapping structure.
