Backplane monitoring method, storage medium, electronic device and computer program product

The backplane monitoring method using a programmable device to obtain and report backplane status to the BMC addresses the BMC's dependency on backplane design, enhancing monitoring efficiency and reducing development time.

CN118708442BActive Publication Date: 2024-12-03INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411184196.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-03
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

The design logic of the motherboard's baseboard management controller (BMC) is highly dependent on the server's backplane, leading to inefficient monitoring and prolonged development cycles due to the need for redesigning the BMC whenever the backplane configuration changes.

Method used

A backplane monitoring method using a programmable device to obtain status information through various buses and input/output interfaces, allowing the BMC to read backplane status information only when abnormalities are detected, thereby decoupling the BMC from direct backplane monitoring.

Benefits of technology

This approach improves monitoring efficiency and reduces development time by allowing the BMC to monitor the backplane without direct dependency, enabling flexible and efficient backplane management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708442B_ABST
    Figure CN118708442B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a backplane monitoring method, storage medium, electronic device and computer program product, which relates to the field of computers. The backplane monitoring method is applied to a programmable device in a server, including: obtaining backplane status information of the backplane of the server, wherein the target information in the backplane status information is information obtained by the programmable device through a controller, and the target information is information monitored using a bus; when the state of the backplane is determined to be an abnormal state through the backplane status information, a target instruction is sent to the baseboard management controller BMC of the mainboard through a first input-output interface to instruct the BMC to read the backplane status information of the backplane, wherein the first input-output interface is an input-output interface for communication between the programmable device and the BMC. The above scheme solves the problem that the design logic of the mainboard BMC is highly dependent on the design logic of the server's backplane.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the computer field, and in particular, to a backplane monitoring method, a storage medium, an electronic device, and a computer program product. Background Art

[0002] In modern data centers, servers are an essential component. As business needs continue to grow, server architecture is becoming more and more complex. The backplane is an indispensable component in server architecture. Its main function is to connect the motherboard and related storage devices, and it also serves as a channel for the motherboard to transmit data.

[0003] In the related art, the baseboard management controller (BMC) in the motherboard needs to monitor all hard disks, complex programmable logic devices (CPLD), sensors and other devices installed on the backplane. However, the hardware is large in size, and the BMC's monitoring efficiency of the hardware is low. In addition, whenever the backplane solution (such as the number of hard disks installed) changes, the motherboard's BMC needs to be redesigned to re-implement the monitoring of the backplane. The hardware changes of the backplane greatly affect the design logic of the motherboard, which greatly reduces the development efficiency.

[0004] With regard to the problem in the related art that the design logic of the motherboard BMC is highly dependent on the design logic of the backplane of the server, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a backplane monitoring method, a storage medium, an electronic device, and a computer program product to at least solve the problem that the design logic of the mainboard BMC is highly dependent on the design logic of the server's backplane.

[0006] According to one embodiment of the present application, a backplane monitoring method is provided, which is applied to a programmable device in a server, including: obtaining backplane status information of a backplane of the server, wherein target information in the backplane status information is information obtained by the programmable device through a controller, and the target information is information monitored using a bus; when it is determined through the backplane status information that the state of the backplane is abnormal, sending a target instruction to a baseboard management controller BMC of a mainboard through a first input / output interface to instruct the BMC to read the backplane status information of the backplane, wherein the first input / output interface is an input / output interface for communication between the programmable device and the BMC.

[0007] In an exemplary embodiment, the obtaining of the backplane status information of the backplane of the server includes: obtaining specified information through an input / output interface, wherein the specified information includes: the in-place status of the backplane cable connected to the backplane, the output voltage of the voltage regulator in the backplane, the in-place status of the hard disk in the backplane, and the power on and off information of the hard disk in the backplane; obtaining the target information from the controller through a first bus, wherein the target information includes: the backplane temperature information obtained by the controller from the temperature sensor in the backplane through a second bus, and the hard disk status information obtained by the controller from the hard disk in the backplane through a third bus; the first bus is a bus for the programmable device to communicate with the controller, the second bus is a bus for the controller to communicate with the temperature sensor, and the third bus is a bus for the controller to communicate with the hard disk; wherein the backplane status information includes the specified information and the target information.

[0008] In an exemplary embodiment, the obtaining of specified information through the input-output interface includes: obtaining the connection status of the pins in the target connector in the backplane through the second input-output interface to determine the in-place status of the backplane cable connected to the backplane, wherein the second input-output interface is an input-output interface for the programmable device to communicate with the target connector, and the target connector is used to connect the backplane to the mainboard; obtaining the output voltage of the voltage regulator in the backplane through the third input-output interface, wherein the voltage regulator is used to convert the voltage transmitted from the mainboard to the backplane, and the third input-output interface is an input-output interface for the programmable device to communicate with the voltage regulator; obtaining the in-place status of the hard disk in the backplane through the fourth input-output interface, wherein the fourth input-output interface is an input-output interface for the programmable device to communicate with the hard disk; obtaining the power-on and power-off information of the hard disk in the backplane from the thermal fuse in the backplane through the fifth input-output interface, wherein the fifth input-output interface is an input-output interface for the programmable device to communicate with the thermal fuse.

[0009] In an exemplary embodiment, the method further includes: determining the status of the backplane in the following manner: determining that the status of the backplane is an abnormal state when the in-place status of the backplane cable in the backplane status information indicates that the backplane cable is not in place; determining that the status of the backplane is an abnormal state when the voltage fluctuation of the output voltage of the voltage regulator in the backplane status information exceeds a first preset threshold value; determining that the status of the backplane is an abnormal state when the in-place status of the hard disk in the backplane status information indicates that the hard disk is not in place; determining that the status of the backplane is an abnormal state when the power on and off information in the backplane status information indicates that the power on and off of the hard disk is abnormal, determining that the status of the backplane is an abnormal state; determining that the status of the backplane is an abnormal state when the backplane temperature information in the backplane status information indicates that the temperature of the backplane exceeds a second preset threshold value; determining that the status of the backplane is an abnormal state when the hard disk status information in the backplane status information indicates that the hard disk reports an error.

[0010] In an exemplary embodiment, after obtaining the backplane status information of the backplane of the server, the method further includes: sending the backplane status information to the processor of the mainboard through a target serial peripheral interface; wherein the target serial peripheral interface is a serial peripheral interface for the programmable device to communicate with the processor, and after obtaining the backplane status information, the processor stores the backplane status information in a flash memory card of the mainboard.

