Equipment system and hard disk state monitoring method and equipment thereof, program product and medium

By introducing a central processor and substrate management controller into the hard disk system, combined with the indicator light multi-modal state table, multi-modal color display of the hard disk health status is achieved, which solves the problem of inefficient judgment of existing hard disk failures and improves the Responsiveness and hard disk failure prevention capabilities in data center operation and maintenance.

CN119311524APending Publication Date: 2025-01-14INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202411839804.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing hard disk failure determination methods are inefficient and cannot display the rich SMART health status information of the hard disk through the hard disk status light, which makes it difficult for data center operation and maintenance personnel to identify equipment abnormalities in time, increasing the probability of server downtime.

Method used

Design a device system to establish a communication transmission link with the hard disk through the central processor and the substrate management controller, use the preset indicator light multi-modal status table to match the health status information of the hard disk, and control the indicator light device to display the color so that Identify the health status of the hard drive.

Benefits of technology

Multimodal color display for different hard disk failure status is realized, which facilitates operation and maintenance personnel to identify equipment abnormalities, handle faults in advance, and reduces the probability of server downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311524A_ABST
    Figure CN119311524A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment system, a hard disk state monitoring method and equipment thereof, a program product and a medium, and relates to the technical field of computers. Comprising an equipment mainboard and a hard disk backboard, the mainboard is provided with a central processing unit and a substrate management controller, and the backboard is provided with an indicating lamp device and hard disks with different interface standards; wherein the equipment system adopts any one hard disk connection structure in a plurality of preset hard disk connection structures, and communication transmission links are respectively established between the central processing unit and the hard disk and between the substrate management controller and the hard disk; and the substrate management controller is connected with the indicating lamp device and is used for acquiring the health state information of the hard disk through the communication transmission link and performing color display control on the indicating lamp device based on display state information matched from a preset indicating lamp multi-mode state table so as to judge the health state of the hard disk through the display color of the indicating lamp device. According to the technical scheme, each health state of the hard disk has corresponding color display, and fault judgment is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a device system and a hard disk status monitoring method, device, program product and medium thereof. Background Art

[0002] Computer hard disks are the most important storage devices of computers. Hard disk failures can lead to the loss of a large amount of important data. Therefore, the stability of the hard disk is the basis for ensuring the stable operation of devices that process and store data and upper-level applications. Currently, hard disk failures are usually determined by consulting and analyzing the hard disk's SMART (Self-Monitoring, Analysis and Reporting Technology) information, which is cumbersome and inefficient. In addition, when an existing hard disk device fails, the hard disk status light only has three states: blue for positioning, red for failure, and yellow for rebuild (reset). It is not possible to display the rich SMART health status information of the hard disk through the three-color light.

