[go: up one dir, main page]

CN119311524A - Device system and hard disk status monitoring method, device, program product and medium thereof - Google Patents

Device system and hard disk status monitoring method, device, program product and medium thereof Download PDF

Info

Publication number
CN119311524A
CN119311524A CN202411839804.0A CN202411839804A CN119311524A CN 119311524 A CN119311524 A CN 119311524A CN 202411839804 A CN202411839804 A CN 202411839804A CN 119311524 A CN119311524 A CN 119311524A
Authority
CN
China
Prior art keywords
hard disk
management controller
status information
baseboard management
indicator light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411839804.0A
Other languages
Chinese (zh)
Inventor
陈衍东
李道童
艾山彬
王凯鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Metabrain Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Metabrain Intelligent Technology Co Ltd filed Critical Suzhou Metabrain Intelligent Technology Co Ltd
Priority to CN202411839804.0A priority Critical patent/CN119311524A/en
Publication of CN119311524A publication Critical patent/CN119311524A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses an equipment system and a hard disk state monitoring method, equipment, a program product and a medium thereof, and relates to the technical field of computers. The device comprises a device main board and a hard disk backboard, wherein a central processing unit and a baseboard management controller are arranged on the main board, an indicator lamp device and hard disks with different interface standards are arranged on the backboard, a device system adopts any one of a plurality of preset hard disk connection structures, the central processing unit and the baseboard management controller are respectively connected with the hard disk to establish a communication transmission link, the baseboard management controller is connected with the indicator lamp device and is used for acquiring health state information of the hard disk through the communication transmission link, and color display control is carried out on the indicator lamp device based on display state information matched from a preset indicator lamp multi-mode state table so as to judge the health state of the hard disk through the display color of the indicator lamp device. By the technical scheme, each health state of the hard disk has corresponding color display, and fault judgment is convenient.

Description

