# US 9,355,355 B2 · Rule based automation

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

- Number: US 9,355,355 B2
- Document ID: US9355355B2
- Status: Granted
- Kind: B2
- Application number: 12/830,233
- Filed: 2010-07-02
- Published: 2012-01-05
- Granted: 2016-05-31
- Earliest claimed: 2010-07-02
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Dror Schwartz; Amir Kessner; Amon Mathias; Ithai Levi
- Inventors: Dror Schwartz; Amir Kessner; Amon Mathias; Ithai Levi
- Web page: https://patentgrep.com/patent/US9355355B2

## CPC

- G06N 5/025: Extracting rules from data
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques for rule-based automation of an application are disclosed herein. In one embodiment, a system includes an event processor, a rule engine, and a plurality of rules. The event processor is configured to detect events affecting execution of an application being monitored by the automation system. Each rule is configured to analyze at least one of the detected events and to provide a result of the analysis that is further analyzed by a different one of the rules. The rule engine is coupled to the event processor and the plurality of rules. The rule engine is configured to apply each rule to at least one of the detected events based on a value of the rule that determines an event type that the rule is configured to analyze.

## Claims

### Claim 1

An automation system, comprising:
an event processor configured to detect events affecting execution of an application being monitored by the automation system;
a plurality of rules, each rule configured to analyze at least one of the detected events and to provide a result of the analysis that is further analyzed by a different one of the rules; and
a rule engine coupled to the event processor and the plurality of rules;
wherein the rule engine is configured to apply each rule to at least one of the detected events based on a value of the rule that determines an event type that the rule is configured to analyze;
wherein the events comprise input device signals to affect execution of the application.

### Claim 2 (depends on 1)

The automation system of claim 1, wherein each rule is independent of each other rule.

### Claim 3 (depends on 1)

The automation system of claim 1, wherein the result is stored as a step of a script configured to replicate operations causing the detected event when the script is executed.

### Claim 4 (depends on 3)

The automation system of claim 3, wherein the rule engine applies a rule to the step that analyzes the step and modifies the step.

### Claim 5 (depends on 3)

The automation system of claim 3, wherein the rule engine applies a rule to the step that analyzes the step and provides a result that is stored as a different step.

### Claim 6 (depends on 3)

The automation system of claim 3, wherein the script comprises an object based model of operations affecting the application, and wherein the rules are configured to access and manipulate the objects.

### Claim 7 (depends on 1)

The automation system of claim 1, wherein at least one of the rules is configured to create a rule not previously existing in the automation system.

### Claim 8 (depends on 1)

The automation system of claim 1, wherein application of a rule by the rule engine generates an event detectable by the event processor.

### Claim 9 (depends on 1)

The automation system of claim 1, wherein the rules are configured to analyze changes in the structure of the application and to formulate the result based on a detected change in application structure caused by a detected event.

### Claim 10 (depends on 1)

The automation system of claim 1, wherein a rule is configured to analyze one or more types of detected events based on the value.

### Claim 11 (depends on 1)

The automation system of claim 1, wherein each rule comprises expertise in a knowledge domain corresponding to events that the rule is configured to analyze.

### Claim 12

A method, comprising:
executing, by a processor, an application program;
detecting, by the processor, a first event affecting the execution;
invoking, by the processor, a first rule that analyzes the detected first event and an effect of the first event on the execution;
providing, by the processor, a result of the analysis by the first rule;
creating a second event responsive to providing the result;
invoking, by the processor, a second rule that analyzes the second event and the result of the analysis by the first rule; and
providing, by the processor, a result of the analysis by the second rule;
wherein the result of the analysis by the first rule and the result of the analysis by the second rule comprise steps stored as a script describing operations affecting the application program.

### Claim 13 (depends on 12)

The method of claim 12, wherein the first rule and the second rule are independent of one another.

### Claim 14 (depends on 12)

The method of claim 12, wherein the second rule modifies the result of the analysis by the first rule.

### Claim 15 (depends on 12)

The method of claim 12, further comprising creating the second rule by execution of the first rule.

### Claim 16 (depends on 12)

The method of claim 12, further comprising determining whether to invoke the first rule based on a stored subscription value indicating the types of events to which the first rule is applicable.

### Claim 17

A non-transitory computer-readable medium encoded with a computer program that when executed by a computer causes the computer to:
detect an event related to execution of an application program being monitored;
invoke a first rule that analyzes the detected event;
provide a result of the analysis by the first rule;
create a different event related to execution of an application program responsive to providing the result;
store the result of the analysis by the first rule as a step of a script describing operations affecting the application program; and
invoke a second rule that analyzes the different event in conjunction with the step of the script.

### Claim 18 (depends on 17)

The computer readable medium of claim 17 further encoded with a computer program that causes the rule to modify the result of analysis by a different rule.

### Claim 19 (depends on 17)

The computer readable medium of claim 17 wherein the rule is further configured to analyze at least one of an effect of the event on execution of the application program and a result of analysis of a previously detected event provided by invocation of a different rule.

### Claim 20 (depends on 17)

The computer readable medium of claim 17 further encoded with a computer program that causes invocation of the rule based on a stored subscription value indicating the types of events to which the rule is applicable.