[0011] In an exemplary embodiment, the method also includes: in a case where the power on and off instructions sent by the BMC are obtained through the fourth bus, sending power on and off signals corresponding to the power on and off instructions to the thermal fuse in the backplane based on the fifth input and output interface, so as to perform power on and off operations on the target hard disk in the backplane through the thermal fuse; wherein the fourth bus is a bus for the programmable device to communicate with the BMC, the fifth input and output interface is an input and output interface for the programmable device to communicate with the thermal fuse, and the power on and off instructions are used to instruct the target hard disk in the backplane to be powered on and off.

[0012] In an exemplary embodiment, after sending the target instruction to the baseboard management control BMC of the mainboard through the first input and output interface, the method also includes: when obtaining the acquisition instruction sent by the BMC through the fourth bus, sending the backplane status information stored in the memory of the backplane to the BMC through the fourth bus; wherein the acquisition instruction is used to indicate the acquisition of the backplane status information of the backplane, the fourth bus is a bus for the programmable device to communicate with the BMC, and when the status of the backplane is an abnormal state, the backplane status information is stored in the memory.

[0013] In an exemplary embodiment, the method further includes: when obtaining a light-on instruction sent by the BMC through the fourth bus, sending a control instruction to the target status light through the sixth input-output interface to light up the target status light; wherein the fourth bus is a bus for the programmable device to communicate with the BMC, the sixth input-output interface is an input-output interface for the programmable device to communicate with the target status light, and the light-on instruction is used to instruct to light up the target status light in the backplane, and when the target status light is on, the target hard disk in the backplane is in the target state.

[0014] In an exemplary embodiment, before sending the target instruction to the baseboard management control BMC of the mainboard through the first input and output interface, the method also includes: when the state of the backplane is an abnormal state and the backplane state information includes multiple types of information, determining the storage partition corresponding to each type of information in the memory of the backplane; and storing each type of information in the corresponding storage partition of the memory.

[0015] In an exemplary embodiment, after obtaining the backplane status information of the backplane of the server, the method further includes: when the backplane status information of the backplane is the initial status information first obtained by the programmable device after connecting to a power source, sending the target instruction to the BMC through a first input / output interface.

[0016] In an exemplary embodiment, after obtaining the backplane status information of the backplane of the server, the method further includes: when it is determined through the backplane status information that the state of the backplane is normal, determining the time interval between the current moment and the target moment, wherein the target moment is the moment when the programmable device last sent the target instruction to the BMC; when the time interval is greater than a preset time interval, sending the target instruction to the BMC through the first input and output interface.

[0017] In an exemplary embodiment, the method further includes: before sending the target instruction to the BMC through the first input / output interface, if the time interval is greater than a preset time interval, storing the backplane status information in a memory of the backplane.

[0018] According to another embodiment of the embodiment of the present application, a backplane monitoring device is also provided, which is applied to a programmable device in a server, including: an acquisition module, used to acquire backplane status information of a backplane of the server, wherein the target information in the backplane status information is information acquired by the programmable device through a controller, and the target information is information monitored using a bus; a sending module, used to send a target instruction to a baseboard management controller BMC of a mainboard through a first input / output interface when it is determined that the state of the backplane is an abnormal state through the backplane status information, so as to instruct the BMC to read the backplane status information of the backplane, wherein the first input / output interface is an input / output interface for communication between the programmable device and the BMC.

[0019] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0020] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0021] According to another embodiment of the present application, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0022] In the present application, a programmable device is used to obtain the backplane status information, and then the BMC is instructed to read the backplane status information of the backplane, so that the BMC on the mainboard monitors the backplane of the server, thereby avoiding the BMC directly monitoring the backplane of the server, so that the BMC and the backplane are decoupled from each other, and the problem that the design logic of the mainboard BMC is highly dependent on the design logic of the server's backplane is solved. In addition, since the target information in the backplane status information is also obtained through the controller, the monitoring efficiency of the backplane is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0024] Figure 1 It is a hardware structure block diagram of a server device of a backplane monitoring method according to an embodiment of the present application;

[0025] Figure 2 It is a schematic diagram of the topological structure of a traditional server mainboard and backplane according to an embodiment of the present application;

[0026] Figure 3 is a flow chart of a backplane monitoring method according to an embodiment of the present application;

[0027] Figure 4 It is a schematic diagram of a topological structure of an optional server mainboard and a backplane according to an embodiment of the present application;

[0028] Figure 5 is a schematic diagram of another optional topological structure of a server mainboard and a backplane according to an embodiment of the present application;

[0029] Figure 6 is a schematic diagram of an optional programmable device implementation logic according to an embodiment of the present application;

[0030] Figure 7 is a structural block diagram of a backplane monitoring device according to an embodiment of the present application;

[0031] Figure 8 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0034] The backplane monitoring method embodiment provided in the embodiment of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 1 is a hardware structure block diagram of a server device of a backplane monitoring method according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0035] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the backplane monitoring method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0036] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0037] In the traditional backplane design, reference Figure 2In the traditional server backplane topology shown in the figure, the BMC on the motherboard only accesses the sensors, electrically erasable programmable read-only memory (EEPROM), CPLD, non-volatile memory host controller interface specification (NVME) hard disk and other devices on the backplane through the I2C bus, so as to obtain the status information of the backplane and then realize the monitoring of the backplane. Due to the differences in the number of hard disks, I2C device types and addresses in different backplane designs, the BMC needs to be re-adapted and designed every time the backplane configuration is changed. In other words, the design logic of the motherboard BMC is highly dependent on the design logic of the server backplane, which prolongs the development cycle and reduces the development efficiency.

[0038] In order to solve the above problems existing in the related art, a backplane monitoring method is provided in this embodiment, which is applied to a programmable device in a server, such as Figure 3 As shown, the process includes the following steps S302-S304:

[0039] Step S302: Acquire backplane status information of the backplane of the server, wherein target information in the backplane status information is information acquired by the programmable device through a controller, and the target information is information monitored using a bus;

[0040] Optionally, the controller is a microcontroller unit (MCU), and the bus includes but is not limited to: an Inter-Integrated Circuit (I2C) bus.

[0041] Optionally, the programmable device includes, but is not limited to: a programmable logic device CPLD and a field programmable gate array (Field Programmable Gate Array, referred to as FPGA).

