Fault processing device and server

CN119938384APending Publication Date: 2025-05-06INSPUR BUSINESS MACHINE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510087908.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

After the existing server fails, offline diagnosis methods are limited, and the fault log cannot be effectively obtained, and it may damage the server environment, resulting in secondary corruption.

Method used

A fault handling device is designed, including a signal switching module, a USB interface, a log storage module and an offline diagnosis module. The offline diagnosis module is connected through the USB interface to power the log storage module and the signal switching module, so as to realize the signal communication between the offline diagnosis module and the log storage module and read the log information.

Benefits of technology

After the server fails, the offline diagnosis module is connected to the USB interface to obtain more log information, retain the site, and do not destroy the server fault environment, and decide whether to power on based on the fault analysis results to avoid secondary damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938384A_ABST
    Figure CN119938384A_ABST
Patent Text Reader

Abstract

The invention discloses a fault processing device and a server. The fault processing device comprises a signal switching module; the USB interface is connected with the signal switching module; the log storage module is used for storing logs and is connected with the signal switching module; the off-line diagnosis module can be connected with the USB interface and is used for supplying power to the signal switching module through the USB interface; wherein the signal switching module is used for establishing connection between the log storage module and the USB interface after the off-line diagnosis module is powered on, so that the log storage module is powered on; the offline diagnosis module is further used for reading the logs in the log storage module through the USB interface after the log storage module is powered on. According to the scheme provided by the invention, more log information can be obtained, meanwhile, the site can be reserved, the fault environment of the server is not damaged, and whether the machine is electrified or not can be determined according to the fault analysis result, so that secondary damage of the machine caused by partial power supply faults is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of servers, and in particular to a fault handling device and a server. Background Art

[0002] With the rapid development of information technology, servers play a vital role in various application scenarios. In many cases, servers are required to run 24 hours a day, or to be repaired as soon as possible when a failure occurs to ensure that the business is not affected. Therefore, debugging technology is particularly important.

[0003] When a server fails, there are two possible scenarios: 1. The server is still running. You can obtain the fault log through the monitoring and management system to analyze and locate the problem.

[0004] 2. The server is down (the machine is turned off and the function fails), and the monitoring and management system cannot access it. It is necessary to restart the machine or obtain the fault log through offline diagnosis.

[0005] If the server crashes, and the cause of the failure is uncertain, offline diagnosis is required to analyze the problem in order to ensure the fault site environment or if a partial failure causes the server to be unable to power on normally. However, the current offline diagnosis methods for servers are limited. A common method is to turn on the power supply of the button battery by pressing a button, light up the fault indicator light, and determine the faulty module. However, this solution is mostly used for offline diagnosis of memory module failures. This method obtains less information and cannot cover all modules. In addition, it may damage the server environment and even cause secondary damage to the machine. Summary of the invention

[0006] In view of this, in order to overcome at least one aspect of the above problems, an embodiment of the present invention provides a fault handling device, comprising the following steps: Signal switching module; A USB interface connected to the signal switching module; A log storage module, used for storing logs and connected to the signal switching module; an offline diagnostic module, connectable to the USB interface, and configured to supply power to the signal switching module via the USB interface; Among them, the signal switching module is used to establish a connection between the log storage module and the USB interface after the offline diagnostic module is powered on, thereby powering on the log storage module; the offline diagnostic module is further used to read the log in the log storage module through the USB interface after the log storage module is powered on.

[0007] In some embodiments, the signal switching module includes a first connection end, a second connection end, and a third connection end; The USB interface includes a power pin and a data transmission pin; The log storage module includes a first data interaction terminal and a first power supply terminal; Among them, the data transmission pin is connected to the first connection end, and the power pin is connected to the second connection end; the first data exchange end is connected to the third connection end, and the first power end is connected to the power pin.

[0008] In some embodiments, the offline diagnostic module is configured to power the signal switching module through the power pin of the USB interface and the second connection end of the signal switching module; the offline diagnostic module is also configured to power the log storage module through the power pin and the first power end of the log storage module.

[0009] In some embodiments, the signal switching module is further configured to establish a connection between the first connection terminal and the third connection terminal in response to detecting that the second connection terminal is supplying power; The offline diagnosis module is also used to read logs through the data transmission pin of the USB interface, the first connection end and the third connection end of the signal switching module, and the first data interaction end of the log storage module.

[0010] In some embodiments, the signal switching module further includes a fifth connection terminal and a sixth connection terminal; The signal switching module is further configured to disconnect the first connection terminal from the third connection terminal and establish a connection between the first connection terminal and the fifth connection terminal in response to detecting that the second connection terminal stops supplying power and is supplied power by the sixth connection terminal.

[0011] Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a server, including a fault handling device and a monitoring management unit, wherein the fault handling device includes: Signal switching module; A USB interface connected to the signal switching module; A log storage module, used to store the logs generated by the monitoring management unit and connected to the signal switching module; an offline diagnostic module, connectable to the USB interface, and configured to supply power to the signal switching module via the USB interface; Among them, the signal switching module is used to establish a connection between the log storage module and the USB interface after the offline diagnostic module is powered on, thereby powering on the log storage module; the offline diagnostic module is further used to read the log in the log storage module through the USB interface after the log storage module is powered on.

[0012] In some embodiments, the signal switching module includes a first connection end, a second connection end, and a third connection end; The USB interface includes a power pin and a data transmission pin; The log storage module includes a first data interaction terminal and a first power supply terminal; Among them, the data transmission pin is connected to the first connection end, and the power pin is connected to the second connection end; the first data exchange end is connected to the third connection end, and the first power end is connected to the power pin.

[0013] In some embodiments, the offline diagnostic module is configured to power the signal switching module through the power pin of the USB interface and the second connection end of the signal switching module; the offline diagnostic module is also configured to power the log storage module through the power pin and the first power end of the log storage module.

[0014] In some embodiments, the signal switching module is further configured to establish a connection between the first connection terminal and the third connection terminal in response to detecting that the second connection terminal is supplying power; The offline diagnosis module is also used to read logs through the data transmission pin of the USB interface, the first connection end and the third connection end of the signal switching module, and the first data interaction end of the log storage module.

[0015] In some embodiments, the server further includes a USB function module and a power supply module, wherein the USB function module is connected to the fifth connection terminal; the power supply module is connected to the sixth connection terminal; The signal switching module further includes a fifth connection terminal and a sixth connection terminal; The signal switching module is further configured to disconnect the first connection terminal and the third connection terminal and establish a connection between the first connection terminal and the fifth connection terminal in response to detecting that the second connection terminal stops supplying power and the power supply module supplies power through the sixth connection terminal.

[0016] The present invention has one of the following beneficial technical effects: the solution proposed by the present invention can connect the offline diagnostic module through the USB interface after the server fails and shuts down, and the offline diagnostic module supplies power to the log storage module and the signal switching module, so as to realize the signal connection (I2C or SPI protocol) from the offline diagnostic module to the log storage module, so that the offline diagnostic module reads the log information in the log storage module. In this way, more log information can be obtained, and the scene can be preserved without destroying the server failure environment. In addition, according to the fault analysis results, it can be confirmed whether to power on the machine to avoid secondary damage to the machine caused by partial power failure. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A schematic diagram of the structure of a fault handling device provided by an embodiment of the present invention; Figure 2 A schematic diagram of server connection under normal conditions provided by an embodiment of the present invention; Figure 3 A schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0020] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for distinguishing two non-identical entities with the same name or non-identical parameters. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. The subsequent embodiments will not explain this one by one.

[0021] In the embodiments of the present invention, PCIE, Peripheral Component Interconnect Express, is a high-speed serial computer expansion bus standard. I2C, Inter-Integrated Circuit, is a simple, bidirectional two-wire synchronous serial bus. SPI, Serial Peripheral Interface, is a serial peripheral interface bus.

[0022] According to one aspect of the present invention, an embodiment of the present invention provides a fault handling device, such as Figure 1 As shown, it may include Signal switching module; A USB interface connected to the signal switching module; A log storage module, used for storing logs and connected to the signal switching module; an offline diagnostic module, connectable to the USB interface, and configured to supply power to the signal switching module via the USB interface; Among them, the signal switching module is used to establish a connection between the log storage module and the USB interface after the offline diagnostic module is powered on, thereby powering on the log storage module; the offline diagnostic module is further used to read the log in the log storage module through the USB interface after the log storage module is powered on.

[0023] The solution proposed by the present invention can connect the offline diagnosis module through the USB interface after the server fails and shuts down, and the offline diagnosis module supplies power to the log storage module and the signal switching module, so as to realize the signal connection (I2C or SPI protocol) from the offline diagnosis module to the log storage module, so that the offline diagnosis module reads the log information in the log storage module. In this way, more log information can be obtained, and the scene can be preserved without destroying the server failure environment. In addition, according to the fault analysis results, it can be confirmed whether to power on the machine to avoid secondary damage to the machine caused by partial power failure.

[0024] In some embodiments, the signal switching module includes a first connection terminal 1, a second connection terminal 2, and a third connection terminal 3; The USB interface includes a power pin 6 and a data transmission pin 5; The log storage module includes a first data interaction terminal 7 and a first power supply terminal 8; Among them, the data transmission pin 5 is connected to the first connection terminal 1, and the power pin 6 is connected to the second connection terminal 2; the first data interaction terminal 7 is connected to the third connection terminal 3, and the first power terminal 8 is connected to the power pin 6.

[0025] In some embodiments, the offline diagnostic module powers the signal switching module through the power pin 6 of the USB interface and the second connection terminal 2 of the signal switching module; the offline diagnostic module powers the log storage module through the power pin 6 and the first power terminal 8 of the log storage module.

[0026] In some embodiments, the signal switching module is further configured to establish a connection between the first connection terminal 1 and the third connection terminal 3 in response to detecting that the second connection terminal 2 is powered; The offline diagnosis module is also used to read logs through the data transmission pin 5 of the USB interface, the first connection terminal 1 and the third connection terminal 3 of the signal switching module, and the first data interaction terminal 7 of the log storage module.

[0027] Specifically, Figure 2 and Figure 3 As shown, when the system fails and crashes, the CPU and USB function modules fail, and the USB link is interrupted. The monitoring management unit saves the last collected log information in the log storage module.

[0028] The offline diagnostic module is connected via the USB interface. The offline diagnostic module supplies power to the log storage module and the signal switching module to achieve signal connectivity (I2C or SPI protocol) from the offline diagnostic module to the log storage module. The offline diagnostic module reads the log information in the log storage module.

[0029] In some embodiments, the signal switching module further includes a fifth connection terminal 9 and a sixth connection terminal 10; The signal switching module is further configured to disconnect the first connection terminal 1 and the third connection terminal 9 and establish a connection between the first connection terminal 1 and the fifth connection terminal 9 in response to detecting that the second connection terminal 2 stops supplying power and is supplied by the sixth connection terminal 10 .

[0030] Specifically, Figure 2 and Figure 3 As shown in the figure, when the whole system is running normally, the power supply module inside the server supplies power to the CPU, USB function module, monitoring management unit, log storage module, and signal switching module respectively. The USB interface provides USB function and can access the operating system (same as the USB interface function of a laptop). The monitoring management unit collects system log information and stores the information in real time in the log storage module through the I2C or SPI bus protocol.

[0031] Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a server, such as Figure 3 As shown, it includes a fault handling device and a monitoring management unit, wherein the fault handling device includes: Signal switching module; A USB interface connected to the signal switching module; A log storage module, used to store the logs generated by the monitoring management unit and connected to the signal switching module; an offline diagnostic module, connectable to the USB interface, and configured to supply power to the signal switching module via the USB interface; Among them, the signal switching module is used to establish a connection between the log storage module and the USB interface after the offline diagnostic module is powered on, thereby powering on the log storage module; the offline diagnostic module is further used to read the log in the log storage module through the USB interface after the log storage module is powered on.

[0032] In some embodiments, the signal switching module includes a first connection end, a second connection end, and a third connection end; The USB interface includes a power pin and a data transmission pin; The log storage module includes a first data interaction terminal and a first power supply terminal; Among them, the data transmission pin is connected to the first connection end, and the power pin is connected to the second connection end; the first data exchange end is connected to the third connection end, and the first power end is connected to the power pin.

[0033] In some embodiments, the offline diagnostic module powers the signal switching module through the power pin of the USB interface and the second connection end of the signal switching module; the offline diagnostic module powers the log storage module through the power pin and the first power end of the log storage module.

[0034] In some embodiments, the signal switching module is further configured to establish a connection between the first connection terminal and the third connection terminal in response to detecting that the second connection terminal is supplying power; The offline diagnosis module is also used to read logs through the data transmission pin of the USB interface, the first connection end and the third connection end of the signal switching module, and the first data interaction end of the log storage module.

[0035] In some embodiments, the server further includes a USB function module and a power supply module, wherein the USB function module is connected to the fifth connection terminal; the power supply module is connected to the sixth connection terminal; The signal switching module further includes a fifth connection terminal and a sixth connection terminal; The signal switching module is further configured to disconnect the first connection terminal and the third connection terminal and establish a connection between the first connection terminal and the fifth connection terminal in response to detecting that the second connection terminal stops supplying power and the power supply module supplies power through the sixth connection terminal.

[0036] Finally, it should be noted that a person skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0037] Furthermore, it should be appreciated that the computer-readable storage medium (eg, memory) herein may be either volatile memory or nonvolatile memory, or may include both volatile memory and nonvolatile memory.

[0038] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.

[0039] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.

[0040] It should be understood that, as used herein, the singular forms "a", "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations including one or more of the associated listed items.

[0041] The serial numbers of the embodiments disclosed in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0042] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0043] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the above embodiments of the present invention, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.

Claims

1. A fault handling device, characterized in that: include: Signal switching module; A USB interface connected to the signal switching module; A log storage module, used for storing logs and connected to the signal switching module; an offline diagnostic module, connectable to the USB interface, and configured to supply power to the signal switching module via the USB interface; Wherein, the signal switching module is used to establish a connection between the log storage module and the USB interface after the offline diagnostic module is powered on, thereby powering on the log storage module; The offline diagnosis module is further used to read the log in the log storage module through the USB interface after the log storage module is powered on.

2. The system according to claim 1, characterized in that The signal switching module includes a first connection end, a second connection end, and a third connection end; The USB interface includes a power pin and a data transmission pin; The log storage module includes a first data interaction terminal and a first power supply terminal; Among them, the data transmission pin is connected to the first connection end, and the power pin is connected to the second connection end; the first data exchange end is connected to the third connection end, and the first power end is connected to the power pin.

3. The system according to claim 2, characterized in that The offline diagnostic module is configured to power the signal switching module through the power pin of the USB interface and the second connection end of the signal switching module; the offline diagnostic module is also configured to power the log storage module through the power pin and the first power end of the log storage module.

4. The system according to claim 3, characterized in that The signal switching module is further configured to establish a connection between the first connection terminal and the third connection terminal in response to detecting that the second connection terminal is supplying power; The offline diagnosis module is also used to read logs through the data transmission pin of the USB interface, the first connection end and the third connection end of the signal switching module, and the first data interaction end of the log storage module.

5. The system according to claim 4, characterized in that The signal switching module also includes a fifth connection terminal and a sixth connection terminal; The signal switching module is further configured to disconnect the first connection terminal from the third connection terminal and establish a connection between the first connection terminal and the fifth connection terminal in response to detecting that the second connection terminal stops supplying power and is supplied power by the sixth connection terminal.

6. A server, characterized in that: The system comprises a fault handling device and a monitoring management unit, wherein the fault handling device comprises: Signal switching module; A USB interface connected to the signal switching module; A log storage module, used to store the logs generated by the monitoring management unit and connected to the signal switching module; an offline diagnostic module, connectable to the USB interface, and configured to supply power to the signal switching module via the USB interface; Wherein, the signal switching module is used to establish a connection between the log storage module and the USB interface after the offline diagnostic module is powered on, thereby powering on the log storage module; The offline diagnosis module is further used to read the log in the log storage module through the USB interface after the log storage module is powered on.

7. The server according to claim 6, characterized in that The signal switching module includes a first connection end, a second connection end, and a third connection end; The USB interface includes a power pin and a data transmission pin; The log storage module includes a first data interaction terminal and a first power supply terminal; Among them, the data transmission pin is connected to the first connection end, and the power pin is connected to the second connection end; the first data exchange end is connected to the third connection end, and the first power end is connected to the power pin.

8. The server according to claim 7, characterized in that The offline diagnostic module is configured to power the signal switching module through the power pin of the USB interface and the second connection end of the signal switching module; the offline diagnostic module is also configured to power the log storage module through the power pin and the first power end of the log storage module.

9. The server according to claim 8, characterized in that The signal switching module is further configured to establish a connection between the first connection terminal and the third connection terminal in response to detecting that the second connection terminal is supplying power; The offline diagnosis module is also used to read logs through the data transmission pin of the USB interface, the first connection end and the third connection end of the signal switching module, and the first data interaction end of the log storage module.

10. The server according to claim 9, characterized in that The server further comprises a USB function module and a power supply module, wherein the USB function module is connected to the fifth connection terminal; the power supply module is connected to the sixth connection terminal; The signal switching module also includes a fifth connection terminal and a sixth connection terminal; The signal switching module is further configured to disconnect the first connection terminal and the third connection terminal and establish a connection between the first connection terminal and the fifth connection terminal in response to detecting that the second connection terminal stops supplying power and the power supply module supplies power through the sixth connection terminal.

Citation Information

Patent Citations

  • Storage device with internal control and external control switching function and switching method

    CN117591459A

  • Offline diagnosis system based on USB

    CN206619125U

  • Log record reading device in case of PSU (Power Supply Unit) abnormity

    CN213814660U

  • Diagnostic device

    CN221595638U

  • Medical diagnostic apparatus and fault information transmitting method

    JP2008000173A