[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a device system and hard disk status monitoring method, device, program product and medium thereof, which can visualize the health status of the hard disk, and each hard disk health status has a corresponding color display, which is convenient for data center on-site operation and maintenance personnel to identify equipment abnormalities. The specific scheme is as follows:

[0005] In a first aspect, the present application discloses a device system, including a device mainboard and a hard disk backplane, wherein the device mainboard is provided with a central processing unit and a baseboard management controller, and the hard disk backplane is provided with an indicator light device and hard disks of different interface standards; wherein:

[0006] The device system adopts any one of several preset hard disk connection structures to establish communication transmission links between the central processor and the baseboard management controller and the hard disk respectively;

[0007] The baseboard management controller is connected to the indicator light device, and is used to obtain the health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures, and based on the display status information of the indicator light device corresponding to the health status information matched from the preset indicator light multimodal status table, control the color display of the indicator light device to determine the health status of the hard disk by the display color of the indicator light device; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information.

[0008] Optionally, a light emitting diode chip adopting a single-line return-to-zero code communication mechanism is arranged in the indicator light device, and the brightness of each color on the three primary color channels of the light emitting diode chip corresponds to a different level to achieve true color display.

[0009] Optionally, the baseboard management controller is used to send display status information to the indicator light device through the first general input and output port using the single-line return-to-zero code communication mechanism based on the display status information of the indicator light device corresponding to the health status information matched from the preset indicator light multimodal status table, so as to control the color display of the indicator light device.

[0010] Optionally, the second general input / output port of the baseboard management controller is connected to the third general input / output port of the device mainboard via the target connection terminal.

[0011] Optionally, the baseboard management controller is further used to adjust the target code to change the display status information corresponding to different health status information and / or the health status information corresponding to different display status information;

[0012] Wherein, the target code is a code used to configure the preset indicator light multi-modal state table.

[0013] Optionally, the device system adopts a first hard disk connection structure, and the central processing unit and the baseboard management controller respectively establish a first communication transmission link with the hard disk through a south bridge chip;

[0014] The central processing unit is connected to the south bridge chip based on a direct media interface, and the baseboard management controller is connected to the south bridge chip based on a reduced pin bus; and the hard disk is a hard disk with a hard disk interface standard based on serial transmission technology.

[0015] Optionally, the central processing unit is used to poll each of the hard disks on the hard disk backplane based on the first communication transmission link through a system in-band program and using a hard disk monitoring tool to obtain health status information of each hard disk, and transmit the health status information to the baseboard management controller through the system in-band program.

[0016] Optionally, the baseboard management controller is used to obtain the health status information transmitted by the central processing unit based on the intelligent platform management interface based on the first communication transmission link.

[0017] Optionally, the device system adopts a second hard disk connection structure, and the central processing unit and the baseboard management controller respectively establish a second communication transmission link with the hard disk through a target hardware device; the target hardware device is a hardware device that supports management using a monitoring management tool, including an independent redundant disk array card and / or a serial connection SCSI interface card;

[0018] The central processing unit is connected to the target hardware device via an interface based on a high-speed serial computer expansion bus standard, and the baseboard management controller is connected to the target hardware device via an integrated circuit bus interface; and the hard disk is a hard disk with a different interface standard.

[0019] Optionally, the baseboard management controller is used to access each of the hard disks connected to the target hardware device through the second communication transmission link in the second hard disk connection structure using the internally integrated monitoring management tool to obtain health status information of each of the hard disks.

[0020] Optionally, the device system adopts a third hard disk connection structure to directly connect the central processing unit and the baseboard management controller to the hard disk to establish a third communication transmission link;

[0021] Among them, the central processing unit is connected to the hard disk through an interface based on the high-speed serial computer expansion bus standard, and the baseboard management controller is connected to the hard disk through a hard disk management interface based on the non-volatile memory host controller interface specification; the hard disk is a hard disk that can be directly monitored and managed by the baseboard management controller.

[0022] In a second aspect, the present application discloses a hard disk status monitoring method for an equipment system, wherein the equipment system comprises an equipment mainboard and a hard disk backplane, wherein the equipment mainboard is provided with a central processing unit and a baseboard management controller, and the hard disk backplane is provided with an indicator light device and hard disks of different interface standards; the equipment system adopts any one of a plurality of preset hard disk connection structures to establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk respectively; wherein the method comprises:

[0023] Obtaining health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures;

[0024] Matching the display status information of the indicator light device corresponding to the health status information from a preset indicator light multimodal status table; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information;

[0025] The indicator light device is controlled to display a color based on the display status information, so as to determine the health status of the hard disk by the display color of the indicator light device.

[0026] In a second aspect, the present application discloses an electronic device, comprising:

[0027] Memory for storing computer programs;

[0028] The processor is used to load and execute the computer program to implement the hard disk status monitoring method of the aforementioned device system.

[0029] In a third aspect, the present application discloses a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the aforementioned hard disk status monitoring method for a device system.

[0030] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; when the computer program is executed by a processor, the hard disk status monitoring method of the aforementioned device system is implemented.

[0031] The present application provides a device system, including a device mainboard and a hard disk backplane, wherein the device mainboard is provided with a central processing unit and a baseboard management controller, and the hard disk backplane is provided with an indicator light device and hard disks of different interface standards; wherein the device system adopts any one of a plurality of preset hard disk connection structures to establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk respectively; the baseboard management controller is connected to the indicator light device, and is used to obtain health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures, and based on the display status information of the indicator light device corresponding to the health status information matched from a preset indicator light multimodal status table, the color display of the indicator light device is controlled, so as to determine the health status of the hard disk by the display color of the indicator light device; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information.

[0032] The beneficial technical effects of the present application are: the equipment system can adopt different hard disk connection structures, establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk, and realize the health status monitoring of hard disks with different interface standards commonly used in servers on the market. The baseboard management controller uses a preset indicator light multimodal status table to manage the hard disk, and controls the corresponding indicator light device to display the health status of the hard disk. Different lights can be used for color display for different hard disk failures, so that each abnormal hard disk status information has a corresponding color display. In this way, it is convenient for on-site operation and maintenance personnel in the data center to identify equipment abnormalities, and replace abnormal equipment in advance before the hard disk fails completely, reducing the probability of server downtime in the data center.

[0033] In addition, the present application provides a hard disk status monitoring method, device, program product and medium for a device system, which correspond to the above-mentioned device system and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0035] Figure 1 A schematic diagram of the structure of a device system disclosed in this application;

[0036] Figure 2 A circuit diagram of a hard disk connected to an LED chip disclosed in this application;

[0037] Figure 3 A schematic diagram of a data transmission process of an LED chip disclosed in this application;

[0038] Figure 4 A schematic diagram of a first hard disk connection structure disclosed in this application;

[0039] Figure 5 A schematic diagram of a system operation flow of a first hard disk connection structure disclosed in this application;

[0040] Figure 6 A schematic diagram of a second hard disk connection structure disclosed in this application;

[0041] Figure 7 A schematic diagram of a system operation flow of a second hard disk connection structure disclosed in this application;

[0042] Figure 8 A schematic diagram of a third hard disk connection structure disclosed in this application;

[0043] Fig. 9 A schematic diagram of a system operation flow of a third hard disk connection structure disclosed in the present application;

[0044] Fig.10 A flow chart of a hard disk status monitoring method for a device system disclosed in this application;

[0045] Fig.11 A schematic diagram of the structure of a hard disk status monitoring device for a device system disclosed in this application;

[0046] Fig.12 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] For ease of understanding, the following is a brief description of the relevant knowledge involved in this article.