[0042] Optionally, refer to Figure 5 , CPLD is connected to the microcontroller unit MCU through the I2C bus, and the device with I2C bus transmission function on the backplane is mounted under the I2C bus of the MCU. The MCU directly accesses the mounted field replaceable unit (Field Replaceable Unit, referred to as FRU), thermal sensor (Thermal Sensor), hard disk and other devices through the I2C master control module to obtain target information such as backplane temperature and hard disk status, thereby realizing the management and monitoring of the backplane.

[0043] It should be noted that MCU, as the master device of I2C, can access the code of I2C devices relatively easily and takes up less resources; programmable devices have abundant input / output (IO) port resources and stable performance, and can realize in-situ monitoring of various pluggable devices on the backplane, such as monitoring of status indicators and voltage, and can also realize communication with BMC and other functions. By reasonably dividing the functions of programmable devices and MCU, the decoupling design of uplink and BMC and the overall management of downlink backplane are realized, thus improving the flexibility and versatility of backplane design and the efficiency of backplane monitoring.

[0044] Step S304: When it is determined that the state of the backplane is abnormal through the backplane status information, a target instruction is sent to the baseboard management controller BMC of the mainboard through the first input-output interface to instruct the BMC to read the backplane status information of the backplane, wherein the first input-output interface is an input-output interface for communication between the programmable device and the BMC.

[0045] Optionally, the input / output interface is a general purpose input / output (GPIO) interface, see Figure 5 The hardware connection between the CPLD in the backplane and the BMC of the mainboard includes but is not limited to: one I2C bus and one GPIO interface, wherein the I2C bus is used to realize data transmission between the CPLD of the backplane and the BMC of the mainboard. When the CPLD detects that the backplane is in an abnormal state, it will actively pull down the first input and output interface to inform the BMC in time. At this time, the BMC will read the log information stored in the flash (FLASH) memory (such as the backplane status information of the backplane). In other words, there is no need for the BMC to poll the backplane. When the backplane is abnormal, the CPLD will actively inform the BMC of the abnormality.

[0046] It should be noted that active pull-down means that under certain conditions, by setting relevant control signals, the voltage level of a GPIO pin is reduced to a low level (usually 0V) to achieve a specific control purpose. Pulling down GPIO signals is usually used to transmit control information or status information to achieve communication and collaboration between devices.

[0047] In the above steps, since a programmable device is used to obtain the backplane status information and then the BMC is instructed to read the backplane status information of the backplane, the BMC on the mainboard is enabled to monitor the backplane of the server, thereby avoiding the BMC directly monitoring the backplane of the server, so that the BMC and the backplane are decoupled from each other, and the problem that the design logic of the mainboard BMC is highly dependent on the design logic of the server backplane is solved. In addition, since the target information in the backplane status information is also obtained through the controller, the monitoring efficiency of the backplane is improved.

[0048] In an exemplary embodiment, the above-mentioned acquisition of the backplane status information of the backplane of the server may be implemented by the following steps S11-S12:

[0049] Step S11: acquiring specified information through the input and output interface, wherein the specified information includes: the in-position status of the backplane cable connected to the backplane, the output voltage of the voltage regulator in the backplane, the in-position status of the hard disk in the backplane, and the power-on and power-off information of the hard disk in the backplane;

[0050] In an exemplary embodiment, the above-mentioned acquisition of the specified information through the input and output interface can be implemented by the following steps S111 to S114:

[0051] Step S111: acquiring the connection status of the pins in the target connector in the backplane through the second input-output interface to determine the in-place status of the backplane cable connected to the backplane, wherein the second input-output interface is an input-output interface for the programmable device to communicate with the target connector, and the target connector is used to connect the backplane to the mainboard;

