Hard disk backplane monitoring method, device, equipment and storage medium

By determining the motherboard type and model type of the hard disk backplane, and using SMBUS link and CPLD registers to obtain identification information, the accuracy of multi-hard disk backplane recognition and monitoring is solved, and efficient hard disk backplane recognition and monitoring is achieved, reducing the accuracy of the hard disk backplane recognition and monitoring. cost.

CN115543749BActive Publication Date: 2024-11-05NETTRIX INFORMATION IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211307414.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-24
Publication Date
2024-11-05
Estimated Expiration
2042-10-24

AI Technical Summary

Technical Problem

The existing hard disk backplane identification and monitoring technology cannot accurately identify and monitor specific hard disk backplanes under the situation of multiple hard disk backplanes, and the FRU information stored on EEPROM cannot be determined during the product development stage, resulting in low identification and monitoring efficiency.

Method used

By determining the motherboard type and model type of hardware to be tested, the target SMBUS link connected to the hard disk backplane is determined, and the backplane identification information is obtained using the CPLD register, instead of the EEPROM chip, the identification and monitoring of the hard disk backplane is realized, reducing space and chip usage cost.

Benefits of technology

It improves the identification and monitoring accuracy of the hard disk backplane, reduces the hardware bus and labor costs, saves hardware design costs, and improves the comprehensiveness of monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115543749B_ABST
    Figure CN115543749B_ABST
Patent Text Reader

Abstract

The present invention discloses a hard disk backplane monitoring method, device, equipment and storage medium. The method comprises: determining the motherboard type and model type of the hardware to be tested; wherein the hardware to be tested comprises at least one hard disk backplane; determining the target system management bus SMBUS link connected to each hard disk backplane according to the motherboard type and model type; determining the backplane identification information of the hard disk backplane connected to each target SMBUS link; and monitoring the corresponding hard disk backplane in turn according to each backplane identification information. The embodiment of the present invention realizes the identification and monitoring of the hard disk backplane.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a hard disk backplane monitoring method, device, equipment and storage medium. Background Art

[0002] With the development of Internet technology, the demand for hard disk hardware continues to grow, and accordingly, the demand for the number of hard disk backplanes also increases simultaneously.

[0003] The identification and monitoring of the hard disk backplane relies on the parsing and identification of the FRU (Field Replace Unit) information stored in the EEPROM (Electrically Erasable Programmable Read Only Memory) on the hard disk backplane. However, during the product development phase, the FRU information cannot be determined. In addition, when there are multiple hard disk backplanes in the hardware, the existing technical solutions can only determine the number of hard disk backplanes, but cannot identify and monitor the specific hard disk backplane. Summary of the invention

[0004] The present invention provides a hard disk backplane monitoring method, device, equipment and storage medium to realize the identification and monitoring of the hard disk backplane.

[0005] According to one aspect of the present invention, a hard disk backplane monitoring method is provided, the method comprising:

[0006] Determine the motherboard type and model type of the hardware to be tested; wherein the hardware to be tested includes at least one hard disk backplane;

[0007] Determine a target system management bus SMBUS link connected to each hard disk backplane according to the mainboard type and the machine model type;

[0008] Determine the backplane identification information of the hard disk backplane connected to each of the target SMBUS links;

[0009] According to each backplane identification information, the corresponding hard disk backplane is monitored in turn.

[0010] Optionally, determining a target system management bus SMBUS link connected to each hard disk backplane according to the mainboard type and the model type includes:

[0011] Determine the hardware identification of the hardware to be tested according to the motherboard type and the machine model type;

[0012] Determine, according to the hardware identifier, at least one candidate SMBUS link accessible to each hard disk backplane;

[0013] A target SMBUS link is determined according to the scanning result of each candidate SMBUS link.

[0014] The above technical scheme determines the hardware identification of the hardware to be tested according to the motherboard type and model type, and determines at least one candidate SMBUS link that can be accessed by each hard disk backplane according to the hardware identification, thereby realizing the determination of the SMBUS link that is allowed to be connected to the hard disk backplane in the hardware to be tested, and determines the target SMBUS link based on the scanning results of each candidate SMBUS link, thereby realizing the accurate determination of the SMBUS link connected to each hard disk backplane in the hardware to be tested.

[0015] Optionally, determining the target SMBUS link according to the scanning result of each candidate SMBUS link includes:

[0016] According to the link sequence number of each candidate SMBUS link, link scanning is performed on each candidate SMBUS link in turn to determine whether there is a corresponding complex digital integrated circuit CPLD address;

[0017] Each candidate SMBUS link having a corresponding CPLD address is determined as a target SMBUS link.

[0018] The above technical solution performs link scanning on each candidate SMBUS link to determine whether there is a corresponding CPLD address, and determines each candidate SMBUS link with a corresponding CPLD address as a target SMBUS link, thereby achieving accurate determination of the target SMBUS link, facilitating subsequent direct access to the CPLD register based on the CPLD address, so that in the process of identifying the hard disk backplane, there is no need to access the EEPROM, reducing space occupancy and chip usage costs, and improving the convenience of backplane identification.

[0019] Optionally, the determining the backplane identification information of the hard disk backplane connected to each of the target SMBUS links includes:

[0020] Determine the CPLD register under the CPLD address corresponding to each of the target SMBUS links;

[0021] Obtaining the backplane model of the hard disk backplane connected to the corresponding target SMBUS link from each of the CPLD registers;

[0022] The backplane model and backplane serial number of each hard disk backplane are spliced ​​to obtain the backplane identification information of each hard disk backplane; wherein the backplane serial number of the hard disk backplane corresponds to the link serial number of the corresponding target SMBUS link.

