# US 2025/0165348 A1 · Processor, method for obtaining information, board, and network device

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

- Number: US 2025/0165348 A1
- Document ID: US20250165348A1
- Status: Published application
- Kind: A1
- Application number: 19/025,512
- Filed: 2025-01-16
- Published: 2025-05-22
- Earliest claimed: 2022-07-19
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Youqing LIAO; Haiwu CHEN; Chengxu GAI
- Web page: https://patentgrep.com/patent/US20250165348A1

## CPC

- G06F 11/0787: {Storage of error reports, e.g. persistent data storage, storage using memory protection}
- G06F 11/1441: {Resetting or repowering}
- G06F 11/07: Responding to the occurrence of a fault, e.g. fault tolerance
- G06F 11/0778: {Dumping, i.e. gathering error/state information after a fault for later diagnosis}
- G11C 7/20: Memory cell initialisation circuits, e.g. when powering up or down, memory clear, latent image memory
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A processor, a method for obtaining information, a board, and a network device are provided. The processor includes a control circuit, a first register, and a cache, and the processor is communicatively connected to a reset-safe non-volatile storage medium. The control circuit is configured to: obtain a reset indication, where the reset indication is an indication generated when the processor runs abnormally; obtain related information of the processor based on the reset indication, where the related information includes at least one of register information of the first register or data stored in the cache; and store the related information in the reset-safe non-volatile storage medium. When the processor runs abnormally, the control circuit inside the processor can obtain the related information of the processor based on the reset indication, so that reliability of a manner of obtaining the related information is high.

## Claims

### Claim 1

A processor, comprising:
a control circuit, a first register, and a cache, and wherein the processor is communicatively connected to a reset-safe non-volatile storage medium; and
the control circuit is configured to:
obtain a reset indication, wherein the reset indication is an indication generated when the processor runs abnormally,
obtain related information of the processor based on the reset indication, wherein the related information comprises at least one of register information of the first register or data stored in the cache, and
store the related information in the reset-safe non-volatile storage medium.

### Claim 2 (depends on 1)

The processor according to claim 1, wherein the processor further comprises a second register, the second register is a register used when the processor runs, the first register is configured to record register information of the second register, the first register is a reset-safe non-volatile register, and the reset indication indicates to reset the processor; and
the control circuit is configured to indicate, based on the reset indication, the first register to stop recording the register information of the second register, and after the processor is reset based on the reset indication, obtain the register information of the first register.

### Claim 3 (depends on 2)

The processor according to claim 2, wherein the second register comprises at least one of a program counter (PC), a stack pointer (SP), a frame pointer (FP), a control register (CR), or a link register (LR).

### Claim 4 (depends on 1)

The processor according to claim 1, wherein the processor has a reset pin, and the reset pin is configured to generate the reset indication and transmit the reset indication to the control circuit.

### Claim 5 (depends on 1)

The processor according to claim 1, wherein the control circuit is communicatively connected to a reset circuit, and the reset circuit is configured to send the reset indication to the control circuit.

### Claim 6 (depends on 1)

The processor according to claim 1, wherein the reset-safe non-volatile storage medium comprises at least one of a reset-safe non-volatile memory inside the processor, a non-volatile storage medium inside the processor, a reset-safe non-volatile memory outside the processor, or a non-volatile storage medium outside the processor.

### Claim 7 (depends on 1)

The processor according to claim 1, wherein the control circuit is further configured to: after the processor is reset, obtain the related information from the reset-safe non-volatile storage medium, and generate a running abnormality record based on the related information.

### Claim 8

A method for obtaining information, comprising:
obtaining, by a control circuit of a processor, a reset indication, wherein the reset indication is an indication generated when the processor runs abnormally;
obtaining, by the control circuit, related information of the processor based on the reset indication, wherein the related information comprises at least one of register information of a first register of the processor or data stored in a cache of the processor; and
storing, by the control circuit, the related information in a reset-safe non-volatile storage medium that is communicatively connected to the processor.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the processor further comprises a second register, the second register is a register used when the processor runs, the first register is configured to record register information of the second register, the first register is a reset-safe non-volatile register, and the reset indication indicates to reset the processor; and
the obtaining related information of the processor based on the reset indication comprises:
indicating, based on the reset indication, the first register to stop recording the register information of the second register; and
after the processor is reset based on the reset indication, obtaining the register information of the first register.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the second register comprises at least one of a program counter (PC), a stack pointer (SP), a frame pointer (FP), a control register (CR), or a link register (LR).

### Claim 11 (depends on 8)

The method according to claim 8, wherein the processor has a reset pin, and the method further comprises:
generating, by the processor, the reset indication via the reset pin; and
transmitting, by the processor, the reset indication to the control circuit via the reset pin; and
the obtaining a reset indication comprises:
receiving the reset indication.

### Claim 12 (depends on 8)

The method according to claim 8, wherein the control circuit is communicatively connected to a reset circuit, and the reset circuit is configured to send the reset indication to the control circuit; and
the obtaining a reset indication comprises:
receiving the reset indication sent by the reset circuit.

### Claim 13 (depends on 8)

The method according to claim 8, wherein the reset-safe non-volatile storage medium comprises at least one of a reset-safe non-volatile memory inside the processor, a non-volatile storage medium inside the processor, a reset-safe non-volatile memory outside the processor, or a non-volatile storage medium outside the processor.

### Claim 14 (depends on 8)

The method according to claim 8, wherein the method further comprises:
after the processor is reset, obtaining, by the control circuit, the related information from the reset-safe non-volatile storage medium, and generating a running abnormality record based on the related information.

### Claim 15

A network device, comprising:
a processor comprising a control circuit, a first register, and a cache, and wherein the processor is communicatively connected to a reset-safe non-volatile storage medium; and
the control circuit is configured to:
obtain a reset indication, wherein the reset indication is an indication generated when the processor runs abnormally,
obtain related information of the processor based on the reset indication, wherein the related information comprises at least one of register information of the first register or data stored in the cache, and
store the related information in the reset-safe non-volatile storage medium.

### Claim 16 (depends on 15)

The network device according to claim 15, wherein the processor further comprises a second register, the second register is a register used when the processor runs, the first register is configured to record register information of the second register, the first register is a reset-safe non-volatile register, and the reset indication indicates to reset the processor; and
the control circuit is configured to indicate, based on the reset indication, the first register to stop recording the register information of the second register, and after the processor is reset based on the reset indication, obtain the register information of the first register.

### Claim 17 (depends on 16)

The network device according to claim 16, wherein the second register comprises at least one of a program counter (PC), a stack pointer (SP), a frame pointer (FP), a control register (CR), or a link register (LR).

### Claim 18 (depends on 15)

The network device according to claim 15, wherein the processor has a reset pin, and the reset pin is configured to generate the reset indication and transmit the reset indication to the control circuit.

### Claim 19 (depends on 15)

The network device according to claim 15, wherein the control circuit is communicatively connected to a reset circuit, and the reset circuit is configured to send the reset indication to the control circuit.

### Claim 20 (depends on 15)

The network device according to claim 15, wherein the reset-safe non-volatile storage medium comprises at least one of a reset-safe non-volatile memory inside the processor, a non-volatile storage medium inside the processor, a reset-safe non-volatile memory outside the processor, or a non-volatile storage medium outside the processor.