[0052] Optionally, refer to Figure 5 , the programmable device uses the second input and output interface ( Figure 5 The GPIO_5 in the backplane is connected to a target connector (such as a cable connector) in the backplane to determine the presence status of a backplane cable connected to the backplane. If the connection status of the pin in the target connector is a high level, the backplane cable connected to the backplane is connected normally; if the connection status of the pin in the target connector is a low level, the backplane cable connected to the backplane is not connected.

[0053] Step S112: obtaining an output voltage of a voltage regulator in the backplane through a third input / output interface, wherein the voltage regulator is used to convert the voltage transmitted from the mainboard to the backplane, and the third input / output interface is an input / output interface for the programmable device to communicate with the voltage regulator;

[0054] Optionally, refer to Figure 5 , the programmable device uses the third input and output interface ( Figure 5The GPIO_4 in the middle is connected to the voltage regulator (VR), so that the programmable device can obtain the output voltage information of the voltage regulator in the backplane. After the internal analog-to-digital converter (ADC) module processes the information, it makes a logical judgment and reports the corresponding backplane status to the BMC.

[0055] The output voltage of the voltage regulator depends on the specific model and design parameters, and is generally a fixed voltage value or an adjustable voltage range.

[0056] Step S113: obtaining the in-place status of the hard disk in the backplane through the fourth input / output interface, wherein the fourth input / output interface is an input / output interface for the programmable device to communicate with the hard disk;

[0057] Optionally, refer to Figure 5 , the programmable device uses the fourth input and output interface ( Figure 5 The GPIO_HDD_PRESENT_0~n) in the backplane is connected to the hard disk drive (HDD), so that the presence status of the hard disk in the backplane can be directly obtained.

[0058] Step S114: obtaining power-on and power-off information of the hard disk in the backplane from the thermal fuse in the backplane through the fifth input / output interface, wherein the fifth input / output interface is an input / output interface for the programmable device to communicate with the thermal fuse.

[0059] Optionally, refer to Figure 5 , programmable devices through the input and output interface ( Figure 5 The GPIO_EFUSE_EN_0~n and / or GPIO_EFUSE_PG_0~n in the backplane are connected to the electrically thermal fuse (EFUSE for short) in the backplane, and the EFUSE is connected to the hard disk drive through PWR_0~n. The programmable device obtains the power-on and power-off information of the hard disk in the backplane from the EFUSE through GPIO_EFUSE_PG_0~n.

[0060] It should be noted that there is no specific order in which steps S111 to S114 are performed when executing the embodiments of the present application.

[0061] It should be noted that through the above steps, the programmable device can obtain information about a series of hardware on the backplane through the input and output interface, thereby realizing the monitoring of the status of the backplane. Since different specified information is obtained through different input and output interfaces, the efficiency of the programmable device in obtaining specified information is improved, thereby improving the monitoring efficiency of the backplane.

[0062] Step S12: acquiring the target information from the controller via the first bus, wherein the target information includes: backplane temperature information acquired by the controller from the temperature sensor in the backplane via the second bus, and hard disk status information acquired by the controller from the hard disk in the backplane via the third bus; the first bus is a bus for the programmable device to communicate with the controller, the second bus is a bus for the controller to communicate with the temperature sensor, and the third bus is a bus for the controller to communicate with the hard disk;

[0063] The backplane status information includes the designated information and the target information.

[0064] Optionally, refer to Figure 5 , MCU through the first bus ( Figure 5 The I2C_CPLD in the programmable device is connected to the programmable device, which communicates with the MCU to obtain the target information; the MCU communicates with the programmable device through the second bus ( Figure 5 The I2C_Sensor in the MCU is connected to the temperature sensor, so as to obtain the backplane temperature information through the temperature sensor; the MCU uses the third bus ( Figure 5 The I2C_HDD_0~n in the hard disk is connected to the hardware to obtain hard disk status information, such as hard disk capacity, hard disk current status, hard disk working time, etc.

[0065] It should be noted that since each hard disk transmits a large amount of information to the programmable device through the bus, the controller will process the acquired target information (such as screening, verification, and packetization) and then send it to the programmable device through the I2C bus.

[0066] It should be noted that there is no specific order in which the above steps S11 and S12 are executed when executing the embodiment of the present application.

[0067] It should be noted that, through the above steps S11 and S12, the programmable device obtains the backplane status information of the backplane and realizes the monitoring of the backplane. Since the programmable device and the controller are used at the same time to obtain the backplane status information of the backplane, the advantages of the CPLD's large number of pins, stable operation performance and rich controller functions are fully utilized, thereby fully improving the monitoring and management capabilities of the backplane operation status.

[0068] In an exemplary embodiment, the method further comprises determining the state of the backplane by following steps S21 to S26:

[0069] Step S21: when the in-place status of the backplane cable in the backplane status information indicates that the backplane cable is not in place, determining that the state of the backplane is an abnormal state;

[0070] Step S22: when the voltage fluctuation of the output voltage of the voltage regulator in the backplane status information exceeds a first preset threshold, determining that the state of the backplane is an abnormal state;

[0071] Step S23: when the hard disk in-place status in the backplane status information indicates that the hard disk is not in-place, determining that the state of the backplane is an abnormal state;

[0072] Step S24: when the power-on and power-off information in the backplane status information indicates that the hard disk is powered on and off abnormally, determining that the backplane status is an abnormal status;

[0073] Step S25: when the backplane temperature information in the backplane status information indicates that the temperature of the backplane exceeds a second preset threshold, determining that the state of the backplane is an abnormal state;

[0074] Step S26: when the hard disk status information in the backplane status information indicates that the hard disk has reported an error, determining that the status of the backplane is an abnormal status.

[0075] It should be noted that, through the above steps S21 to S26, the state of the backplane can be quickly and accurately determined, so that when the state of the backplane is abnormal, the state of the backplane can be promptly notified to the BMC so that the abnormality can be handled in time.

[0076] In an exemplary embodiment, after obtaining the backplane status information of the backplane of the server as mentioned above, the method further includes the following steps: sending the backplane status information to the processor of the mainboard through a target serial peripheral interface; wherein the target serial peripheral interface is a serial peripheral interface for the programmable device to communicate with the processor, and after obtaining the backplane status information, the processor stores the backplane status information in a flash memory card of the mainboard.

[0077] Optionally, the processor is a dual microprocessor unit (DMPU for short).

[0078] Optionally, refer to Figure 5The CPLD on the backplane communicates with the DMPU on the mainboard through the Serial Peripheral Interface (SPI) bus, and can transmit the backplane status information (such as hard disk status, hard disk presence, cable presence, backplane voltage, backplane temperature, etc.) of the backplane to the DMPU in real time. The DMPU stores the acquired information in the Trans Flash (TF) card.

[0079] It should be noted that the above steps can realize real-time and long-term recording of backplane status information, thereby quickly providing effective data support for backplane fault diagnosis.

[0080] In an exemplary embodiment, the method also includes the following steps: when the power on and off instructions sent by the BMC are obtained through the fourth bus, based on the fifth input and output interface, a power on and off signal corresponding to the power on and off instructions is sent to the thermal fuse in the backplane, so as to perform power on and off operations on the target hard disk in the backplane through the thermal fuse; wherein the fourth bus is a bus for the programmable device to communicate with the BMC, the fifth input and output interface is an input and output interface for the programmable device to communicate with the thermal fuse, and the power on and off instructions are used to instruct the target hard disk in the backplane to be powered on and off.

[0081] Optionally, refer to Figure 5 , the programmable devices in the backplane are connected through the fourth bus ( Figure 5 The I2C_BMC in the motherboard communicates with the BMC of the motherboard. The BMC sends power-on and power-off instructions to the programmable device through the bus. After receiving the power-on and power-off instructions, the programmable device sends power-on and power-off instructions through the fifth input and output interface ( Figure 5 The GPIO_EFUSE_EN_0~n in the board sends power-on and power-off signals corresponding to the power-on and power-off instructions to the thermal fuse in the board. After receiving the power-on and power-off signals, the thermal fuse sends corresponding power-on and power-off instructions to the target hard disk through PWR_0~n according to the power-on and power-off signals. After receiving the power-on and power-off instructions, the target hard disk performs corresponding power-on and power-off operations.

[0082] It should be noted that, through the above steps, the BMC on the mainboard realizes the control of the hard disk on the backplane, and the control of other hardware devices on the backplane can also be realized through steps similar to the above steps. Since the control operation of the backplane is realized through programmable devices, when the hardware on the backplane changes, there is no need to redesign the BMC, which greatly reduces the development cost and improves the development efficiency.

[0083] In an exemplary embodiment, after sending the target instruction to the baseboard management control BMC of the mainboard through the first input and output interface, the method also includes the following steps: when obtaining the acquisition instruction sent by the BMC through the fourth bus, sending the backplane status information stored in the memory of the backplane to the BMC through the fourth bus; wherein the acquisition instruction is used to indicate the acquisition of the backplane status information of the backplane, the fourth bus is a bus for the programmable device to communicate with the BMC, and when the status of the backplane is an abnormal state, the backplane status information is stored in the memory.

[0084] Optionally, the memory is a flash memory.

[0085] That is, the BMC can retrieve the backplane status information stored in the flash memory through the programmable device, thereby quickly completing the acquisition of the backplane status information.

[0086] In an exemplary embodiment, the method further includes the following steps: when obtaining a light-on instruction sent by the BMC through the fourth bus, sending a control instruction to the target status light through the sixth input-output interface to light up the target status light; wherein the fourth bus is a bus for the programmable device to communicate with the BMC, the sixth input-output interface is an input-output interface for the programmable device to communicate with the target status light, and the light-on instruction is used to instruct to light up the target status light in the backplane, and when the target status light is on, the target hard disk in the backplane is in the target state.

[0087] Optionally, when the BMC determines that the state of the backplane is abnormal, it sends a lighting instruction to the programmable device through the fourth bus.

[0088] Optionally, refer to Figure 5 , the programmable device uses the sixth input and output interface ( Figure 5 The GPIO_LED_0~n in the BMC communicates with the status light (LED0~n). When the lighting command sent by the BMC is obtained, the status light is turned on to indicate the status of each hard disk.

[0089] Optionally, the status light is turned on and displays different colors to indicate the different states of the backplane and the hard disks on the backplane. For example, when the backplane is in an abnormal state, the status light will be red to remind the user to pay attention to and handle the backplane abnormality in time.

[0090] In an exemplary embodiment, before and after sending the target instruction to the baseboard management control BMC of the mainboard through the first input / output interface, the method further includes the following steps S31-S32:

[0091] Step S31: when the state of the backplane is an abnormal state and the backplane state information includes multiple types of information, determining a storage partition corresponding to each type of information in the memory of the backplane;

[0092] Step S32: storing each type of information into a corresponding storage partition of the memory.

[0093] Optionally, the connection status of the pins in the target connector and the output voltage of the voltage regulator are stored in a first storage partition in the memory, and the backplane temperature information and the hard disk status information are stored in a second storage partition in the memory.

[0094] It should be noted that through the above steps, partitioned storage of backplane status information in the memory is achieved. When the BMC needs to call the backplane status information stored in the memory, a certain type of information can be obtained quickly and accurately, thereby improving the efficiency of obtaining backplane status information.

[0095] In an exemplary embodiment, after obtaining the backplane status information of the backplane of the server as mentioned above, the method further includes the following steps: when the backplane status information of the backplane is the initial status information first obtained by the programmable device after connecting to the power supply, sending the target instruction to the BMC through the first input and output interface.

[0096] That is, when the backplane status information is the initial status information, the programmable device will instruct the BMC to obtain the backplane status information, and the BMC will retrieve the initial status information, thereby completing the initial log record of the backplane.

[0097] In an exemplary embodiment, after obtaining the backplane status information of the backplane of the server, the method further includes the following steps S41-S42:

[0098] Step S41: when it is determined through the backplane status information that the state of the backplane is normal, determining the time interval between the current time and the target time, wherein the target time is the time when the programmable device last sent the target instruction to the BMC;

[0099] Step S42: When the time interval is greater than a preset time interval, sending the target instruction to the BMC through the first input / output interface.

[0100] Optionally, when the preset time interval is 3 seconds, the BMC will obtain the backplane status information of the backplane every 3 seconds.

[0101] In an exemplary embodiment, the method further includes the following steps: before sending the target instruction to the BMC through the first input / output interface, if the time interval is greater than a preset time interval, storing the backplane status information in a memory of the backplane.

[0102] Optionally, when the preset time interval is 3 seconds, the programmable device will store the backplane status information of the backplane in the memory of the backplane every 3 seconds to ensure that the backplane status information acquired by the BMC is the most recently updated backplane status information.

[0103] Obviously, the above-described embodiments are only embodiments of a part of the present invention, rather than all embodiments. In order to better understand the above method, the above process is described below in conjunction with embodiments, but it is not intended to limit the technical solutions of the embodiments of the present invention, specifically:

[0104] In view of the above problems, the present invention provides an optional topological structure design of a server backplane, referring to Figure 4 ,This design uses MCU as the main control chip on the backplane to collect backplane information. MCU has excellent programming performance and rich user functions, and can communicate data with the motherboard BMC through the I2C bus. However, due to the limitation of MCU's IO interface resources, it is difficult to use only MCU as the main control chip in server backplanes with a large number of hard disks and complex functions.

[0105] In view of the above problems, the present invention also provides a server backplane monitoring method based on decoupling design. When the programmable device is CPLD, the controller is MCU, the bus is I2C bus, and the processor is DMPU, Figure 5 Another optional topological structure of the server motherboard and backplane of this solution is shown, and is described in detail below:

[0106] 1. Hardware structure design;

[0107] First, mount the device with I2C bus transmission function on the backplane under the I2C bus of the MCU. As the I2CMaster, the MCU can access the I2C device more easily and occupy less resources. Secondly, use the CPLD on the backplane to communicate with the BMC on the mainboard. With the rich IO resources and stable performance of the CPLD, it can realize the functions of in-situ monitoring of various pluggable devices on the backplane, control of status indicators, and voltage monitoring. By reasonably dividing the functions of the CPLD and MCU, the decoupling design of the upstream and BMC and the overall management of the downstream backplane can be realized.

[0108] like Figure 5As shown in the figure, CPLD obtains the output voltage of VR through the GPIO interface, performs logic judgment after processing by the internal ADC module, and reports the obtained backplane status to the BMC of the mainboard. CPLD also obtains the status of each hard disk through the GPIO interface. At the same time, in order to indicate the status of each hard disk, CPLD receives and parses the lighting information sent by the host computer (BMC) to control the LED status light on the backplane hard disk.

[0109] The hardware connection between the backplane CPLD and the motherboard BMC includes an I2C bus and a GPIO. The function of the I2C bus is to realize data transmission between the backplane CPLD and the motherboard BMC. When the CPLD detects an abnormal state of the backplane, it will actively pull down the GPIO to inform the BMC of the abnormal state in time.

[0110] There is an SPI bus between the backplane CPLD and the mainboard DMPU. The CPLD can transmit the backplane status to the mainboard DMPU in real time through the SPI bus, and the DMPU chip records the relevant logs to the TF card.

[0111] The MCU obtains the status of I2C devices such as FRU, Thermal Sensor, and hard disk through the I2C bus, and transmits the relevant status information to the CPLD through I2C after processing.

[0112] 2. Implementation logic of MCU and CPLD;

[0113] refer to Figure 6 , making full use of the advantages of CPLD with large number of pins, stable operation, and rich user functions of MCU to fully enhance the monitoring and management capabilities of the backplane operation status:

[0114] 1. MCU manages backplane I2C devices;

[0115] The MCU directly accesses the mounted FRU, Thermal Sensor, hard disk and other devices through the I2C Master module to obtain information such as board information, backplane temperature, hard disk status, etc., to manage the backplane hard disk. Since each hard disk transmits a large amount of information to the CPLD through the I2C bus, the MCU will process the relevant information obtained and send it to the CPLD through I2C.

[0116] 2. CPLD manages the backplane as a whole;

[0117] CPLD accesses MCU through I2C Master module to obtain relevant information of I2C devices on the backplane, so as to manage I2C devices on the backplane.

[0118] CPLD can obtain information such as the output voltage signal of the voltage conversion chip, the hard disk status, the cable status, etc. through the input and output interface;

[0119] The information obtained through I2C and the information obtained through the input and output interface will be reported to the BMC through I2C after being processed by the internal logic module of CPLD. At the same time, the backplane status information will be reported to the mainboard DMPU in real time through the SPI bus for log recording.

[0120] 3. Reporting of backplane status information and fault diagnosis;

[0121] The CPLD on the backplane communicates with the mainboard DMPU via the SPI bus, and can transmit the backplane status information to the DMPU in real time. The DMPU stores the acquired information in the TF card. The above backplane status information includes: hard disk status, hard disk in place, cable in place, backplane voltage, backplane temperature, etc. This function can realize real-time and long-term recording of the backplane status, and can provide data support for backplane fault diagnosis.

[0122] 4. Decoupling of BMC and backplane;

[0123] BMC communicates with the backplane CPLD through an I2C bus and a GPIO, which greatly reduces the number of I2C devices directly mounted under the BMC. The function of the I2C bus is to realize data transmission between the backplane CPLD and the mainboard BMC. The function of the additional GPIO signal is to actively pull down the GPIO to inform the BMC in time when the CPLD detects an abnormal state of the backplane. At this time, the BMC will send instructions to the CPLD to read the log information stored in the internal memory of the CPLD.

[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0125] In this embodiment, a backplane monitoring device is also provided, which is applied to a programmable device in a server to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the modules described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0126] Figure 7 : is a structural block diagram of a backplane monitoring device according to an embodiment of the present application, the device comprising:

[0127] An acquisition module 702 is used to acquire backplane status information of a backplane of the server, wherein target information in the backplane status information is information acquired by the programmable device through a controller, and the target information is information monitored using a bus;

[0128] The sending module 704 is used to send a target instruction to the baseboard management controller BMC of the mainboard through the first input-output interface to instruct the BMC to read the backplane status information of the backplane when it is determined that the state of the backplane is abnormal through the backplane status information, wherein the first input-output interface is an input-output interface for communication between the programmable device and the BMC.

[0129] The above device uses a programmable device to obtain the backplane status information and then instructs the BMC to read the backplane status information of the backplane, thereby realizing that the BMC on the mainboard monitors the backplane of the server, thereby avoiding the BMC directly monitoring the backplane of the server, and realizing a decoupled design between the BMC and the backplane, solving the problem that the design logic of the mainboard BMC is highly dependent on the design logic of the server's backplane. In addition, since the target information in the backplane status information is also obtained through the controller, the monitoring efficiency of the backplane is improved.

[0130] In an exemplary embodiment, the acquisition module 702 is also used to acquire specified information through an input and output interface, wherein the specified information includes: the in-place status of the backplane cable connected to the backplane, the output voltage of the voltage regulator in the backplane, the in-place status of the hard disk in the backplane, and the power on and off information of the hard disk in the backplane; the target information is acquired from the controller through a first bus, wherein the target information includes: the backplane temperature information acquired by the controller from the temperature sensor in the backplane through a second bus, and the hard disk status information acquired by the controller from the hard disk in the backplane through a third bus; the first bus is a bus for the programmable device to communicate with the controller, the second bus is a bus for the controller to communicate with the temperature sensor, and the third bus is a bus for the controller to communicate with the hard disk; wherein the backplane status information includes the specified information and the target information.

[0131] In an exemplary embodiment, the acquisition module 702 is also used to acquire the connection status of the pins in the target connector in the backplane through the second input-output interface to determine the in-place status of the backplane cable connected to the backplane, wherein the second input-output interface is the input-output interface for the programmable device to communicate with the target connector, and the target connector is used to connect the backplane to the mainboard; acquire the output voltage of the voltage regulator in the backplane through the third input-output interface, wherein the voltage regulator is used to convert the voltage transmitted from the mainboard to the backplane, and the third input-output interface is the input-output interface for the programmable device to communicate with the voltage regulator; acquire the in-place status of the hard disk in the backplane through the fourth input-output interface, wherein the fourth input-output interface is the input-output interface for the programmable device to communicate with the hard disk; acquire the power-on and power-off information of the hard disk in the backplane from the thermal fuse in the backplane through the fifth input-output interface, wherein the fifth input-output interface is the input-output interface for the programmable device to communicate with the thermal fuse.

[0132] In an exemplary embodiment, the above-mentioned device also includes: a determination module, which is used to determine that the state of the backplane is an abnormal state when the in-place state of the backplane cable in the backplane status information is used to indicate that the backplane cable is not in place; determine that the state of the backplane is an abnormal state when the voltage fluctuation of the output voltage of the voltage regulator in the backplane status information exceeds a first preset threshold value; determine that the state of the backplane is an abnormal state when the in-place state of the hard disk in the backplane status information is used to indicate that the hard disk is not in place; determine that the state of the backplane is an abnormal state when the power on and off information in the backplane status information is used to indicate that the power on and off of the hard disk are abnormal; determine that the state of the backplane is an abnormal state when the backplane temperature information in the backplane status information is used to indicate that the temperature of the backplane exceeds a second preset threshold value; determine that the state of the backplane is an abnormal state when the hard disk status information in the backplane status information is used to indicate that the hard disk reports an error.

[0133] In an exemplary embodiment, the sending module 704 is also used to send the backplane status information of the backplane of the server to the processor of the mainboard through a target serial peripheral interface after the backplane status information of the backplane is obtained; wherein the target serial peripheral interface is a serial peripheral interface for the programmable device to communicate with the processor, and after the processor obtains the backplane status information, the processor stores the backplane status information in a flash memory card of the mainboard.

[0134] In an exemplary embodiment, the sending module 704 is also used to send power on and off signals corresponding to the power on and off instructions sent by the BMC to the thermal fuse in the backplane based on the fifth input and output interface when the power on and off instructions sent by the BMC are obtained through the fourth bus, so as to perform power on and off operations on the target hard disk in the backplane through the thermal fuse; wherein the fourth bus is a bus for the programmable device to communicate with the BMC, the fifth input and output interface is an input and output interface for the programmable device to communicate with the thermal fuse, and the power on and off instructions are used to instruct the target hard disk in the backplane to be powered on and off.

[0135] In an exemplary embodiment, the sending module 704 is also used to send the backplane status information stored in the memory of the backplane to the BMC through the fourth bus after the target instruction is sent to the baseboard management control BMC of the mainboard through the first input and output interface, when the acquisition instruction sent by the BMC is acquired through the fourth bus; wherein the acquisition instruction is used to indicate the acquisition of the backplane status information of the backplane, the fourth bus is a bus for the programmable device to communicate with the BMC, and when the status of the backplane is an abnormal state, the backplane status information is stored in the memory.

[0136] In an exemplary embodiment, the sending module 704 is also used to send a control instruction to the target status light through the sixth input-output interface to light up the target status light when the light-on instruction sent by the BMC is obtained through the fourth bus; wherein the fourth bus is a bus for the programmable device to communicate with the BMC, the sixth input-output interface is an input-output interface for the programmable device to communicate with the target status light, and the light-on instruction is used to instruct to light up the target status light in the backplane, and when the target status light is on, the target hard disk in the backplane is in the target state.

[0137] In an exemplary embodiment, the above-mentioned device also includes: a storage module, which is used to determine the storage partition corresponding to each type of information in the memory of the backplane before sending the target instruction to the baseboard management control BMC of the mainboard through the first input and output interface, when the state of the backplane is an abnormal state and the backplane status information includes multiple types of information; and store each type of information in the corresponding storage partition of the memory.

[0138] In an exemplary embodiment, the sending module 704 is also used to send the target instruction to the BMC through the first input-output interface after obtaining the backplane status information of the backplane of the server, when the backplane status information of the backplane is the initial status information first obtained by the programmable device after connecting to the power supply.

[0139] In an exemplary embodiment, the determination module is also used to determine the time interval between the current moment and the target moment after acquiring the backplane status information of the backplane of the server, when it is determined through the backplane status information that the backplane is in a normal state, wherein the target moment is the moment when the programmable device last sent the target instruction to the BMC; the sending module 704 is also used to send the target instruction to the BMC through the first input and output interface when the time interval is greater than a preset time interval.

[0140] In an exemplary embodiment, the storage module is further configured to store the backplane status information in the memory of the backplane before sending the target instruction to the BMC through the first input / output interface when the time interval is greater than a preset time interval.

[0141] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0142] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0143] Optionally, in this embodiment, the computer program may be configured to perform the following steps by means of the computer program:

[0144] S1, obtaining backplane status information of a backplane of the server, wherein target information in the backplane status information is information obtained by the programmable device through a controller, and the target information is information monitored using a bus;

[0145] S2, when it is determined that the state of the backplane is abnormal through the backplane status information, a target instruction is sent to the baseboard management controller BMC of the mainboard through the first input-output interface to instruct the BMC to read the backplane status information of the backplane, wherein the first input-output interface is an input-output interface for communication between the programmable device and the BMC.

[0146] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0147] The embodiment of the present application also provides an electronic device, such as Figure 8 As shown, the electronic device includes a memory 802 and a processor 804. The memory 802 stores a computer program, and the processor 804 is configured to execute the steps in any of the above method embodiments through the computer program.

[0148] Optionally, in this embodiment, the processor 804 may be configured to perform the following steps through a computer program:

[0149] S1, obtaining backplane status information of a backplane of the server, wherein target information in the backplane status information is information obtained by the programmable device through a controller, and the target information is information monitored using a bus;

[0150] S2, when it is determined that the state of the backplane is abnormal through the backplane status information, a target instruction is sent to the baseboard management controller BMC of the mainboard through the first input-output interface to instruct the BMC to read the backplane status information of the backplane, wherein the first input-output interface is an input-output interface for communication between the programmable device and the BMC.

[0151] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0152] Alternatively, a person skilled in the art may understand that: Figure 8 The structure shown is for illustration only. Figure 8 The structure of the electronic device is not limited. For example, the electronic device may also include Figure 8 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 8 Different configurations shown.

[0153] Among them, the memory 802 can be used to store software programs and modules, such as the program instructions / modules corresponding to the backplane monitoring method and the backplane monitoring device in the embodiment of the present application. The processor 804 executes various functional applications and data processing by running the software programs and modules stored in the memory 802, that is, realizing the above-mentioned backplane monitoring method. The memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 802 may further include a memory remotely located relative to the processor 804, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 802 can be specifically, but not limited to, used to store information such as system configuration files. As an example, such as Figure 8 As shown, the memory 802 may include but is not limited to the acquisition module 702 and the sending module 704 in the backplane monitoring device. In addition, it may also include but is not limited to other module units in the backplane monitoring device, which will not be described in detail in this example.

[0154] Optionally, the transmission device 806 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 806 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 806 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0155] In addition, the electronic device mentioned above further includes: a display 808; and a connection bus 810, which is used to connect various module components in the electronic device mentioned above.

[0156] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0157] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0158] The embodiments of the present application also provide a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any one of the above method embodiments.

[0159] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0160] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A backplane monitoring method, characterized in that: Programmable devices used in servers, include: Acquire backplane status information of a backplane of the server, wherein target information in the backplane status information is information acquired by the programmable device through a controller, the target information is information monitored using a bus, the programmable device communicates with the controller based on a first bus, and the target information includes: backplane temperature information acquired by the controller from a temperature sensor in the backplane through a second bus, and hard disk status information acquired by the controller from a hard disk in the backplane through a third bus; the first bus is a bus for the programmable device to communicate with the controller, the second bus is a bus for the controller to communicate with the temperature sensor, the third bus is a bus for the controller to communicate with the hard disk, and the controller is a microcontroller unit MCU; In the case where it is determined through the backplane status information that the state of the backplane is an abnormal state, a target instruction is sent to a baseboard management controller BMC of the mainboard through a first input / output interface to instruct the BMC to read the backplane status information of the backplane, wherein the first input / output interface is an input / output interface for communication between the programmable device and the BMC; After acquiring the backplane status information of the backplane of the server, the method further comprises: sending the backplane status information to the processor of the mainboard through a target serial peripheral interface; wherein the target serial peripheral interface is a serial peripheral interface for the programmable device to communicate with the processor, and after acquiring the backplane status information, the processor stores the backplane status information in a flash memory card of the mainboard; The method further includes: when the power on and off instructions sent by the BMC are obtained through the fourth bus, based on the fifth input and output interface, sending power on and off signals corresponding to the power on and off instructions to the thermal fuse in the backplane, so as to perform power on and off operations on the target hard disk in the backplane through the thermal fuse; wherein the fourth bus is a bus for the programmable device to communicate with the BMC, the fifth input and output interface is an input and output interface for the programmable device to communicate with the thermal fuse, and the power on and off instructions are used to instruct the target hard disk in the backplane to be powered on and off.