Equipment system and hard disk state monitoring method, equipment, program product and medium thereof
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an apparatus system, a method, an apparatus, a program product, and a medium for monitoring a hard disk state of the apparatus system.
Background
The computer hard disk is the most main storage device of the computer, and a large amount of important data is lost due to hard disk faults, so that the stability of the hard disk is the basis for ensuring the stable operation of the device for processing the stored data and the upper layer application. Currently, when fault determination is performed on a hard disk, a mode of consulting and analyzing SMART (Self-Monitoring, ANALYSIS AND Reporting Technology, self-Monitoring, analysis and reporting technology) information of the hard disk is generally adopted, so that the operation is complex and the efficiency is low. In addition, when the existing hard disk equipment fails, the hard disk status lamp only has three states of blue positioning lamp, red failure and rebuild (reset) yellow status. Smart health status information rich in hard disk cannot be displayed through three-color lamps
Therefore, how to provide a solution to the above technical problem is a problem that a person skilled in the art needs to solve at present.
Disclosure of Invention
Accordingly, the present invention is directed to an apparatus system, and a method, an apparatus, a program product, and a medium for monitoring states of hard disks, which can visually display health states of hard disks, and each health state of hard disk has a color display corresponding to the health state, so as to facilitate recognition of equipment anomalies by field operation and maintenance personnel in a data center. The specific scheme is as follows:
In a first aspect, the application discloses an equipment system, which comprises an equipment main board and a hard disk backboard, wherein the equipment main board is provided with a central processing unit and a baseboard management controller, the hard disk backboard is provided with an indicator light device and hard disks with different interface standards,
The equipment system adopts any one hard disk connection structure among a plurality of preset hard disk connection structures, and establishes communication transmission links with the central processing unit and the baseboard management controller respectively;
The substrate management controller is connected with the indicator light device and is used for acquiring health state information of the hard disk through the communication transmission link in any hard disk connection structure, and performing color display control on the indicator light device based on display state information of the indicator light device corresponding to the health state information, which is matched from a preset indicator light multi-mode state table, so as to judge the health state of the hard disk through the display color of the indicator light device, wherein the preset indicator light multi-mode state table is used for recording corresponding relations between different health state information and different display state information.
Optionally, a light emitting diode chip adopting a single-wire return-to-zero communication mechanism is arranged in the indicator light device, and brightness of each color on the three primary color channels of the light emitting diode chip corresponds to different levels so as to complete full-true color display.
Optionally, the baseboard management controller is configured to send, based on display status information of the indicator device corresponding to the health status information matched from a multimodal status table of a preset indicator, the display status information to the indicator device through a first universal input/output port by using the single-wire return-to-zero code communication mechanism, so as to perform color display control on the indicator device.
Optionally, the second general input/output port of the baseboard management controller is connected with the equipment motherboard through the third general input/output port of the target connection terminal.
Optionally, the baseboard management controller is further configured to adjust the object code to change display state information corresponding to different health state information and/or health state information corresponding to different display state information;
The target code is a code for configuring the multi-mode state table of the preset indicator lamp.
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;
The central processing unit is connected with the south bridge chip based on a direct media interface, the baseboard management controller is connected with the south bridge chip based on a simplified pin bus, and the hard disk is a hard disk based on a hard disk interface standard of a serial transmission technology.
Optionally, the central processor is configured to poll each hard disk on the hard disk backboard with a hard disk monitoring tool based on the first communication transmission link through a system in-band program, so as 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.
Optionally, the baseboard management controller is configured 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.
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 target hardware devices, wherein the target hardware devices are hardware devices which support management by using a monitoring management tool and comprise independent redundant disk array cards and/or serial connection SCSI interface cards;
the CPU is connected with the target hardware device through an interface based on a high-speed serial computer expansion bus standard, the baseboard management controller is connected with the target hardware device through an integrated circuit bus interface, and the hard disk is a hard disk with different interface standards.
Optionally, the baseboard management controller is configured to access each hard disk connected to the target hardware device by using the monitoring management tool integrated therein through the second communication transmission link in the second hard disk connection structure, so as to obtain health status information of each hard disk.
Optionally, the device system adopts a third hard disk connection structure, and the central processing unit and the baseboard management controller are directly connected with the hard disk to establish a third communication transmission link;
The CPU is connected with the hard disk through an interface based on a high-speed serial computer expansion bus standard, the baseboard management controller is connected with the hard disk through a management interface based on a hard disk with a nonvolatile memory host controller interface specification, and the hard disk is a hard disk which can be directly monitored and managed through the baseboard management controller.
The application discloses a method for monitoring the state of a hard disk of an equipment system, wherein the equipment system comprises an equipment main board and a hard disk backboard, a central processing unit and a baseboard management controller are arranged on the equipment main board, an indicator lamp device and hard disks with different interface standards are arranged on the hard disk backboard, the equipment system adopts any one hard disk connection structure among a plurality of preset hard disk connection structures, and the central processing unit and the baseboard management controller are respectively connected with the hard disks in a communication transmission way, wherein the method comprises the following steps:
Acquiring health state information of the hard disk through the communication transmission link in any hard disk connection structure;
The display state information of the indicator lamp device corresponding to the health state information is matched from a preset indicator lamp multi-mode state table, wherein the preset indicator lamp multi-mode state table is used for recording the corresponding relation between different health state information and different display state information;
And performing color display control on the indicator lamp device based on the display state information so as to judge the health state of the hard disk through the display color of the indicator lamp device.
In a second aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
And the processor is used for loading and executing the computer program to realize the hard disk state monitoring method of the equipment system.
In a third aspect, the present application discloses a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the aforementioned method for monitoring the state of a hard disk of a device system.
In a fourth aspect, the present application discloses a computer readable storage medium storing a computer program, which when executed by a processor, implements the method for monitoring the state of a hard disk of the foregoing device system.
The application provides an equipment system, which comprises an equipment main board and a hard disk backboard, wherein a central processing unit and a substrate management controller are arranged on the equipment main board, an indicator lamp device and hard disks with different interface standards are arranged on the hard disk backboard, the equipment system adopts any one of a plurality of preset hard disk connection structures, the central processing unit and the substrate management controller are respectively connected with the hard disks to establish communication transmission links, the substrate management controller is connected with the indicator lamp device and is used for acquiring health state information of the hard disks through the communication transmission links in any one of the hard disk connection structures, and color display control is carried out on the indicator lamp device based on display state information of the indicator lamp device corresponding to the health state information matched from a preset indicator lamp multi-mode state table so as to judge the health state of the hard disks through the display color of the indicator lamp device, and the preset indicator lamp multi-mode state table is used for recording the corresponding relation between different health state information and different display state information.
The application has the beneficial technical effects that the equipment system can adopt different hard disk connection structures, a communication transmission link is established between the central processing unit and the base plate management controller as well as the hard disk, and the health status monitoring of the hard disk with different interface standards commonly used by the server on the market is realized. The substrate management controller manages the hard disk by using a preset indicator lamp multi-mode state table, controls the corresponding indicator lamp device to display the health state of the hard disk, and can display the color of different lamplight aiming at different hard disk faults, so that the abnormal state information of each hard disk has the color display corresponding to the abnormal state information. Therefore, the equipment abnormality identification is conveniently carried out by the field operation and maintenance personnel of the data center, the abnormal equipment is processed and replaced in advance before the hard disk is completely failed, and the downtime probability of the server of the data center is reduced.
In addition, the method, the device, the program product and the medium for monitoring the hard disk state of the equipment system correspond to the equipment system and have the same effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an apparatus system according to the present disclosure;
FIG. 2 is a circuit diagram of a hard disk connection LED chip disclosed by the application;
fig. 3 is a schematic diagram of a data transmission process of an LED chip according to the present disclosure;
FIG. 4 is a schematic diagram of a first hard disk connection structure according to the present disclosure;
FIG. 5 is a schematic diagram illustrating a system operation flow of a first hard disk connection structure according to the present application;
FIG. 6 is a schematic diagram of a second hard disk connection structure according to the present disclosure;
FIG. 7 is a schematic diagram illustrating a system operation flow of a second hard disk connection structure according to the present application;
FIG. 8 is a schematic diagram of a third hard disk connection structure according to the present disclosure;
FIG. 9 is a schematic diagram illustrating a system operation flow of a third hard disk connection structure according to the present application;
FIG. 10 is a flow chart of a method for monitoring the state of a hard disk of an equipment system according to the present application;
FIG. 11 is a schematic diagram of a hard disk status monitor device of an equipment system according to the present application;
fig. 12 is a block diagram of an electronic device according to the present disclosure.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For ease of understanding, a brief description of the relevant knowledge referred to herein follows.
Hard disks are one of the core components of computer storage and are classified in a variety of ways, with knowledge of these classifications being better able to manage and use the storage device. The classification of hard disks is as follows:
1. classifying according to interface types:
Mechanical hard disks, i.e., conventional hard disk drives (HDD, hard Disk Drive), are types of hard disks based on the principle of magnetic storage. HDDs are typically interfaced using SATA (SERIAL ATA, serial ATA interface hard disk), a type of computer bus interface for interfacing the motherboard with the storage device. The HDD is characterized by large capacity, low price, but relatively slow speed, and is suitable for large capacity data storage requirements.
Solid state disk (SSD, solid STATE DRIVES) is a storage device based on flash technology that stores data much faster than HDDs. SSDs can be further categorized according to interface and protocol:
SATA SSDs use SATA interfaces that are relatively slow in transfer speed, but still much faster than conventional HDDs. SATA SSDs are typically the upgrade of choice for older systems.
NVME (Non-Volatile Memory Express, nonvolatile memory host controller interface) SSD is one of the fastest solid state disk types at present. The data processing device uses PCIE (Peripheral Component Interconnect Express) interfaces to directly communicate with a CPU (Central Processing Unit, a central processing unit), the transmission speed can reach 32Gbps, the data reading and writing performance is greatly improved, and the data processing device is very suitable for application scenes with high requirements on speed.
2. Sorting by storage medium:
The mechanical hard disk adopts a mechanical turntable and a magnetic head to read and write data, so that the speed is limited by mechanical movement. Nevertheless, HDDs still have an unparalleled price advantage over mass data storage.
The solid state disk does not contain any mechanical parts, and the semiconductor memory chip is completely used for data storage, so that the read-write speed is extremely high, and the shock resistance is excellent. SSDs can be further classified into SLC (Single-LEVEL CELL, single layer Unit), MLC (Multi-LEVEL CELL, multi-layer Unit), TLC (Triple-LEVEL CELL, triple-layer Unit) and QLC (Quad-LEVEL CELL, four-layer Unit) depending on the flash memory chips. Typically, SLC has the longest life but the highest cost, and QLC has the highest storage density but a relatively short life.
SATA and SAS (SERIAL ATTACHED SCSI ) hard disk management based on RAID (Redundant Arrays of INDEPENDENT DISKS, disk array) cards currently exist. In general, a RAID card driver has management of a hard disk positioning lamp, management of a hard disk device failure, and lighting of a failure indication lamp. Indicator lights of a hard disk (NVME of a PCIE interface directly connected to a CPU) managed by a current RAID card generally have three states of a positioning light blue, a fault red, and a rebuild (reset) state yellow. The display state of the indicator lamp is not easy to be found when being monitored. Usually, shell script is used for lighting the indicator lights and checking the status of the indicator lights on the NVME hard disk, and the characters are colored to make the user clear at a glance. However, the method is improved only on the display of the indicator lamp, no indicator lamp can display the real-time health state of the hard disk, and the red color is displayed only after the hard disk is completely failed, so that the method is not beneficial to preventive replacement and maintenance in the field of the data center.
Therefore, the application provides a hard disk state monitoring scheme of the equipment system, which can visually display the health states of the hard disks, and each health state of the hard disk has a corresponding color display, so that the equipment abnormality can be conveniently identified by on-site operation and maintenance personnel of a data center.
The embodiment of the invention discloses a device system 01, which is shown in fig. 1, wherein the device system 01 comprises a device main board 011 and a hard disk backboard 012, the device main board 011 is provided with a central processing unit 0111 and a baseboard management controller 0112, the hard disk backboard 012 is provided with an indicator lamp device 0121 and hard disks 0122 with different interface standards,
The device system 01 adopts any one hard disk connection structure of a plurality of preset hard disk connection structures, and establishes communication transmission links between the central processing unit 0111 and the baseboard management controller 0112 and the hard disk 0122 respectively;
The baseboard management controller 0112 is connected with the indicator lamp device 0121, and is configured to obtain health status information of the hard disk 0122 through the communication transmission link in any hard disk connection structure, and perform color display control on the indicator lamp device 0121 based on display status information of the indicator lamp device 0121 corresponding to the health status information, which is matched from a preset indicator lamp multi-mode status table, so as to determine the health status of the hard disk 0122 through the display color of the indicator lamp device 0121, where the preset indicator lamp multi-mode status table is used to record correspondence between different health status information and different display status information.
In the embodiment of the application, in order to realize health state judgment of different hard disks commonly used by a server on the market, different hard disk connection structures are adopted through an equipment system, and hard disks with different interface standards are managed under the different hard disk connection structures. Each hard disk connection structure corresponds to a respective communication transmission link, and the central processing unit and the baseboard management controller (BMC, baseboard Management Controller) can directly or indirectly obtain the health status information of the hard disk through the corresponding communication transmission links.
In a specific embodiment, the health status information of the hard disk may be obtained through SMART information. The SMART information includes a plurality of attributes, each of which describes a particular aspect of the hard disk, the attribute values of which are generally closely related to the health of the hard disk, and when a potential problem occurs in the hard disk, the SMART information gives an alarm in advance to help the user take measures in time.
In the embodiment of the application, the multi-mode state table of the preset indicator lamp with corresponding relation and the display state information is constructed in advance according to different health state information. That is, the information of the display color of the indicator light device corresponding to the hard disk in a certain health state is recorded in the preset indicator light multi-mode state table. The display state information corresponds to the display color of the indicator light device under the condition of the current health state information of the hard disk, and each health state information of the hard disk is displayed with the corresponding color.
And after the display state information of the corresponding indicator lamp device is matched from the preset indicator lamp multi-mode state table according to the acquired health state information of the hard disk, performing color display control on the indicator lamp device according to the display state information. Because each health status information of the hard disk has the corresponding color display, the health status of the hard disk can be judged through the display color of the indicator light device, and the abnormal equipment can be processed and replaced in advance before the hard disk equipment is completely failed, so that the probability of downtime of the data center server is reduced.
The application provides an equipment system, which comprises an equipment main board and a hard disk backboard, wherein a central processing unit and a substrate management controller are arranged on the equipment main board, an indicator lamp device and hard disks with different interface standards are arranged on the hard disk backboard, the equipment system adopts any one of a plurality of preset hard disk connection structures, the central processing unit and the substrate management controller are respectively connected with the hard disks to establish communication transmission links, the substrate management controller is connected with the indicator lamp device and is used for acquiring health state information of the hard disks through the communication transmission links in any one of the hard disk connection structures, and color display control is carried out on the indicator lamp device based on display state information of the indicator lamp device corresponding to the health state information matched from a preset indicator lamp multi-mode state table so as to judge the health state of the hard disks through the display color of the indicator lamp device, and the preset indicator lamp multi-mode state table is used for recording the corresponding relation between different health state information and different display state information.
The application has the beneficial technical effects that the equipment system can adopt different hard disk connection structures, a communication transmission link is established between the central processing unit and the base plate management controller as well as the hard disk, and the health status monitoring of the hard disk with different interface standards commonly used by the server on the market is realized. The substrate management controller manages the hard disk by using a preset indicator lamp multi-mode state table, controls the corresponding indicator lamp device to display the health state of the hard disk, and can display the color of different lamplight aiming at different hard disk faults, so that the abnormal state information of each hard disk has the color display corresponding to the abnormal state information. Therefore, the equipment abnormality identification is conveniently carried out by the field operation and maintenance personnel of the data center, the abnormal equipment is processed and replaced in advance before the hard disk is completely failed, and the downtime probability of the server of the data center is reduced.
In a specific embodiment, regarding improvement of hardware, a Light-Emitting Diode (LED) chip adopting a single-wire return-to-zero communication mechanism is disposed in the indicator Light device, and brightness of each color on three primary color channels of the LED chip corresponds to different levels, so as to complete full-true color display.
For example, the indicator light element can use a WS2812B tricolor LED chip, the LED chip can realize 256-level brightness display, and the full true color display characteristic of 16777216 colors is realized, so that the indicator light element can be used for performing multifunctional positioning on the hard disk, namely positioning the hard disk and visually displaying the health state.
It should be noted that a second General-purpose input/output (GPIO) port of the BMC is connected to the device motherboard through a third General-purpose input/output port of the target connection terminal. Fig. 2 is a schematic circuit diagram of a hard disk connected with an LED chip, where P1 is a target connection terminal on a device motherboard, pin 1 in P1 is connected with a GPIO of a BMC, and Data information is sent to the BMC through a Data GPIO of the connection terminal P1. After display state information of an indicator lamp device corresponding to current health state information of a hard disk is matched in a preset indicator lamp multi-mode state table, the BMC sends the display state information to the indicator lamp device through a first general input/output port by utilizing the single-wire return-to-zero code communication mechanism so as to perform color display control on the indicator lamp device.
In the embodiment of the application, the 0 and 1 of the LED chip are not simply pulled up and pulled down, but have different duty ratios of the high level and the low level in one period. In this way, the brightness of the indicator light element is adjusted by changing the duty ratio.
Illustratively, the 1 code-high level occupies 580ns-1us (high followed by low), and the low level occupies 220ns-380ns. The 0 code high level occupies 580ns-1us (low before high), and the low level occupies 580ns-1us. Whereas the interval between 1 frame and 1 frame is more than 280us low. Fig. 3 shows a schematic diagram of a data transmission process of the LED chip. Wherein D1 is data sent by MCU (Microcontroller Unit, micro control unit) end, D2, D3, D4 are data automatically shaped and forwarded by cascade circuit. Wherein the cascading of circuits, the process includes connecting the output of one circuit to the input of another circuit to form a continuous operational relationship. This cascading is accomplished by connecting an output port in one circuit with an input port in another circuit. The current is supplied next to each other, and a first signal (24 bits) is supplied to the first LED and then a second signal (24 bits) is supplied to the second LED. One frame is refreshed before the next frame begins. The operation code analysis of the LED chip is as follows:
module ws2812 ctrl(
input clk,// system clock.
Input rst_n,// reset.
The data input of output din// ws2812 b.
);
PARAMETER TIME =7'd 64;// maximum time to transmit a data 64 x 20 = 1280ns.
ParameterZhen = 5'd 24;// a frame has 24 data per lamp data.
PARAMETER MAX =7'd 64;// a total of 64 lamps.
ParameterRGB =24' b 80880800_80081111_00008800;// red.
PARAMETER RGB = 24'b00001111 00000000 00000000;// blue.
PARAMETER RGB2 = 24'b00000000 00000000 00001111;// green.
Reg [6:0] cnte;// count the longest period of a bit data transmission.
Wire add_cnte0;
Wire end_cnte0;
Reg [4:0] cnt_1z;// one bead requires 24bit data.
wire add_cnt_1z;
wire end_cnt_1z;
Reg [6:0] cnt_64z;// together 64 for the beads.
wire add_cnt_64z;
wire end_cnt_64z;
Reg [26:0] cnt_rst;// count reset signal for auto-refresh meter class.
wire add_cnt_rst;
wire end_cnt_rst;
Reg [8:0] cnt_state;// three states of bead blinking, one color for one frame, 3 color cycles.
wire add_cnt_state;
wire end_cnt_state;
Reg [23:0] cnt_b;// three states of bead blinking, one color for one frame, 3 color cycles.
Regtx_done;// 1bit data complete enable signal.
Reg RGB r;// registers RGB data for each transfer.
Reg data_out1;// 1 code and 0 code.
endmodule。
In a specific embodiment, an example of a specific preset indicator light multi-mode state table is shown in table 1. And the corresponding relation between different health state information and different display state information is recorded in the multi-mode state table of the preset indicator lamp.
Table 1 Multi-modal state table of preset indicators
It should be noted that, in a specific actual operation, the hard disk state information corresponding to the required color may be changed according to the requirement by the code, and the color corresponding to the required hard disk state information may also be changed. For example, the color of the indicator light corresponding to the health status information of the "hard disk in health status" may be changed to blue through the code, or the hard disk status information corresponding to the display status information of the "green" may be changed to be positioned on through the code.
Specifically, the baseboard management controller is further configured to adjust an object code to change display state information corresponding to different health state information and/or health state information corresponding to different display state information, where the object code is a code for configuring the multi-mode state table of the preset indicator lamp.
In addition, to avoid that too many indicator light colors cause difficulty in finding and distinguishing, the same indicator light colors may be set for different kinds of certain faults. Therefore, when the display color of the indicator lamp is corresponding, the current type of faults are determined according to the display color, and then the fault type is determined by subdivision, so that the comparison searching time is saved, and meanwhile, the display color of the indicator lamp device can be distinguished more easily to a certain extent.
Based on the above embodiments, the description will be given of a first hard disk connection structure among a plurality of preset hard disk connection structures in the device system. Fig. 4 is a schematic diagram of a first hard disk connection structure. The equipment 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 (Platform Controller Hub, PCH);
The central processing unit is connected with the south bridge chip based on a direct media interface, the baseboard management controller is connected with the south bridge chip based on a simplified pin bus, and the hard disk is a hard disk based on a hard disk interface standard of a serial transmission technology.
In the embodiment of the application, the main board of the BMC management device is directly connected with the hard disk of the south bridge PCH, and the hard disk is a hard disk based on a hard disk interface standard of a serial transmission technology, such as a SATA hard disk or SAS (Serial Attached SCSI) hard disk. And the hard disk monitoring tool polls each hard disk on the hard disk backboard, and the corresponding health state information of the device is obtained. Illustratively, the hard disk monitoring tool takes Smartmontools as an example, and reads SMART information directly from the hard disk with smartctl commands contained in Smartmontools open source toolset. When smartctl is used, a device path is specified, for example smartctl-a/dev/sda (sda is the drive letter of a certain sata hard disk).
It should be noted that the south bridge chip is connected with the CPU through DMI (DIRECT MEDIA INTERFACE ) technology, so that the north bridge pressure is released, the overall performance of the system is improved, and the BMC communicates with the CPU of the device system through LPC (Low Pin Count Bus, reduced pin bus) for managing hardware resources of the device system.
As shown in the circuit diagram of fig. 2, taking a hard disk as an example, the hard disk SATA1 corresponds to LED1 and the hard disk SATA2 corresponds to LED2. The server OS (Operating System) runs commands related to the IPMI (INTELLIGENT PLATFORM MANAGEMENT INTERFACE ) interface in-band, and transmits the health status information of the hard disk to the BMC. And the BMC displays the multi-mode display state information according to the health state information of the SATA hard disk.
Specifically, the central processing unit is configured to poll each hard disk on the hard disk backboard by using a hard disk monitoring tool based on the first communication transmission link through a system in-band program, so as 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.
The baseboard management controller is used for acquiring the health state information transmitted by the central processing unit based on the intelligent platform management interface based on the first communication transmission link.
Fig. 5 is a flowchart illustrating the determination of the health status of the hard disk according to the hardware connection structure implementation of fig. 4. The method comprises the steps that an equipment system is a server, firstly, a server OS in-band program obtains hard disk SMART information by using smartctl-a/dev/sda, secondly, the server OS in-band program transmits the SMART information to a BMC by using an IPMI interface, the BMC generates display state information corresponding to the hard disk according to the SMART information in a table look-up mode, the display state information corresponding to each hard disk is obtained through polling, and then the BMC transmits the display state information corresponding to each indicator lamp device on a hard disk backboard through GPIO by adopting a single-wire return-to-zero communication mechanism. When the indicator light device receives the display status information, as shown in the LED data transmission flow chart recorded in fig. 3, after the display control information of the first data is intercepted and used, the remaining data information is forwarded and pushed to the following LED.
Based on the above embodiment, the description will be given of presetting a second hard disk connection structure in a plurality of hard disk connection structures in the device system. Fig. 6 is a schematic diagram of a second hard disk connection structure. 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 target hardware devices, wherein the target hardware devices are hardware devices supporting management by using a monitoring management tool and comprise independent redundant disk array cards and/or serial connection SCSI interface cards;
the CPU is connected with the target hardware device through an interface based on a high-speed serial computer expansion bus standard, the baseboard management controller is connected with the target hardware device through an integrated circuit bus interface, and the hard disk is a hard disk with different interface standards.
In the embodiment of the application, the BMC manages the hard disk connected by the target device, wherein the target device can comprise a RAID card and/or an SAS card, and the target device and the SAS card are hardware devices supporting management by using a monitoring management tool. The BMC accesses the SMART information through a monitoring management tool (e.g., storCLI of MegaRAID) integrated within the BMC firmware. Such as:
sudo storcli /c0 /eall /sall show;
sudo smartctl-a-D MEGARAID, N/dev/sdX, where N is the device ID on the RAID controller.
Specifically, the baseboard management controller is configured to access each hard disk connected to the target hardware device by using the internal integrated monitoring management tool through the second communication transmission link in the second hard disk connection structure, so as to obtain health status information of each hard disk.
It should be noted that, the CPU is connected to the target hardware device through a PCIE interface, and the BMC is connected to the target hardware device through an I2C (Inter-INTEGRATED CIRCUIT) interface.
Fig. 7 is a flowchart illustrating the determination of the health status of the hard disk according to the hardware connection structure implementation of fig. 6. The method comprises the steps that a BMC (baseboard management controller) manages hard disks connected by RAID (redundant array of independent disks), firstly, the BMC uses a monitoring management tool integrated in firmware of the BMC to access SMART information of all hard disks under a RAID card, secondly, the BMC generates display state information corresponding to the hard disks according to the SMART information in a table look-up mode, and finally, the BMC transmits the corresponding display state information to each indicator lamp device on a hard disk backboard through GPIO by adopting a single-wire return-to-zero communication mechanism. When the indicator light device receives the display status information, as shown in the LED data transmission flow chart recorded in fig. 3, after the display control information of the first data is intercepted and used, the remaining data information is forwarded and pushed to the following LED.
Based on the above embodiments, the description will be given of presetting a third hard disk connection structure among a plurality of hard disk connection structures in the device system. Fig. 8 is a schematic diagram of a third hard disk connection structure. The equipment system adopts a third hard disk connection structure, and the central processing unit and the baseboard management controller are directly connected with the hard disk to establish a third communication transmission link;
The CPU is connected with the hard disk through an interface based on a high-speed serial computer expansion bus standard, the baseboard management controller is connected with the hard disk through a management interface based on a hard disk with a nonvolatile memory host controller interface specification, and the hard disk is a hard disk which can be directly monitored and managed through the baseboard management controller.
In the embodiment of the application, the NVME hard disk directly connected with PCIE (Peripheral Component Interconnect Express) interfaces of the CPU is taken as an example for BMC management. The NVME is provided with an NVME-MI interface that allows the NVME device to be monitored and managed by a management controller such as the BMC without relying on the host operating system. This approach typically uses SMBUS (SYSTEM MANAGEMENT Bus)/I2C or PCIE VDM (Vendor DEFINED MESSAGES) as a transmission channel. The BMC manages NVME hard disk of PCIE interface directly connected with CPU.
Fig. 9 is a flowchart illustrating the determination of the health status of the hard disk according to the hardware connection structure implementation of fig. 8. The method comprises the steps that a BMC (baseboard management controller) is used for acquiring SMART (SMART technology) information of all NVME hard disks by using an NVME-MI interface, secondly, the BMC looks up and produces display state information corresponding to the hard disk according to the SMART information, and finally, the BMC transmits the corresponding display state information to each indicator lamp device on a hard disk backboard by using a single-wire return-to-zero communication mechanism through GPIO. When the indicator light device receives the display status information, as shown in the LED data transmission flow chart recorded in fig. 3, after the display control information of the first data is intercepted and used, the remaining data information is forwarded and pushed to the following LED.
Further, the embodiment of the invention discloses a method for monitoring the state of a hard disk of an equipment system, wherein the equipment system comprises an equipment main board and a hard disk backboard, a central processing unit and a baseboard management controller are arranged on the equipment main board, an indicator lamp device and hard disks with different interface standards are arranged on the hard disk backboard, the equipment system adopts any hard disk connection structure of a plurality of preset hard disk connection structures, and the central processing unit and the baseboard management controller respectively establish communication transmission links with the hard disks, as shown in fig. 10, the method comprises the following steps:
And S11, acquiring health state information of the hard disk through the communication transmission link in any hard disk connection structure.
And step S12, the display state information of the indicator light device corresponding to the health state information is matched from a preset indicator light multi-mode state table, and the preset indicator light multi-mode state table is used for recording the corresponding relation between different health state information and different display state information.
And step S13, performing color display control on the indicator lamp device based on the display state information so as to judge the health state of the hard disk through the display color of the indicator lamp device.
The more specific working process of the above steps may refer to the corresponding content disclosed in the foregoing embodiment, and will not be described herein.
The application discloses a hard disk state monitoring method of an equipment system, which comprises an equipment main board and a hard disk backboard, wherein a central processing unit and a baseboard management controller are arranged on the equipment main board, an indicator lamp device and hard disks with different interface standards are arranged on the hard disk backboard, the equipment system adopts any one hard disk connection structure among a plurality of preset hard disk connection structures, the central processing unit and the baseboard management controller are respectively connected with the hard disks in a communication transmission mode, health state information of the hard disks is obtained through the communication transmission link in any one hard disk connection structure, display state information of the indicator lamp device corresponding to the health state information is matched from a preset indicator lamp multi-mode state table, the preset indicator lamp multi-mode state table is used for recording corresponding relations between different health state information and different display state information, and color display control is carried out on the indicator lamp device based on the display state information so as to judge the health state of the hard disks through the display color of the indicator lamp device.
The application has the beneficial technical effects that the equipment system can adopt different hard disk connection structures, a communication transmission link is established between the central processing unit and the base plate management controller as well as the hard disk, and the health status monitoring of the hard disk with different interface standards commonly used by the server on the market is realized. The substrate management controller manages the hard disk by using a preset indicator lamp multi-mode state table, controls the corresponding indicator lamp device to display the health state of the hard disk, and can display the color of different lamplight aiming at different hard disk faults, so that the abnormal state information of each hard disk has the color display corresponding to the abnormal state information. Therefore, the equipment abnormality identification is conveniently carried out by the field operation and maintenance personnel of the data center, the abnormal equipment is processed and replaced in advance before the hard disk is completely failed, and the downtime probability of the server of the data center is reduced.
Correspondingly, the embodiment of the application also discloses a hard disk state monitoring device of an equipment system, wherein the equipment system comprises an equipment main board and a hard disk backboard, the equipment main board is provided with a central processing unit and a baseboard management controller, the hard disk backboard is provided with an indicator lamp device and hard disks with different interface standards, the equipment system adopts any one hard disk connection structure among a plurality of preset hard disk connection structures to respectively establish a communication transmission link between the central processing unit and the baseboard management controller and the hard disks, and the device comprises the following components as shown in fig. 11:
the health state information obtaining module 11 is configured to obtain health state information of the hard disk through the communication transmission link in the arbitrary hard disk connection structure;
The display state information acquisition module 12 is used for matching display state information of the indicator light device corresponding to the health state information from a preset indicator light multi-mode state table, wherein the preset indicator light multi-mode state table is used for recording corresponding relations between different health state information and different display state information;
And the health state judging module 13 is used for performing color display control on the indicator light device based on the display state information so as to judge the health state of the hard disk through the display color of the indicator light device.
The more specific working process of each module may refer to the corresponding content disclosed in the foregoing embodiment, and will not be described herein.
The device system comprises a device main board and a hard disk backboard, wherein a central processing unit and a baseboard management controller are arranged on the device main board, an indicator lamp device and hard disks with different interface standards are arranged on the hard disk backboard, the device system adopts any one of a plurality of preset hard disk connection structures to respectively establish communication transmission links with the central processing unit and the baseboard management controller and the hard disks, and concretely, health state information of the hard disks is obtained through the communication transmission links in any one of the hard disk connection structures, display state information of the indicator lamp device corresponding to the health state information is matched from a preset indicator lamp multi-mode state table, the preset indicator lamp multi-mode state table is used for recording corresponding relations between different health state information and different display state information, and color display control is carried out on the indicator lamp device based on the display state information so as to judge the health state of the hard disks through display colors of the indicator lamp device.
The application has the beneficial technical effects that the equipment system can adopt different hard disk connection structures, a communication transmission link is established between the central processing unit and the base plate management controller as well as the hard disk, and the health status monitoring of the hard disk with different interface standards commonly used by the server on the market is realized. The substrate management controller manages the hard disk by using a preset indicator lamp multi-mode state table, controls the corresponding indicator lamp device to display the health state of the hard disk, and can display the color of different lamplight aiming at different hard disk faults, so that the abnormal state information of each hard disk has the color display corresponding to the abnormal state information. Therefore, the equipment abnormality identification is conveniently carried out by the field operation and maintenance personnel of the data center, the abnormal equipment is processed and replaced in advance before the hard disk is completely failed, and the downtime probability of the server of the data center is reduced.
Further, the embodiment of the present application further discloses an electronic device, and fig. 12 is a block diagram of an electronic device 20 according to an exemplary embodiment, where the content of the figure is not to be considered as any limitation on the scope of use of the present application.
Fig. 12 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. The electronic device 20 may include, in particular, 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 configured to store a computer program, where the computer program is loaded and executed by the processor 21 to implement relevant steps in the method for monitoring a hard disk state of an apparatus system disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in the present embodiment may be a server.
In this embodiment, the power supply 23 is configured to provide working voltages for each hardware device on the electronic device 20, the communication interface 24 is capable of creating a data transmission channel with an external device for the electronic device 20, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein, and the input/output interface 25 is configured to obtain external input data or output data to the external device, and the specific interface type of the input/output interface may be selected according to the specific application needs and is not specifically limited herein.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon may include an operating system 221, a computer program 222, data 223, and the like, and the data 223 may include various data. The storage means may be a temporary storage or a permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, netware, unix, linux, etc. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the method of monitoring the state of a hard disk of a device system executed by the electronic device 20 as disclosed in any of the previous embodiments.
Further, embodiments of the present application also disclose a computer readable storage medium, where the computer readable storage medium includes random access Memory (Random Access Memory, RAM), memory, read-Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, magnetic disk, or optical disk, or any other form of storage medium known in the art. The computer program, when executed by the processor, implements the method for monitoring the hard disk state of the device system. For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
Further, the embodiment of the application also provides a computer program product, which comprises a computer program/instruction, wherein the computer program/instruction realizes any one of the method for realizing the monitoring method of the hard disk state of the equipment system when being executed by a processor.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are 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 points refer to the description of the method section.
The steps of a hard disk state monitoring method or algorithm of a device system described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The foregoing describes the principles and embodiments of the present invention in detail using specific examples to facilitate understanding of the method and core ideas of the present invention, and meanwhile, the present invention should not be construed as being limited to the embodiments and application scope of the present invention, since the technical personnel in the art can change the method and core ideas according to the ideas of the present invention.