[0049] As one of the core components of computer storage, hard disks are classified in various ways. Understanding these classifications can help you better manage and use storage devices. The classification of hard disks is as follows:

[0050] 1. Classification by interface type:

[0051] Mechanical hard disk, also known as traditional hard disk drive (HDD), is a type of hard disk based on the principle of magnetic storage. HDD is usually connected using SATA (Serial ATA) interface, which is a computer bus interface used to connect the motherboard and storage devices. HDD is characterized by large capacity and low price, but relatively slow speed, which is suitable for large-capacity data storage needs.

[0052] Solid State Drives (SSD) is a storage device based on flash memory technology, which can store data much faster than HDD. SSD can be further classified according to different interfaces and protocols:

[0053] SATA SSD uses SATA interface, and its transmission speed is relatively slow, but still much faster than traditional HDD. SATA SSD is usually used as an upgrade option for old systems.

[0054] NVME (Non-Volatile Memory Express) SSD is one of the fastest types of solid-state drives currently available. It uses the PCIE (Peripheral Component Interconnect Express) interface to communicate directly with the CPU (Central Processing Unit), with a transmission speed of up to 32Gbps, greatly improving data read and write performance, making it very suitable for application scenarios with high speed requirements.

[0055] 2. Classification by storage media:

[0056] Mechanical hard disks use mechanical rotating disks and magnetic heads to read and write data, so the speed is limited by mechanical movement. Despite this, HDDs still have an incomparable price advantage in large-capacity data storage.

[0057] Solid-state drives do not contain any mechanical parts and rely entirely on semiconductor memory chips for data storage, so they have extremely fast read and write speeds and excellent shock resistance. Depending on the flash memory chip, SSDs can be further divided into SLC (Single-Level Cell), MLC (Multi-Level Cell), TLC (Triple-Level Cell) and QLC (Quad-Level Cell). Generally, SLC has the longest lifespan but the highest cost; QLC has the highest storage density but a relatively short lifespan.

[0058] Currently, there are SATA and SAS (Serial Attached SCSI) hard disk management based on RAID (Redundant Arrays of Independent Disks) cards. Generally, the RAID card driver manages the hard disk positioning light, hard disk device failure management, and the lighting of the failure indicator light. The indicator lights of the hard disks (NVME of the PCIE interface directly connected to the CPU) managed by the current RAID card generally have three states: blue positioning light, red failure, and yellow rebuild (reset) status. It is not easy to find when monitoring the display status of the indicator light. Usually, Shell scripts are used to light up the indicator lights of NVME hard disks and check the indicator light status, and the text is colored to make it clear to users. However, this method is only an improvement in the display of the indicator lights. There is no indicator light that can display the real-time health status of the hard disk. It only displays red after the hard disk fails completely, which is not conducive to preventive replacement and maintenance on site in the data center.

[0059] To this end, the present application provides a hard disk status monitoring solution for a device system, which can visualize the health status of the hard disk. Each hard disk health status has a corresponding color display, which facilitates the on-site operation and maintenance personnel of the data center to identify equipment abnormalities.

[0060] The embodiment of the present invention discloses a device system 01, see Figure 1 As shown, the device system 01 includes: a device mainboard 011 and a hard disk backplane 012, the device mainboard 011 is provided with a central processing unit 0111 and a baseboard management controller 0112, and the hard disk backplane 012 is provided with an indicator light device 0121 and hard disks 0122 with different interface standards; wherein,

[0061] The device system 01 adopts any one of several preset hard disk connection structures to establish communication transmission links between the central processor 0111 and the baseboard management controller 0112 and the hard disk 0122 respectively;

[0062] The baseboard management controller 0112 is connected to the indicator light device 0121, and is used to obtain the health status information of the hard disk 0122 through the communication transmission link in any one of the hard disk connection structures, and based on the display status information of the indicator light device 0121 corresponding to the health status information matched from the preset indicator light multimodal status table, perform color display control on the indicator light device 0121, so as to determine the health status of the hard disk 0122 by the display color of the indicator light device 0121; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information.

[0063] In the embodiment of the present application, in order to determine the health status of different hard disks commonly used in servers on the market, different hard disk connection structures are adopted by the device system to manage hard disks with different interface standards under different hard disk connection structures. Each hard disk connection structure corresponds to its own communication transmission link, and the central processing unit and the baseboard management controller (BMC) can directly or indirectly obtain the health status information of the hard disk through the corresponding communication transmission link.

[0064] In a specific implementation, the health status information of the hard disk can be obtained through SMART information. SMART information includes multiple attributes, each of which describes a specific aspect of the hard disk. These attribute values ​​are usually closely related to the health status of the hard disk. When the hard disk has potential problems, SMART information will issue a warning in advance to help users take timely measures.

[0065] In the embodiment of the present application, a preset indicator light multimodal status table having a corresponding relationship with the display status information is constructed in advance according to different health status information. That is, the preset indicator light multimodal status table records the information of the display color of the indicator light device corresponding to the hard disk in a certain health state. Among them, different health status information corresponds to various types of situations that may occur in the hard disk, including the types of situations corresponding to the health state and the fault state; the display status information corresponds to the display color of the indicator light device under the current health status information of the hard disk, and each health status information of the hard disk has a corresponding color display.

