# US 2024/0004777 A1 · Extensible framework for automatic complex systems diagnostics

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

- Number: US 2024/0004777 A1
- Document ID: US20240004777A1
- Status: Published application
- Kind: A1
- Application number: 18/116,165
- Filed: 2023-03-01
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Kamran Seyed REYPOUR; Khoa Anh TO; Kusuma SRINIVASA MURTHY; Thomas Michael XANTHOS, III
- Web page: https://patentgrep.com/patent/US20240004777A1

## CPC

- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 11/16: Error detection or correction of the data by redundancy in hardware
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes obtaining a trace file, obtaining a configuration file, identifying a scenario in the configuration file, implementing a state machine for the scenario, iterating the state machine through the scenario based at least partially on values obtained from the trace file, identifying a log event in the trace file based on the state machine, and reporting a state machine result of the log event.

## Claims

### Claim 1

A method comprising:
obtaining a trace file;
identifying a scenario in a configuration file;
implementing a state machine for the scenario;
identifying a log event in the trace file by iterating the state machine through the scenario based at least partially on values obtained from the trace file; and
reporting a state machine result of the log event.

### Claim 2 (depends on 1)

The method of claim 1, wherein the state machine includes a timeout status that reports a timeout result in response to the scenario exceeding a timeout value.

### Claim 3 (depends on 1)

The method of claim 1, wherein the scenario includes a plurality of subtasks and iterating the state machine through the scenario includes iterating through the plurality of subtasks.

### Claim 4 (depends on 3)

The method of claim 3, wherein the state machine includes a timeout status that reports a timeout result in response to a subtask exceeding a timeout value.

### Claim 5 (depends on 3)

The method of claim 3, wherein a first timeout status is associated with a first subtask of the plurality of subtasks and a second timeout status is associated with a second subtask of the plurality of subtasks.

### Claim 6 (depends on 3)

The method of claim 3, wherein iterating through the plurality of subtasks includes comparing a result of a first subtask of the plurality of subtasks to a result of a second subtask of the plurality of subtasks.

### Claim 7 (depends on 1)

The method of claim 1, wherein the configuration file is a plain text file.

### Claim 8 (depends on 1)

The method of claim 1, further comprising validating the configuration file with a schema.

### Claim 9 (depends on 8)

The method of claim 8, wherein the configuration file includes a first subtask and a second subtask and validating the configuration file includes confirming a dependency of a variable in the second subtask to the variable in the first subtask.

### Claim 10 (depends on 1)

The method of claim 1, further comprising parsing the trace file based at least partially on an initial state of the state machine and defining a variable of the state machine based at least partially on a value from the trace file.

### Claim 11 (depends on 10)

The method of claim 10, wherein the variable is a globally unique identifier (GUID).

### Claim 12 (depends on 11)

The method of claim 11, further comprising obtaining an initial GUID value of the trace file before implementing the state machine,
wherein defining the variable includes comparing the value from the trace file to the initial GUID value.

### Claim 13 (depends on 1)

The method of claim 1, further comprising defining a list of active state machines based at least partially on the scenario.

### Claim 14 (depends on 13)

The method of claim 13, after iterating the state machine through the scenario, removing the state machine from the list of active state machines and reporting the state machine as complete with the state machine result.

### Claim 15 (depends on 13)

The method of claim 13, after iterating the state machine through a portion of the scenario, identifying a failed subtask and reporting the state machine as incomplete with a state associated with the failed subtask.

### Claim 16

A system comprising:
a processing system comprising a processor;
a computer readable storage medium in data communication with the processing system, the hardware storage device having computer readable instructions stored thereon that, when executed by the processing system, cause the system to:
obtain a trace file;
obtain a configuration file;
identify a first scenario in the configuration file including a first plurality of subtasks;
implement a first state machine for the first scenario;
iterate the state machine through the first scenario based at least partially on the trace file;
exceed a timeout value associated with the first scenario;
identify a second scenario including a second plurality of subtasks;
implement a second state machine for the second scenario; and
report a timeout event for a subtask of the second plurality of subtasks of the second state machine.

### Claim 17 (depends on 16)

The system of claim 16, wherein the first plurality of subtasks and second plurality of subtasks are the same.

### Claim 18 (depends on 16)

The system of claim 16, wherein reporting a timeout event for the subtask of the second plurality of subtasks of the second state machine further comprises reporting a status for each subtask of the second plurality of subtasks.

### Claim 19

A non-transitory computer readable media (CRM), the CRM having instructions stored thereon that, when executed by a processing system, cause the processing system to perform a method comprising:
obtain a trace file;
obtain a configuration file;
identify a scenario in the configuration file;
implement a state machine for the scenario;
iterate the state machine through the scenario based at least partially on values obtained from the trace file;
identify a log event in the trace file based on the state machine; and
report a state machine result of the log event.

### Claim 20 (depends on 19)

The non-transitory CRM of claim 19, wherein the non-transitory CRM further includes the configuration file.
