hottub.patents
US 12,554,570 B2#3315979 Most CitedActiveUnited States (USPTO)Utility

Method, apparatus and system for locating fault of server, and computer-readable storage medium

0Forward Citations (#3315979 Global)
0.0/yrCitation Velocity (#3315979 Global)
0.00Citation PageRank (#3315979 Global)
23Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
4Drawings / Sheets

Abstract

A method for locating a fault of a server includes: physically connecting a GPIO pin of a BMC to a GPIO pin of target hardware in advance; reading a current state value of the GPIO signal of the target hardware in a power-on and activation process of a mainboard, and loading a corresponding version of the firmware according to the current state value and the condition for switching; and in response to determining that the corresponding version of the firmware is the debug version, outputting serial port log information of the debug version to the BMC, and in response to determining that the corresponding version of the firmware is the release version, determining whether to change the state value of the GPIO signal on a connection between the BMC and the target hardware according to a preset normal activation condition and a system event log.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method for locating a fault of a server, the method comprising: physically connecting a General-Purpose Input/Output (GPIO) pin of a Baseboard Management Controller (BMC) to a GPIO pin of target hardware, and setting, according to a state of a GPIO signal, a condition for switching between a release version and a debug version of firmware; reading a current state value of the GPIO signal of the target hardware in a power-on and activation process of a mainboard, and loading a corresponding version of the firmware according to the current state value and the condition for switching; and in response to determining that the corresponding version of the firmware is the debug version, outputting serial port log information of the debug version to the BMC, and in response to determining that the corresponding version of the firmware is the release version, determining whether to change the current state value of the GPIO signal on a connection between the BMC and the target hardware according to a preset normal activation condition and a system event log.

  2. Claim 2Depends on #1

    The method for locating the fault of the server according to claim 1, wherein determining whether to change the current state value of the GPIO signal on the connection between the BMC and the target hardware according to the preset normal activation condition and the system event log comprises: determining whether a startup parameter satisfies the preset normal activation condition in a startup process of the server based on the release version; in response to determining that the startup parameter of the server does not satisfy the preset normal activation condition, executing a re-activation operation of the server according to a re-activation instruction sent by the BMC, and generating the system event log simultaneously; and in a process of executing the re-activation operation of the server, in response to determining that the startup parameter satisfies the preset normal activation condition and a number of the system event log is not greater than a preset number threshold, powering on and starting up the mainboard of the server; and in response to determining that the startup parameter satisfies the preset normal activation condition and the number of the system event log is greater than the preset number threshold, setting the current state value of the GPIO signal on the connection between the BMC and the target hardware to a state value of the GPIO signal that indicates to switch to the debug version for outputting.

  3. Claim 3Depends on #2

    The method for locating the fault of the server according to claim 2, wherein the startup parameter comprises an activation time, and the preset normal activation condition comprises that the activation time of the server does not exceed a preset time threshold.

  4. Claim 4Depends on #1

    The method for locating the fault of the server according to claim 1, wherein in response to determining that the corresponding version of the firmware is the debug version, outputting the serial port log information of the debug version to the BMC comprises: in response to determining that the corresponding version of the firmware is the debug version, determining whether the server is normally activated through the debug version; in response to determining that the server is not normally activated through the debug version, outputting the serial port log information of the debug version to the BMC; and in response to determining that the server is normally activated through the debug version, re-executing an activation operation of the server through the release version based on activation parameters of the debug version.

  5. Claim 5Depends on #4

    The method for locating the fault of the server according to claim 4, wherein re-executing the activation operation of the server through the release version based on the activation parameters of the debug version comprises: sending an activation feedback notification instruction to the BMC, so that in response to receiving the activation feedback notification instruction, the BMC executes a shutdown operation of the server, stores activation parameter variables read from a storage region of the debug version to a storage region of the release version upon detecting that the server is in a shutdown state, executes an activation flow of the release version after completing storing the activation parameter variables, normally activates the server, and boots an operating system.

  6. Claim 6Depends on #5

    The method for locating the fault of the server according to claim 5, wherein sending the activation feedback notification instruction to the BMC, so that in response to receiving the activation feedback notification instruction, the BMC executes the shutdown operation of the server comprises: pre-defining a target GPIO pin for the BMC, wherein a change in a state of a signal of the target GPIO pin indicates sending of the activation feedback notification instruction; sending a GPIO signal instruction to the BMC, wherein the GPIO signal instruction is used for setting the current state value of the signal of the target GPIO pin of the BMC as a target value; and executing the shutdown operation of the server when the BMC detects a change in the current state value of the signal of the target GPIO pin.

  7. Claim 7Depends on #6

    The method for locating the fault of the server according to claim 6, wherein the BMC sets a monitoring thread to monitor the change in the state of the signal of the target GPIO pin in real time, and once the state of the signal is changed, the BMC executes the shutdown operation of the server, stores the activation parameter variables read from the storage region of the debug version to the storage region of the release version upon detecting that the server is in the shutdown state, executes the activation flow of the release version after completing storing the activation parameter variables, normally activates the server, and boots the operating system.

  8. Claim 8Depends on #5

    The method for locating the fault of the server according to claim 5, wherein an operation that the BMC stores the activation parameter variables read from the storage region of the debug version to the storage region of the release version comprises: reading, by the BMC, variable information in a Non-Volatile Random Access Memory (NVRAM) region of the debug version of a BIOS, and stores the variable information to an NVRAM region of the release version of the BIOS.

  9. Claim 9Depends on #5

    The method for locating the fault of the server according to claim 5, wherein sending the activation feedback notification instruction to the BMC comprises: sending the activation n feedback notification instruction through an Internal Microprogrammed Interface (IMPI) command.

  10. Claim 10Depends on #1

    The method for locating the fault of the server according to claim 1, wherein after outputting the serial port log information of the debug version to the BMC, the method further comprises: storing, by the BMC, the serial port log information into a target address space in a flash memory of the BMC, and exporting the serial port log information read from the target address space to a requesting terminal upon receiving a fault log information acquisition instruction.

  11. Claim 11Depends on #1

    An apparatus for locating a fault of a server, the apparatus comprising: a processor and a memory, wherein the processor is configured to implement operations of the method for locating the fault of the server according to claim 1 when executing a computer program stored in the memory.

  12. Claim 12Depends on #1

    The method for locating the fault of the server according to claim 1, wherein the target hardware is a hardware device or chip having a GPIO pin in the server, and the target hardware comprises: a Platform Controller Hub (PCH), an Ampere Altre ® processor, or an AMD Milan ® processor.

  13. Claim 13Depends on #1

    The method for locating the fault of the server according to claim 1, wherein the firmware comprises BMC firmware or Basic Input Output System (BIOS) firmware.

  14. Claim 14Depends on #1

    The method for locating the fault of the server according to claim 1, wherein the condition for switching between the release version and the debug version of the firmware comprises a correspondence between the state of the GPIO signal and the corresponding version of the firmware currently needs to be output.

  15. Claim 15Depends on #1

    The method for locating the fault of the server according to claim 1, further comprising: locating a fault of the server based on the serial port log information stored in the BMC.

  16. Claim 16Depends on #1

    The method for locating the fault of the server according to claim 1, wherein the preset normal activation condition comprises a parameter identifying that the server is normally activated without a fault, and the parameter comprises: an allowable value or range of a startup duration.

  17. Claim 17Independent Claim

    A non-transitory computer-readable storage medium, storing a program for locating a fault of a server, wherein the program for locating the fault of the server, when executed by a processor, causes the processor to implement following operations: physically connecting a General-Purpose Input/Output (GPIO) pin of a Baseboard Management Controller (BMC) to a GPIO pin of target hardware, and setting, according to a state of a GPIO signal, a condition for switching between a release version and a debug version of firmware; reading a current state value of the GPIO signal of the target hardware in a power-on and activation process of a mainboard, and loading a corresponding version of the firmware according to the current state value and the condition for switching; and in response to determining that the corresponding version of the firmware is the debug version, outputting serial port log information of the debug version to the BMC, and in response to determining that the corresponding version of the firmware is the release version, determining whether to change the current state value of the GPIO signal on a connection between the BMC and the target hardware according to a preset normal activation condition and a system event log.

  18. Claim 18Independent Claim

    A system for locating a fault of a server, the system comprising: a Baseboard Management Controller (BMC), target hardware, and a processor, wherein a General-Purpose Input/Output (GPIO) pin of the BMC is physically connected to a GPIO pin of the target hardware, and the processor is connected to the BMC and the target hardware separately; and the processor is configured to implement following operations when executing a computer program stored in a memory: setting, according to a state of a GPIO signal, a condition for switching between a release version and a debug version of firmware; reading a current state value of the GPIO signal of the target hardware in a power-on and activation process of a mainboard, and loading a corresponding version of the firmware according to the current state value and the condition for switching; and in response to determining that the corresponding version of the firmware is the debug version, outputting serial port log information of the debug version to the BMC, and in response to determining that the corresponding version of the firmware is the release version, determining whether to change the current state value of the GPIO signal on a connection between the BMC and the target hardware according to a preset normal activation condition and a system event log.

  19. Claim 19Depends on #18

    The system for locating the fault of the server according to claim 18, wherein the GPIO pin of a chip of the BMC is physically connected to the GPIO pin of the target hardware through hardware of a mainboard.

  20. Claim 20Depends on #18

    The system for locating the fault of the server according to claim 18, wherein the target hardware is a hardware device or chip having a GPIO pin in the server, and the target hardware comprises: a Platform Controller Hub (PCH), an Ampere Altre ® processor, or an AMD Milan ® processor.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION The present disclosure is a National Stage Filing of the PCT International Application No. PCT/CN2021/121205 filed on Sep. 28, 2021, which claims the priority to Chinese Patent Application No. 202110127034.7, filed with the Chinese Patent Office on Jan. 29, 2021 and entitled “ Method, Apparatus and System for Locating Fault of Server, and Computer-Readable Storage Medium ” , which is incorporated in its entirety herein by reference. TECHNICAL FIELD The present disclosure relates to the technical field of servers, and in particular to a method, apparatus and system for locating a fault of a server, and a computer-readable storage medium. BACKGROUND In a project research and development process of software or hardware, it is common practice to analyze, locate, and solve various problems encountered in the project research and development process by virtue of relevant debugging means, so that a developed project or product may satisfy demand of the market and customers. In the field of servers, higher requirements are raised on safety, reliability, and stability of the product or project. For example, for a data center in which hundreds of thousands of servers are deployed, when a large number of servers are down, crashed, or cannot start normally, the services of the data center will be fatally damaged, and operation and maintenance personnel of the data center will suffer enormous work pressure and loads. In a word, effective debugging plays a significant role in a product research and development process. Generally, a Basic Input Output System (BIOS) of a server has a release version and a debug version. The debug version is the most commonly-used means for analyzing, locating and clearing a fault in the project or product research and development process. In order to shorten an activation time of a device and to relieve the burden of checking a mechanism principle of a code development and activation flow from the customer, th

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (6)

  • Z. Ping, Y. Wang, Y. Lin, W. Gong, W. Gong and Y. Li,
  • “
  • Design of Server Fault Diagnosis and Prediction Based on BMC,
  • ”
  • 2024 China Automation Congress (CAC), Qingdao, China, 2024, pp. 1031-1036 (Year: 2024).
  • International Search Report for PCT/CN2021/121205 mailed on Jan. 4, 2022.