[0023] The above technical solution determines the backplane identification information of the hard disk backplane by obtaining the backplane model of the hard disk backplane from the CPLD register under the CPLD address corresponding to the target SMBUS link. In this process, the CPLD register is used instead of the EEPROM chip of the FRU, saving chip costs, reducing the use of hardware buses, and saving labor costs and hardware design costs.

[0024] Optionally, monitoring the corresponding hard disk backplanes in sequence according to each backplane identification information includes:

[0025] Determine the backplane detailed configuration information of each hard disk backplane according to the backplane identification information;

[0026] According to the detailed backplane configuration information of each hard disk backplane, the corresponding hard disk backplane is monitored in turn.

[0027] The above technical solution displays the backplane identification information through the Dbus communication mechanism, and the FRU instantiated service determines the backplane detailed configuration information corresponding to the hard disk backplane based on the acquired backplane identification information, without having to separately open up memory space for pre-storing the backplane detailed configuration information. This reduces the memory space occupied and improves the convenience of determining the backplane detailed configuration information.

[0028] Optionally, determining the backplane detailed configuration information of each hard disk backplane according to each backplane identification information includes:

[0029] The backplane identification information of each hard disk backplane is displayed through the data bus Dbus communication mechanism;

[0030] The backplane identification information of each is obtained through the field replaceable unit FRU instantiation service, and based on the obtained backplane identification information of each, based on the backplane configuration file stored in its own service, the backplane detailed configuration information related to the corresponding hard disk backplane is obtained.

[0031] The above technical solution obtains the backplane identification information of each hard disk backplane from Dbus through the FRU instantiated service unit, and matches the backplane configuration file within its own service according to the backplane identification information, thereby achieving the acquisition of the backplane detailed configuration information related to each hard disk backplane, facilitating the subsequent monitoring of various aspects of the hard disk backplane based on the acquired backplane detailed configuration information, and improving the comprehensiveness of the hard disk backplane monitoring.

[0032] Optionally, determining the motherboard type and model type of the hardware to be tested includes:

[0033] Obtaining the pin levels of the general purpose input / output (GPIO) pins on the motherboard of the hardware to be tested;

[0034] According to the pin level of each of the GPIO pins and based on a preset type determination rule, the motherboard type and model type of the hardware to be tested are determined.

[0035] The above technical solution determines the motherboard type and model type of the hardware to be tested based on the pin levels of each GPIO pin on the motherboard of the hardware to be tested and based on the preset type determination rules, thereby realizing the automatic determination of the motherboard type and model type of the hardware to be tested. By adaptively modifying the configuration items in the type determination rules, such as the number of GPIO pins, the hardware to be tested with different production requirements can be met. And because the number of callable GPIO pins is sufficient, the type determination method of this optional embodiment can adapt to various types of hardware to be tested.

[0036] According to another aspect of the present invention, a hard disk backplane monitoring device is provided, the device comprising:

[0037] A hardware type determination module, used to determine the motherboard type and model type of the hardware to be tested; wherein the hardware to be tested includes at least one hard disk backplane;

[0038] A link determination module, used for determining a target system management bus SMBUS link connected to each hard disk backplane according to the mainboard type and the machine model type;

[0039] An identification information determination module, used to determine the backplane identification information of the hard disk backplane connected to each of the target SMBUS links;

[0040] The backplane monitoring module is used to monitor the corresponding hard disk backplanes in turn according to the backplane identification information.

[0041] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0042] at least one processor; and

[0043] a memory communicatively connected to the at least one processor; wherein,

[0044] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the hard disk backplane monitoring method described in any embodiment of the present invention.

[0045] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the hard disk backplane monitoring method described in any embodiment of the present invention when executed.

[0046] The embodiment of the present invention determines the target system management bus SMBUS link connected to each hard disk backplane through the motherboard type and model type, and at the same time determines the backplane identification information of the hard disk backplane connected to each target SMBUS link, and monitors the corresponding hard disk backplane in turn according to each backplane identification information, thereby realizing accurate identification and monitoring of each hard disk backplane when there are hard disk backplanes of the same backplane type on the hardware to be tested. By determining the target SMBUS link connected to each hard disk backplane on the hardware to be tested, the backplane identification information of each hard disk backplane is determined, and the accuracy of determining the unique backplane identification of each hard disk backplane is improved, thereby improving the accuracy of identifying and monitoring each hard disk backplane.

[0047] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] Figure 1 is a flow chart of a hard disk backplane monitoring method provided according to the first embodiment of the present invention;

[0050] Figure 2 is a flow chart of a hard disk backplane monitoring method provided according to Embodiment 2 of the present invention;

[0051] Figure 3 is a flow chart of a hard disk backplane monitoring method provided according to Embodiment 3 of the present invention;

[0052] Figure 4 This is a structural schematic diagram of a hard disk backplane monitoring device provided according to a fourth embodiment of the present invention;

[0053] Figure 5 It is a structural schematic diagram of an electronic device for implementing the hard disk backplane monitoring method of an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.

[0055] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0056] Embodiment 1

[0057] Figure 1 This is a flowchart of a hard disk backplane monitoring method provided in the first embodiment of the present invention. This embodiment is applicable to the case where each hard disk backplane is identified and monitored when there is at least one hard disk backplane in the hardware. The method can be executed by a hard disk backplane monitoring device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:

[0058] S110, determining the motherboard type and model type of the hardware to be tested; wherein the hardware to be tested includes at least one hard disk backplane.

