# US 2013/0160015 A1 · Automatically generating compound commands in a computer system

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

- Number: US 2013/0160015 A1
- Document ID: US20130160015A1
- Status: Published application
- Kind: A1
- Application number: 13/771,040
- Filed: 2013-02-19
- Published: 2013-06-20
- Earliest claimed: 2009-09-11
- Assignees: International Business Machines Corporation
- Inventors: Brian J. Cragun; David G. Herbeck; Todd E. Johnson; John E. Petri; Leah R. Smutzer
- Web page: https://patentgrep.com/patent/US20130160015A1

## CPC

- G06F 9/46: Multiprogramming arrangements
- G06F 9/45512: {Command shells}
- G06F 16/93: Document management systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer system provides a way to automatically generate compound commands that perform tasks made up of multiple simple commands. A compound command generation mechanism monitors consecutive user commands and compares the consecutive commands a user has taken to a command sequence identification policy. If the user's consecutive commands satisfy the command sequence identification policy the user's consecutive commands become a command sequence. If the command sequence satisfies the compound command policy, the compound generation mechanism can generate a compound command for the command sequence automatically or prompt an administrator to allow the compound command to be generated. Generating a compound command can be done on a user by user basis or on a system wide basis. The compound command can then be displayed to the user to execute so that the command sequence is performed by the user selecting the compound command for execution.

## Claims

### Claim 1

A computer-implemented method for automatically generating a compound command from a user as the user performs commands, the method comprising the steps of:
(A) providing at least one processor;
(B) providing a memory coupled to the at least one processor;
(C) the user performs a command;
(D) when the command satisfies a command identification policy, adding the command to a command sequence;
(E) performing steps (C)-(D) until a completion criteria is satisfied; and
(F) when the command sequence satisfies a compound command policy, automatically generating the compound command.

### Claim 2 (depends on 1)

The method of claim 1 wherein the compound command automatically executes all commands in the command sequence.

### Claim 3 (depends on 1)

The method of claim 1 wherein the command sequence comprises a plurality of simple commands.

### Claim 4 (depends on 1)

The method of claim 1 wherein the command sequence comprises at least one simple command and at least one compound command.

### Claim 5 (depends on 1)

The method of claim 1 wherein the compound command policy specifies a threshold number of times the command sequence must have occurred.

### Claim 6 (depends on 1)

The method of claim 1 further comprising the step of making the compound command available to a user only when the user satisfies the compound command policy.

### Claim 7 (depends on 1)

The method of claim 1 further comprising the step of logging the command in a user command log.