[0066] After the display status information of the corresponding indicator light device is matched from the preset indicator light multi-modal status table according to the acquired hard disk health status information, the color display of the indicator light device is controlled according to the display status information. Since each hard disk health status information has a corresponding color display, the health status of the hard disk can be determined by the display color of the indicator light device, and the abnormal device can be replaced in advance before the hard disk device completely fails, thereby reducing the probability of data center server downtime.

[0067] The present application provides a device system, including a device mainboard and a hard disk backplane, wherein the device mainboard is provided with a central processing unit and a baseboard management controller, and the hard disk backplane is provided with an indicator light device and hard disks of different interface standards; wherein the device system adopts any one of a plurality of preset hard disk connection structures to establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk respectively; the baseboard management controller is connected to the indicator light device, and is used to obtain health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures, and based on the display status information of the indicator light device corresponding to the health status information matched from a preset indicator light multimodal status table, the color display of the indicator light device is controlled, so as to determine the health status of the hard disk by the display color of the indicator light device; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information.

[0068] The beneficial technical effects of the present application are: the equipment system can adopt different hard disk connection structures, establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk, and realize the health status monitoring of hard disks with different interface standards commonly used in servers on the market. The baseboard management controller uses a preset indicator light multimodal status table to manage the hard disk, and controls the corresponding indicator light device to display the health status of the hard disk. Different lights can be used for color display for different hard disk failures, so that each abnormal hard disk status information has a corresponding color display. In this way, it is convenient for on-site operation and maintenance personnel in the data center to identify equipment abnormalities, and replace abnormal equipment in advance before the hard disk fails completely, reducing the probability of server downtime in the data center.

[0069] In a specific embodiment, regarding the hardware improvement, a light-emitting diode (LED) chip using a single-line return-to-zero code communication mechanism is provided in the indicator light device, and the brightness of each color on the three primary color channels of the LED chip corresponds to a different level to achieve true color display.

[0070] Exemplarily, the indicator light element can use the WS2812B three-primary color LED chip, which can achieve 256 levels of brightness display and true color display characteristics of 16777216 colors. The indicator light element can then be used to perform multi-functional positioning of the hard disk, that is, to visually and intuitively display the positioning of the hard disk and its health status.

[0071] It should be noted that the second general-purpose input / output (GPIO) port of the BMC is connected to the third general-purpose input / output port of the device mainboard via the target connection terminal. Figure 2 The circuit diagram of the hard disk connected to the LED chip is shown in the figure. P1 is the target connection terminal on the device motherboard. Pin 1 in P1 is connected to the GPIO of the BMC, and data information is sent to the BMC through the Data GPIO of the connection terminal P1. When the display status information of the indicator device corresponding to the current health status information of the hard disk is matched from the preset indicator multimodal status table, the BMC sends the display status information to the indicator device through the first general input and output port using the single-line return-to-zero code communication mechanism to control the color display of the indicator device.

[0072] In the embodiment of the present application, the 0 and 1 of the LED chip are not simply pulled high or low, but the duty ratio of the high and low levels is different within a cycle. In this way, the brightness of the indicator light element can be adjusted by changing the duty ratio.

[0073] For example, a high level of 1 code takes 580ns-1us (first high then low), and a low level takes 220ns-380ns. A high level of 0 code takes 580ns-1us (first low then high), and a low level takes 580ns-1us. The interval between 1 frame and 1 frame should be at least 280us. Figure 3 The figure shows the data transmission process of the LED chip. D1 is the data sent by the MCU (Microcontroller Unit), and D2, D3, and D4 are the data automatically shaped and forwarded by the cascade circuit. Among them, cascade circuit: This process includes connecting the output of one circuit to the input of another circuit to form a continuous operation relationship. This cascade is completed by connecting the output port in one circuit to the input port in another circuit. That is, the current is given one by one, the first signal (24bit) is given to the first LED, and the second signal (24bit) is given to the second LED. After one frame, a RESET must be refreshed before the next frame can begin. The following is an analysis of the operation code of the LED chip:

[0074] module ws2812 ctrl(

[0075] input clk, / / system clock.

[0076] input rst_n, / / reset.

[0077] output din / / data input of ws2812b. );

[0079] parameter TIME=7'd64; / / The maximum time to transmit a data is 64*20=1280ns.

[0080] parameterZhen = 5'd24; / / One frame has 24 data / data of one light.

[0081] parameter MAX= 7'd64; / / A total of 64 lights need to be turned on.

[0082] parameterRGB=24'b80880800_80081111_00008800; / / red.

[0083] parameter RGB1=24'b00001111 00000000 00000000; / / blue.

[0084] parameter RGB2=24'b00000000 00000000 00001111; / / green.

[0085] reg [6:0]cnte; / / Count the longest period of one-bit data transmission.

[0086] Wire add_cnte0;

[0087] Wire end_cnte0;

[0088] reg[4:0] cnt_1z; / / One lamp bead requires 24 bits of data.

[0089] wire add_cnt_1z;

[0090] wire end_cnt_1z;