[0059] The hardware to be tested may be computer hardware with at least one hard disk backplane deployed inside, for example, the hardware to be tested may be a server to be tested. Multiple types of hard disks may be adapted to the hardware to be tested, and accordingly, multiple hard disk backplanes for connecting more hard disks may also exist on the hardware to be tested. The backplane types of the hard disk backplanes on the hardware to be tested may be the same or different. The backplane type is also the backplane model.

[0060] The motherboard type corresponding to the motherboard deployed on the hardware to be tested may include at least one of a dual-CPU (Central Processing Unit) standard rack server, a 4-CPU standard rack server, and an 8-CPU standard rack server.

[0061] The model type may be the type of hardware to be tested; for example, if the hardware to be tested is a server, the corresponding model type may include a standard rack server and a storage server, etc.

[0062] Exemplarily, the motherboard type and model type of the hardware to be tested can be determined by the BMC (Baseboard Management Controller). It should be noted that, since different hardware to be tested belongs to different production lines, the motherboard type and model type of the hardware to be tested can be determined based on a set of pre-set general type determination rules and adaptively modified according to actual needs or hardware production needs.

[0063] In an optional embodiment, determining the motherboard type and model type of the hardware to be tested includes: obtaining the pin level of each general purpose input / output port GPIO pin on the motherboard of the hardware to be tested; and determining the motherboard type and model type of the hardware to be tested based on the pin level of each GPIO pin and a preset type determination rule.

[0064] Among them, the type determination rules may include motherboard type determination rules and model type determination rules, and the specific determination rules may be pre-set by relevant technical personnel according to actual needs.

[0065] Exemplarily, two groups of adjustable GPIO (General-Purpose Input / Output) pins can be reserved in advance on the motherboard of the hardware to be tested, and the two groups of adjustable GPIO pins are used to determine the motherboard type and model type of the hardware to be tested. Among them, the number of GPIO pins required to determine the motherboard type and model type can be pre-set by relevant technical personnel according to actual needs; the reserved number of GPIO pins can be used as a modifiable configuration item under the corresponding determination rule, and different numbers of GPIO pins can be reserved according to the production line requirements of different hardware to be tested.

[0066] Among them, the mainboard type determination rule can be to form a set of binary numbers according to the high and low levels of the GPIO pins; convert the binary number to a decimal number corresponding to the binary number; and determine the mainboard type of the hardware to be tested according to the decimal number. Among them, the correspondence between each decimal number and the mainboard type can be pre-set by relevant technical personnel and pre-stored. Optionally, relevant technical personnel can also pre-set the correspondence between binary numbers and mainboard types, so that there is no need to perform number conversion, and directly determine the mainboard type of the mainboard to be tested by binary numbers. This embodiment does not limit this. For example, the mainboard type corresponding to 00001 is a dual-CPU standard rack server; the mainboard type corresponding to 00011 is a 4-CPU standard rack server.

[0067] The model type determination rule is set in the same principle as the motherboard type determination rule. The model type of the motherboard to be tested is also determined based on the high and low levels of the corresponding GPIO pins, and the corresponding relationship between the binary or decimal number formed by the combination of the high and low levels and the model type is pre-set and pre-stored by relevant technicians. For example, the model type corresponding to 000 is a standard rack server; the model type corresponding to 001 is a storage server.

[0068] In a specific embodiment, according to actual needs, 5 GPIO pins are reserved for determining the motherboard type; 3 GPIO pins are reserved for determining the model type. Among them, the 5 GPIO pins used to determine the motherboard type can be GPIO1, GPIO2, GPIO3, GPIO4 and GPIO5 respectively; the 3 pins used to determine the model type can be GPIO6, GPIO7 and GPIO8 respectively. Read the pin levels of GPIO1, GPIO2, GPIO3, GPIO4 and GPIO5 in sequence. If the reading result is that GPIO1 is high and GPIO2, GPIO3, GPIO4 and GPIO5 are low, it can be determined based on the high and low levels of the GPIO pins that the combined binary number is 00001. Correspondingly, if the motherboard type corresponding to 00001 is a dual-CPU standard rack server, it can be determined that the motherboard type of the hardware to be tested is a dual-CPU standard rack server. Read the pin levels of GPIO6, GPIO7, and GPIO8 in sequence. If the reading result shows that GPIO6 is at a high level and GPIO7 and GPIO8 are at a low level, then according to the high and low levels of the GPIO pins, it can be determined that the binary number formed by the combination is 001. Correspondingly, if the model type corresponding to 001 is a storage server, it can be determined that the model type of the hardware to be tested is a storage server.

[0069] This optional embodiment determines the motherboard type and model type of the hardware to be tested based on the pin levels of each GPIO pin on the motherboard of the hardware to be tested and based on the preset type determination rules, thereby realizing the automatic determination of the motherboard type and model type of the hardware to be tested. By adaptively modifying the configuration items in the type determination rules, such as the number of GPIO pins, the hardware to be tested with different production requirements can be met. And because the number of callable GPIO pins is sufficient, the type determination method of this optional embodiment can adapt to various types of hardware to be tested.

[0070] S120: Determine a target system management bus SMBUS link connected to each hard disk backplane according to the mainboard type and the model type.

[0071] The target SMBUS (System Management BUS) link may be a physical link connected to each hard disk backplane in the hardware to be tested.