Claims (15)

1.一种设备系统,其特征在于,包括设备主板和硬盘背板,所述设备主板上设有中央处理器和基板管理控制器,所述硬盘背板上设有指示灯器件和不同接口标准的硬盘;其中,1. A device system, characterized in that it comprises 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 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.根据权利要求1所述的设备系统,其特征在于,所述指示灯器件内设置采用单线归零码通信机制的发光二极管芯片,并且所述发光二极管芯片的三基色通道上每种颜色的亮度对应不同的级别,以完成全真色彩显示。2. The equipment system according to claim 1 is characterized in that a light-emitting diode chip using 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. 3.根据权利要求2所述的设备系统,其特征在于,所述基板管理控制器用于基于从预设指示灯多模态状态表中匹配到的与所述健康状态信息对应的所述指示灯器件的显示状态信息,通过第一通用输入输出口利用所述单线归零码通信机制向所述指示灯器件发送显示状态信息,以对所述指示灯器件进行颜色显示控制。3. The equipment system according to claim 2 is 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.根据权利要求1所述的设备系统,其特征在于,所述基板管理控制器的第二通用输入输出口与所述设备主板通过目标连接端子的第三通用输入输出口连接。4 . The device system according to claim 1 , wherein 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 a target connection terminal. 5.根据权利要求1所述的设备系统,其特征在于,所述基板管理控制器还用于对目标代码进行调整,以更改不同的健康状态信息对应的显示状态信息,和/或不同的显示状态信息对应的健康状态信息;5. The device system according to claim 1, characterized in that 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; 其中,所述目标代码为用于对所述预设指示灯多模态状态表进行配置的代码。Wherein, the target code is a code used to configure the preset indicator light multi-modal state table. 6.根据权利要求1至5任一项所述的设备系统,其特征在于,所述设备系统采用第一硬盘连接结构,将所述中央处理器和所述基板管理控制器通过南桥芯片分别与所述硬盘建立第一通信传输链路;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 a 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.根据权利要求6所述的设备系统,其特征在于,所述中央处理器用于基于所述第一通信传输链路,通过系统带内程序,利用硬盘监控工具轮询所述硬盘背板上的各所述硬盘,以获取每个所述硬盘的健康状态信息,并通过所述系统带内程序将所述健康状态信息传输给所述基板管理控制器。7. The equipment system according to claim 6 is 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 using a 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.根据权利要求7所述的设备系统,其特征在于,所述基板管理控制器用于基于所述第一通信传输链路,获取所述中央处理器基于智能平台管理接口传输的所述健康状态信息。8. The equipment system according to claim 7 is 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.根据权利要求1至5任一项所述的设备系统,其特征在于,所述设备系统采用第二硬盘连接结构,将所述中央处理器和所述基板管理控制器通过目标硬件设备分别与所述硬盘建立第二通信传输链路;所述目标硬件设备为支持利用监控管理工具进行管理的硬件设备,包括独立冗余磁盘阵列卡和/或串行连接SCSI接口卡;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 to establish a second communication transmission link between the central processing unit and the baseboard management controller and 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 attached 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.根据权利要求9所述的设备系统,其特征在于,所述基板管理控制器用于通过所述第二硬盘连接结构中的所述第二通信传输链路,利用内部集成的所述监控管理工具访问所述目标硬件设备连接的各所述硬盘,以获取各所述硬盘的健康状态信息。10. The device system according to claim 9 is characterized in that 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. 11.根据权利要求1至5任一项所述的设备系统,其特征在于,所述设备系统采用第三硬盘连接结构,将所述中央处理器和所述基板管理控制器直接与所述硬盘连接建立第三通信传输链路;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 processing unit 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.一种设备系统的硬盘状态监测方法,其特征在于,所述设备系统包括设备主板和硬盘背板,所述设备主板上设有中央处理器和基板管理控制器,所述硬盘背板上设有指示灯器件和不同接口标准的硬盘;所述设备系统采用预设若干硬盘连接结构中的任意一种硬盘连接结构,将所述中央处理器和所述基板管理控制器分别与所述硬盘建立通信传输链路;其中,所述方法包括:12. A hard disk status monitoring method for an equipment system, characterized in that the equipment system comprises an equipment mainboard and a hard disk backplane, 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: 通过所述任意一种硬盘连接结构中的所述通信传输链路,获取所述硬盘的健康状态信息;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.一种电子设备,其特征在于,包括:13. An electronic device, comprising: 存储器,用于存储计算机程序;Memory for storing computer programs; 处理器,用于加载并执行所述计算机程序以实现权利要求12所述的设备系统的硬盘状态监测方法。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.一种计算机程序产品,包括计算机程序/指令,其特征在于,所述计算机程序/指令被处理器执行时实现权利要求12所述的设备系统的硬盘状态监测方法的步骤。14. A computer program product, comprising a computer program/instruction, wherein the computer program/instruction, when executed by a processor, implements the steps of the hard disk status monitoring method of the device system according to claim 12. 15.一种计算机可读存储介质,其特征在于,用于存储计算机程序;其中所述计算机程序被处理器执行时实现权利要求12所述的设备系统的硬盘状态监测方法。15. A computer-readable storage medium, characterized in that it is used to store a computer program; wherein the computer program, when executed by a processor, implements the hard disk status monitoring method of the device system according to claim 12.
CN202411839804.0A 2024-12-13 2024-12-13 Device system and hard disk status monitoring method, device, program product and medium thereof Pending CN119311524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411839804.0A CN119311524A (en) 2024-12-13 2024-12-13 Device system and hard disk status monitoring method, device, program product and medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411839804.0A CN119311524A (en) 2024-12-13 2024-12-13 Device system and hard disk status monitoring method, device, program product and medium thereof

