# US 2014/0280068 A1 · Adaptive learning of effective troubleshooting patterns

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

- Number: US 2014/0280068 A1
- Document ID: US20140280068A1
- Status: Published application
- Kind: A1
- Application number: 14/067,824
- Filed: 2013-10-30
- Published: 2014-09-18
- Earliest claimed: 2013-03-15
- Assignees: BMC Software, Inc.
- Applicants: BMC Software, Inc.
- Inventors: Rakesh DHOOPAR; Joseph SCARPELLI; Guriqbal SINGH; Sameer POKARNA; Abhijit SHARMA; Nilesh PHADKE; Neeran KARNIK
- Web page: https://patentgrep.com/patent/US20140280068A1

## CPC

- G06F 16/248: Presentation of query results
- G06F 11/0706: {the processing taking place on a specific hardware platform or in a specific software environment}
- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06Q 10/06: Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q 30/016: After-sales
- 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

The system may include a troubleshooting activity recorder configured to record troubleshooting sessions. Each troubleshooting session may include a sequence of queries and query results. The troubleshooting activity recorder may include a query transformer configured to transform the queries and the query results into transformed queries and transformed query results before recording the troubleshooting sessions. The troubleshooting activity recorder may be configured to record the transformed queries and the transformed query results as troubleshooting session information in a troubleshooting activity database. The system may include a troubleshooting pattern learning unit including a graph builder configured to generate a troubleshooting pattern graph having query nodes and links between the query nodes based on the troubleshooting session information.

## Claims

### Claim 1

A system comprising:
at least one processor;
a non-transitory computer-readable medium storing instructions, when executed by the at least one processor, are configured to implement:
a troubleshooting activity recorder configured to record troubleshooting sessions, each troubleshooting session including a sequence of queries and query results, the troubleshooting activity recorder including a query transformer configured to transform the queries and the query results into transformed queries and transformed query results before recording the troubleshooting sessions, the transformed queries including a templatized version of the queries, the transformed query results including normalized query results, wherein the troubleshooting activity recorder is configured to record the transformed queries and the transformed query results as troubleshooting session information in a troubleshooting activity database; and
a troubleshooting pattern learning unit including a graph builder configured to generate a troubleshooting pattern graph having query nodes and links between the query nodes based on the troubleshooting session information.

### Claim 2 (depends on 1)

The system of claim 1, wherein, for each query, the query transformer is configured to record a time window of a query and replace values of the query with placeholder parameters.

### Claim 3 (depends on 1)

The system of claim 1, wherein for each query result, the query transformer is configured to remove instance-specific data of a query result and create one or more searchable terms corresponding to the query result.

### Claim 4 (depends on 1)

The system of claim 1, wherein the query transformer is configured to associate metadata information with one or more of the transformed query results.

### Claim 5 (depends on 1)

The system of claim 1, wherein, for a troubleshooting session, the graph builder is configured to process a sequence of transformed queries from the troubleshooting session information including a first transformed query and a second transformed query including,
creating a first query node corresponding to the first transformed query and a second query node corresponding to the second transformed query if the first transformed query and the second transformed query do not match existing query nodes in the troubleshooting pattern graph; and
creating a link between the first query node and the second query node, the link being annotated with a transformed query result of the first transformed query.

### Claim 6 (depends on 1)

The system of claim 1, wherein the troubleshooting pattern graph includes an arrangement of the query nodes, the query nodes being annotated with the transformed queries, the links being annotated with the transformed query results of at least some of the queries and frequencies in which the links were traversed.

### Claim 7 (depends on 1)

The system of claim 1, wherein the troubleshooting activity recorder is configured to record secondary troubleshooting session information for additional troubleshooting sessions, and the graph builder is configured to update the troubleshooting pattern graph based on the secondary troubleshooting session information.

### Claim 8 (depends on 1)