2. The method according to claim 1, characterized in that The obtaining backplane status information of the backplane of the server includes: Acquire specified information through an input / output interface, wherein the specified information includes: the in-place status of a backplane cable connected to the backplane, the output voltage of a voltage regulator in the backplane, the in-place status of a hard disk in the backplane, and power-on and power-off information of the hard disk in the backplane; acquiring the target information from the controller via the first bus; The backplane status information includes the designated information and the target information.

3. The method according to claim 2, characterized in that The obtaining of specified information through the input and output interface includes: Acquire the connection status of the pins in the target connector in the backplane through the second input-output interface to determine the in-place status of the backplane cable connected to the backplane, wherein the second input-output interface is an input-output interface for the programmable device to communicate with the target connector, and the target connector is used to connect the backplane to the mainboard; Obtaining an output voltage of a voltage regulator in the backplane through a third input / output interface, wherein the voltage regulator is used to convert the voltage transmitted from the mainboard to the backplane, and the third input / output interface is an input / output interface for the programmable device to communicate with the voltage regulator; Acquiring the in-place status of the hard disk in the backplane through a fourth input / output interface, wherein the fourth input / output interface is an input / output interface for the programmable device to communicate with the hard disk; The power up and down information of the hard disk in the backplane is obtained from the thermal fuse in the backplane through the fifth input and output interface, wherein the fifth input and output interface is the input and output interface for the programmable device to communicate with the thermal fuse.