[0072] Exemplarily, the BMC can determine the hardware identification of the hardware to be tested based on the motherboard type and the model type, wherein the hardware identification is used to uniquely characterize the hardware product to be tested. For example, the hardware identification can be a virtual ID (Identity Document) used to characterize the hardware to be tested. The purpose of determining the hardware identification of the hardware to be tested is that the BMC can determine the memory space pointed to by the hardware identification through the hardware identification, thereby obtaining data associated with the hard disk backplane of the hardware to be tested from the pointed memory space. For example, the physical link positions that each hard disk backplane on the hardware to be tested is allowed to access can be obtained from the memory space. Among the SMBUS links pointed to by the obtained physical link positions that can be accessed, the target SMBUS link connected to each hard disk backplane of the hardware to be tested is determined.

[0073] S130: Determine backplane identification information of the hard disk backplane connected to each target SMBUS link.

[0074] The backplane identification information is used to uniquely identify each hard disk backplane on the hardware to be tested. For example, when the backplane types of each hard disk backplane on the hardware to be tested are different, the backplane type can be used as the backplane identification information of each hard disk backplane to uniquely identify each hard disk backplane.

[0075] It should be noted that an EEPROM chip for storing FRU data may be placed on the hard disk backplane. The FRU data may include information such as the hard disk backplane type and the part number (PN) of the hard disk backplane. Since there may be hard disk backplanes with the same backplane type or the same part number in the hardware to be tested. Therefore, in the case where there are hard disk backplanes with the same backplane type in the hardware to be tested, the hard disk backplane cannot be uniquely identified by information such as the backplane type or part number of the hard disk backplane.

[0076] In order to solve the problem that hard disk backplanes of the same backplane type cannot be uniquely identified, a storage area can be reserved in the EEPROM chip to store the hard disk backplane sequence. When identifying the hard disk backplanes under each target SMBUS link, the backplane type and backplane sequence of the hard disk backplane can be obtained, and based on the backplane type and backplane sequence, the backplane identification information of the hard disk backplane can be determined. Specifically, the backplane type and backplane sequence of the hard disk backplane can be spliced ​​to obtain the unique backplane identification of the hard disk backplane.

[0077] S140. Monitor the corresponding hard disk backplanes in sequence according to the identification information of each backplane.

[0078] Exemplarily, after the backplane identification information of each hard disk backplane is determined, each hard disk backplane under the hardware to be tested can be identified by the backplane identification information; when each hard disk backplane is identified, each identified hard disk backplane is monitored cyclically in turn.

[0079] The embodiment of the present invention determines the target system management bus SMBUS link connected to each hard disk backplane through the motherboard type and model type, and at the same time determines the backplane identification information of the hard disk backplane connected to each target SMBUS link, and monitors the corresponding hard disk backplane in turn according to each backplane identification information, thereby realizing accurate identification and monitoring of each hard disk backplane when there are hard disk backplanes of the same backplane type on the hardware to be tested. By determining the target SMBUS link connected to each hard disk backplane on the hardware to be tested, the backplane identification information of each hard disk backplane is determined, and the accuracy of determining the unique backplane identification of each hard disk backplane is improved, thereby improving the accuracy of identifying and monitoring each hard disk backplane.

[0080] Embodiment 2

[0081] Figure 2 This is a flow chart of a hard disk backplane monitoring method provided in the second embodiment of the present invention. This embodiment is optimized and improved on the basis of the above technical solutions.

[0082] Furthermore, the step of "determining the target system management bus SMBUS link connected to each hard disk backplane according to the motherboard type and model type" is refined into "determining the hardware identification of the hardware to be tested according to the motherboard type and model type; determining at least one candidate SMBUS link accessible to each hard disk backplane according to the hardware identification; determining the target SMBUS link according to the scanning results of each candidate SMBUS link." to improve the method of determining the target SMBUS link.

[0083] Furthermore, the step of "determining the backplane identification information of the hard disk backplane connected to each target SMBUS link" is refined into "determining the CPLD register under the CPLD (Complex Programmable Logic Device) address corresponding to each target SMBUS link; obtaining the backplane model of the hard disk backplane connected to the corresponding target SMBUS link from each CPLD register; splicing the backplane model and backplane serial number of each hard disk backplane to obtain the backplane identification information of each hard disk backplane; wherein the backplane serial number of the hard disk backplane has a corresponding relationship with the link serial number of the corresponding target SMBUS link." to improve the method of determining the backplane identification information.

[0084] Further, the step of "monitoring the corresponding hard disk backplanes in turn according to the identification information of each backplane" is refined into "determining the detailed backplane configuration information of each hard disk backplane according to the identification information of each backplane; monitoring the corresponding hard disk backplanes in turn according to the detailed backplane configuration information of each hard disk backplane." to improve the monitoring method of each hard disk backplane.

[0085] like Figure 2 As shown, the method comprises the following specific steps:

[0086] S210, determining a motherboard type and a model type of the hardware to be tested; wherein the hardware to be tested includes at least one hard disk backplane.

[0087] S220: Determine the hardware identification of the hardware to be tested according to the mainboard type and the model type.

[0088] The hardware identification of the hardware to be tested may be an identification that can represent the uniqueness of the hardware to be tested, for example, a virtual ID of the hardware to be tested generated based on the motherboard type and the model type.

[0089] Exemplarily, a storage area for storing the correspondence between motherboard types and model types can be reserved in the BMC. The combination of different motherboard types and different model types of the hardware to be tested can form a variety of hardware configuration types, and different hardware configuration types can correspond to unique hardware identifiers. In the BMC, different hardware configuration types formed by the combination of motherboard type and model type can be pre-stored in a type configuration table. When the BMC obtains the motherboard type and model type of the hardware to be tested, the hardware configuration type of the hardware to be tested is determined by traversing the type configuration table, thereby determining the hardware identifier used to uniquely characterize the hardware to be tested.