The system of claim 1, further comprising:
a query suggestor configured to recommend at least one proposed query within a live troubleshooting session based on a context of the current troubleshooting session and the troubleshooting pattern graph, the context of the current troubleshooting session including a current query and a query result corresponding to current query.

### Claim 9 (depends on 8)

The system of claim 8,
wherein the query suggestor is configured to compare the current query to the query nodes to determine whether a query node matches the current query,
wherein the query suggestor is configured to determine which of the query nodes to recommend as the at least one proposed query based on similarity of the query result of the current query to query results associated with the links stemming from the matched query node, distances from the matched query node to an end query node via the links, and frequencies in which the links were traversed.

### Claim 10 (depends on 9)

The system of claim 9, wherein the query suggestor is configured to calculate scores for at least some of the query nodes based on a weighting of the similarity, the distances, and the frequencies, and recommend at least one query node as the at least one proposed query based on the calculated scores.

### Claim 11 (depends on 10)

The system of claim 10, wherein the query suggestor is configured to rank the query nodes based on the calculated scores.

### Claim 12

A computer-implemented method for providing a guided troubleshooting session, the method comprising:
receiving a context of a live troubleshooting session, the context including a current query and a query result corresponding to the current query;
obtaining a troubleshooting pattern graph; and
recommending a next query in the live troubleshooting session based on the current query, the query results, and the troubleshooting pattern graph.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein the troubleshooting pattern graph includes an arrangement of query nodes and links between the query nodes, the query nodes being annotated with transformed queries for previously recorded troubleshooting sessions, the links being annotated with transformed query results and frequencies in which the links were traversed for previously recorded troubleshooting sessions.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, wherein the recommending includes:
calculating scores for at least a portion of the query nodes based on an analysis of the troubleshooting pattern graph; and
determining at least one query node as the next query to be recommended in the live troubleshooting session based on the calculated scores.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein the recommending further includes:
determining whether a query node matches the current query;
determining which of the query nodes to recommend as the next query based on similarity of the query result of the current query to the transformed query results associated with links stemming from the matched query node, distances from the matched query node to an end query node via the links, and frequencies in which the links were traversed; and
calculating scores for query nodes based on a weighting of the similarity, the distances, and the frequencies.

### Claim 16

A non-transitory computer-readable medium storing instructions, when executed by at least one processor, are configured to:
transform queries and query results of previous troubleshooting sessions into transformed queries and transformed query results, the transformed queries including a templatized version of the queries, the transformed query results including normalized results of the query results;
record the transformed queries and the transformed query results as troubleshooting session information in a troubleshooting activity database;
generate a troubleshooting pattern graph having query nodes and links between the query nodes based on the troubleshooting session information; and
recommend a next query in a live troubleshooting session based a current context of the live troubleshooting session and the troubleshooting pattern graph.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the instructions to generate the troubleshooting pattern graph includes instructions to:
process, for each previous troubleshooting session, a sequence of transformed queries from the troubleshooting activity information including a first transformed query and a second transformed query including,
creating a first query node corresponding to the first transformed query and a second query node corresponding to the second transformed query if the first transformed query and the second transformed query do not match existing query nodes in the troubleshooting pattern graph; and
creating a link between the first query node and the second query node, the link being annotated with a transformed query result of the first transformed query.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the instructions include instructions to:
record secondary troubleshooting session information for additional troubleshooting sessions, and
update the troubleshooting pattern graph based on the secondary troubleshooting session information.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the instructions to recommend the next query include instructions to:
calculate scores for at least a portion of the query nodes based on an analysis of the troubleshooting pattern graph; and
determine at least one query node as the next query to be recommended in the live troubleshooting session based on the calculated scores.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the instructions to recommend the next query include instructions to:
determine whether a query node matches the current query;
determine which of the query nodes to recommend as the next query based on similarity of the query result of the current query to query results associated with links stemming from the matched query node, distances from the matched query node to an end query node via the links, and frequencies in which the links were traversed; and
calculate the scores for the portion of query nodes based on a weighting of the similarity, the distances, and the frequencies.