4. The method according to claim 2, characterized in that: The method further comprises: The status of the backplane is determined by: In a case where the in-place status of the backplane cable in the backplane status information is used to indicate that the backplane cable is not in place, determining that the state of the backplane is an abnormal state; In the case where the voltage fluctuation of the output voltage of the voltage regulator in the backplane status information exceeds a first preset threshold, determining that the state of the backplane is an abnormal state; When the in-place status of the hard disk in the backplane status information indicates that the hard disk is not in place, determining that the state of the backplane is an abnormal state; When the power-on and power-off information in the backplane status information indicates that the hard disk is powered on and off abnormally, determining that the backplane status is an abnormal status; When the backplane temperature information in the backplane status information indicates that the temperature of the backplane exceeds a second preset threshold, determining that the state of the backplane is an abnormal state; In a case where the hard disk status information in the backplane status information is used to indicate that the hard disk reports an error, it is determined that the status of the backplane is an abnormal status.

5. The method according to claim 1, characterized in that After sending the target instruction to the baseboard management control BMC of the mainboard through the first input and output interface, the method further includes: In the case of acquiring the acquisition instruction sent by the BMC through the fourth bus, sending the backplane status information stored in the memory of the backplane to the BMC through the fourth bus; The acquisition instruction is used to instruct the acquisition of backplane status information of the backplane, the fourth bus is a bus for the programmable device to communicate with the BMC, and when the backplane is in an abnormal state, the backplane status information is stored in the memory.