Publications (1)

Publication Number Publication Date
CN119311524A true CN119311524A (en) 2025-01-14

Family

ID=94190865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411839804.0A Pending CN119311524A (en) 2024-12-13 2024-12-13 Device system and hard disk status monitoring method, device, program product and medium thereof

Country Status (1)

Country Link
CN (1) CN119311524A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645981A (en) * 2013-11-15 2014-03-19 华为技术有限公司 Hard disk identification method and system
CN109117342A (en) * 2018-08-13 2019-01-01 郑州云海信息技术有限公司 A kind of server and its hard disk health status monitoring system
CN109446003A (en) * 2018-10-17 2019-03-08 郑州云海信息技术有限公司 A kind of method of state instruction, controller and storage medium
CN109857602A (en) * 2019-01-04 2019-06-07 郑州云海信息技术有限公司 A kind of server hard disk back plane health status monitoring device, method and system
CN117076179A (en) * 2023-08-31 2023-11-17 浪潮(山东)计算机科技有限公司 A hard disk indicator light control method, device, electronic equipment and storage medium
CN118012507A (en) * 2024-04-09 2024-05-10 安擎计算机信息股份有限公司 Management method of PCH (physical downlink control channel) direct-out hard disk and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645981A (en) * 2013-11-15 2014-03-19 华为技术有限公司 Hard disk identification method and system
CN109117342A (en) * 2018-08-13 2019-01-01 郑州云海信息技术有限公司 A kind of server and its hard disk health status monitoring system
CN109446003A (en) * 2018-10-17 2019-03-08 郑州云海信息技术有限公司 A kind of method of state instruction, controller and storage medium
CN109857602A (en) * 2019-01-04 2019-06-07 郑州云海信息技术有限公司 A kind of server hard disk back plane health status monitoring device, method and system
CN117076179A (en) * 2023-08-31 2023-11-17 浪潮(山东)计算机科技有限公司 A hard disk indicator light control method, device, electronic equipment and storage medium
CN118012507A (en) * 2024-04-09 2024-05-10 安擎计算机信息股份有限公司 Management method of PCH (physical downlink control channel) direct-out hard disk and server