[0090] Optionally, an initial configuration type may be pre-set in the BMC, and when the BMC cannot match a corresponding hardware configuration type according to the motherboard type and the model type, the set initial configuration type is used as the hardware configuration type of the hardware to be tested.

[0091] S230: Determine, according to the hardware identifier, at least one candidate SMBUS link accessible to each hard disk backplane.

[0092] Exemplarily, the memory space pointed to by the hardware identifier can be accessed through the hardware identifier, so that the physical link position to which each hard disk backplane is allowed to access in the hardware under test can be obtained from the memory space, that is, at least one candidate SMBUS link to which each hard disk backplane can be connected can be determined.

[0093] S240: Determine a target SMBUS link according to the scanning results of each candidate SMBUS link.

[0094] Among them, each candidate SMBUS link has a corresponding link serial number, and each candidate SMBUS link can be scanned in sequence based on the candidate SMBUS link serial number, and the scanned SMBUS link to the hard disk backplane is determined as the target SMBUS link.

[0095] It should be noted that when there are hard disk backplanes with the same backplane type on the hardware to be tested, each hard disk backplane cannot be uniquely identified. The method of obtaining the backplane sequence of the hard disk backplane from the EEPROM chip increases the chip cost and hardware design cost. In order to solve the problem of hard disk backplane identification, the hard disk backplane can be uniquely identified by interacting with the hard disk backplane CPLD.

[0096] In an optional embodiment, the target SMBUS link is determined based on the scanning results of each candidate SMBUS link, including: scanning each candidate SMBUS link in turn according to the link sequence number of each candidate SMBUS link to determine whether there is a corresponding complex digital integrated circuit CPLD address; and determining each candidate SMBUS link with a corresponding CPLD address as a target SMBUS link.

[0097] According to the link sequence number of each candidate SMBUS link, based on the link sequence from small to large, the link scan of each candidate SMBUS link can be performed in sequence. It should be noted that if the candidate SMBUS link is connected to a corresponding hard disk backplane, the CPLD address on the hard disk backplane can be scanned; if the candidate SMBUS link is not connected to a corresponding hard disk backplane, the CPLD address on the hard disk backplane cannot be scanned.

[0098] Exemplarily, the BMC performs link scans on each candidate SMBUS link in sequence based on the link order from small to large. If the CPLD address can be scanned, it means that the candidate SMBUS link is connected to the hard disk backplane, and the candidate SMBUS link is determined as the target SMBUS link; if the CPLD address cannot be scanned, it means that the candidate SMBUS link is not connected to the hard disk backplane.

[0099] This optional embodiment performs link scanning on each candidate SMBUS link to determine whether there is a corresponding CPLD address, and determines each candidate SMBUS link with a corresponding CPLD address as a target SMBUS link, thereby achieving accurate determination of the target SMBUS link, facilitating subsequent direct access to the CPLD register based on the CPLD address, thereby eliminating the need to access the EEPROM during the process of identifying the hard disk backplane, thereby reducing space occupancy and chip usage costs, and improving the convenience of backplane identification.

[0100] S250 , determining the CPLD register under the CPLD address corresponding to each target SMBUS link.

[0101] Exemplarily, the CPLD register under the CPLD address can be accessed by determining the CPLD address corresponding to each target SMBUS link. The CPLD register stores the backplane model of the hard disk backplane. Moreover, the backplane type of the hard disk backplane stored in the CPLD register exists in the form of a group of hexadecimal data.

[0102] S260. Obtain, from each CPLD register, a backplane model of the hard disk backplane connected to the corresponding target SMBUS link.

[0103] Exemplarily, the corresponding CPLD register can be accessed through each target SMBUS link, and the backplane model of the corresponding hard disk backplane can be obtained from the CPLD register; wherein the backplane model is a set of hexadecimal data. The hexadecimal data corresponding to the backplane model is converted into ASCII code (American Standard Code for Information Interchange) to obtain a converted string for representing the backplane model. Different backplane models correspond to different strings.

[0104] S270: Join the backplane model and the backplane serial number of each hard disk backplane to obtain the backplane identification information of each hard disk backplane.

[0105] To avoid the existence of hard disk backplanes with the same backplane model on the hardware to be tested, the backplane models and backplane serial numbers of the hard disk backplanes can be spliced ​​together to obtain backplane identification information that can be used to uniquely characterize the hard disk backplane.

[0106] There is a corresponding relationship between the backplane serial number of the hard disk backplane and the link serial number of the corresponding target SMBUS link, that is, the link serial number corresponding to the target SMBUS link can be used as the backplane serial number of the corresponding hard disk backplane.

[0107] S280: Determine detailed backplane configuration information of each hard disk backplane according to the backplane identification information.

[0108] The detailed backplane configuration information may include at least one of the number of hard disks supported by the backplane, the backplane CPLD refresh address, the interface type supported by the backplane, and the backplane mux (multiplexer) information.

[0109] Exemplarily, the backplane identification information may be used to obtain the backplane detailed configuration information of the hard disk backplane corresponding to the backplane identification information from the corresponding configuration file.

[0110] In an optional embodiment, the backplane detailed configuration information of each hard disk backplane is determined based on the backplane identification information, including: displaying the backplane identification information of each hard disk backplane through the data bus Dbus communication mechanism; obtaining each backplane identification information through the field replaceable unit FRU instantiation service, and based on the obtained backplane identification information, obtaining the backplane detailed configuration information related to the corresponding hard disk backplane based on the backplane configuration file stored in its own service.

[0111] Exemplarily, the backplane identification information of each hard disk backplane can be used to generate FRU information of the hard disk backplane based on the FRU data format, and the FRU information can be displayed through the Dbus communication mechanism.

