CN108845763A - A kind of system and method for managing disk state concentratedly - Google Patents
A kind of system and method for managing disk state concentratedly Download PDFInfo
- Publication number
- CN108845763A CN108845763A CN201810539101.4A CN201810539101A CN108845763A CN 108845763 A CN108845763 A CN 108845763A CN 201810539101 A CN201810539101 A CN 201810539101A CN 108845763 A CN108845763 A CN 108845763A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- cpld
- status
- display
- leds
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
- G06F3/0605—Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/325—Display of status information by lamps or LED's
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0658—Controller construction arrangements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0659—Command handling arrangements, e.g. command buffers, queues, command scheduling
-
- G06F2003/0697—
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
本申请公开了一种可集中管理硬盘状态的系统及方法,该系统包括采集模块和板卡,板卡与服务器主板可抽拉式连接,板卡包括连接器、CPLD和显示模块。采集模块用于采集硬盘运行状态,并将硬盘运行状态传输至CPLD;连接器的一端通过排线与采集模块连接、另一端与CPLD的输入端连接,CPLD的输出端与显示模块连接。该方法首先获取硬盘运行状态,并通过排线将硬盘运行状态传输至CPLD;其次CPLD对硬盘运行状态进行解码;然后根据解码结果,CPLD向显示模块发送控制命令;最后显示模块根据所获取的控制命令,对硬盘状态进行显示。通过本申请中的系统和方法,能够集中管理和查看硬盘运行状态,有利于提高硬盘状态管理的准确性,且有利于减少存储系统的设计成本。
The application discloses a system and method for centralized management of hard disk status. The system includes an acquisition module and a board, the board can be connected to the main board of the server in a pull-out manner, and the board includes a connector, a CPLD and a display module. The acquisition module is used to collect the operating status of the hard disk and transmit the operating status of the hard disk to the CPLD; one end of the connector is connected to the acquisition module through a cable, the other end is connected to the input end of the CPLD, and the output end of the CPLD is connected to the display module. This method first acquires the running status of the hard disk, and transmits the running status of the hard disk to the CPLD through a cable; secondly, the CPLD decodes the running status of the hard disk; then, according to the decoding result, the CPLD sends a control command to the display module; command to display the hard disk status. Through the system and method in the present application, the running state of the hard disk can be managed and viewed in a centralized manner, which is beneficial to improving the accuracy of hard disk state management and reducing the design cost of the storage system.
Description
技术领域technical field
本申请涉服务器板卡技术领域,特别是涉及一种可集中管理硬盘状态的系统及方法。The present application relates to the technical field of server boards, in particular to a system and method for centralized management of hard disk status.
背景技术Background technique
在高密度存储系统中,如何直观展现硬盘的运行状态,与存储系统整体的结构设计密切相关。如在1U存储系统设计支持12LFF HDD(3.5寸硬盘)和24SFF HDD(2.5寸硬盘),3U存储系统设计支持48LFF HDD(3.5寸硬盘),4U存储系统设计支持100LFF HDD。如何通过不同存储系统的PCBA设计,查看硬盘的运行状态是个重要问题。In a high-density storage system, how to visually display the operating status of the hard disk is closely related to the overall structural design of the storage system. For example, the 1U storage system design supports 12LFF HDD (3.5-inch hard disk) and 24SFF HDD (2.5-inch hard disk), the 3U storage system design supports 48LFF HDD (3.5-inch hard disk), and the 4U storage system design supports 100LFF HDD. How to check the running status of the hard disk through the PCBA design of different storage systems is an important issue.
目前高密度存储系统设计中,主要通过直接查看硬盘背板上的LED灯,来查看硬盘的运行状态。具体地,将显示硬盘状态的LED制作在高密度存储系统的PCBA(PrintedCircuit Board Assembly,印刷电路板)上,然后通过硬盘托架上的导光柱将LED的状态引导至系统前端,用于监视系统硬盘运行的状态;或者直接通过导光柱将LED的状态引导至系统前端,用于监视系统硬盘运行的状态。At present, in the design of high-density storage systems, the operating status of the hard disk is mainly checked by directly checking the LED lights on the backboard of the hard disk. Specifically, the LED displaying the state of the hard disk is made on the PCBA (Printed Circuit Board Assembly, printed circuit board) of the high-density storage system, and then the state of the LED is guided to the front end of the system through the light guide column on the hard disk bracket for monitoring the system. The running status of the hard disk; or directly guide the status of the LED to the front of the system through the light guide column to monitor the running status of the system hard disk.
然而,通过硬盘托架上的导光柱将PCB板上的LED灯引导至硬盘托架的方式,由于大部分硬盘在机箱内部,需将机箱打开才能观察到硬盘的运行状态,因此,不方便查看硬盘状态。直接通过导光柱将PCB板上的LED灯引导至系统前端的方式,需要排布导光柱在整个机箱内的走线,而且导光柱会占用机箱空间,且不易固定,因此生产组装复杂,且成本高。However, the LED light on the PCB board is guided to the hard disk bracket through the light guide column on the hard disk bracket. Since most of the hard disks are inside the chassis, the hard disk needs to be opened to observe the running status of the hard disk. Therefore, it is not convenient to check Hard disk status. Directly guide the LED lights on the PCB board to the front end of the system through the light guide column, it is necessary to arrange the wiring of the light guide column in the entire chassis, and the light guide column will occupy the space of the chassis, and it is not easy to fix, so the production and assembly are complicated and costly. high.
发明内容Contents of the invention
本申请提供了一种可集中管理硬盘状态的系统及方法,以解决现有技术中无法准确而方便地查看硬盘状态的问题。The present application provides a system and method for centrally managing the hard disk status, so as to solve the problem in the prior art that the hard disk status cannot be checked accurately and conveniently.
为了解决上述技术问题,本申请实施例公开了如下技术方案:In order to solve the above technical problems, the embodiment of the present application discloses the following technical solutions:
一种可集中管理硬盘状态的系统,所述系统包括:采集模块和板卡,其中,所述板卡与服务器主板可抽拉式连接,所述板卡包括连接器、CPLD(Complex Programmable LogicDevice,复杂可编程逻辑器件)和显示模块,所述连接器的一端与采集模块连接,所述连接器的另一端与CPLD的输入端连接,所述CPLD的输出端与显示模块连接;A system that can centrally manage the state of a hard disk, the system comprising: an acquisition module and a board, wherein the board is pull-outly connected to a server mainboard, and the board includes a connector, a CPLD (Complex Programmable LogicDevice, complex programmable logic device) and a display module, one end of the connector is connected to the acquisition module, the other end of the connector is connected to the input of the CPLD, and the output of the CPLD is connected to the display module;
所述采集模块,用于采集硬盘运行状态,并将硬盘运行状态传输至CPLD;The collection module is used to collect the running state of the hard disk, and transmit the running state of the hard disk to the CPLD;
所述CPLD,用于对所获取的硬盘运行状态进行解码,并根据解码结果控制显示模块对硬盘运行状态进行显示。The CPLD is used to decode the acquired running state of the hard disk, and control the display module to display the running state of the hard disk according to the decoding result.
可选地,所述显示模块包括LED(Light-Emitting Diode,发光二极管)总显示器和多组LED,每组LED与一个硬盘相匹配,所述CPLD的输出端与LED总显示器连接,所述CPLD的输出端还分别与多组LED中的任意一组LED连接;Optionally, the display module includes an LED (Light-Emitting Diode, light-emitting diode) total display and multiple groups of LEDs, each group of LEDs is matched with a hard disk, the output of the CPLD is connected to the LED total display, and the CPLD The output terminals of the LEDs are also respectively connected to any group of LEDs in the plurality of groups of LEDs;
所述LED总显示器用于显示整个存储系统的运行状态;The LED total display is used to display the operating status of the entire storage system;
所述LED用于显示存储系统中每个硬盘的Active、Locate和Fault状态。The LEDs are used to display the Active, Locate and Fault states of each hard disk in the storage system.
可选地,所述采集模块包括控制芯片和排线,所述控制芯片设置于服务器主板内,所述控制芯片将硬盘状态通过排线传输至CPLD。Optionally, the acquisition module includes a control chip and a cable, the control chip is arranged in the main board of the server, and the control chip transmits the status of the hard disk to the CPLD through the cable.
可选地,所述排线包括SGPIO(一种并行转串行的低速总线)总线或I2C(Inter-Integrated Circuit,连接微控制器及其外围设备)总线。Optionally, the cable includes an SGPIO (a low-speed parallel-to-serial bus) bus or an I2C (Inter-Integrated Circuit, connecting a microcontroller and its peripherals) bus.
可选地,所述采集模块包括控制芯片,所述控制芯片通过设置于控制芯片上的IO引脚将硬盘状态传输至CPLD。Optionally, the acquisition module includes a control chip, and the control chip transmits the status of the hard disk to the CPLD through an IO pin provided on the control chip.
可选地,所述硬盘包括SATA(Serial Advanced Technology Attachment,串行高级技术附件)硬盘、SAS(Serial Attached SCSI,串行附接SCSI或串行附接小型计算机系统接口)硬盘或NVMe(Non-Volatile Memory express,非易失性内存主机控制器接口规范)硬盘。Optionally, the hard disk includes a SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) hard disk, a SAS (Serial Attached SCSI, Serial Attached SCSI or Serial Attached Small Computer System Interface) hard disk, or an NVMe (Non- Volatile Memory express, non-volatile memory host controller interface specification) hard disk.
可选地,当所述硬盘为SATA硬盘时,控制芯片为SATA controller或SATAexpander;当所述硬盘为SAS硬盘时,控制芯片为SAS controller或SAS expander;当所述硬盘为NVMe硬盘时,控制芯片为CPU或PCIE(Peripheral Component InterconnectExpress,一种高速串行计算机扩展总线标准)Switch。Optionally, when the hard disk is a SATA hard disk, the control chip is a SATA controller or a SATA expander; when the hard disk is a SAS hard disk, the control chip is a SAS controller or a SAS expander; when the hard disk is an NVMe hard disk, the control chip It is CPU or PCIE (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard) Switch.
一种可集中管理硬盘状态的方法,所述方法包括:A method for centrally managing the state of a hard disk, the method comprising:
获取硬盘运行状态,并通过排线将硬盘运行状态传输至CPLD;Obtain the running status of the hard disk, and transmit the running status of the hard disk to the CPLD through the cable;
CPLD对硬盘运行状态进行解码;CPLD decodes the running status of the hard disk;
根据解码结果,CPLD向显示模块发送控制命令;According to the decoding result, the CPLD sends a control command to the display module;
显示模块根据所获取的控制命令,对硬盘状态进行显示。The display module displays the status of the hard disk according to the obtained control command.
可选地,所述显示模块包括LED总显示器和多组LED,每组LED与一个硬盘相匹配,所述CPLD的输出端与LED总显示器连接,所述CPLD的输出端还分别与多组LED中的任意一组LED连接;Optionally, the display module includes a total LED display and multiple groups of LEDs, each group of LEDs is matched with a hard disk, the output of the CPLD is connected to the total LED display, and the output of the CPLD is also connected to multiple groups of LEDs Any set of LED connections in ;
所述LED总显示器用于显示整个存储系统的运行状态;The LED total display is used to display the operating status of the entire storage system;
所述LED用于显示存储系统中每个硬盘的状态。The LEDs are used to display the status of each hard disk in the storage system.
可选地,所述根据解码结果,CPLD向显示模块发送控制命令的方法,包括:Optionally, according to the decoding result, the method for the CPLD to send a control command to the display module includes:
如果解码结果为所有硬盘正常运行,CPLD向LED总显示器发送整个存储系统正常运行的控制指令,且CPLD向任意一组LED发送所述任意一组LED所对应硬盘的Active状态命令和Locate状态命令;If the decoding result is that all hard disks are running normally, the CPLD sends a control command for the normal operation of the entire storage system to the LED total display, and the CPLD sends the Active state command and the Locate state command of the hard disk corresponding to the arbitrary group of LEDs to any group of LEDs;
如果解码结果为至少有一个硬盘发生故障,CPLD向LED总显示器发送整个存储系统运行异常的控制指令,且CPLD向故障硬盘所匹配的LED发送点亮硬盘Fault状态的命令。If the decoding result shows that at least one hard disk fails, the CPLD sends a control command to the LED total display indicating that the entire storage system is running abnormally, and the CPLD sends a command to light the Fault status of the hard disk to the LED matching the faulty hard disk.
本申请的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
本申请提供一种可集中管理硬盘状态的系统,该系统包括采集模块和板卡,其中板卡与服务器主板之间可抽拉式连接,且板卡包括连接器、CPLD和显示模块。采集模块用于采集硬盘运行状态,并将硬盘运行状态传输至CPLD;连接器的一端通过排线与采集模块连接,连接器的另一端与CPLD的输入端连接,CPLD的输出端与显示模块连接。本申请通过采集模块将硬盘状态信息传递至板卡的CPLD中,通过CPLD对来自采集模块的硬盘状态信息进行解码,CPLD根据解码结果控制显示模块对硬盘状态进行显示,从而实现硬盘的集中管理。The present application provides a system capable of centrally managing hard disk status. The system includes an acquisition module and a board, wherein the board and the main board of the server can be connected in a pull-out manner, and the board includes a connector, a CPLD and a display module. The acquisition module is used to collect the running status of the hard disk and transmit the running status of the hard disk to the CPLD; one end of the connector is connected to the acquisition module through a cable, the other end of the connector is connected to the input end of the CPLD, and the output end of the CPLD is connected to the display module . This application transmits the hard disk status information to the CPLD of the board through the acquisition module, decodes the hard disk status information from the acquisition module through the CPLD, and controls the display module to display the hard disk status according to the decoding result, thereby realizing the centralized management of the hard disk.
另外,本申请中显示模块包括LED总显示器和多组LED,每组LED与一个硬盘相匹配,通过LED总显示器能够显示整个存储系统的运行状态,通过每组LED能够显示每个硬盘的三种运行状态。当LED总显示器显示故障时,表明至少有一个硬盘发生故障,然后再打开板卡,根据板卡中LED状态查找发生故障的硬盘。因此,本申请中的硬盘状态管理更加方便。且本申请中控制芯片通过排线连接板卡上的连接器,该排线采用SGPIO总线或I2C总线这种低速总线,使得本申请使用少量信号线即可将硬盘状态传输至板卡,实现硬盘的集中管理。因此,这种管理系统不会占用机箱空间,且通过CPLD能够准确地反映硬盘运行状态。In addition, the display module in this application includes a total LED display and multiple groups of LEDs. Each group of LEDs matches a hard disk. The total LED display can display the operating status of the entire storage system, and each group of LEDs can display three types of data for each hard disk. Operating status. When the LED total display shows a fault, it indicates that at least one hard disk has failed, and then turn on the board, and find the faulty hard disk according to the status of the LED in the board. Therefore, the hard disk status management in this application is more convenient. In addition, in this application, the control chip is connected to the connector on the board through a cable. The cable uses a low-speed bus such as the SGPIO bus or I2C bus, so that the application uses a small number of signal lines to transmit the status of the hard disk to the board. centralized management. Therefore, this management system does not take up space in the chassis, and the CPLD can accurately reflect the running status of the hard disk.
本申请还提供一种可集中管理硬盘状态的方法,该方法首先获取硬盘运行状态,并通过排线将硬盘运行状态传输至CPLD;其次CPLD对硬盘运行状态进行解码;然后根据解码结果,CPLD向显示模块发送控制命令;最后显示模块根据所获取的控制命令,对硬盘状态进行显示。本申请中的方法避免采用导光柱,在使用少量信号线的情况下,即可将硬盘状态传递至CPLD,从而实现硬盘的集中管理。而且,本申请中的方法,既对整个存储系统的运行状态进行显示,又对存储系统中每个硬盘的状态进行显示,CPLD能够对所获取的硬盘运行状态进行解码,产生分别控制LED总显示器的控制命令,和控制每个LED的控制命令。当LED总显示器显示故障时,表明至少有一个硬盘发生故障,然后再打开板卡,根据板卡中LED状态查找发生故障的硬盘。因此,本申请中的硬盘状态管理更加方便快捷。而且本申请通过CPLD对硬盘状态进行管理和控制,有利于提高硬盘状态管理的准确性和可靠性。The present application also provides a method for centralized management of hard disk status. The method first obtains the running status of the hard disk, and transmits the running status of the hard disk to the CPLD through wiring; secondly, the CPLD decodes the running status of the hard disk; then, according to the decoding result, the CPLD sends The display module sends a control command; finally, the display module displays the status of the hard disk according to the obtained control command. The method in this application avoids the use of a light guide column, and can transmit the status of the hard disk to the CPLD under the condition of using a small number of signal lines, thereby realizing centralized management of the hard disk. Moreover, the method in the present application not only displays the running status of the entire storage system, but also displays the status of each hard disk in the storage system. The control command, and the control command to control each LED. When the LED total display shows a fault, it indicates that at least one hard disk has failed, and then turn on the board, and find the faulty hard disk according to the status of the LED in the board. Therefore, the hard disk status management in this application is more convenient and faster. Moreover, the present application manages and controls the state of the hard disk through the CPLD, which is conducive to improving the accuracy and reliability of hard disk state management.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings on the premise of not paying creative work.
图1为本申请实施例所提供的一种可集中管理硬盘状态的系统的结构示意图;FIG. 1 is a schematic structural diagram of a system that can centrally manage hard disk status provided by an embodiment of the present application;
图2为本申请实施例中SGPIO传输方式原理图;Fig. 2 is a schematic diagram of the SGPIO transmission mode in the embodiment of the present application;
图3为本申请实施例中可集中管理硬盘状态的系统的工作原理图;Fig. 3 is the working principle diagram of the system that can centrally manage the hard disk state in the embodiment of the present application;
图4为本申请实施例中板卡与服务器主板之间可抽拉连接方式的示意图;4 is a schematic diagram of a drawable connection mode between the board and the server main board in the embodiment of the present application;
图5为本申请实施例所提供的一种可集中管理硬盘状态的方法的流程示意图。FIG. 5 is a schematic flowchart of a method for centrally managing hard disk status provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
为了更好地理解本申请,下面结合附图来详细解释本申请的实施方式。In order to better understand the present application, the implementation manner of the present application will be explained in detail below in conjunction with the accompanying drawings.
实施例一Embodiment one
参见图1,图1为本申请实施例所提供的一种可集中管理硬盘状态的系统的结构示意图。由图1可知,本申请中可集中管理硬盘状态的系统主要包括采集模块和板卡两个部分。其中板卡包括依次连接的连接器、CPLD和显示模块,连接器的一端与采集模块连接,连接器的另一端与CPLD的输入端连接,CPLD的输出端与显示模块连接。采集模块用于采集硬盘运行状态,并将硬盘运行状态传输至CPLD;CPLD用于对所获取的硬盘运行状态进行解码,并根据解码结果控制显示模块对硬盘运行状态进行显示。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a system capable of centrally managing hard disk status provided by an embodiment of the present application. It can be seen from FIG. 1 that the system for centralized management of hard disk status in this application mainly includes two parts: an acquisition module and a board. The board includes a connector, a CPLD and a display module connected in sequence, one end of the connector is connected to the acquisition module, the other end of the connector is connected to the input end of the CPLD, and the output end of the CPLD is connected to the display module. The acquisition module is used to collect the running status of the hard disk, and transmit the running status of the hard disk to the CPLD; the CPLD is used to decode the acquired running status of the hard disk, and control the display module to display the running status of the hard disk according to the decoding result.
本实施例中,CPLD内置于板卡中,LED总显示器设置于板卡中朝向观察者的一端,多组LED平放于板卡中同一个平面内。In this embodiment, the CPLD is built in the board, the LED total display is set at the end of the board facing the observer, and multiple groups of LEDs are placed on the same plane of the board.
本实施中显示模块包括LED总显示器和多组LED,每组LED与一个硬盘相匹配。CPLD的输出端与LED总显示器连接,CPLD的输出端还分别与多组LED中的任意一组LED连接。其中,LED总显示器用于显示整个存储系统的运行状态;LED用于显示存储系统中每个硬盘的Active、Locate和Fault状态。In this implementation, the display module includes a total LED display and multiple groups of LEDs, and each group of LEDs matches a hard disk. The output terminal of the CPLD is connected with the LED total display, and the output terminal of the CPLD is also respectively connected with any group of LEDs among the multiple groups of LEDs. Among them, the LED total display is used to display the running status of the entire storage system; the LED is used to display the Active, Locate and Fault status of each hard disk in the storage system.
通常,当硬盘正常运行且无读写操作时,该硬盘所对应的一组LED中Active LED为常亮绿色;当硬盘正常运行且系统对硬盘进行读写时,该硬盘所对应一组LED中Active LED为绿色闪烁。当系统定位硬盘时,该硬盘所对应一组LED中Locate LED点亮。当硬盘损坏、运行出错或者需要更换硬盘时,该硬盘所对应一组LED中Fault LED点亮。Usually, when the hard disk is running normally and there is no read or write operation, the Active LED in the group of LEDs corresponding to the hard disk is always green; when the hard disk is running normally and the system is reading or writing to the hard disk, The Active LED is blinking green. When the system locates the hard disk, the Locate LED in the group of LEDs corresponding to the hard disk will light up. When the hard disk is damaged, runs incorrectly or needs to be replaced, the Fault LED in the group of LEDs corresponding to the hard disk will light up.
本实施例中显示模块包括LED总显示器,当存储系统中任何一颗硬盘出现问题时,LED总显示器为红色,显示报警;当存储系统中所有硬盘均正常运行时,LED总显示器为绿色,显示整个存储系统处于正常运行状态。使用者需要查看当前存储系统中的硬盘状态时,可以先查看LED总显示器,当LED总显示器为绿色时,不用打开板卡即可获知整个存储系统中所有硬盘均处于正常运行状态;当LED总显示器为红色时,表明当前存储系统中至少有一个硬盘发生故障,然后再打开板卡,根据板卡中LED状态查找发生故障的硬盘。因此,采用本申请中的系统对硬盘状态进行管理,更加方便快捷。In this embodiment, the display module includes a total LED display. When any hard disk in the storage system has a problem, the total LED display is red, indicating an alarm; when all the hard disks in the storage system are running normally, the total LED display is green, indicating The entire storage system is running normally. When the user needs to check the status of the hard disks in the current storage system, he can check the LED total display first. When the LED total display is green, he can know that all the hard disks in the entire storage system are in normal operation without opening the card; when the LED total When the display is red, it indicates that at least one hard disk in the current storage system has failed. Then turn on the board and find the failed hard disk according to the status of the LEDs in the board. Therefore, it is more convenient and faster to use the system in this application to manage the status of the hard disk.
进一步地,本实施例中采集模块包括控制芯片和排线,控制芯片设置于服务器主板内,控制芯片将硬盘状态通过排线传输至CPLD。Further, the acquisition module in this embodiment includes a control chip and a cable, the control chip is arranged in the main board of the server, and the control chip transmits the status of the hard disk to the CPLD through the cable.
控制芯片可以采用SAS controller或SAS expander,排线可以采用SGPIO总线或I2C总线,SGPIO总线或I2C总线均为低速总线。本申实施例使用少量信号线即可将硬盘状态传输至板卡,实现硬盘状态的集中管理。因此,这种管理系统不会占用机箱空间,且通过CPLD能够准确地反映硬盘运行状态。The control chip can use SAS controller or SAS expander, and the cable can use SGPIO bus or I2C bus, both of which are low-speed buses. In the embodiment of the present application, the status of the hard disk can be transmitted to the board by using a small number of signal lines, so as to realize centralized management of the status of the hard disk. Therefore, this management system does not take up space in the chassis, and the CPLD can accurately reflect the running status of the hard disk.
进一步地,本实施例中采集模块也可以只包括控制芯片,控制芯片通过设置于其自身的IO引脚将硬盘状态传输至CPLD,从而实现对硬盘状态的集中管理。Further, the acquisition module in this embodiment may also only include a control chip, and the control chip transmits the status of the hard disk to the CPLD through its own IO pins, thereby realizing centralized management of the status of the hard disk.
本实施例中硬盘主要包括:SATA硬盘、SAS硬盘或NVMe硬盘这些常见硬盘。当硬盘为SATA硬盘时,控制芯片为SATA controller或SATA expander,例如:SATA硬盘的控制芯片可以采用南桥芯片。当硬盘为SAS硬盘时,控制芯片为SAS controller或SAS expander。当硬盘为NVMe硬盘时,控制芯片为CPU或PCIE Switch。The hard disk in this embodiment mainly includes: common hard disks such as SATA hard disk, SAS hard disk or NVMe hard disk. When the hard disk is a SATA hard disk, the control chip is a SATA controller or a SATA expander. For example, the control chip of the SATA hard disk can be a South Bridge chip. When the hard disk is a SAS hard disk, the control chip is a SAS controller or a SAS expander. When the hard disk is an NVMe hard disk, the control chip is a CPU or a PCIE Switch.
本实施例中,CPLD的引脚数量根据存储系统所支持硬盘数量而定,且每个硬盘对应3个GPIO,分别用于控制该硬盘所对应的LED。In this embodiment, the number of pins of the CPLD depends on the number of hard disks supported by the storage system, and each hard disk corresponds to 3 GPIOs, which are respectively used to control the LEDs corresponding to the hard disk.
参见图2,图2为SGPIO传输方式原理图。以SGPIO为例,本实施例中硬盘LED状态的传输过程为:SGPIO在时钟移位脉冲下,数据按位传输,高位在前,低位在后。其中,高位数据和低位数据为两根单向数据线,这两根单向数据线采用全双工通信、无寻址机制,在实际应用中可达几Mbps。本实施例中可根据用户所需求硬盘的数量,定义一次传输的bits,每个硬盘一次占用3个bits,3个bits分别为active,locate和fault。而且本实施例中采用CPLD来解码SGPIO,并控制对应硬盘的LED状态。See Figure 2, Figure 2 is a schematic diagram of the SGPIO transmission mode. Taking SGPIO as an example, the transmission process of the LED status of the hard disk in this embodiment is as follows: SGPIO transmits data bit by bit under the clock shift pulse, with the high bit first and the low bit behind. Among them, the high-order data and the low-order data are two unidirectional data lines. These two unidirectional data lines adopt full-duplex communication and no addressing mechanism, and can reach several Mbps in practical applications. In this embodiment, the bits for one transmission can be defined according to the number of hard disks required by the user. Each hard disk occupies 3 bits at a time, and the 3 bits are respectively active, locate and fault. Moreover, in this embodiment, the CPLD is used to decode the SGPIO and control the status of the LED corresponding to the hard disk.
参见图3,图3为本实施例中可集中管理硬盘状态的系统的工作原理图,图3中LED0代表LED总显示器。由图3可知,本实施例中的板卡通过排线连接到控制芯片SAScontroller、SATA controller或PCIE Switch,排线内使用SGPIO或者I2C低速总线传递信息;每个硬盘对应自身运行状态的LED,LED下标有硬盘的位置信息,以方便快速定位;LED0能够指示整个系统硬盘运行的状态,当所有硬盘运行正常时候,LED0为绿色,一旦某颗硬盘出现问题,LED0为红色,提示用户将该板卡弹出,检查发生故障的硬盘的具体位置。LED0设计在整个板卡的前端,安装进入系统后,可以直接观察到LED0的状态。Referring to FIG. 3 , FIG. 3 is a working principle diagram of the system capable of centrally managing the hard disk status in this embodiment, and LED0 in FIG. 3 represents the total LED display. As can be seen from Figure 3, the board in this embodiment is connected to the control chip SAScontroller, SATA controller or PCIE Switch through a cable, and the SGPIO or I2C low-speed bus is used to transmit information in the cable; each hard disk corresponds to its own running status LED, LED The location information of the hard disk is subscripted to facilitate quick positioning; LED0 can indicate the running status of the hard disk in the entire system. When all hard disks are running normally, LED0 is green. Once a hard disk has a problem, LED0 is red, prompting the user to replace the board Card ejected, check the exact location of the failed hard drive. LED0 is designed at the front end of the entire board, after installation into the system, you can directly observe the status of LED0.
另外,本实施例中板卡与服务器主板之间采用可抽拉式连接,板卡可以设置于服务器的硬盘背板侧边、服务器机箱挂耳旁或服务器硬盘背板的下面。板卡的具体放置位置,根据实际情况中具体机构设计来确定,以方便取出查看为目的。板卡与服务器主板之间可抽拉的连接方式可以参见图4。In addition, in this embodiment, a drawable connection is adopted between the board and the main board of the server, and the board can be installed on the side of the hard disk backplane of the server, next to the hanging ears of the server chassis, or under the hard disk backplane of the server. The specific placement position of the board is determined according to the specific mechanism design in the actual situation, for the purpose of easy removal and inspection. Refer to Figure 4 for the drawable connection between the board and the server mainboard.
综上所述,本实施例通过单独设计一个板卡,能够集中管理硬盘的运行状态,且可以方便检查到所有硬盘的运行状态。对于高密度存储,本实施例取消导光柱的设计,有利于提高硬盘状态管理的准确性,而且有利于节省服务器主板的空间,从而能够减少存储系统的设计成本。另外,本实施例主要采用CPLD和少量几根信号线,其结构简单,便于推广使用。To sum up, in this embodiment, by designing a single board, the running status of the hard disks can be centrally managed, and the running status of all the hard disks can be checked conveniently. For high-density storage, this embodiment cancels the design of the light guide column, which helps to improve the accuracy of hard disk status management, and helps save the space of the main board of the server, thereby reducing the design cost of the storage system. In addition, this embodiment mainly adopts CPLD and a few signal lines, and its structure is simple, which is convenient for popularization and use.
实施例二Embodiment two
在图1-图4所示实施例的基础之上参见图5,图5为本申请实施例所提供的一种可集中管理硬盘状态的方法的流程示意图。由图5可知,本申请中可集中管理硬盘状态的方法包括如下步骤:Referring to FIG. 5 on the basis of the embodiments shown in FIGS. 1-4 , FIG. 5 is a schematic flowchart of a method for centralized hard disk status management provided by an embodiment of the present application. As can be seen from FIG. 5, the method for centralized management of hard disk status in the present application includes the following steps:
S1:获取硬盘运行状态,并通过排线将硬盘运行状态传输至CPLD。S1: Obtain the running status of the hard disk, and transmit the running status of the hard disk to the CPLD through the cable.
S2:CPLD对硬盘运行状态进行解码。S2: CPLD decodes the running status of the hard disk.
CPLD对所获取的硬盘运行状态进行解码的方法,采用现有技术中的方法,在此不再赘述。The method for the CPLD to decode the acquired operating state of the hard disk adopts the method in the prior art, and will not be repeated here.
S3:根据解码结果,CPLD向显示模块发送控制命令。S3: According to the decoding result, the CPLD sends a control command to the display module.
本实施例中显示模块包括LED总显示器和多组LED,每组LED与一个硬盘相匹配,CPLD的输出端与LED总显示器连接,且CPLD的输出端还分别与多组LED中的任意一组LED连接。LED总显示器用于显示整个存储系统的运行状态;LED用于显示存储系统中每个硬盘的状态。In this embodiment, the display module includes a total LED display and multiple groups of LEDs, each group of LEDs is matched with a hard disk, and the output terminal of the CPLD is connected with the total LED display, and the output terminal of the CPLD is also connected to any group of LEDs in multiple groups respectively. LED connection. The LED total display is used to display the running status of the entire storage system; the LED is used to display the status of each hard disk in the storage system.
具体地,步骤S3包括如下过程:Specifically, step S3 includes the following processes:
S31:如果解码结果为所有硬盘正常运行,CPLD向LED总显示器发送整个存储系统正常运行的控制指令,且CPLD向任意一组LED发送所述任意一组LED所对应硬盘的Active状态命令和Locate状态命令。S31: If the decoding result is that all hard disks are running normally, the CPLD sends a control command for the normal operation of the entire storage system to the LED total display, and the CPLD sends the Active state command and the Locate state of the hard disk corresponding to the arbitrary group of LEDs to any group of LEDs Order.
S32:如果解码结果为至少有一个硬盘发生故障,CPLD向LED总显示器发送整个存储系统运行异常的控制指令,且CPLD向故障硬盘所匹配的LED发送点亮硬盘Fault状态的命令。S32: If the decoding result is that at least one hard disk is faulty, the CPLD sends a control command indicating that the entire storage system is running abnormally to the total LED display, and the CPLD sends a command to turn on the Fault state of the hard disk to the LED matching the faulty hard disk.
S4:显示模块根据所获取的控制命令,对硬盘状态进行显示。S4: The display module displays the status of the hard disk according to the obtained control command.
该实施例未详细描述的部分可以参见图1-图4所示的实施例二,两个实施例之间可以互相参照,在此不再赘述。For the parts not described in detail in this embodiment, refer to Embodiment 2 shown in FIGS. 1-4 , and the two embodiments may refer to each other, and details are not repeated here.
以上所述仅是本申请的具体实施方式,使本领域技术人员能够理解或实现本申请。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific implementation manners of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810539101.4A CN108845763A (en) | 2018-05-30 | 2018-05-30 | A kind of system and method for managing disk state concentratedly |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810539101.4A CN108845763A (en) | 2018-05-30 | 2018-05-30 | A kind of system and method for managing disk state concentratedly |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108845763A true CN108845763A (en) | 2018-11-20 |
Family
ID=64210372
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810539101.4A Pending CN108845763A (en) | 2018-05-30 | 2018-05-30 | A kind of system and method for managing disk state concentratedly |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108845763A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109558302A (en) * | 2018-12-04 | 2019-04-02 | 郑州云海信息技术有限公司 | A kind of hard disk and its disk state prompt system |
| CN110948480A (en) * | 2019-11-01 | 2020-04-03 | 珠海格力电器股份有限公司 | Demonstrator input and output function processing system and method and industrial robot |
| CN110996438A (en) * | 2019-11-12 | 2020-04-10 | 珠海格力电器股份有限公司 | Display device and method based on IO module and robot |
| TWI691835B (en) * | 2018-12-18 | 2020-04-21 | 英業達股份有限公司 | Detection control circuit and detection control method |
| CN112214381A (en) * | 2020-12-01 | 2021-01-12 | 深圳市安信达存储技术有限公司 | Solid state disk intelligent temperature control method and system based on low-temperature environment |
| CN113835943A (en) * | 2021-09-27 | 2021-12-24 | 新华三技术有限公司 | A security panel, server monitoring system and server |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102760088A (en) * | 2011-04-25 | 2012-10-31 | 鸿富锦精密工业(深圳)有限公司 | Testing device |
| CN104484264A (en) * | 2014-12-30 | 2015-04-01 | 浪潮电子信息产业股份有限公司 | Hard disk state indication method and hard disk state indication device |
| CN105955898A (en) * | 2016-05-25 | 2016-09-21 | 浪潮电子信息产业股份有限公司 | Hard disk backboard compatible with SAS hard disk and NVMe hard disk |
| CN106776196A (en) * | 2017-02-27 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of server hard disc method for monitoring state and system |
| US20170161137A1 (en) * | 2015-12-02 | 2017-06-08 | Inventec (Pudong) Technology Corporation | System Is Applied to Control Indicator Lights for Non-Volatile Memory Express Solid State Disk |
| CN107577569A (en) * | 2017-09-12 | 2018-01-12 | 郑州云海信息技术有限公司 | A kind of server hard disc attachment structure and its application process |
| CN107766213A (en) * | 2017-09-29 | 2018-03-06 | 郑州云海信息技术有限公司 | A kind of method and system for realizing NVME hard disk lightings |
| CN107832199A (en) * | 2017-10-10 | 2018-03-23 | 曙光信息产业(北京)有限公司 | Hard disk monitoring system based on CPLD |
| CN107870844A (en) * | 2017-10-16 | 2018-04-03 | 鸿富锦精密电子(天津)有限公司 | Disk state arrangement for detecting and method |
-
2018
- 2018-05-30 CN CN201810539101.4A patent/CN108845763A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102760088A (en) * | 2011-04-25 | 2012-10-31 | 鸿富锦精密工业(深圳)有限公司 | Testing device |
| CN104484264A (en) * | 2014-12-30 | 2015-04-01 | 浪潮电子信息产业股份有限公司 | Hard disk state indication method and hard disk state indication device |
| US20170161137A1 (en) * | 2015-12-02 | 2017-06-08 | Inventec (Pudong) Technology Corporation | System Is Applied to Control Indicator Lights for Non-Volatile Memory Express Solid State Disk |
| CN105955898A (en) * | 2016-05-25 | 2016-09-21 | 浪潮电子信息产业股份有限公司 | Hard disk backboard compatible with SAS hard disk and NVMe hard disk |
| CN106776196A (en) * | 2017-02-27 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of server hard disc method for monitoring state and system |
| CN107577569A (en) * | 2017-09-12 | 2018-01-12 | 郑州云海信息技术有限公司 | A kind of server hard disc attachment structure and its application process |
| CN107766213A (en) * | 2017-09-29 | 2018-03-06 | 郑州云海信息技术有限公司 | A kind of method and system for realizing NVME hard disk lightings |
| CN107832199A (en) * | 2017-10-10 | 2018-03-23 | 曙光信息产业(北京)有限公司 | Hard disk monitoring system based on CPLD |
| CN107870844A (en) * | 2017-10-16 | 2018-04-03 | 鸿富锦精密电子(天津)有限公司 | Disk state arrangement for detecting and method |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109558302A (en) * | 2018-12-04 | 2019-04-02 | 郑州云海信息技术有限公司 | A kind of hard disk and its disk state prompt system |
| TWI691835B (en) * | 2018-12-18 | 2020-04-21 | 英業達股份有限公司 | Detection control circuit and detection control method |
| CN110948480A (en) * | 2019-11-01 | 2020-04-03 | 珠海格力电器股份有限公司 | Demonstrator input and output function processing system and method and industrial robot |
| CN110996438A (en) * | 2019-11-12 | 2020-04-10 | 珠海格力电器股份有限公司 | Display device and method based on IO module and robot |
| CN112214381A (en) * | 2020-12-01 | 2021-01-12 | 深圳市安信达存储技术有限公司 | Solid state disk intelligent temperature control method and system based on low-temperature environment |
| CN113835943A (en) * | 2021-09-27 | 2021-12-24 | 新华三技术有限公司 | A security panel, server monitoring system and server |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108845763A (en) | A kind of system and method for managing disk state concentratedly | |
| US10896113B2 (en) | Method for implementing backplane lighting for multiple NVMe hard disks | |
| CN107688376A (en) | A kind of hard disk backboard for supporting adaptive hard-disk interface | |
| CN101727128B (en) | Server | |
| US8832347B2 (en) | Automatic detection device, system and method for inter-integrated circuit and serial general purpose input/output | |
| CN107832199A (en) | Hard disk monitoring system based on CPLD | |
| CN105955898A (en) | Hard disk backboard compatible with SAS hard disk and NVMe hard disk | |
| US9164862B2 (en) | System and method for dynamically detecting storage drive type | |
| CN104516802A (en) | Method and system for indicating statuses of different types of hard disks | |
| CN207232854U (en) | A kind of hard disk backboard for supporting adaptive hard-disk interface | |
| US10019402B2 (en) | Flexible NVME drive management solution via multiple processor and registers without multiple input/output expander chips | |
| CN104484264A (en) | Hard disk state indication method and hard disk state indication device | |
| US20140189168A1 (en) | Hard disk drive module having indicating device | |
| CN107818062A (en) | A kind of hard disk backboard and its design method of compatible SAS, SATA and NVME hard disk | |
| US9507744B2 (en) | Handling two SGPIO channels using single SGPIO decoder on a backplane controller | |
| WO2020134340A1 (en) | Hard drive extension system and electronic device | |
| CN102467431A (en) | SATA interface testing device and method | |
| CN115757236A (en) | Storage expansion pooling equipment and system | |
| CN118377428A (en) | Method, device, equipment and medium for determining hard disk working state | |
| CN102841838B (en) | I2C and SGPIO automatic detection device, system and method thereof | |
| CN114443404B (en) | Board card for OCP interface test, test system and test method | |
| TW202115569A (en) | System for detecting installation state of hard disk | |
| WO2024198848A1 (en) | Adapter card, mainboard, computer, data transmission method, device, and non-volatile readable storage medium | |
| CN117630637A (en) | Testing device | |
| CN116627871A (en) | A signal transmission circuit, computing equipment and storage 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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181120 |
|
| RJ01 | Rejection of invention patent application after publication |