[0091] reg[6:0] cnt_64z; / / There are 64 lamp beads in total.

[0092] wire add_cnt_64z;

[0093] wire end_cnt_64z;

[0094] reg[26:0] cnt_rst; / / Count reset signal, used for automatic refresh counter.

[0095] wire add_cnt_rst;

[0096] wire end_cnt_rst;

[0097] reg[8:0] cnt_state; / / Three states of lamp bead flashing, one color per frame, 3 colors cycle.

[0098] wire add_cnt_state;

[0099] wire end_cnt_state;

[0100] reg[23:0] cnt_b; / / Three states of lamp bead flashing, one color per frame, 3 colors cycle.

[0101] reg tx_done; / / 1-bit data transmission completion enable signal.

[0102] reg rgb_r; / / Store the RGB data for each transmission.

[0103] reg data_out1; / / Conversion between code 1 and code 0.

[0104] endmodule.

[0105] In a specific implementation, an example of a specific preset indicator light multi-modal state table is shown in Table 1. The preset indicator light multi-modal state table records the correspondence between different health status information and different display status information.

[0106] Table 1 Preset indicator light multi-mode status table

[0107]

[0108] It should be pointed out that in actual operation, the hard disk status information corresponding to the required color can be changed through code as needed, and the color corresponding to the required hard disk status information can also be changed. For example, the indicator light color corresponding to the health status information of "the hard disk is in a healthy state" can be changed to blue through code, and the hard disk status information corresponding to the "green" display status information can also be changed to positioning open through code.

[0109] Specifically, the baseboard management controller is also used to adjust the target code to change the display status information corresponding to different health status information, and / or the health status information corresponding to different display status information; wherein the target code is a code for configuring the preset indicator light multimodal status table.

[0110] In addition, in order to avoid the difficulty of finding and distinguishing due to too many indicator colors, the same indicator color can be set for different types of faults. In this way, when the indicator light displays the corresponding color, the current type of fault is determined according to the displayed color, and then the type of fault is further subdivided to determine which type it is, which saves the time of comparison and search, and at the same time, it is easier to distinguish the display color of the indicator light device to a certain extent.

[0111] Based on the above embodiment, the first hard disk connection structure among the preset hard disk connection structures in the device system is described. Figure 4 The device system adopts the first hard disk connection structure, and the central processing unit and the baseboard management controller respectively establish a first communication transmission link with the hard disk through the south bridge chip (Platform Controller Hub, PCH);

[0112] The central processing unit is connected to the south bridge chip based on a direct media interface, and the baseboard management controller is connected to the south bridge chip based on a reduced pin bus; and the hard disk is a hard disk with a hard disk interface standard based on serial transmission technology.

[0113] In an embodiment of the present application, the BMC management device mainboard is directly connected to the hard disk of the South Bridge PCH, and the hard disk is a hard disk with a hard disk interface standard based on serial transmission technology, such as a SATA hard disk or a SAS (Serial Attached SCSI) hard disk. The hard disk monitoring tool polls each hard disk on the hard disk backplane to obtain the corresponding health status information. Exemplarily, the hard disk monitoring tool takes Smartmontools as an example, and the smartctl command included in the Smartmontools open source toolset reads SMART information directly from the hard disk. When using smartctl, specify the device path, for example: smartctl -a / dev / sda (sda is the drive letter of a sata hard disk).

[0114] It should be pointed out that the south bridge chip is connected to the CPU through DMI (Direct Media Interface) technology, which relieves the pressure of the north bridge and improves the overall performance of the system; the BMC communicates with the CPU of the device system through LPC (Low Pin Count Bus) to manage the hardware resources of the device system.

[0115] For example, according to Figure 2 As shown in the circuit diagram, taking the hard disk as a SATA hard disk as an example, the hard disk SATA1 corresponds to LED1, the hard disk SATA2 corresponds to LED2, etc. The server OS (Operating System) runs commands related to the IPMI (Intelligent Platform Management Interface) interface in-band to transmit the health status information of the hard disk to the BMC. The BMC displays multi-modal display status information based on the health status information of the SATA hard disk.

[0116] Specifically, the central processing unit is used to poll each hard disk on the hard disk backplane based on the first communication transmission link through the system in-band program and using the hard disk monitoring tool to obtain the health status information of each hard disk, and transmit the health status information to the baseboard management controller through the system in-band program.

[0117] The baseboard management controller is used to obtain the health status information transmitted by the central processing unit based on the intelligent platform management interface based on the first communication transmission link.

[0118] like Figure 5 Shown is based on Figure 4The following is a flowchart of determining the health status of a hard disk using the hardware connection structure. Assuming that the device system is a server, first, the server OS in-band program uses smartctl -a / dev / sda to obtain the hard disk SMART information; secondly, the server OS in-band program uses the IPMI interface to transmit the SMART information to the BMC; the BMC generates the display status information corresponding to the hard disk based on the SMART information lookup table; the above steps are polled to obtain the display status information corresponding to each hard disk; then the BMC uses the single-line return-to-zero code communication mechanism through GPIO to transmit the corresponding display status information to each indicator device on the hard disk backplane. When the indicator device receives the display status information, Figure 3 The LED data transmission process recorded in the diagram shows that the display control information of the first bit of data will be intercepted and used, and the remaining data information will be forwarded and pushed to the following LEDs.