[0112] Instantiated services that perform different functions may exist in the BMC, for example, a FRU instantiation service may be included to store detailed backplane configuration information of a hard disk backplane; a monitoring instantiation service may also be included to perform cyclic monitoring of each hard disk backplane, and the like.

[0113] Exemplarily, when the FRU information of the hard disk backplane is displayed on Dbus, all related instantiation services are notified according to the communication mechanism of Dbus. When the FRU instantiation service obtains the FRU information of each hard disk backplane, the backplane configuration file is traversed according to the backplane configuration file preset in its own service, so as to determine the backplane detailed information corresponding to the hard disk backplane. Among them, the backplane configuration file can be a JSON (JavaScript Object Notation, JS object notation) configuration file. Among them, the string or ASCII code of each backplane model is stored in the JSON configuration file. By parsing the obtained FRU information to obtain the backplane model of the hard disk backplane, the backplane detailed information corresponding to the backplane model is obtained from the JSON configuration file, so as to obtain the backplane detailed configuration information related to the corresponding hard disk backplane.

[0114] This optional embodiment obtains the backplane identification information of each hard disk backplane from Dbus through the FRU instantiated service unit, and matches the backplane configuration file within its own service according to the backplane identification information, thereby achieving the acquisition of the backplane detailed configuration information related to each hard disk backplane, facilitating the subsequent monitoring of various aspects of the hard disk backplane based on the acquired backplane detailed configuration information, and improving the comprehensiveness of the hard disk backplane monitoring.

[0115] S290. Monitor the corresponding hard disk backplanes in turn according to the detailed backplane configuration information of each hard disk backplane.

[0116] Exemplarily, after determining the detailed backplane configuration information of each hard disk backplane, the detailed backplane configuration information, as well as the backplane model and backplane serial number in the FRU information, are retrieved and displayed based on Dbus. At this point, it indicates that the backplane identification of each hard disk backplane in the hardware to be tested has been completed. The monitoring instance service obtains the detailed backplane configuration information, as well as the backplane model and backplane serial number in the FRU information, and starts cyclic monitoring of each hard disk backplane after successful acquisition. For example, each hard disk backplane can be monitored in turn based on a preset cycle time period.

[0117] This embodiment scheme determines the hardware identification of the hardware to be tested according to the motherboard type and the model type, and determines at least one candidate SMBUS link that can be accessed by each hard disk backplane according to the hardware identification, thereby realizing the determination of the SMBUS link that can be allowed to access the hard disk backplane in the hardware to be tested, and determines the target SMBUS link according to the scanning results of each candidate SMBUS link, thereby realizing the accurate determination of the SMBUS link connected to each hard disk backplane in the hardware to be tested. By obtaining the backplane model of the hard disk backplane from the CPLD register under the CPLD address corresponding to the target SMBUS link, the backplane identification information of the hard disk backplane is determined. In this process, the CPLD register is used to replace the EEPROM chip of the FRU, saving chip costs, reducing the use of hardware buses, and saving labor costs and hardware design costs. By displaying the backplane identification information through the Dbus communication mechanism, and the FRU instantiated service based on the acquired backplane identification information, the backplane detailed configuration information corresponding to the hard disk backplane is determined, without the need to separately open up a memory space for pre-storing the detailed configuration information of the backplane, while reducing the memory space occupation, the convenience of determining the detailed configuration information of the backplane is improved.

[0118] Embodiment 3

[0119] Figure 3 This is a flow chart of a hard disk backplane monitoring method provided in Embodiment 3 of the present invention. This embodiment provides a preferred example based on the above embodiments.

[0120] like Figure 3 As shown, the method comprises the following specific steps:

[0121] S310, reading a first GPIO pin level related to determining a motherboard type, and reading a second GPIO pin level related to determining a model type.

[0122] It should be noted that the first GPIO pin related to the motherboard type and the second GPIO pin related to the model type can be preset by relevant technicians according to actual needs, and the correlation between the GPIO pin level and the motherboard type and the model type can be preset.

[0123] S320: Determine the motherboard type of the hardware to be tested according to the first GPIO pin level, and determine the model type of the hardware to be tested according to the second GPIO pin level.

[0124] S330: According to the motherboard type and model type of the hardware to be tested, traverse the type configuration table to determine the hardware identification of the hardware to be tested.

[0125] It should be noted that different hardware configuration types formed by combinations of motherboard types and machine types are pre-stored in the type configuration table, and different hardware to be tested have different hardware configuration types, so that the unique hardware identifier of the hardware to be tested can be determined based on different hardware configuration types.

[0126] S340: According to the hardware identification of the hardware to be tested, access the memory space pointed to by the hardware identification to determine at least one candidate SMBUS link accessible to each hard disk backplane on the hardware to be tested.

[0127] S350 , according to the link sequence number of each candidate SMBUS link, perform link scanning on each candidate SMBUS link in turn to determine whether a corresponding CPLD address can be obtained by scanning.

[0128] S360: Determine each candidate SMBUS link that can scan and obtain a corresponding CPLD address as a target SMBUS link connected to a hard disk backplane.

[0129] S370, determine the CPLD register under the CPLD address corresponding to each target SMBUS link.

[0130] S380. Obtain the backplane model of the hard disk backplane connected to the corresponding target SMBUS link from each CPLD register.

[0131] S390, connect the backplane model and the backplane serial number of each hard disk backplane to obtain the backplane identification information of each hard disk backplane.

[0132] There is a corresponding relationship between the backplane serial number of the hard disk backplane and the link serial number of the corresponding target SMBUS link, that is, the backplane serial number of the hard disk backplane is the same as the link serial number of the corresponding target SMBUS link.

[0133] S3100: Display the backplane identification information of each hard disk backplane through the Dbus communication mechanism, so that each instantiated service can obtain the backplane identification information of each hard disk backplane.

[0134] S3120. After the FRU instantiation service obtains the backplane identification information of each hard disk backplane, it obtains the backplane detailed configuration information related to the corresponding hard disk backplane based on the backplane identification information and the backplane configuration JSON file stored in its own service, and displays the backplane detailed information through the Dbus communication mechanism.

[0135] S3130. After the monitoring instantiation service obtains the backplane identification information and the backplane detailed configuration information of each hard disk backplane, the backplanes of each hard disk are cyclically monitored in turn based on the backplane identification information and the backplane detailed configuration information.

[0136] Embodiment 4

[0137] Figure 4 The present invention provides a structural diagram of a hard disk backplane monitoring device provided in the fourth embodiment of the present invention. The hard disk backplane monitoring device provided in the embodiment of the present invention can be used to identify and monitor each hard disk backplane when there is at least one hard disk backplane in the hardware. The hard disk backplane monitoring device can be implemented in the form of hardware and / or software, such as Figure 4 As shown, the device specifically includes: a hardware type determination module 401, a link determination module 402, an identification information determination module 403 and a backplane monitoring module 404. Among them,

[0138] The hardware type determination module 401 is used to determine the motherboard type and model type of the hardware to be tested; wherein the hardware to be tested includes at least one hard disk backplane;

[0139] A link determination module 402, configured to determine a target system management bus SMBUS link connected to each of the hard disk backplanes according to the motherboard type and the machine type;

[0140] The identification information determining module 403 is used to determine the backplane identification information of the hard disk backplane connected to each of the target SMBUS links;

[0141] The backplane monitoring module 404 is used to monitor the corresponding hard disk backplanes in sequence according to the backplane identification information.

[0142] The embodiment of the present invention determines the target system management bus SMBUS link connected to each hard disk backplane through the motherboard type and model type, and at the same time determines the backplane identification information of the hard disk backplane connected to each target SMBUS link, and monitors the corresponding hard disk backplane in turn according to each backplane identification information, thereby realizing accurate identification and monitoring of each hard disk backplane when there are hard disk backplanes of the same backplane type on the hardware to be tested. By determining the target SMBUS link connected to each hard disk backplane on the hardware to be tested, the backplane identification information of each hard disk backplane is determined, and the accuracy of determining the unique backplane identification of each hard disk backplane is improved, thereby improving the accuracy of identifying and monitoring each hard disk backplane.

[0143] Optionally, the link determination module 402 includes:

[0144] A hardware identification determination unit, used to determine the hardware identification of the hardware to be tested according to the motherboard type and the machine model type;

[0145] A candidate SMBUS link determination unit, configured to determine, according to the hardware identifier, at least one candidate SMBUS link accessible to each of the hard disk backplanes;

[0146] The target SMBUS link determining unit is used to determine the target SMBUS link according to the scanning result of each candidate SMBUS link.

[0147] Optionally, the target SMBUS link determination unit includes:

[0148] The CPLD address determination subunit is used to perform link scanning on each of the candidate SMBUS links in turn according to the link sequence number of each of the candidate SMBUS links to determine whether there is a corresponding complex digital integrated circuit CPLD address;

[0149] The target SMBUS link determination subunit is used to determine each candidate SMBUS link having a corresponding CPLD address as a target SMBUS link.

[0150] Optionally, the identification information determining module 403 includes:

[0151] A CPLD register determination unit, used to determine the CPLD register under the CPLD address corresponding to each of the target SMBUS links;

[0152] A backplane model acquisition unit, used to acquire the backplane model of the hard disk backplane connected to the corresponding target SMBUS link from each of the CPLD registers;

[0153] The identification information determination unit is used to splice the backplane model and backplane serial number of each hard disk backplane to obtain the backplane identification information of each hard disk backplane; wherein the backplane serial number of the hard disk backplane has a corresponding relationship with the link serial number of the corresponding target SMBUS link.

[0154] Optionally, the backplane monitoring module 404 includes:

[0155] A detailed configuration information determining unit, used to determine the backplane detailed configuration information of each hard disk backplane according to each backplane identification information;

[0156] The backplane monitoring unit is used to monitor the corresponding hard disk backplanes in turn according to the detailed backplane configuration information of each hard disk backplane.

[0157] Optionally, the detailed configuration information determining unit includes:

[0158] The information display subunit is used to display the backplane identification information of each hard disk backplane through the data bus Dbus communication mechanism;

[0159] The detailed configuration information determining subunit is used to obtain the backplane identification information of each backplane through the field replaceable unit FRU instantiation service, and based on the obtained backplane identification information, obtain the backplane detailed configuration information related to the corresponding hard disk backplane based on the backplane configuration file stored in its own service.

[0160] Optionally, the hardware type determination module 401 includes:

[0161] A pin level acquisition unit, used to acquire the pin level of each general purpose input / output port GPIO pin on the main board of the hardware to be tested;

[0162] The type determination unit is used to determine the motherboard type and model type of the hardware to be tested according to the pin level of each GPIO pin based on a preset type determination rule.

[0163] The hard disk backplane monitoring device provided in the embodiment of the present invention can execute the hard disk backplane monitoring method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0164] Embodiment 5

