# US 2019/0356757 A1 · Processing command line templates for database queries

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

- Number: US 2019/0356757 A1
- Document ID: US20190356757A1
- Status: Published application
- Kind: A1
- Application number: 16/531,653
- Filed: 2019-08-05
- Published: 2019-11-21
- Earliest claimed: 2016-06-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: JORDAN A. ELISEO; SU LIU; ANDREW F. LY
- Web page: https://patentgrep.com/patent/US20190356757A1

## CPC

- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- G06F 16/90324: {using system suggestions}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An approach is described for processing command line templates for database queries. A method pertaining to such approach may include retrieving a set of command line templates based upon command line information received from a plurality of respective clients in a computing environment. The method further may include receiving a command line query from a first client among the plurality of respective clients and searching the set of command line templates based upon contents of the command line query. The method further may include transmitting to the first client at least one command line recommendation based upon the search. In an embodiment, retrieving the set of command line templates according to the method may include receiving from a centralized server at least one update with respect to the set of command line templates.

## Claims

### Claim 1

A method comprising:
retrieving, via a processor, a set of command line templates based upon command line information received from a plurality of respective clients in a computing environment, wherein each of the set of command line templates includes all information necessary to select at least one server-compatible command for execution;
receiving a command line query from a first client among the plurality of respective clients;
searching the set of command line templates based upon contents of the command line query; and
transmitting to the first client, via a network, at least one command line recommendation based upon the search.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, responsive to the first client selecting a command line recommendation among the at least one command line recommendation, executing a client command associated with the selected command line recommendation.

### Claim 3 (depends on 1)

The method of claim 1, further comprising, responsive to the first client submitting a client command inconsistent with each of the at least one command line recommendation, saving aspects of the client command as at least one update with respect to the set of command line templates.

### Claim 4 (depends on 3)

The method of claim 3, further comprising, responsive to the first client submitting the client command inconsistent with each of the at least one command line recommendation, sending to a centralized server the at least one update with respect to the set of command line templates.

### Claim 5 (depends on 1)

The method of claim 1, further comprising, responsive to the first client submitting a client command inconsistent with each of the at least one command line recommendation, executing the client command.

### Claim 6 (depends on 1)

The method of claim 1, wherein retrieving the set of command line templates comprises receiving from a centralized server at least one update with respect to the set of command line templates.

### Claim 7 (depends on 6)

The method of claim 6, wherein the centralized server is configured to obtain any updates with respect to the set of command line templates by polling a plurality of server systems in the computing environment.

### Claim 8 (depends on 1)

The method of claim 1, wherein each of the set of command line templates includes computing environment information or at least one command with associated parameters.

### Claim 9 (depends on 1)

The method of claim 1, wherein the contents of the command line query include at least one keyword, and wherein searching the set of command line templates comprises:
searching manual page descriptions of commands associated with the set of command line templates;
searching the commands associated with the set of command line templates and other descriptions associated with the commands; and
returning any result determined to be related to the at least one keyword based upon the searches.

### Claim 10 (depends on 1)

The method of claim 1, further comprising categorizing respective templates among the set of command line templates.

### Claim 11 (depends on 1)

The method of claim 1, wherein transmitting to the first client the at least one command line recommendation comprises prioritizing any command line recommendation reflective of any prior command line activity of the first client.

### Claim 12 (depends on 1)

The method of claim 1, wherein one or more of the set of command line templates include a portion for storing client-provided descriptive information.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
retrieving usage statistics including data with respect to frequency of command use among the plurality of respective clients in the computing environment.

### Claim 14 (depends on 1)

The method of claim 1, wherein searching the set of command line templates comprises:
searching command aspects associated with the set of command line templates; and
returning any result determined to be related to at least one keyword in the command line query consequent to determining one or more command objectives associated with the at least one keyword and identifying any command line templates classified according to the one or more command objectives.

### Claim 15

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computing device to cause the computing device to:
retrieve a set of command line templates based upon command line information received from a plurality of respective clients in a computing environment, wherein each of the set of command line templates includes all information necessary to select at least one server-compatible command for execution;
receive a command line query from a first client among the plurality of respective clients;
search the set of command line templates based upon contents of the command line query; and
transmit to the first client, via a network, at least one command line recommendation based upon the search.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the program instructions, responsive to the first client selecting a command line recommendation among the at least one command line recommendation, further cause the computing device to execute a client command associated with the selected command line recommendation.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the program instructions, responsive to the first client submitting a client command inconsistent with each of the at least one command line recommendation, further cause the computing device to save aspects of the client command as at least one update with respect to the set of command line templates.

### Claim 18

A system comprising:
a processor; and
a memory storing an application program, which, when executed on the processor, performs an operation comprising:
retrieving a set of command line templates based upon command line information received from a plurality of respective clients in a computing environment, wherein each of the set of command line templates includes all information necessary to select at least one server-compatible command for execution;
receiving a command line query from a first client among the plurality of respective clients;
searching the set of command line templates based upon contents of the command line query; and
transmitting to the first client, via a network, at least one command line recommendation based upon the search.

### Claim 19 (depends on 18)

The system of claim 18, wherein the operation further comprises, responsive to the first client selecting a command line recommendation among the at least one command line recommendation, executing a client command associated with the selected command line recommendation.

### Claim 20 (depends on 18)

The system of claim 18, wherein the operation further comprises, responsive to the first client submitting a client command inconsistent with each of the at least one command line recommendation, saving aspects of the client command as at least one update with respect to the set of command line templates.