[0119] Based on the above embodiment, the second hard disk connection structure among the preset hard disk connection structures in the device system is described. Figure 6 The schematic diagram of the second hard disk connection structure is shown. The device system adopts the second hard disk connection structure, and the central processing unit and the baseboard management controller respectively establish a second communication transmission link with the hard disk through the target hardware device; the target hardware device is a hardware device that supports management using a monitoring management tool, including an independent redundant disk array card and / or a serial connection SCSI interface card;

[0120] The central processing unit is connected to the target hardware device via an interface based on a high-speed serial computer expansion bus standard, and the baseboard management controller is connected to the target hardware device via an integrated circuit bus interface; and the hard disk is a hard disk with a different interface standard.

[0121] In the embodiment of the present application, the BMC manages the hard disk connected to the target device, wherein the target device may include a RAID card and / or a SAS card, both of which are hardware devices that support management using monitoring and management tools. The BMC accesses SMART information through the monitoring and management tools integrated in the BMC firmware (such as MegaRAID's StorCLI). For example:

[0122] sudo storcli / c0 / eall / sall show;

[0123] sudo smartctl -a -d megaraid,N / dev / sdX; where N is the device ID on the RAID controller.

[0124] Specifically, the baseboard management controller is used to access each hard disk connected to the target hardware device through the second communication transmission link in the second hard disk connection structure using the internally integrated monitoring management tool to obtain health status information of each hard disk.

[0125] It should be noted that the CPU is connected to the target hardware device via a PCIE interface, and the BMC is connected to the target hardware device via an I2C (Inter-Integrated Circuit) interface.

[0126] like Figure 7 Shown is based on Figure 6 The following is a flowchart of determining the health status of a hard disk using the hardware connection structure. Assuming that the device system is a server and the BMC manages the hard disks connected by RAID, first the BMC uses the monitoring and management tool integrated in the BMC firmware to access the SMART information of all hard disks under the RAID card; secondly, the BMC generates the display status information corresponding to the hard disk based on the SMART information lookup table; finally, the BMC uses the single-line return-to-zero code communication mechanism through GPIO to transmit the corresponding display status information to each indicator device on the hard disk backplane. When the indicator device receives the display status information, Figure 3 The LED data transmission process recorded in the diagram shows that the display control information of the first bit of data will be intercepted and used, and the remaining data information will be forwarded and pushed to the following LEDs.

[0127] Based on the above embodiment, the third hard disk connection structure among the preset hard disk connection structures in the device system is described. Figure 8 The third hard disk connection structure is shown as a schematic diagram. The device system adopts the third hard disk connection structure to directly connect the central processor and the baseboard management controller to the hard disk to establish a third communication transmission link;

[0128] Among them, the central processing unit is connected to the hard disk through an interface based on the high-speed serial computer expansion bus standard, and the baseboard management controller is connected to the hard disk through a hard disk management interface based on the non-volatile memory host controller interface specification; the hard disk is a hard disk that can be directly monitored and managed by the baseboard management controller.

[0129] In the embodiment of the present application, the NVME hard disk with the PCIE (Peripheral Component Interconnect Express) interface directly connected to the CPU managed by the BMC is taken as an example for explanation. NVME has an NVME-MI interface, which allows NVME devices to be monitored and managed through management controllers such as BMC without relying on the host operating system. This method usually uses SMBUS (System Management Bus) / I2C or PCIE VDM (Vendor Defined Messages) as the transmission channel. BMC manages the NVME hard disk with the PCIE interface directly connected to the CPU.

[0130] like Fig. 9 Shown is based on Figure 8 The following is a flowchart of determining the health status of a hard disk using the hardware connection structure. Assuming that the device system is a server, and the BMC is directly connected to the NVME hard disk of the CPU's PCIE interface, then first, the BMC uses the NVME-MI interface to obtain the SMART information of all NVME hard disks; secondly, the BMC generates the display status information corresponding to the hard disk based on the SMART information lookup table; finally, the BMC uses the single-line return-to-zero code communication mechanism through GPIO to transmit the corresponding display status information to each indicator device on the hard disk backplane. When the indicator device receives the display status information, Figure 3 The LED data transmission process recorded in the diagram shows that the display control information of the first bit of data will be intercepted and used, and the remaining data information will be forwarded and pushed to the following LEDs.

[0131] Furthermore, an embodiment of the present invention discloses a hard disk status monitoring method for an equipment system, wherein the equipment system comprises an equipment mainboard and a hard disk backplane, wherein the equipment mainboard is provided with a central processing unit and a baseboard management controller, and the hard disk backplane is provided with an indicator light device and hard disks of different interface standards; the equipment system adopts any one of a plurality of preset hard disk connection structures to establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk respectively; see Fig.10 As shown, the method includes:

[0132] Step S11: obtaining the health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures.

[0133] Step S12: Matching the display status information of the indicator light device corresponding to the health status information from a preset indicator light multimodal status table; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information.

[0134] Step S13: Controlling the color display of the indicator light device based on the display status information, so as to determine the health status of the hard disk by the display color of the indicator light device.

[0135] Among them, for more specific working processes of the above steps, reference can be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0136] The present application discloses a hard disk status monitoring method for an equipment system, wherein the equipment system comprises an equipment mainboard and a hard disk backplane, wherein the equipment mainboard is provided with a central processing unit and a baseboard management controller, and the hard disk backplane is provided with an indicator light device and hard disks of different interface standards; the equipment system adopts any one of a plurality of preset hard disk connection structures to establish communication transmission links between the central processing unit and the baseboard management controller and the hard disk respectively; wherein the method comprises: obtaining health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures; matching display status information of the indicator light device corresponding to the health status information from a preset indicator light multimodal status table; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information; and controlling the color display of the indicator light device based on the display status information to determine the health status of the hard disk through the display color of the indicator light device.