6. The method according to claim 1, characterized in that The method further comprises: In the case of acquiring the lighting instruction sent by the BMC through the fourth bus, sending a control instruction to the target status light through the sixth input and output interface to light up the target status light; Among them, the fourth bus is a bus for the programmable device to communicate with the BMC, the sixth input and output interface is an input and output interface for the programmable device to communicate with the target status light, and the lighting instruction is used to instruct to light up the target status light in the backplane. When the target status light is on, the target hard disk in the backplane is in the target state.

7. The method according to claim 1, characterized in that Before sending the target instruction to the baseboard management control BMC of the mainboard through the first input / output interface, the method further includes: When the state of the backplane is an abnormal state and the backplane state information includes multiple types of information, determining a storage partition corresponding to each type of information in a memory of the backplane; Each type of information is stored in a corresponding storage partition of the memory.

8. The method according to claim 1, characterized in that After obtaining the backplane status information of the backplane of the server, the method further includes: In a case where the backplane state information of the backplane is initial state information first acquired by the programmable device after being connected to a power source, the target instruction is sent to the BMC through the first input / output interface.

9. The method according to claim 1, characterized in that: After obtaining the backplane status information of the backplane of the server, the method further includes: In the case where it is determined through the backplane status information that the state of the backplane is normal, determining the time interval between the current time and the target time, wherein the target time is the time when the programmable device last sent the target instruction to the BMC; When the time interval is greater than the preset time interval, the target instruction is sent to the BMC through the first input / output interface.

10. The method according to claim 9, characterized in that The method further comprises: Before sending the target instruction to the BMC through the first input / output interface, if the time interval is greater than a preset time interval, the backplane status information is stored in the memory of the backplane.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 10 when executed by a processor.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 10 are implemented.

13. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • Method and device for monitoring power supplies on server mainboard, and equipment

    CN108919935A

  • Server hard disk backboard power supply structure and a remote hard disk power-on and power-off control method

    CN109800188A

  • Server hard disk backboard health state monitoring device, method and system

    CN109857602A