# US 2024/0256373 A1 · Coprocessor, host processor, crash detection method and electronic device

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

- Number: US 2024/0256373 A1
- Document ID: US20240256373A1
- Status: Published application
- Kind: A1
- Application number: 18/417,955
- Filed: 2024-01-19
- Published: 2024-08-01
- Earliest claimed: 2023-01-29
- Assignees: Beijing Youzhuju Network Technology Co., Ltd.
- Applicants: Beijing Youzhuju Network Technology Co., Ltd.
- Inventors: Ligen YAN; Shijian GE; Zihao LV; Liang PENG; Yu ZHANG; Jian WANG; Haitao NIE; Chenchen LI
- Web page: https://patentgrep.com/patent/US20240256373A1

## CPC

- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/0724: {in a multiprocessor or a multi-core unit (multiprocessors per se G06F15/80)}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/2242: {in multi-processor systems, e.g. one processor becoming the primary tester (G06F11/2736 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present disclosure relate to a coprocessor, a host processor, a crash detection method and an electronic device. In this method, the coprocessor sends a handshake request to the host processor capable of running an operating system. The host processor performs an operation triggered by the handshake request. The host processor sends a positive response to the handshake request to the coprocessor if the operation is performed successfully; and the host processor sends, to the coprocessor, a negative response to the handshake request or no response if the operation is performed successfully. The coprocessor monitors a response to the handshake request from the host processor and determines a detection result of hardware crash associated with the operating system at least based on a monitoring result of this response.

## Claims

### Claim 1

A coprocessor, comprising:
at least one circuit configured to:
send a first handshake request to a first host processor having an ability to run an operating system;
monitor a first response to the first handshake request from the first host processor; and
determine a detection result of hardware crash associated with the operating system at least based on a monitoring result of the first response.

### Claim 2 (depends on 1)

The coprocessor according to claim 1, wherein the at least one circuit is configured to determine the detection result by:
in response to receiving the first response and the first response indicating positive feedback, determining that the hardware crash is not detected.

### Claim 3 (depends on 1)

The coprocessor according to claim 1, wherein the at least one circuit is configured to determine the detection result by:
resending the first handshake request to the first host processor in response to one of the followings:
receiving the first response and the first response indicating negative feedback; or
that the first response is not received within a period of time;
monitoring a second response to the resent first handshake request from the first processor;
determining that the first host processor is in a crash state in response to one of the followings:
receiving the second response and the second response indicating negative feedback; or
that the second response is not received within a period of time; and
determining that the hardware crash is detected at least based on that the first host processor is in the crash state.

### Claim 4 (depends on 3)

The coprocessor according to claim 3, wherein determining that the hardware crash is detected comprises:
determining whether other host processors other than the first host processor of a plurality of host processors are in the crash state, the plurality of host processors each having an ability to run the operating system; and
in response to determining that the other host processors are in the crash state, determining that the hardware crash is detected.

### Claim 5 (depends on 4)

The coprocessor according to claim 4, wherein determining whether the other host processors are in the crash state comprises:
sending a second handshake request to a second host processor of the plurality of host processors, the second host processor being different from the first host processor; and
monitoring a third response to the second handshake request from the second host processor; and
determining that the second host processor is in the crash state in response to one of the followings:
receiving the third response and the third response indicating negative feedback; or
that the third response is not received within a period of time.

### Claim 6 (depends on 1)

The coprocessor according to claim 1, wherein the at least one circuit is configured to determine the detection result by:
in response to determining that the first host processor is in the crash state based on the monitoring result, sending a third handshake request to a third processor different from the first host processor;
in response to receiving a positive response to the third handshake request from the third processor, identifying the third processor as a target host processor for handshake;
resending the third handshake request to the third processor;
monitoring a fourth response to the resent third handshake request from the third processor; and
determining the detection result further based on a monitoring result of the fourth response.

### Claim 7 (depends on 1)

The coprocessor according to claim 1, wherein the at least one circuit is further configured to:
in response to the first host processor being disabled, send a fourth handshake request to a fourth host processor while disabling the sending of the first handshake request to the first host processor;
monitor a fifth response to the fourth handshake request from the fourth host processor; and
determine the detection result at least based on a monitoring result of the fifth response.

### Claim 8 (depends on 1)

The coprocessor according to claim 1, wherein the handshake request is configured to trigger the host processor to perform interrupt processing.

### Claim 9 (depends on 1)

The coprocessor according to claim 1, wherein the at least one is further configured to:
in response to sending the handshake request, start a timer to monitor the first response to the first handshake request.

### Claim 10

A host processor having an ability to run an operating system and comprising:
at least one circuit configured to:
receive a handshake request from a coprocessor;
perform an operation triggered by the handshake request; and
send, based on a result of the operation, a response to the handshake request to the coprocessor for detecting hardware crash associated with the operating system.

### Claim 11 (depends on 10)

The host processor according to claim 10, wherein the handshake request is configured to trigger the host processor to perform interrupt processing, and the least one circuit is configured to send the response by:
in response to the interrupt processing being performed successfully, sending to the coprocessor a positive response indicating positive feedback; and
in response to the interrupt processing being performed unsuccessfully, sending to the coprocessor a negative response indicating negative feedback.

### Claim 12

A crash detection method, comprising:
sending, by a coprocessor, a first handshake request to a first host processor having an ability to run an operating system;
monitoring a first response to the first handshake request from the first host processor; and
determining a detection result of hardware crash associated with the operating system at least based on a monitoring result of the first response.

### Claim 13 (depends on 12)

The method according to claim 12, wherein determining the detection result comprises:
in response to receiving the first response and the first response indicating positive feedback, determining that the hardware crash is not detected.

### Claim 14 (depends on 12)

The method according to claim 12, wherein determining the detection result comprises:
resending the first handshake request to the first host processor in response to one of the followings:
receiving the first response and the first response indicating negative feedback; or
that the first response is not received within a period of time; and
monitoring a second response to the resent first handshake request from the first processor; and
determining that the first host processor is in a crash state in response to one of the followings:
receiving the second response and the second response indicating negative feedback; or
that the second response is not received within a period of time; and
determining that the hardware crash is detected at least based on the first host processor being in the crash state.

### Claim 15 (depends on 14)

The method according to claim 14, wherein determining that the hardware crash is detected comprises:
determining whether other host processors other than the first host processor of a plurality of host processors are in the crash state, the plurality of host processors each having an ability to run the operating system; and
in response to determining that the other host processors are in the crash state, determining that the hardware crash is detected.

### Claim 16 (depends on 15)

The method according to claim 15, wherein determining whether the other host processors are in the crash state comprises:
sending a second handshake request to a second host processor of the plurality of host processors, the second host processor being different from the first host processor;
monitoring a third response to the second handshake request from the second host processor; and
determining that the second host processor is in the crash state in response to one of the followings:
receiving the third response and the third response indicating negative feedback; or
that the third response is not received within a period of time.

### Claim 17 (depends on 12)

The method according to claim 12, wherein determining the detection result comprises:
in response to determining that the first host processor is in a crash state based on the monitoring result, sending a third handshake request to a third processor different from the first host processor;
in response to receiving a positive response to the third handshake request from the third processor, identifying the third processor as a target host processor for handshake;
resending the third handshake request to the third processor;
monitoring a fourth response to the resent third handshake request from the third processor; and
determining the detection result further based on a monitoring result of the fourth response.

### Claim 18 (depends on 12)

The method according to claim 12, further comprising:
in response to the first host processor being disabled, sending a fourth handshake request to a fourth host processor while disabling the sending of the first handshake request to the first host processor;
monitoring a fifth response to the fourth handshake request from the fourth host processor; and
determining the detection result at least based on a monitoring result of the fifth response.

### Claim 19 (depends on 12)

The method according to claim 12, wherein the handshake request is configured to trigger the host processor to perform interrupt processing.

### Claim 20 (depends on 12)

The method according to claim 12, further comprising:
in response to sending the handshake request, starting a timer to monitor the first response to the first handshake request.
