# US 2017/0293516 A1 · Temporal Relationship Extension of State Machine Observer

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

- Number: US 2017/0293516 A1
- Document ID: US20170293516A1
- Status: Published application
- Kind: A1
- Application number: 15/094,024
- Filed: 2016-04-08
- Published: 2017-10-12
- Earliest claimed: 2016-04-08
- Assignees: Freescale Semiconductor, Inc.
- Applicants: Freescale Semiconductor, Inc.
- Inventors: David BACA
- Web page: https://patentgrep.com/patent/US20170293516A1

## CPC

- 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)}
- G06F 11/0706: {the processing taking place on a specific hardware platform or in a specific software environment}
- G06F 11/0724: {in a multiprocessor or a multi-core unit (multiprocessors per se G06F15/80)}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3017: {where the computing system is implementing multitasking (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes receiving a first progress request from a first state machine associated with execution of a first thread on a processor. The method includes updating a current state of a temporal relationship state machine based on the current state, the first progress request, and a predetermined temporal relationship between progress of the first state machine to a first state machine state and progress to a second state. The predetermined temporal relationship may require the first state machine to progress to the first state machine state before the progress to the second state. The current state of the temporal relationship state machine may be one of a first temporal relationship state and a second temporal relationship state. The second state may be a second state machine state of the first state machine. The second state may be a second state machine state of a second state machine.

## Claims

### Claim 1

A method comprising:
receiving a first progress request from a first state machine associated with execution of a first thread on a processor; and
updating a current state of a temporal relationship state machine based on the current state, the first progress request, and a predetermined temporal relationship between progress of the first state machine to a first state machine state and progress to a second state.

### Claim 2 (depends on 1)

The method, as recited in claim 1, wherein the predetermined temporal relationship requires the first state machine to progress to the first state machine state before the progress to the second state.

### Claim 3 (depends on 1)

The method, as recited in claim 1, wherein the current state of the temporal relationship state machine is one of a first temporal relationship state and a second temporal relationship state and the method further comprises:
initializing the current state of the temporal relationship state machine to be the second temporal relationship state prior to receiving the first progress request,
wherein the updating comprises:
updating the current state of the temporal relationship state machine according to the first progress request in response to compliance with the predetermined temporal relationship; and
maintaining the current state of the temporal relationship state machine in response to noncompliance with the predetermined temporal relationship.

### Claim 4 (depends on 1)

The method, as recited in claim 1, further comprising:
generating a status indicator based on the current state, the first progress request, and the predetermined temporal relationship; and
updating a state of the first state machine in response to the status indicator.

### Claim 5 (depends on 1)

The method, as recited in claim 1, wherein the second state is a second state machine state of a second state machine, the method further comprising:
generating a second progress request by the second state machine based on execution of a second thread on the processor, the updating being further based on the second progress request.

### Claim 6 (depends on 5)

The method, as recited in claim 5, wherein the predetermined temporal relationship requires the temporal relationship state machine to process the first progress request and the second progress request in an order that processes a request to progress to the first temporal relationship state before progressing to the second temporal relationship state.

### Claim 7 (depends on 1)

The method, as recited in claim 1, wherein the second state is a second state machine state of the first state machine.

### Claim 8

An apparatus comprising:
a first state machine configured to generate a first progress request based on execution of a first thread on a processor; and
a temporal relationship state machine configured to update a current state of the temporal relationship state machine based on the current state, the first progress request, and a predetermined temporal relationship between progress of the first state machine to a first state machine state and progress to a second state.

### Claim 9 (depends on 8)

The apparatus, as recited in claim 8, wherein the predetermined temporal relationship requires the first state machine to progress to the first state machine state before the progress to the second state.

### Claim 10 (depends on 8)

The apparatus, as recited in claim 8,
wherein the current state of the temporal relationship state machine is one of a first temporal relationship state and a second temporal relationship state,
wherein the current state of the temporal relationship state machine is initialized to be the second temporal relationship state, and
wherein the temporal relationship state machine is configured to update the current state according to the first progress request in response to compliance with the predetermined temporal relationship, and
wherein the temporal relationship state machine is configured maintaining the current state of the temporal relationship state machine in response to noncompliance with the predetermined temporal relationship.

### Claim 11 (depends on 10)

The apparatus, as recited in claim 10,
wherein the temporal relationship state machine is further configured to generate a status indicator based on the current state, the first progress request, and the predetermined temporal relationship; and
wherein the first state machine is configured to updating a state of the first state machine in response to the status indicator.

### Claim 12 (depends on 8)

The apparatus, as recited in claim 8, further comprising:
a second state machine including the second state, the second state machine being configured to generate a second progress request based on execution of a second thread on the processor, the current state being updated further based on the second progress request.

### Claim 13 (depends on 12)

The apparatus, as recited in claim 12, wherein the predetermined temporal relationship requires the temporal relationship state machine to process the first progress request and the second progress request in an order that processes a request to progress to the first temporal relationship state before a request to progress to the second temporal relationship state.

### Claim 14 (depends on 8)

The apparatus, as recited in claim 8, wherein the second state is a second state machine state of the first state machine.

### Claim 15 (depends on 8)

The apparatus, as recited in claim 8, further comprising:
a state machine observer comprising:
the first state machine; and
the temporal relationship state machine,
wherein the state machine observer is configured to provide a status indicator to the first thread, the status indicator being based on the current state of the temporal relationship state machine.

### Claim 16 (depends on 15)

The apparatus, as recited in claim 15, wherein the processor comprises:
a plurality of processor cores, wherein one of the plurality of processor cores comprises the state machine observer responsive to status information received from at least one other of the plurality of processor cores and the first state machine generates the first progress request based on the status information.

### Claim 17 (depends on 15)

The apparatus, as recited in claim 15, wherein the state machine observer is configured to enter an error state in response to detecting an illegal transition of the temporal relationship state machine.

### Claim 18

A computer program product encoded in one or more tangible machine-readable media, the computer program product comprising:
a first sequence of instructions executable to generate a first state machine progress request based on execution of a first thread; and
a second sequence of instructions executable to update a state of a temporal relationship state machine from a current state to a next state in response to the current state and compliance of the first state machine progress request with a predetermined temporal relationship between progress of the first state machine to a first state machine state and progress to a second state.

### Claim 19 (depends on 18)

The computer program product, as recited in claim 18,
wherein the predetermined temporal relationship requires the first state machine to progress to the first state machine state before the progress to the second state,
wherein the current state of the temporal relationship state machine is one of a first temporal relationship state and a second temporal relationship state, and the computer program product further comprises:
a third sequence of instructions to initialize the current state of the temporal relationship state machine to be the second temporal relationship state prior to receiving the first progress request.

### Claim 20 (depends on 18)

The computer program product, as recited in claim 18, wherein the second sequence of instructions is executable to
update the current state of the temporal relationship state machine according to the first progress request in response to compliance with the predetermined temporal relationship; and
maintain the current state of the temporal relationship state machine in response to noncompliance with the predetermined temporal relationship; and
generate a status indicator based on the current state, the first progress request, and the predetermined temporal relationship.