Similar Documents

Publication Publication Date Title
US10896113B2 (en) Method for implementing backplane lighting for multiple NVMe hard disks
CN106776196A (en) A kind of server hard disc method for monitoring state and system
CN107832199A (en) Hard disk monitoring system based on CPLD
CN107491148A (en) A kind of server hard disc attachment structure
US7356431B2 (en) Method for testing an input/output functional board
US8082368B2 (en) Display device for indicating connection statuses of a communication channel provided between two systems and method thereof
CN105955898A (en) Hard disk backboard compatible with SAS hard disk and NVMe hard disk
CN107577569A (en) A kind of server hard disc attachment structure and its application process
CN111400121B (en) Server hard disk slot positioning and maintaining method
US20150149684A1 (en) Handling two ses sidebands using one smbus controller on a backplane controller
US9507744B2 (en) Handling two SGPIO channels using single SGPIO decoder on a backplane controller
CN108845763A (en) A kind of system and method for managing disk state concentratedly
CN108563549A (en) A kind of interface hard disk state instruction control system and method based on CPLD-FPGA
CN109446142B (en) Electronic equipment, mainboard and control method
CN102479140A (en) Computer system and hard disk state display method thereof
US8005993B2 (en) System and method of a storage expansion unit for a network attached storage device
CN101163308B (en) Intelligent platform management controller
CN102376338B (en) Hard disk module
CN102841838B (en) I2C and SGPIO automatic detection device, system and method thereof
US7096155B2 (en) Method, system and apparatus for providing real-time led status of embedded controllers to system management software
US20150370679A1 (en) Server and device for analyzing a signal thereof
CN113204475B (en) Lighting device and method for hard disk of server backboard and server
CN119311524A (en) Device system and hard disk status monitoring method, device, program product and medium thereof
CN118377428A (en) Method, device, equipment and medium for determining hard disk working state
TWI823378B (en) Hard drive indicator circuit and hard drive backplane

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination