# US 2026/0121910 A1 · Method and apparatus for determining faulty device, and non-volatile readable storage medium 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 2026/0121910 A1
- Document ID: US20260121910A1
- Status: Published application
- Kind: A1
- Application number: 19/470,455
- Filed: 2024-09-29
- Published: 2026-04-30
- Earliest claimed: 2023-12-19
- Assignees: Suzhou Metabrain Intelligent Technology Co., Ltd.
- Applicants: Suzhou Metabrain Intelligent Technology Co., Ltd.
- Inventors: Jianliang TANG; Peng CHEN; Fei LU; Xiuqiang SUN
- Web page: https://patentgrep.com/patent/US20260121910A1

## CPC

- H04L 41/0677: Localisation of faults
- H04L 49/555: {Error detection}
- H04L 45/243: using M+N parallel active paths
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Provided are a method and apparatus for determining a faulty device, a non-volatile computer readable storage medium, and an electronic device. The method for determining the faulty device includes: acquiring a target device Identifier (ID) of a target faulty device; searching preset link information for link information which comprises the target device ID; when link information that includes the target device ID is found indication information in link information indicates that a first switch is present on the device link, determining whether the target faulty device on the device link is located between the processor and the first switch; and when the target faulty device is not located between the processor and the first switch, determining whether the target faulty device is a device on a switch board according to preset record item information and the target device ID.

## Claims

### Claim 1

A method for determining a faulty device, comprising:
acquiring a target device Identifier (ID) of a target faulty device;
searching preset N+M pieces of link information for link information which comprises the target device ID, wherein the N+M pieces of link information have a one-to-one correspondence with N+M connection devices; the N+M connection devices comprise N connection devices on a motherboard and M connection devices on a switch board; each of the M connection devices is connected to one of P switches on the switch board; and the i-th piece of link information among the N+M pieces of link information comprises device IDs of a plurality of devices on the i-th device link which is formed from a processor on the motherboard to the i-th connection device of the N+M connection devices, wherein N, M, and P all are positive integers, and i and j are positive integers less than or equal to N+M;
in a case where the j-th piece of link information which comprises the target device ID is found from the N+M pieces of link information and the j-th piece of indication information in the j-th piece of link information indicates that a first switch is present on the j-th device link which is formed from the processor to the j-th connection device, determining whether the target faulty device on the j-th device link is located between the processor and the first switch, wherein the first switch is one of the P switches; and
in a case where the target faulty device is not located between the processor and the first switch, determining whether the target faulty device is a device on the switch board based on preset record item information and the target device ID, wherein the record item information comprises a device ID of each of the P switches.

### Claim 2 (depends on 1)

The method according to claim 1, wherein after the searching preset N+M pieces of link information for link information which comprises the target device ID, the method further comprises:
in a case where the j-th piece of link information which comprises the target device ID is found from the N+M pieces of link information, and the j-th piece of indication information indicates that the first switch is not present on the j-th device link, determining that the target faulty device is a device on the motherboard.

### Claim 3 (depends on 1)

The method according to claim 1, wherein after the determining whether the target faulty device on the j-th device link is located between the processor and the first switch, the method further comprises:
in a case where the target faulty device is located between the processor and the first switch, determining that the target faulty device is a device on the motherboard.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the determining whether the target faulty device on the j-th device link is located between the processor and the first switch comprises:
in a case where, within the j-th piece of link information, the target device ID is located between a device ID of the processor and the device ID of the first switch, determining that the target faulty device on the j-th device link is located between the processor and the first switch.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the determining whether the target faulty device is a device on the switch board based on preset record item information and the target device ID comprises:
searching the record item information for a record item which comprises the target device ID, wherein the record item information comprises P record items, the k-th record item among the P record items comprises the device ID of the k-th switch among the P switches, and k is a positive integer less than or equal to P; and
in a case where the p-th record item which comprises the target device ID is found within the record item information, determining that the target faulty device is a device on the switch board and the target faulty device is one of the P switches, wherein p is a positive integer less than or equal to P, and the device ID of the p-th switch among the P switches comprised in the p-th record item is equal to the target device ID.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the determining whether the target faulty device is a device on the switch board based on preset record item information and the target device ID comprises:
determining P bus number ranges based on P Secondary Bus (SecBus) numbers and P Subordinate Bus (SubBus) numbers corresponding to the P switches comprised in the record item information, wherein the record item information comprises P record items, and the k-th record item among the P record items comprises a device ID of the k-th switch among the P switches and a SecBus number and a SubBus number of the k-th switch, k is a positive integer less than or equal to P, a minimum value of the k-th bus number range among the P bus number ranges is the SecBus number of the k-th switch, and a maximum value of the k-th bus number range is the SubBus number of the k-th switch;
determining whether the target device ID is located within the P bus number ranges; and
in a case where it is determined that the target device ID is located within one of the P bus number ranges, determining that the target faulty device is one of the M connection devices on the switch board.

### Claim 7 (depends on 6)

The method according to claim 6, wherein after the determining whether the target device ID is located within the P bus number ranges, the method further comprises:
in a case where it is determined that the target device ID is not located within any one of the P bus number ranges, determining N+M bus number ranges based on N+M SecBus numbers and N+M SubBus numbers corresponding to the N+M connection devices comprised in the N+M pieces of link information, wherein the i-th piece of link information among the N+M pieces of link information further comprises a SecBus number and a SubBus number of a root port where the i-th connection device is located, a minimum value of the i-th bus number range among the N+M bus number ranges is the SecBus number of the root port where the i-th connection device is located, and a maximum value of the i-th bus number range is the SubBus number of the root port where the i-th connection device is located;
determining whether the target device ID is located within the N+M bus number ranges; and
in a case where it is determined that the target device ID is located within one of the N+M bus number ranges, determining that the target faulty device is a device on the motherboard.

### Claim 8 (depends on 7)

The method according to claim 7, wherein after the determining whether the target device ID is located within the N+M bus number ranges, the method further comprises:
in a case where it is determined that the target device ID is not located within any one of the N+M bus number ranges, displaying first prompt information, wherein the first prompt information is configured to indicate that a position of the target faulty device is undetermined.

### Claim 9 (depends on 1)

The method according to claim 1, wherein after the searching preset N+M pieces of link information for link information which comprises the target device ID, the method further comprises:
in a case where the link information which comprises the target device ID is not found within the N+M pieces of link information, determining whether the target faulty device is a device on the switch board based on the preset record item information and the target device ID.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the determining whether the target faulty device on the j-th device link is located between the processor and the first switch comprises:
in a case where, within the j-th piece of link information, the target device ID is not located between a device ID of the processor and the device ID of the first switch, determining that the target faulty device on the j-th device link is not located between the processor and the first switch.

### Claim 11 (depends on 1)

The method according to claim 1, wherein in a case where it is determined that the target faulty device is a device on the switch board, the method further comprises:
acquiring an ID of the switch board and displaying second prompt information, wherein the second prompt information comprises the ID of the switch board, and the second prompt information is configured to indicate that the target faulty device is a device on the switch board; or
acquiring an ID of the switch board, and displaying third prompt information in a case where the target faulty device is one of the M connection devices, wherein the third prompt information comprises the ID of the switch board, and the third prompt information is configured to indicate that the target faulty device is one of the M connection devices on the switch board; or
acquiring an ID of the switch board, and displaying fourth prompt information in a case where the target faulty device is one of the P switches, wherein the fourth prompt information comprises the ID of the switch board, and the fourth prompt information is configured to indicate that the target faulty device is one of the P switches on the switch board.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the acquiring an ID of the switch board comprises:
acquiring the ID of the switch board from the record item information, wherein the record item information comprises the ID of the switch board and P record items, and the k-th record item among the P record items comprises a device ID of the k-th switch of the P switches.

### Claim 13 (depends on 2)

The method according to claim 2, wherein in a case where it is determined that the target faulty device is the device on the motherboard, the method further comprises:
acquiring an ID of the motherboard and displaying fifth prompt information, wherein the fifth prompt information comprises the ID of the motherboard, and the fifth prompt information is configured to indicate that the target faulty device is a device on the motherboard; or
acquiring an ID of the motherboard, and displaying sixth prompt information in a case where the target faulty device is one of the N connection devices, wherein the sixth prompt information comprises the ID of the motherboard, and the sixth prompt information is configured to indicate that the target faulty device is one of the N connection devices on the motherboard; or
acquiring an ID of the motherboard, and displaying seventh prompt information in a case where the target faulty device is a device other than the N connection devices on the motherboard, wherein the seventh prompt information comprises the ID of the motherboard, and the seventh prompt information is configured to indicate that the target faulty device is a device other than the N connection devices on the motherboard.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the acquiring an ID of the motherboard comprises:
acquiring the ID of the motherboard from predetermined connection device description information, wherein the connection device description information comprises the ID of the motherboard and the N+M pieces of link information.

### Claim 15 (depends on 1)

The method according to claim 1, wherein before the searching preset N+M pieces of link information for link information which comprises the target device ID, the method further comprises:
acquiring device IDs of a plurality of devices on each of N+M device links, wherein the N+M device links comprise device links respectively formed from the processor to each of the N+M connection devices, and the device IDs of the plurality of devices on the i-th device link among the N+M device links comprise a device ID of the i-th connection device and a device ID of a root port where the i-th connection device is located;
acquiring an ID of the motherboard; and
acquiring a SecBus number and a SubBus number of a respective root port where each of the N+M connection devices is located.

### Claim 16 (depends on 15)

The method according to claim 15, wherein before the searching preset N+M pieces of link information for link information which comprises the target device ID, the method further comprises:
determining whether one of the P switches is present on each of the N+M device links, to obtain N+M pieces of indication information, wherein the i-th indication information among the N+M pieces of indication information is configured to indicate whether one of the P switches is present on the i-th device link.

### Claim 17 (depends on 15)

The method according to claim 15, wherein the acquiring device IDs of a plurality of devices on each of N+M device links comprises:
in a case where the N+M connection devices are not virtual network port devices, acquiring the device IDs of the plurality of devices on each of the N+M device links sent by the N+M connection devices.

### Claim 18 (depends on 1)

The method according to claim 1, wherein before the determining whether the target faulty device is a device on the switch board based on preset record item information and the target device ID, the method further comprises:
acquiring a device ID of each of the P switches;
acquiring an ID of the switch board; and
acquiring a SecBus number and a SubBus number of each of the P switches.

### Claim 19 (depends on 18)

The method according to claim 18, wherein before the determining whether the target faulty device is a device on the switch board based on preset record item information and the target device ID, the method further comprises:
recording the device ID of each of the P switches, and the SecBus number and the SubBus number of each of the P switches into the P record items in the record item information, wherein the k-th record item of the P record items comprises the device ID of the k-th switch among the P switches, and the SecBus number and the SubBus number of the k-th switch, k is a positive integer less than or equal to P.

### Claim 20

(canceled)

### Claim 21

(canceled)

### Claim 22 (depends on 1)

An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement steps of the method according to claim 1 when executing the computer program.