[0137] The beneficial technical effects of the present application are: the equipment system can adopt different hard disk connection structures, establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk, and realize the health status monitoring of hard disks with different interface standards commonly used in servers on the market. The baseboard management controller uses a preset indicator light multimodal status table to manage the hard disk, and controls the corresponding indicator light device to display the health status of the hard disk. Different lights can be used for color display for different hard disk failures, so that each abnormal hard disk status information has a corresponding color display. In this way, it is convenient for on-site operation and maintenance personnel in the data center to identify equipment abnormalities, and replace abnormal equipment in advance before the hard disk fails completely, reducing the probability of server downtime in the data center.

[0138] Correspondingly, the embodiment of the present application further discloses a hard disk status monitoring device for an equipment system, wherein the equipment system comprises an equipment mainboard and a hard disk backplane, wherein the equipment mainboard is provided with a central processing unit and a baseboard management controller, and the hard disk backplane is provided with an indicator light device and hard disks of different interface standards; the equipment system adopts any one of a plurality of preset hard disk connection structures to establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk respectively; see Fig.11 As shown, the device comprises:

[0139] A health status information acquisition module 11, used to acquire the health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures;

[0140] A display status information acquisition module 12, used to match the display status information of the indicator light device corresponding to the health status information from a preset indicator light multimodal status table; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information;

[0141] The health status determination module 13 is used to control the color display of the indicator light device based on the display status information, so as to determine the health status of the hard disk through the display color of the indicator light device.

[0142] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0143] It can be seen that through the above scheme of this embodiment, the device system includes a device mainboard and a hard disk backplane, the device mainboard is provided with a central processing unit and a baseboard management controller, and the hard disk backplane is provided with an indicator light device and a hard disk with different interface standards; the device system adopts any one of a plurality of preset hard disk connection structures to establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk respectively; specifically: obtaining the health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures; matching the display status information of the indicator light device corresponding to the health status information from the preset indicator light multimodal status table; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information; based on the display status information, the color display of the indicator light device is controlled to determine the health status of the hard disk by the display color of the indicator light device.

[0144] The beneficial technical effects of the present application are: the equipment system can adopt different hard disk connection structures, establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disk, and realize the health status monitoring of hard disks with different interface standards commonly used in servers on the market. The baseboard management controller uses a preset indicator light multimodal status table to manage the hard disk, and controls the corresponding indicator light device to display the health status of the hard disk. Different lights can be used for color display for different hard disk failures, so that each abnormal hard disk status information has a corresponding color display. In this way, it is convenient for on-site operation and maintenance personnel in the data center to identify equipment abnormalities, and replace abnormal equipment in advance before the hard disk fails completely, reducing the probability of server downtime in the data center.

[0145] Furthermore, the present application also discloses an electronic device. Fig.12 This is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the diagram cannot be considered as any limitation on the scope of use of the present application.

[0146] Fig.12 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the hard disk status monitoring method of the device system disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be a server.

[0147] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0148] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The data 223 may include various data. The storage method may be temporary storage or permanent storage.

[0149] The operating system 221 is used to manage and control the hardware devices on the electronic device 20 and the computer program 222, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the hard disk status monitoring method of the device system executed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0150] Furthermore, the embodiment of the present application also discloses a computer-readable storage medium, where the computer-readable storage medium includes a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk or an optical disk, or any other form of storage medium known in the technical field. Wherein, when the computer program is executed by the processor, the hard disk status monitoring method of the aforementioned device system is implemented. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the aforementioned embodiment, which will not be repeated here.

[0151] Furthermore, an embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements any one of the implementation methods of the hard disk status monitoring method of the above-mentioned device system.

[0152] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0153] The steps of the hard disk status monitoring method or algorithm of the device system described in the embodiments disclosed herein can be directly implemented by hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0154] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0155] The above is a detailed introduction to a device system and hard disk status monitoring method, device, program product and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A device system, characterized in that: It includes a device mainboard and a hard disk backplane, wherein the device mainboard is provided with a central processing unit and a baseboard management controller, and the hard disk backplane is provided with indicator light devices and hard disks with different interface standards; wherein, The device system adopts any one of several preset hard disk connection structures to establish communication transmission links between the central processor and the baseboard management controller and the hard disk respectively; The baseboard management controller is connected to the indicator light device, and is used to obtain the health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures, and based on the display status information of the indicator light device corresponding to the health status information matched from the preset indicator light multimodal status table, control the color display of the indicator light device to determine the health status of the hard disk by the display color of the indicator light device; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information.