[0165] Figure 5 A schematic diagram of an electronic device 50 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0166] like Figure 5 As shown, the electronic device 50 includes at least one processor 51, and a memory connected to the at least one processor 51 in communication, such as a read-only memory (ROM) 52, a random access memory (RAM) 53, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 51 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 52 or the computer program loaded from the storage unit 58 to the random access memory (RAM) 53. In the RAM 53, various programs and data required for the operation of the electronic device 50 can also be stored. The processor 51, the ROM 52, and the RAM 53 are connected to each other via a bus 54. An input / output (I / O) interface 55 is also connected to the bus 54.

[0167] A number of components in the electronic device 50 are connected to the I / O interface 55, including: an input unit 56, such as a keyboard, a mouse, etc.; an output unit 57, such as various types of displays, speakers, etc.; a storage unit 58, such as a disk, an optical disk, etc.; and a communication unit 59, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 59 allows the electronic device 50 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0168] The processor 51 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 51 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 51 executes the various methods and processes described above, such as a hard disk backplane monitoring method.

[0169] In some embodiments, the hard disk backplane monitoring method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 58. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 50 via the ROM 52 and / or the communication unit 59. When the computer program is loaded into the RAM 53 and executed by the processor 51, one or more steps of the hard disk backplane monitoring method described above may be performed. Alternatively, in other embodiments, the processor 51 may be configured to execute the hard disk backplane monitoring method in any other appropriate manner (e.g., by means of firmware).

[0170] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0171] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0172] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0173] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0174] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0175] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0176] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0177] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A hard disk backplane monitoring method, It is characterized in that include: Determine the motherboard type and model type of the hardware to be tested; wherein the hardware to be tested includes at least one hard disk backplane; Determine a target SMBUS link connected to each hard disk backplane according to the mainboard type and the machine model type; Determine the backplane identification information of the hard disk backplane connected to each of the target SMBUS links; According to each backplane identification information, the corresponding hard disk backplane is monitored in turn; Wherein, determining the target SMBUS link connected to each hard disk backplane according to the mainboard type and the model type includes: Determine the hardware identification of the hardware to be tested according to the motherboard type and the machine model type; Determine, according to the hardware identifier, at least one candidate SMBUS link accessible to each hard disk backplane; Determine a target SMBUS link according to the scanning results of each of the candidate SMBUS links; Determining the target SMBUS link according to the scanning results of each of the candidate SMBUS links includes: According to the link sequence number of each candidate SMBUS link, link scanning is performed on each candidate SMBUS link in turn to determine whether there is a corresponding complex digital integrated circuit CPLD address; Each candidate SMBUS link having a corresponding CPLD address is determined as a target SMBUS link.

2. The method according to claim 1, It is characterized in that The step of determining the backplane identification information of the hard disk backplane connected to each of the target SMBUS links includes: Determine the CPLD register under the CPLD address corresponding to each of the target SMBUS links; Obtaining the backplane model of the hard disk backplane connected to the corresponding target SMBUS link from each of the CPLD registers; The backplane model and backplane serial number of each hard disk backplane are spliced ​​to obtain the backplane identification information of each hard disk backplane; wherein the backplane serial number of the hard disk backplane corresponds to the link serial number of the corresponding target SMBUS link.

3. The method according to claim 2, It is characterized in that The step of monitoring the corresponding hard disk backplanes in sequence according to the backplane identification information includes: Determine the backplane detailed configuration information of each hard disk backplane according to the backplane identification information; According to the detailed backplane configuration information of each hard disk backplane, the corresponding hard disk backplane is monitored in turn.

4. The method according to claim 3, It is characterized in that Determining the detailed backplane configuration information of each hard disk backplane according to each backplane identification information includes: The backplane identification information of each hard disk backplane is displayed through the data bus Dbus communication mechanism; The backplane identification information of each is obtained through the field replaceable unit FRU instantiation service, and based on the obtained backplane identification information of each, based on the backplane configuration file stored in its own service, the backplane detailed configuration information related to the corresponding hard disk backplane is obtained.

5. The method according to any one of claims 1 to 4, It is characterized in that Determining the motherboard type and model type of the hardware to be tested includes: Obtaining the pin levels of the general purpose input / output (GPIO) pins on the motherboard of the hardware to be tested; According to the pin level of each of the GPIO pins and based on a preset type determination rule, the motherboard type and model type of the hardware to be tested are determined.

6. A hard disk backplane monitoring device, It is characterized in that include: A hardware type determination module, used to determine the motherboard type and model type of the hardware to be tested; wherein the hardware to be tested includes at least one hard disk backplane; A link determination module, used for determining a target SMBUS link connected to each hard disk backplane according to the mainboard type and the machine model type; An identification information determination module, used to determine the backplane identification information of the hard disk backplane connected to each of the target SMBUS links; A backplane monitoring module, used to monitor the corresponding hard disk backplanes in turn according to the backplane identification information; Wherein, the link determination module includes: A hardware identification determination unit, used to determine the hardware identification of the hardware to be tested according to the motherboard type and the machine model type; A candidate SMBUS link determination unit, configured to determine, according to the hardware identifier, at least one candidate SMBUS link accessible to each of the hard disk backplanes; A target SMBUS link determining unit, configured to determine a target SMBUS link according to a scanning result of each of the candidate SMBUS links; The target SMBUS link determination unit includes: The CPLD address determination subunit is used to perform link scanning on each of the candidate SMBUS links in turn according to the link sequence number of each of the candidate SMBUS links to determine whether there is a corresponding complex digital integrated circuit CPLD address; The target SMBUS link determination subunit is used to determine each candidate SMBUS link having a corresponding CPLD address as a target SMBUS link.

7. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the hard disk backplane monitoring method described in any one of claims 1-5.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the hard disk backplane monitoring method according to any one of claims 1 to 5 when executed.