# US 11,442,831 B2 · Method, apparatus, device and system for capturing trace of NVME hard disc

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

- Number: US 11,442,831 B2
- Document ID: US11442831B2
- Status: Granted
- Kind: B2
- Application number: 17/275,827
- Filed: 2019-06-27
- Published: 2022-02-10
- Granted: 2022-09-13
- Earliest claimed: 2018-11-01
- Assignees: Zhengzhou Yunhai Information Technology Co., Ltd.
- Applicants: Zhengzhou Yunhai Information Technology Co., Ltd.
- Inventors: Yixin Sun
- Web page: https://patentgrep.com/patent/US11442831B2

## CPC

- G06F 11/2284: {by power-on test, e.g. power-on self test [POST]}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- 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/2205: {using arrangements specific to the hardware being tested}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 13/4221: {being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus}
- G06F 13/4295: {using an embedded synchronisation}
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system for capturing a trace of an NVME hard disc can include a BMC, a BIOS, a protocol analysis instrument, and a fixture plate comprising a processor and a dial switch. The BIOS is configured to acquire register error information of the PCIe link when an error occurs to a PCIe link where the NVME hard disc is located, and send the register error information to the BMC, and the BMC is configured to send the received information to the fixture plate, and the fixture plate is configured to trigger the protocol analysis instrument to capture a PCIe trace of the NVME hard disc when a current error type corresponding to the dial switch is consistent with the error type of the register error information parsed by a processor of the fixture plate.

## Claims

### Claim 1

A system for capturing a trace of a Non-Volatile Memory Express (NVME) hard disc, the system comprising:
a Baseboard Management Controller (BMC);
a Basic Input Output System (BIOS);
a fixture plate; and
a protocol analysis instrument, wherein the BMC is connected with the fixture plate and the BIOS, respectively, and the fixture plate is connected with the protocol analysis instrument;
wherein the BIOS is configured to acquire register error information of a peripheral component interconnect express (PCIe) link in which the NVME hard disc is located, and send the register error information to the BMC when an error occurs in the PCIe link; and the BMC is configured to send the register error information to the fixture plate; and
wherein the fixture plate comprises a processor and a dial switch, and is configured to trigger the protocol analysis instrument to capture a PCIe trace of the NVME hard disc when a current error type corresponding to the dial switch is consistent with an error type of the register error information parsed by the processor.

### Claim 2 (depends on 1)

The system of claim 1, wherein a Basic Input Output System (GPIO) pin of the fixture plate is connected with a trigger connector of the protocol analysis instrument, and the GPIO pin of the fixture plate is set to trigger the protocol analysis instrument to capture the PCIe trace of the NVME hard disc in response to that the current error type corresponding to the dial switch is consistent with the error type of the register error information parsed by the processor.

### Claim 3 (depends on 2)

The system of claim 2, wherein a RS-232 serial port of the BMC on a server mainboard is connected to an input of the fixture plate through a cable, and the fixture plate is connected with the protocol analysis instrument through a coaxial cable.

### Claim 4 (depends on 3)

The system of claim 3, wherein the BIOS is configured to send the register error information to the BMC via a KCS link.

### Claim 5 (depends on 1)

The system of claim 1, wherein the current error type corresponding to the dial switch is an error type selected by a user.

### Claim 6 (depends on 1)

The system of claim 1, wherein the current error type corresponding to the dial switch includes one or more error types selected by a user.

### Claim 7 (depends on 1)

The system of claim 1, wherein the processor is further configured to receive the register error information from the BMC and parse address information carried by the register error information to determine whether the error type is consistent with the current error type corresponding to the dial switch, wherein the address information is a self-defined address and uniquely corresponds to the error type.

### Claim 8

A method for capturing a trace of a Non-Volatile Memory Express (NVME) hard disc, wherein the method is applied to a fixture plate including a processor and a dial switch, the method comprising:
acquiring register error information, wherein the register error information is register information collected by a Basic Input Output System (BIOS) when an error occurs in a peripheral component interconnect express (PCIe) link in which the NVME hard disc is located;
parsing address information carried by the register error information to obtain a corresponding error type;
determining whether the error type is consistent with a current error type corresponding to the dial switch;
triggering a protocol analysis instrument to capture the PCIe trace of the NVME hard disc if the error type is consistent with the current error type corresponding to the dial switch;
wherein the fixture plate is connected with the protocol analysis instrument, and the BIOS sends the register error information to the fixture plate through a Baseboard Management Controller (BMC), and the address information of the register error information has a corresponding relationship with the error type.

### Claim 9 (depends on 5)

The method of claim 5, wherein a Basic Input Output System (GPIO) pin of the fixture plate is connected with a trigger connector of the protocol analysis instrument, and triggering the protocol analysis instrument to capture the PCIe trace of the NVME hard disc comprises:
sending instructions to set the GPIO pin of the fixture plate so as to trigger the protocol analysis instrument to capture the PCIe trace of the NVME hard disc.

### Claim 10 (depends on 6)

The method of claim 6, wherein the BIOS sends the register error information to the BMC via a KCS link, and the BMC sends received register error information to the fixture plate through an RS-232 serial port.

### Claim 11 (depends on 8)

The method of claim 8, wherein the current error type corresponding to the dial switch is an error type selected by a user.

### Claim 12 (depends on 8)

The method of claim 8, wherein the address information is a self-defined address.

### Claim 13

A device for capturing a trace of an NVME hard disc comprising a processor, wherein the processor is used to perform the following steps when the processor executes computer programs stored in a memory:
acquiring register error information, wherein the register error information is register information collected by a Basic Input Output System (BIOS) when an error occurs in a PCIe link in which the NVME hard disc is located;
parsing address information carried by the register error information to obtain an error type;
determining whether the error type is consistent with a current error type corresponding to a dial switch of a fixture plate;
triggering a protocol analysis instrument to capture a PCIe trace of the NVME hard disc if the error type is consistent with the current error type corresponding to the dial switch in the fixture plate.
