Equipment fault positioning method, equipment, program product and medium
By monitoring the fault register of the PCIe device and using the multimodal status display of indicator light elements, the problems of inconvenient PCIe device location and insufficient fault indication are solved, realizing rapid fault location and health status display of the device, improving maintenance efficiency and reducing costs.
Patent Information
- Application Number
- CN202411836082.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-01-10
AI Technical Summary
The existing PCIe devices are inconvenient to locate, have low work efficiency, and lack fault indicator lights after failure, resulting in increased maintenance time and costs.
Fault information is obtained by monitoring the fault register of the PCIe device, multi-modal status display is performed using indicator lights, and fault location is achieved by combining flexible printed circuit boards and motherboard interfaces. The color of the indicator light beads indicates the fault type.
It enables convenient fault location and rapid observation of the health status of PCIe devices, improving maintenance efficiency, reducing maintenance costs, and preventing further damage to the devices.
Smart Images

Figure CN119292878A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a device fault locating method, device, program product and medium. Background Art
[0002] PCIE (Peripheral Component Interconnect Express) is a high-speed serial computer expansion bus standard. Silkscreen information plays a key role in the design, production and maintenance of PCIE devices. Silkscreen information, that is, the identification information printed on the device, is crucial for device identification, location and troubleshooting.
[0003] At present, one method for the location positioning technology of PCIE devices is to find the device slot by manually checking the location of the silk screen. Manual checking and verification is inconvenient and has low work efficiency. Another method is to match the chassis silk screen by identifying the card board address information and matching it. This method uses passive positioning technology and has the problem of low positioning efficiency. In addition, there is no fault indicator light after the PCIE device fails. The device can only be located by analyzing the fault log and finding its corresponding slot before it can be repaired on site.
[0004] Therefore, how to solve the problems that the existing PCIE device positioning is inconvenient, the work efficiency is low, and the health status of the PCIE device cannot be quickly observed and displayed, which affects the maintenance time of the PCIE device and causes greater losses is a problem that technical personnel in this field currently need to solve. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a method, device, program product and medium for locating equipment faults, which can conveniently locate equipment faults through indicator lights and realize rapid observation and display of the health status of the equipment. The specific scheme is as follows:
[0006] In a first aspect, the present application discloses a method for locating a device fault, comprising:
[0007] Monitoring a fault register of a target device to obtain fault monitoring information of the target device; the target device is an external device connected to a local computer system and conforming to a preset data transmission standard;
[0008] Determine the current fault type of the target device according to the fault monitoring information, and search for corresponding display data information in a preset indicator light multi-modal state table according to the fault type;
[0009] The display data information is sent to the corresponding indicator light element through the local main board according to a pre-constructed mapping relationship table, and the indicator light element is controlled to display the corresponding lamp bead color according to the display data information, so as to locate the fault of the target device according to the lamp bead color; wherein the mapping relationship table is used to record the correspondence between the slot number of the target device and the lamp bead serial number of the indicator light element; the indicator light elements are uniformly installed on a flexible printed circuit board that establishes a signal connection with the local main board through a locally reserved interface in advance.
[0010] Optionally, monitoring a fault register of a target device to obtain fault monitoring information of the target device includes:
[0011] The local baseboard management controller monitors the advanced error reporting register of the target device to obtain the fault monitoring information of the target device.
[0012] Optionally, the fault monitoring information includes any one or more of correctable error information, uncorrectable error information, uncorrectable but recoverable error information, device temperature information, and bandwidth rate information of the target device.
[0013] Optionally, the device fault locating method further includes:
[0014] Setting a corresponding fault type judgment standard for each type of information in the fault monitoring information, and determining different fault types based on the fault type judgment standard;
[0015] Configuring display data information corresponding to each of the fault types, and determining a corresponding relationship between the fault types and the display data information;
[0016] Based on the corresponding relationship, a record table is constructed using the fault type and the display data information to obtain the preset indicator light multi-modal state table.
[0017] Optionally, the device fault locating method further includes:
[0018] Providing a trigger button for turning on the indicator light element for the target device on a web page interface of a local baseboard management controller, and monitoring the trigger button;
[0019] When a trigger event of the trigger button is detected, the current slot number of the target device is obtained, and the lamp bead serial number corresponding to the current slot number is indexed from the mapping relationship table through a preset indexing program in the baseboard management controller to determine the corresponding target indicator light element;
[0020] The first display data information used to indicate that the indicator light element is turned on is filled into the display cache table of the target indicator light element, so as to use the display data information in the display cache table to perform display control on the corresponding indicator light element.
[0021] Optionally, before monitoring the fault register of the target device, the method further includes:
[0022] Determine the initialization color of the indicator light element corresponding to the target device in the display cache table to obtain second display data information;
[0023] Accordingly, searching for corresponding display data information in a preset indicator light multi-mode state table according to the fault type includes:
[0024] According to the fault type, the corresponding third display data information is searched in the preset indicator light multi-modal state table, and the third display data information is filled into the display cache table to transform the second display data information into the third display data information.
[0025] Optionally, the step of sending the display data information to the corresponding indicator light element through the local mainboard according to the pre-built mapping relationship table includes:
[0026] Based on a preset time interval and in accordance with a pre-constructed mapping relationship table, the third display data information stored in the display cache table is sent to a corresponding indicator light component through a local mainboard.
[0027] Optionally, the indicator light element is connected to the local mainboard via a target connection terminal on the flexible printed circuit board and a local reserved interface in sequence; the local reserved interface is a first general input / output port of a baseboard management controller on the local mainboard;
[0028] The method of sending the display data information to the corresponding indicator light element through the local mainboard according to the pre-built mapping relationship table includes:
[0029] According to the pre-constructed mapping relationship table, the display data information is sent to the corresponding indicator light element through the second general input / output port of the target connection terminal by utilizing the first general input / output port of the baseboard management controller on the local mainboard.
[0030] Optionally, a light emitting diode chip using a single-line return-to-zero code communication mechanism is arranged in the lamp bead of the indicator light element, and the brightness of each color on the three primary color channels of the light emitting diode chip corresponds to a different level to achieve true color display;
[0031] The method of sending the display data information to the corresponding indicator light element through the local mainboard according to the pre-built mapping relationship table includes:
[0032] The display data information is sent to the light emitting diode chip in the corresponding indicator light element through the local mainboard according to the pre-constructed mapping relationship table.
[0033] Optionally, the device fault locating method further includes:
[0034] According to the number of installation slots and the installation slot position information corresponding to the installation slots of the target device inside the local server chassis, the number of lamp beads and the lamp bead position information corresponding to the lamp beads of the indicator light element are determined.
[0035] Optionally, the device fault locating method further includes:
[0036] Determine the slot number of the target device according to the number of the installation slots and the installation slot positions in the installation slot position information, and determine the lamp bead sequence number of the indicator light element according to the number of the lamp beads and the lamp bead positions in the lamp bead position information;
[0037] Based on the corresponding relationship between the slot number and the lamp bead serial number, a record table is constructed using the slot number and the lamp bead serial number to obtain the mapping relationship table.
[0038] In a second aspect, the present application discloses an electronic device, the electronic device comprising a mainboard provided with a reserved interface, a flexible printed circuit board that establishes a signal connection with the mainboard through the reserved interface in advance, and an indicator light element uniformly mounted on the flexible printed circuit board, the electronic device being connected to an external device that complies with a preset data transmission standard;
[0039] Furthermore, the electronic device further comprises a processor and a memory; wherein the memory is used to store a computer program; and the processor is used to load and execute the computer program to implement the aforementioned device fault locating method.
[0040] Optionally, the flexible printed circuit board is mounted on an inner wall of a local server chassis, and a window hole is provided on the local server chassis to display the indicator light element on the flexible printed circuit board to the outside through the window hole;
[0041] Furthermore, the indicator light element is connected to the main board via the target connection terminal on the flexible printed circuit board and the reserved interface in sequence.
[0042] Optionally, a device slot silk-screen sticker is installed on the side of the outside of the local server chassis corresponding to the installation slot of the external device, so as to display the slot number and indication icon of the external device through the device slot silk-screen sticker; wherein the indication icon is used to indicate the location of the external device.
[0043] In a third aspect, the present application discloses a computer program product, including a computer program / instruction, which implements the steps of the aforementioned device fault locating method when executed by a processor.
[0044] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program implements the aforementioned device fault locating method when executed by a processor.
[0045] The present application provides a device fault location method, including: monitoring a fault register of a target device to obtain fault monitoring information of the target device; the target device is an external device connected to a local computer system and conforming to a preset data transmission standard; determining the current fault type corresponding to the target device according to the fault monitoring information, and searching for corresponding display data information in a preset indicator light multimodal state table according to the fault type; sending the display data information to a corresponding indicator light element through a local mainboard according to a pre-constructed mapping relationship table, and controlling the indicator light element to display a corresponding lamp bead color according to the display data information, so as to locate the fault of the target device according to the lamp bead color; wherein the mapping relationship table is used to record the correspondence between the slot number of the target device and the lamp bead serial number of the indicator light element; the indicator light element is uniformly installed on a flexible printed circuit board that has established a signal connection with the local mainboard through a locally reserved interface in advance.
[0046] The beneficial technical effects of the present application are: by monitoring the fault register of the target device, the corresponding fault monitoring information is obtained to determine the current fault type corresponding to the target device; according to the fault type, the display data information of the indicator light element is searched in the preset indicator light multimodal status table; and then through the local mainboard, according to the mapping relationship table between the lamp bead serial number of the indicator light element and the slot number of the target device, the display data information is sent to the corresponding indicator light element for display. In addition, the indicator light elements are uniformly installed on the flexible printed circuit board, and the flexible printed circuit board and the mainboard are connected through the local reserved interface. In this way, without involving changes in major components such as the mainboard, the fault location of the target device can be conveniently performed through the color of the lamp bead, and the health status of the target device can be quickly observed and displayed. The implementation is simple, and the manufacturing and maintenance costs are low. The better humanized design improves the maintenance efficiency of the target device, avoids further damage to the target device or other equipment of the server, and reduces maintenance costs.
[0047] In addition, the present application provides a device fault locating apparatus, a device, and a storage medium, which correspond to the above-mentioned device fault locating method and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] 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 described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0049] Figure 1 A flow chart of a device fault location method disclosed in this application;
[0050] Figure 2 A block diagram of the connection relationship between a flexible printed circuit board and a main board disclosed in the present application;
[0051] Figure 3 A circuit diagram of a mainboard connected indicator light element disclosed in the present application;
[0052] Figure 4 A flow chart of a device fault location method disclosed in this application;
[0053] Figure 5 A data transmission diagram of a light emitting diode chip disclosed in this application;
[0054] Figure 6 A management flow chart for multi-modal health status indication of a device disclosed in this application;
[0055] Figure 7 A structural diagram of an electronic device disclosed in this application;
[0056] Figure 8 A side cross-sectional view of an indicator light element installed on a server chassis disclosed in the present application;
[0057] Fig. 9 A structural diagram of an indicator light element installed in a server chassis disclosed in the present application;
[0058] Fig.10 This is a partial enlarged view disclosed in this application. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] For ease of understanding, the following is a brief description of the terms used in this article.
[0061] Silk screen printing, also known as screen printing, is a technology that uses a silk screen as a base plate and uses a photosensitive platemaking method to make a silk screen printing plate with images for printing. The silk screen printing process has the characteristics of strong adaptability, simple process, high production efficiency and low cost, and is particularly suitable for mass production. Silk screen printing also has important applications in PCB (Printed Circuit Board) manufacturing, by printing text information such as circuit points, components and circuit symbols on the PCB board to facilitate the installation, maintenance and identification of the circuit.
[0062] In the design, production and maintenance of PCIE devices, silk screen information plays a key role and is essential for device identification, positioning and troubleshooting.
[0063] Relationship between device identification and silkscreen information: The method of updating PCIE silkscreen information in SMBIOS (System Management BIOS) includes allocating SLOT IDs to PCIE slots on the motherboard, creating a slot silkscreen table, and updating the collected PCIE silkscreen information to the corresponding table in SMBIOS. This method helps BIOS (Basic Input Output System) engineers to simply and conveniently update PCIE silkscreen information according to hardware design, thereby realizing the identification and positioning of PCIE devices.
[0064] The relationship between error location and silk screen information: In the error location method of PCIE devices, silk screen information also plays an important role. By pre-acquiring and sending the attribute information of the PCIE device and the corresponding silk screen identification to the BMC (Baseboard Management Controller), the BMC can establish a corresponding relationship between the attribute information and the silk screen identification. When an error occurs in a PCIE device, the identification data of the Root Bridge, PCIE device, and the PCI Bridges at all levels between the two are obtained and sent to the BMC. The BMC records the error log based on these identification data, thereby realizing the error location of the PCIE device. This method is not only applicable to directly connected PCIE devices, but also can locate the errors of PCIE devices transferred through the Switch, which is convenient for the maintenance of PCIE devices.
[0065] In summary, silk screen information plays a key role in the design, production and maintenance of PCIE devices. It not only helps to identify and locate the equipment, but also plays an important role in error location and troubleshooting.
[0066] In the server field, the industry currently does not have a good active location positioning technology for PCIE devices. Under normal circumstances, it relies on the chassis silk screen information adapted by the BIOS firmware to the slot corresponding to each PCIE device. It is necessary to manually check and verify the location of the silk screen to find the device slot. Manual checking and verification operations are inconvenient and work efficiency is low. There is also a way to match the chassis silk screen by identifying the card board address information and matching it. BIOS reads the CPU (Central Processing Unit) address information and virtual pin interface address information of each adapter card, and compares the read information with the CPU address information and virtual pin interface address information of the acquired PCIE card; if they are consistent, it is confirmed that the PCIE card is correctly inserted into this adapter card; BIOS reads the board number of the adapter card, and queries the chassis silk screen of the PCIE card through the mapping table of the chassis silk screen and the board number of the adapter card. This method also uses passive positioning technology, and there is a problem of low efficiency in location positioning.
[0067] In addition, there is no fault indicator light after a PCIE device fails. The device can only be located by analyzing the fault log and finding its corresponding slot before on-site repair can be carried out.
[0068] To this end, the present application provides a device fault location solution that can conveniently locate device faults through indicator lights, thereby enabling rapid observation and display of the health status of the device.
[0069] The embodiment of the present invention discloses a method for locating a device fault. Figure 1 As shown, the method includes:
[0070] Step S11: monitoring the fault register of the target device to obtain the fault monitoring information of the target device.
[0071] The target device is an external device connected to the local computer system and conforming to a preset data transmission standard. The following embodiments are described by taking the target device as a PCIE device as an example.
[0072] In an embodiment of the present application, the fault register of the PCIE device is monitored by a local baseboard management controller (Baseboard Management Controller, BMC). BMC is a dedicated controller for monitoring and managing servers. Specifically, the Advanced Error Reporting (Advanced Error Reporting, AER) register of the PCIE device is monitored by the BMC to obtain the fault monitoring information of the target device. Based on the AER mechanism, the system software can monitor and handle the error conditions of the PCIE device, so as to take appropriate measures to restore or isolate the faulty device and ensure the stable operation of the system.
[0073] In a specific implementation, the BMC monitors any one or more of the correctable error information (Correctable Error, CE), uncorrectable error information (Uncorrectable Error, UCE), uncorrected but recoverable error information (Uncorrected recoverable, UCR), device temperature information, and bandwidth rate information in the AER fault register of each PCIE device.
[0074] Step S12: determining the fault type currently corresponding to the target device according to the fault monitoring information, and searching for corresponding display data information in a preset indicator light multi-modal state table according to the fault type.
[0075] In the embodiment of the present application, according to the fault monitoring information obtained in step S11, the corresponding fault type is determined, such as CE fault exceeding a threshold, UCR fault occurrence, UCE fault occurrence, etc. Further, according to the determined fault type, the preset indicator light multi-modal state table is referred to, and the corresponding display data information is searched therefrom.
[0076] In the embodiment of the present application, in order to overcome the problem that there is no corresponding fault indicator light to locate and indicate the fault after the current device fails, each PCIE device is provided with its own indicator light element to visually and intuitively display its health status information. In this way, there is no need to tediously check and analyze the device log information to determine the device fault.
[0077] It should be pointed out that the preset indicator light multi-modal status table records the correspondence between different fault types of the device and the display data information when different fault types occur. Among them, the display data information is the information used to characterize the color of the lamp beads of the indicator light element. Therefore, after determining the current fault type corresponding to the PCIE device according to the fault monitoring information, the lamp bead color of the indicator light element corresponding to the current fault type can be determined from the preset indicator light multi-modal status table.
[0078] Step S13: according to the pre-constructed mapping relationship table, the display data information is sent to the corresponding indicator light element through the local mainboard, and the indicator light element is controlled to display the corresponding lamp bead color according to the display data information, so as to locate the fault of the target device according to the lamp bead color.
[0079] In the embodiment of the present application, a mapping relationship table for recording the corresponding relationship between the slot number of the target device and the lamp bead serial number of the indicator light element is pre-constructed. After obtaining the display data information of the indicator light element, it is necessary to control the indicator light element to display the display data information. Therefore, through the mapping relationship table, when it is necessary to operate the indicator light element of the specified PCIE device slot, the indicator light element corresponding to the slot can be lit and displayed.
[0080] It should be noted that the indicator light elements are uniformly mounted on a strip-shaped flexible printed circuit board, and the flexible printed circuit board is pre-connected with the local main board through a local reserved interface. In this way, the main board communicates with the indicator light elements through a reserved interface, which does not involve changes to the main components such as the main board, is simple to implement, and has low manufacturing and maintenance costs.
[0081] In the embodiment of the present application, the BMC uses the display data information to control the indicator light element to display the corresponding lamp bead color. Since each PCIE device corresponds to an indicator light element, the health status of different PCIE devices can be judged according to the lamp bead color. When different types of faults occur in the PCIE device, there are corresponding lamp bead colors corresponding to them, thereby realizing the faulty device location and device fault location.
[0082] The present application provides a device fault location method, including: monitoring a fault register of a target device to obtain fault monitoring information of the target device; the target device is an external device connected to a local computer system and conforming to a preset data transmission standard; determining the current fault type corresponding to the target device according to the fault monitoring information, and searching for corresponding display data information in a preset indicator light multimodal state table according to the fault type; sending the display data information to a corresponding indicator light element through a local mainboard according to a pre-constructed mapping relationship table, and controlling the indicator light element to display a corresponding lamp bead color according to the display data information, so as to locate the fault of the target device according to the lamp bead color; wherein the mapping relationship table is used to record the correspondence between the slot number of the target device and the lamp bead serial number of the indicator light element; the indicator light element is uniformly installed on a flexible printed circuit board that has established a signal connection with the local mainboard through a locally reserved interface in advance.
[0083] The beneficial technical effects of the present application are: by monitoring the fault register of the target device, the corresponding fault monitoring information is obtained to determine the current fault type corresponding to the target device; according to the fault type, the display data information of the indicator light element is searched in the preset indicator light multimodal status table; and then through the local mainboard, according to the mapping relationship table between the lamp bead serial number of the indicator light element and the slot number of the target device, the display data information is sent to the corresponding indicator light element for display. In addition, the indicator light elements are uniformly installed on the flexible printed circuit board, and the flexible printed circuit board and the mainboard are connected through the local reserved interface. In this way, without involving changes in major components such as the mainboard, the fault location of the target device can be conveniently performed through the color of the lamp bead, and the health status of the target device can be quickly observed and displayed. The implementation is simple, and the manufacturing and maintenance costs are low. The better humanized design improves the maintenance efficiency of the target device, avoids further damage to the target device or other equipment of the server, and reduces maintenance costs.
[0084] In a specific implementation, the hardware is improved by opening a window on the panel of the server chassis and installing a strip-shaped flexible printed circuit board at the corresponding window position, so that the window hole corresponds to the slot of different PCIE devices. Furthermore, a connection terminal P1 is provided on the flexible printed circuit board to connect the flexible printed circuit board and the mainboard of the server. The BMC chip on the mainboard reserves a first general-purpose input / output (GPIO). Data information is sent to each indicator light element on the flexible printed circuit board through the first general-purpose input / output connection terminal P1. Specifically,
[0085] The indicator light element is connected to the local mainboard via the target connection terminal on the flexible printed circuit board and the local reserved interface in sequence; the local reserved interface is the first general input and output port of the baseboard management controller on the local mainboard;
[0086] The method of sending the display data information to the corresponding indicator light element through the local mainboard according to the pre-built mapping relationship table includes the following steps:
[0087] According to the pre-constructed mapping relationship table, the display data information is sent to the corresponding indicator light element through the second general input / output port of the target connection terminal by utilizing the first general input / output port of the baseboard management controller on the local mainboard.
[0088] like Figure 2 As shown, it is a block diagram of the connection relationship between the flexible printed circuit board and the mainboard of the server. In the figure, the mainboard is the server mainboard; terminal P1 is the connection terminal P1 on the strip-shaped flexible printed circuit board; multiple indicator light elements are installed on the flexible printed circuit board, and a light-emitting diode (LED) chip is set in the lamp bead of each indicator light element. The 5V power supply of the server mainboard supplies power to the LED lamp bead through the VCC and GND in the connection terminal P1. The BMC chip of the server mainboard reserves a GPIO, and sends data information to the LED lamp bead through the Data GPIO of the connection terminal P1. Specifically, according to the pre-constructed mapping relationship table and through the local mainboard, the display data information is sent to the light-emitting diode chip in the corresponding indicator light element.
[0089] In the embodiment of the present application, regarding the hardware improvement, a light-emitting diode chip using a single-line return-to-zero code communication mechanism is arranged in the lamp bead of the indicator light element, and the brightness of each color on the three primary color channels of the light-emitting diode chip corresponds to a different level to achieve true color display.
[0090] For example, the indicator light element can use the WS2812B three-primary color LED chip, and the control circuit of the LED chip and the RGB chip are integrated in a 2020 package component to form a complete externally controlled pixel. The LED chip can achieve 256 levels of brightness display and 16777216 colors of true color display characteristics, and then the PCIE device can be multi-functionally positioned and the health status can be visualized and intuitively displayed through the indicator light element. Figure 3 The circuit diagram of the mainboard connected to the LED chip on the flexible printed circuit board is shown. In the figure, P1 is a connection terminal set on the flexible printed circuit board for connecting to the server mainboard. Each PCIE device in the circuit diagram corresponds to an LED chip.
[0091] In a specific implementation, the preset indicator light multimodal status table records the correspondence between different fault types of the device and the display data information when different fault types occur. Among them, the display data information is the information used to characterize the color of the lamp beads of the indicator light element. Therefore, after determining the fault type currently corresponding to the PCIE device according to the fault monitoring information, the lamp bead color of the indicator light element corresponding to the current fault type can be determined from the preset indicator light multimodal status table. Specifically, the process of constructing the preset indicator light multimodal status table includes the following steps:
[0092] Setting a corresponding fault type judgment standard for each type of information in the fault monitoring information, and determining different fault types based on the fault type judgment standard;
[0093] Configuring display data information corresponding to each of the fault types, and determining a corresponding relationship between the fault types and the display data information;
[0094] Based on the corresponding relationship, a record table is constructed using the fault type and the display data information to obtain the preset indicator light multi-modal state table.
[0095] For example, a specific preset indicator light multi-modal state table is constructed as shown in Table 1. Each fault type has a corresponding judgment standard. When a certain judgment standard is met, the specific fault type can be determined, and then the corresponding lamp bead color can be determined according to the current fault type.
[0096] Table 1 Preset indicator light multi-mode status table
[0097]
[0098] In the above table, examples of fixed code types are as follows:
[0099] UCE:
[0100] Malformed TLP error / Receiver Buffer Overflow error / Surprise linkdown error / Flow Control Protocol Error / Data Link Protocol Error.
[0101] UCR:
[0102] Poisoned TLP / Completion Timeout / Completer Abort / UnexpectedCompletion / Unsupported Request.
[0103] CE:
[0104] Receiver error / Bad TLP / Bad DLLP / Replay Num Rollover / ReplayTimer Time out.
[0105] In a specific implementation, a mapping relationship table for recording the corresponding relationship between the slot number of the target device and the lamp bead serial number of the indicator light element is pre-constructed. Specifically, the process of constructing the mapping relationship table includes the following steps:
[0106] Determine the slot number of the target device according to the number of the installation slots and the installation slot positions in the installation slot position information, and determine the lamp bead sequence number of the indicator light element according to the number of the lamp beads and the lamp bead positions in the lamp bead position information;
[0107] Based on the corresponding relationship between the slot number and the lamp bead serial number, a record table is constructed using the slot number and the lamp bead serial number to obtain the mapping relationship table.
[0108] In the embodiment of the present application, the number and position of the lamp beads of the indicator light element are adapted to the number and position of the PCIE device installation slots. Specifically, the number and position information of the lamp beads corresponding to the lamp beads of the indicator light element are determined according to the number and position information of the installation slots corresponding to the installation slots of the target device inside the local server chassis.
[0109] Furthermore, the slot number of the corresponding device and the lamp bead serial number of the lamp bead are determined respectively by using the installation slot number and the installation slot position information, and the lamp bead position in the lamp bead number and lamp bead position information. Then, a preset mapping relationship table is constructed based on the correspondence between the slot number and the lamp bead serial number. In this way, after obtaining the display data information of the indicator light element, when it is necessary to control the indicator light element to display the display data information, the indicator light element of the specified PCIE device slot is operated through the mapping relationship table to light up the indicator light element corresponding to the slot.
[0110] In a specific implementation, in the device information column of the BMC web interface, a trigger button is designed for each PCIE device. When the user presses the trigger button, the BMC program indexes the LED lamp bead of the slot corresponding to the PCIE device, and fills the first display data information used to characterize the turning on of the indicator light element into the display cache table of the target indicator light element according to the corresponding relationship in Table 1.
[0111] Specifically, a trigger button for turning on the indicator light element is provided for the target device on the web page interface of the local baseboard management controller, and the trigger button is monitored; when a trigger event of the trigger button is monitored, the current slot number of the target device is obtained, and the lamp bead serial number corresponding to the current slot number is indexed from the mapping relationship table through a preset indexing program in the baseboard management controller to determine the corresponding target indicator light element; the first display data information used to characterize the turning on of the indicator light element is filled into the display cache table of the target indicator light element, so that the display data information in the display cache table can be used to perform display control on the corresponding indicator light element.
[0112] As shown in Table 1, the color of the lamp beads corresponding to the first display data information used to characterize the on-state of the indicator light element is blue, so the blue data is filled into the display cache table. It should be noted that the event currently occurring in the device is determined according to the determined fault type, and the data of the lamp bead color corresponding to each event is filled into the display cache table, and then the display data information in the display cache table is used to control the display of the corresponding indicator light element.
[0113] In a specific embodiment, before monitoring the fault register of the target device, the following steps are also included: determining the initialization color of the indicator light element corresponding to the target device in the display cache table to obtain the second display data information. Taking the corresponding relationship in Table 1 as an example, the initialization color of each LED lamp bead in the display cache table is green, indicating that the current PCIE device is in a healthy state. When the health status of the PCIE device changes, the corresponding third display data information is searched in the preset indicator light multimodal state table according to the fault type, and the third display data information is filled into the display cache table to transform the second display data information into the third display data information.
[0114] In the embodiment of the present application, the BMC uses the mapping relationship table between the LED lamp bead serial number and the slot number of the PCIE device, and displays the data in the cache table at a fixed time interval (such as every 5 seconds), and sends the LED chip display data information to the LED lamp bead once through the DataGPIO of the connection terminal P1. Specifically, based on the preset time interval and the pre-constructed mapping relationship table, the third display data information stored in the display cache table is sent to the corresponding indicator light element through the local motherboard.
[0115] Further, such as Figure 4 The figure shows a system design flow chart for providing health status indication of a positioning light of a multi-modal PCIE device through BMC management based on the aforementioned embodiment.
[0116] 1) The PCIE positioning light is designed as a strip-shaped flexible PCB. The flexible PCB is installed on the inner wall of the server chassis by gluing or bolting on the back, close to the position where the PCIE devices are arranged. The server chassis is opened with windows at the position where the LED lamp beads of the PCB are mounted, so that the LED light can penetrate the outside of the chassis. The silk-screen sticker is installed at the corresponding position on the outside of the server chassis, and the silk-screen sticker is transparent at the position of the LED lamp beads.
[0117] 2) The motherboard is connected to the flexible PCB, and the indicator light components are uniformly installed on the back of the flexible PCB, corresponding to the PCIE device. Taking the WS2812B three-color LED lamp bead as an example, based on the LED chip on the PCB, the single-line return-to-zero code communication mechanism and the 256-level brightness display and 16777216 colors of true color display characteristics of the LED chip are used to perform multi-functional positioning design for PCIE devices and visualize the health status of PCIE devices, without the tedious review and analysis of device log information to determine device faults.
[0118] It should be pointed out that in the hardware circuit, the 0 and 1 of the LED chip are not simply pulled high or low, but the duty cycle of the high and low levels is different in one cycle. In this way, the brightness of the indicator light element can be adjusted by changing the duty cycle.
[0119] For example, a high level of 1 code takes 580ns-1us (first high then low), and a low level takes 220ns-380ns. A high level of 0 code takes 580ns-1us (first low then high), and a low level takes 580ns-1us. The interval between 1 frame and 1 frame should be at least 280us. Figure 5The figure shows the data transmission process of the LED chip. D1 is the data sent by the MCU (Microcontroller Unit), and D2, D3, and D4 are the data automatically shaped and forwarded by the cascade circuit. Among them, cascade circuit: This process includes connecting the output of one circuit to the input of another circuit to form a continuous operation relationship. This cascade is completed by connecting the output port in one circuit to the input port in another circuit. That is, the current is given one by one, the first signal (24bit) is given to the first LED, and the second signal (24bit) is given to the second LED. After one frame, a RESET must be refreshed before the next frame can begin. The following is an analysis of the operation code of the LED chip:
[0120] module ws2812 ctrl(
[0121] input clk, / / system clock.
[0122] input rst_n, / / reset.
[0123] output din / / data input of ws2812b. );
[0125] parameter TIME=7'd64; / / The maximum time to transmit a data is 64*20=1280ns.
[0126] parameterZhen = 5'd24; / / One frame has 24 data / data of one light.
[0127] parameter MAX= 7'd64; / / A total of 64 lights need to be turned on.
[0128] parameterRGB=24'b80880800_80081111_00008800; / / Red.
[0129] parameter RGB1=24'b00001111 00000000 00000000; / / blue.
[0130] parameter RGB2=24'b00000000 00000000 00001111; / / Green.
[0131] reg [6:0]cnte; / / Count the longest period of one-bit data transmission.
[0132] Wire add_cnte0;
[0133] Wire end_cnte0;
[0134] reg[4:0] cnt_1z; / / One lamp bead requires 24 bits of data.
[0135] wire add_cnt_1z;
[0136] wire end_cnt_1z;
[0137] reg[6:0] cnt_64z; / / There are 64 LEDs in total.
[0138] wire add_cnt_64z;
[0139] wire end_cnt_64z;
[0140] reg[26:0] cnt_rst; / / Count reset signal, used for automatic refresh counter.
[0141] wire add_cnt_rst;
[0142] wire end_cnt_rst;
[0143] reg[8:0] cnt_state; / / Three states of lamp bead flashing, one color per frame, 3 colors cycle.
[0144] wire add_cnt_state;
[0145] wire end_cnt_state;
[0146] reg[23:0] cnt_b; / / Three states of lamp bead flashing, one color per frame, 3 colors cycle.
[0147] reg tx_done; / / 1-bit data transmission completion enable signal.
[0148] reg rgb_r; / / Store the RGB data for each transmission.
[0149] reg data_out1; / / Conversion between code 1 and code 0.
[0150] endmodule
[0151] 3) A connection terminal P1 is provided on the strip-shaped flexible PCB for connecting the strip-shaped flexible PCB and the server motherboard. A GPIO is reserved on the BMC chip of the server motherboard to send data information to the LED lamp bead through the Data GPIO of the connection terminal P1.
[0152] 4) Construct a table of correspondence between LED lamp bead serial numbers and PCIe device slot numbers. When the LED lamp bead of a specified PCIe device slot needs to be operated, the BMC program looks up the table to light up the LED corresponding to the slot.
[0153] 5) In the device information column of the BMC web interface, a positioning light button is designed for each PCIe device. When the user presses the positioning light button, the BMC program indexes the LED lamp beads in the slot corresponding to the PCIe device and fills the data into the display cache table.
[0154] Specifically, the specific implementation steps of the BMC program indexing the slot corresponding to the PCIE device are:
[0155] Each PCIe device has a configuration register group (configuration space) used to establish mapping. When the BMC system is initialized, this group of registers is used to "configure" the bus address for the device. The PCI standard stipulates that the configuration register group is a maximum of 256 bytes, of which the first 64 bytes are standard (the same for each PCIe device). The configuration register group of all PCIE devices uses the same address (card address or offset).
[0156] The BMC program reserves eight bytes (0xCF8-0xCFF) in the I / O address space, of which the first four bytes are used as address registers and the last four bytes are used as data registers. When the CPU accesses a configuration register of a device, it first writes the target address (including the comprehensive address of the bus number, device number, function number, and register address) to the address register through an I / O command, and then reads and writes the data register through an I / O command.
[0157] Index PCIE device, configure the register group Header Type to 0 for common PCIE device, 1 for PCIE bridge. According to the function of PCIR bridge, it is divided into Host-PCIe bridge, PCI-PCI bridge, PCI-ISA bridge, PCIe-Card Bus bridge, etc.; each PCI bus is hung under a PCIe bridge, among which bus 0 is hung under Host-PCIe bridge (CPU is connected to bus 0 through Host-PCIe bridge), and all buses form a bus tree.
[0158] There are two ways to index PCIE devices: BIOS indexing and direct indexing. Both methods start from the Host-PCIe bridge and perform a depth-first search for all devices on the bus tree.
[0159] 6) Based on the monitoring information obtained from the fault register, refer to the preset indicator light multi-modal status table, and fill each PCIE device with the color corresponding to the event occurring in the current device into the display cache table.
[0160] 7) BMC uses the mapping table of the corresponding relationship between the LED lamp bead serial number and the PCIE device slot number to send the LED chip display data information to the LED lamp bead once every 5 seconds through the Data GPIO of the connection terminal P1.
[0161] 8) If Figure 3 After LED1 in receives the display data information, it corresponds to Figure 5 The LED chip in the circuit will intercept and use the display control information of the first bit of data, and then forward the remaining data information to the following LED chips.
[0162] Correspondingly, the present application also discloses a device for locating equipment faults, see Figure 6 As shown, the device comprises:
[0163] A fault monitoring information acquisition module 11 is used to monitor the fault register of a target device to obtain the fault monitoring information of the target device; the target device is an external device connected to a local computer system and conforming to a preset data transmission standard;
[0164] A display data information acquisition module 12 is used to determine the current fault type of the target device according to the fault monitoring information, and search for corresponding display data information in a preset indicator light multi-modal state table according to the fault type;
[0165] The fault location module 13 is used to send the display data information to the corresponding indicator light element through the local main board according to a pre-constructed mapping relationship table, and control the indicator light element to display the corresponding lamp bead color according to the display data information, so as to locate the fault of the target device according to the lamp bead color; wherein the mapping relationship table is used to record the correspondence between the slot number of the target device and the lamp bead serial number of the indicator light element; the indicator light element is uniformly installed on a flexible printed circuit board that establishes a signal connection with the local main board through a locally reserved interface in advance.
[0166] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.
[0167] It can be seen that the above scheme of this embodiment includes: monitoring the fault register of the target device to obtain the fault monitoring information of the target device; the target device is an external device connected to the local computer system and meets the preset data transmission standard; determining the current fault type corresponding to the target device according to the fault monitoring information, and searching the corresponding display data information in the preset indicator light multimodal state table according to the fault type; sending the display data information to the corresponding indicator light element through the local main board according to the pre-constructed mapping relationship table, and controlling the indicator light element to display the corresponding lamp bead color according to the display data information, so as to locate the fault of the target device according to the lamp bead color; wherein the mapping relationship table is used to record the correspondence between the slot number of the target device and the lamp bead serial number of the indicator light element; the indicator light element is uniformly installed on a flexible printed circuit board that has established a signal connection with the local main board through a locally reserved interface in advance.
[0168] The beneficial technical effects of the present application are: by monitoring the fault register of the target device, the corresponding fault monitoring information is obtained to determine the current fault type corresponding to the target device; according to the fault type, the display data information of the indicator light element is searched in the preset indicator light multimodal status table; and then through the local mainboard, according to the mapping relationship table between the lamp bead serial number of the indicator light element and the slot number of the target device, the display data information is sent to the corresponding indicator light element for display. In addition, the indicator light elements are uniformly installed on the flexible printed circuit board, and the flexible printed circuit board and the mainboard are connected through the local reserved interface. In this way, without involving changes in major components such as the mainboard, the fault location of the target device can be conveniently performed through the color of the lamp bead, and the health status of the target device can be quickly observed and displayed. The implementation is simple, and the manufacturing and maintenance costs are low. The better humanized design improves the maintenance efficiency of the target device, avoids further damage to the target device or other equipment of the server, and reduces maintenance costs.
[0169] Furthermore, the present application also discloses an electronic device. Figure 7 This is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the figure cannot be regarded as any limitation on the scope of use of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the device fault location method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be a server.
[0170] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0171] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The data 223 may include various data. The storage method may be temporary storage or permanent storage.
[0172] The operating system 221 is used to manage and control the hardware devices on the electronic device 20 and the computer program 222, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the device fault location method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.
[0173] In a specific embodiment, Figure 8 As shown, the electronic device includes a mainboard 31 provided with a reserved interface, a flexible printed circuit board 32 which establishes a signal connection with the mainboard through the reserved interface in advance, and an indicator light element 33 uniformly installed on the flexible printed circuit board, and the electronic device is connected to an external device that meets the preset data transmission standard.
[0174] In the figure, the number and position of the indicator light elements are matched with the number and position of the external device mounting slots, and LED lamp bead window holes are opened on the server chassis at the positions corresponding to the indicator light elements. The indicator light elements extend into the LED lamp bead window holes from the inside of the server chassis, and multiple indicator light elements are installed on a strip-shaped flexible PCB, which is connected to the main board.
[0175] In a specific embodiment, the flexible printed circuit board is installed on the inner wall of the local server chassis, that is, installed on the chassis panel 34; the local server chassis is provided with a window hole corresponding to Figure 8 The LED lamp bead has a window hole 35, through which the indicator light element on the flexible printed circuit board is displayed to the outside;
[0176] Furthermore, the indicator light element is connected to the main board via the target connection terminal on the flexible printed circuit board and the reserved interface in sequence.
[0177] In a specific embodiment, a device slot silk-screen sticker 36 is installed on the side of the outside of the local server chassis corresponding to the installation slot of the external device, so as to display the slot number and indication icon of the external device through the device slot silk-screen sticker; wherein, the indication icon is used to indicate the location of the external device.
[0178] like Fig. 9 The figure shows the overall structure of the indicator light components installed on the front or rear of the server chassis. In the figure, a device slot silk-screen sticker is set on one side of the installation slot for installing external devices on the front or rear of the server chassis. Taking the connection of an external PCIe device as an example, the device slot silk-screen sticker displays the device location information of the corresponding PCIe device slot and the indicator "△" icon. On the server chassis, a window is opened at the position of the indicator "△" icon to form a window hole for LED lamp beads. The LED lamp bead window hole and the PCIe device slot silk-screen sticker indicating the "△" icon are transparently designed to observe the lighting color of the LED lamp beads from the outside of the server chassis. As shown Fig.10 Shown Fig. 9 A magnified view of point A in the middle. In the picture, the LED lamp beads extend into the LED lamp bead opening hole on the inner side of the server chassis, and the PCIe device slot silk-screen sticker indicating the "△" icon adopts a transparent design, so the LED lamp beads can be observed.
[0179] Furthermore, the embodiment of the present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium mentioned here includes a random access memory (Random Access Memory, RAM), a memory, a read-only memory (Read-Only Memory, ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk or an optical disk, or any other form of storage medium known in the technical field. Wherein, when the computer program is executed by the processor, the aforementioned device fault location method is implemented. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the aforementioned embodiment, and no further description will be given here.
[0180] Furthermore, an embodiment of the present application also provides a computer program product, including a computer program / instruction, which implements any one of the above-mentioned device fault locating methods when executed by a processor.
[0181] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0182] The steps of the device fault location method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the technical field.
[0183] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0184] The above is a detailed introduction to a device fault locating method, device, program product and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for locating equipment faults, characterized in that: include: Monitoring a fault register of a target device to obtain fault monitoring information of the target device; The target device is an external device connected to the local computer system and conforming to a preset data transmission standard; Determine the current fault type of the target device according to the fault monitoring information, and search for corresponding display data information in a preset indicator light multi-modal state table according to the fault type; The display data information is sent to the corresponding indicator light element through the local main board according to a pre-constructed mapping relationship table, and the indicator light element is controlled to display the corresponding lamp bead color according to the display data information, so as to locate the fault of the target device according to the lamp bead color; wherein the mapping relationship table is used to record the correspondence between the slot number of the target device and the lamp bead serial number of the indicator light element; the indicator light elements are uniformly installed on a flexible printed circuit board that establishes a signal connection with the local main board through a locally reserved interface in advance.
2. The device fault location method according to claim 1, characterized in that: The monitoring the fault register of the target device to obtain the fault monitoring information of the target device includes: The local baseboard management controller monitors the advanced error reporting register of the target device to obtain the fault monitoring information of the target device.
3. The device fault location method according to claim 2, characterized in that: The fault monitoring information includes any one or more of the correctable error information, uncorrectable error information, uncorrectable but recoverable error information, device temperature information, and bandwidth rate information of the target device.
4. The device fault location method according to claim 1, characterized in that: Also includes: Setting a corresponding fault type judgment standard for each type of information in the fault monitoring information, and determining different fault types based on the fault type judgment standard; Configuring display data information corresponding to each of the fault types, and determining a corresponding relationship between the fault types and the display data information; Based on the corresponding relationship, a record table is constructed using the fault type and the display data information to obtain the preset indicator light multi-modal state table.
5. The device fault location method according to claim 1, characterized in that: Also includes: Providing a trigger button for turning on the indicator light element for the target device on a web page interface of a local baseboard management controller, and monitoring the trigger button; When a trigger event of the trigger button is detected, the current slot number of the target device is obtained, and the lamp bead serial number corresponding to the current slot number is indexed from the mapping relationship table through a preset indexing program in the baseboard management controller to determine the corresponding target indicator light element; The first display data information used to indicate that the indicator light element is turned on is filled into the display cache table of the target indicator light element, so as to use the display data information in the display cache table to perform display control on the corresponding indicator light element.
6. The device fault location method according to claim 5, characterized in that: Before monitoring the fault register of the target device, the method further includes: Determine the initialization color of the indicator light element corresponding to the target device in the display cache table to obtain second display data information; Correspondingly, searching for corresponding display data information in a preset indicator light multi-mode state table according to the fault type includes: According to the fault type, the corresponding third display data information is searched in the preset indicator light multi-modal state table, and the third display data information is filled into the display cache table to transform the second display data information into the third display data information.
7. The device fault location method according to claim 6, characterized in that: The method of sending the display data information to the corresponding indicator light element through the local mainboard according to the pre-built mapping relationship table includes: Based on a preset time interval and in accordance with a pre-constructed mapping relationship table, the third display data information stored in the display cache table is sent to a corresponding indicator light component through a local mainboard.
8. The device fault location method according to claim 1, characterized in that: The indicator light element is connected to the local mainboard via the target connection terminal on the flexible printed circuit board and the local reserved interface in sequence; the local reserved interface is the first general input and output port of the baseboard management controller on the local mainboard; The method of sending the display data information to the corresponding indicator light element through the local mainboard according to the pre-built mapping relationship table includes: According to the pre-constructed mapping relationship table, the display data information is sent to the corresponding indicator light element through the second general input / output port of the target connection terminal by utilizing the first general input / output port of the baseboard management controller on the local mainboard.
9. The device fault location method according to claim 1, characterized in that: A light emitting diode chip using a single-line return-to-zero code communication mechanism is arranged in the lamp bead of the indicator light element, and the brightness of each color on the three primary color channels of the light emitting diode chip corresponds to a different level to achieve true color display; The method of sending the display data information to the corresponding indicator light element through the local mainboard according to the pre-built mapping relationship table includes: The display data information is sent to the light emitting diode chip in the corresponding indicator light element through the local mainboard according to the pre-constructed mapping relationship table.
10. The device fault location method according to any one of claims 1 to 9, characterized in that: Also includes: According to the number of installation slots and the installation slot position information corresponding to the installation slots of the target device inside the local server chassis, the number of lamp beads and the lamp bead position information corresponding to the lamp beads of the indicator light element are determined.
11. The device fault location method according to claim 10, characterized in that: Also includes: Determine the slot number of the target device according to the number of installation slots and the installation slot positions in the installation slot position information, and determine the lamp bead sequence number of the indicator light element according to the number of lamp beads and the lamp bead positions in the lamp bead position information; Based on the corresponding relationship between the slot number and the lamp bead serial number, a record table is constructed using the slot number and the lamp bead serial number to obtain the mapping relationship table.
12. An electronic device, characterized in that: The electronic device includes a mainboard provided with a reserved interface, a flexible printed circuit board that establishes a signal connection with the mainboard through the reserved interface in advance, and an indicator light element uniformly mounted on the flexible printed circuit board, and the electronic device is connected to an external device that complies with a preset data transmission standard; Furthermore, the electronic device further comprises a processor and a memory; wherein the memory is used to store a computer program; and the processor is used to load and execute the computer program to implement the device fault locating method according to any one of claims 1 to 11.
13. The electronic device according to claim 12, characterized in that: The flexible printed circuit board is mounted on the inner wall of the local server chassis, and a window hole is provided on the local server chassis to display the indicator light element on the flexible printed circuit board to the outside through the window hole; Furthermore, the indicator light element is connected to the main board via the target connection terminal on the flexible printed circuit board and the reserved interface in sequence.
14. The electronic device according to claim 12, characterized in that: A device slot silk-screen sticker is installed on the side of the outside of the local server chassis corresponding to the installation slot of the external device to display the slot number and indication icon of the external device through the device slot silk-screen sticker; wherein the indication icon is used to indicate the location of the external device.
15. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the device fault locating method according to any one of claims 1 to 11 are implemented.
16. A computer-readable storage medium, characterized in that: Used to store a computer program; wherein when the computer program is executed by a processor, the device fault location method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Fault processing method and device and server
CN111414268A
AI server accelerator card operation state indication device and method, equipment and medium
CN112631877A
PCIE equipment fault monitoring method and device, communication equipment and storage medium
CN115878430A
Cited By
Detection method and detection device for state of DRAM (Dynamic Random Access Memory) test machine
CN121687155A