2. The device system according to claim 1, characterized in that: The indicator light device is provided with a light emitting diode chip adopting a single-line return-to-zero code communication mechanism, and the brightness of each color on the three primary color channels of the light emitting diode chip corresponds to a different level to achieve true color display.

3. The device system according to claim 2, characterized in that: The baseboard management controller is used to send the display status information to the indicator light device through the first general input and output port using the single-line return-to-zero code communication mechanism based on the display status information of the indicator light device corresponding to the health status information matched from the preset indicator light multimodal status table, so as to control the color display of the indicator light device.

4. The device system according to claim 1, characterized in that: The second general purpose input / output port of the baseboard management controller is connected to the third general purpose input / output port of the device mainboard via the target connection terminal.

5. The device system according to claim 1, characterized in that: The baseboard management controller is also used to adjust the target code to change the display status information corresponding to different health status information and / or the health status information corresponding to different display status information; Wherein, the target code is a code used to configure the preset indicator light multi-modal state table.

6. The device system according to any one of claims 1 to 5, characterized in that: The device system adopts a first hard disk connection structure, and the central processing unit and the baseboard management controller respectively establish a first communication transmission link with the hard disk through the south bridge chip; The central processing unit is connected to the south bridge chip based on a direct media interface, and the baseboard management controller is connected to the south bridge chip based on a reduced pin bus; and the hard disk is a hard disk with a hard disk interface standard based on serial transmission technology.

7. The device system according to claim 6, characterized in that: The central processing unit is used to poll each hard disk on the hard disk backplane based on the first communication transmission link through the system in-band program and using the hard disk monitoring tool to obtain the health status information of each hard disk, and transmit the health status information to the baseboard management controller through the system in-band program.

8. The device system according to claim 7, characterized in that: The baseboard management controller is used to obtain the health status information transmitted by the central processing unit based on the intelligent platform management interface based on the first communication transmission link.

9. The device system according to any one of claims 1 to 5, characterized in that: The device system adopts a second hard disk connection structure, and the central processing unit and the baseboard management controller respectively establish a second communication transmission link with the hard disk through a target hardware device; the target hardware device is a hardware device that supports management using a monitoring management tool, including an independent redundant disk array card and / or a serial connection SCSI interface card; The central processing unit is connected to the target hardware device via an interface based on a high-speed serial computer expansion bus standard, and the baseboard management controller is connected to the target hardware device via an integrated circuit bus interface; and the hard disk is a hard disk with a different interface standard.

10. The device system according to claim 9, characterized in that: The baseboard management controller is used to access each of the hard disks connected to the target hardware device through the second communication transmission link in the second hard disk connection structure using the internally integrated monitoring management tool to obtain health status information of each of the hard disks.

11. The device system according to any one of claims 1 to 5, characterized in that: The device system adopts a third hard disk connection structure to directly connect the central processor and the baseboard management controller to the hard disk to establish a third communication transmission link; Among them, the central processing unit is connected to the hard disk through an interface based on the high-speed serial computer expansion bus standard, and the baseboard management controller is connected to the hard disk through a hard disk management interface based on the non-volatile memory host controller interface specification; the hard disk is a hard disk that can be directly monitored and managed by the baseboard management controller.

12. A method for monitoring the hard disk status of a device system, characterized in that: The device system comprises a device mainboard and a hard disk backplane, wherein a central processing unit and a baseboard management controller are arranged on the device mainboard, and an indicator light device and hard disks with different interface standards are arranged on the hard disk backplane; the device system adopts any one of a plurality of preset hard disk connection structures to establish communication transmission links between the central processing unit and the baseboard management controller and the hard disk respectively; wherein the method comprises: Obtaining health status information of the hard disk through the communication transmission link in any one of the hard disk connection structures; Matching the display status information of the indicator light device corresponding to the health status information from a preset indicator light multimodal status table; the preset indicator light multimodal status table is used to record the correspondence between different health status information and different display status information; The indicator light device is controlled to display a color based on the display status information, so as to determine the health status of the hard disk by the display color of the indicator light device.

13. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to load and execute the computer program to implement the hard disk status monitoring method of the device system according to claim 12.

14. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by the processor, the steps of the hard disk status monitoring method of the device system described in claim 12 are implemented.

15. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein the computer program, when executed by the processor, implements the hard disk status monitoring method of the device system according to claim 12.

Citation Information

Patent Citations

  • Hard disk identification method and system

    CN103645981A

  • Server and hard disk health monitoring system thereof

    CN109117342A

  • Status indication method, controller and storage medium

    CN109446003A

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

    CN109857602A

  • Hard disk indicator light control method and device, electronic equipment and storage medium

    CN117076179A

Cited By

  • Display method of computing device model, computing device and terminal device

    CN120743694A

  • Hard disk state monitoring method and device, equipment, storage medium and product

    CN120973638A

  • Detection method and detection device for state of DRAM (Dynamic Random Access Memory) test machine

    CN121687155A