Movatterモバイル変換


[0]ホーム

URL:


CN115905083A - Hard disk lighting device, method, system, computer equipment and storage medium - Google Patents

Hard disk lighting device, method, system, computer equipment and storage medium
Download PDF

Info

Publication number
CN115905083A
CN115905083ACN202211604121.8ACN202211604121ACN115905083ACN 115905083 ACN115905083 ACN 115905083ACN 202211604121 ACN202211604121 ACN 202211604121ACN 115905083 ACN115905083 ACN 115905083A
Authority
CN
China
Prior art keywords
target
information
hard disk
lighting
signal
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
CN202211604121.8A
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 Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur 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 Inspur Intelligent Technology Co LtdfiledCriticalSuzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211604121.8ApriorityCriticalpatent/CN115905083A/en
Publication of CN115905083ApublicationCriticalpatent/CN115905083A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请涉及一种硬盘点灯装置、方法、系统、计算机设备和存储介质,其中装置包括主板和至少一个背板,主板包括依次通信连接的基板管理控制器、可编程逻辑器件和平台路径控制器,可编程逻辑器件与平台路径控制器通过SGPIO信号传输,可编程逻辑器件与基板管理控制器通过I2C信号传输,主板上还设置有第一通信接口,基板管理控制器和可编程逻辑器件均通过I2C信号与第一通信接口通信连接;背板包括可编程逻辑器件和第二通信接口,背板上的可编程逻辑器件与第二通信接口通过I2C信号通信连接;第一通信接口和第二通信接口通过I2C信号通信连接,背板上的可编程逻辑器件还与硬盘通信连接,从而减少管脚数量,降低管脚占用空间。

Figure 202211604121

The present application relates to a hard disk lighting device, method, system, computer equipment and storage medium, wherein the device includes a main board and at least one backplane, and the main board includes a base board management controller, a programmable logic device and a platform path controller that are sequentially connected by communication, The programmable logic device and the platform path controller are transmitted through the SGPIO signal, and the programmable logic device and the baseboard management controller are transmitted through the I2C signal. The signal is communicated with the first communication interface; the backplane includes a programmable logic device and a second communication interface, and the programmable logic device on the backplane is connected with the second communication interface through I2C signal communication; the first communication interface and the second communication interface Through the I2C signal communication connection, the programmable logic device on the backplane is also connected to the hard disk, thereby reducing the number of pins and reducing the space occupied by the pins.

Figure 202211604121

Description

Translated fromChinese
硬盘点灯装置、方法、系统、计算机设备和存储介质Hard disk lighting device, method, system, computer equipment and storage medium

技术领域technical field

本申请涉及服务器领域,特别是涉及一种硬盘点灯装置、方法、系统、计算机设备和存储介质。The present application relates to the server field, in particular to a hard disk lighting device, method, system, computer equipment and storage medium.

背景技术Background technique

随着互联网存储及大数据等业务的快速发展,用户对大容量存储的服务器需求日益增加,为满足服务器高容量及性价比的需求,在NVME硬盘大量使用的环境下,SATA硬盘靠着存储量大,性价比高等优势在服务器行业依然有占有较大的市场。With the rapid development of Internet storage and big data services, users' demand for large-capacity storage servers is increasing. In order to meet the needs of high-capacity and cost-effective servers, in the environment where NVME hard disks are used in large quantities, SATA hard disks rely on large storage capacity. , The advantages of high cost performance still have a large market share in the server industry.

通常连接SATA硬盘最常用的方式就是通过PCH的多个SATA控制器连接多组SATA信号到SATA背板上的硬盘,进行硬盘数据的传输。同时PCH的多个SATA控制器连接多组SGPIO信号到SATA背板上的CPLD来传递硬盘状态点灯信号。一般一个主板连接多个SATA背板,现有技术的主板与SATA背板之间的硬盘状态点灯信号传输需要选择较大管脚数的连接器及线缆,当一个SATA控制器需要连接两个距离较大的背板时,同一组SGPIO信号需要连接到两个背板的CPLD,会出现距离较长的支路走线,并且连接器管脚数较多会增加主板的占用空间,导致主板较为复杂。Usually, the most common way to connect SATA hard disks is to connect multiple sets of SATA signals to the hard disks on the SATA backplane through multiple SATA controllers of the PCH to transmit hard disk data. At the same time, multiple SATA controllers of the PCH connect multiple sets of SGPIO signals to the CPLD on the SATA backplane to transmit the hard disk status light signal. Generally, a mainboard is connected to multiple SATA backplanes. The hard disk status lighting signal transmission between the mainboard and the SATA backplane of the prior art needs to select a connector and a cable with a large number of pins. When a SATA controller needs to connect two When the distance between the backplanes is large, the same group of SGPIO signals needs to be connected to the CPLDs of the two backplanes, and there will be branch wiring with a long distance, and the large number of connector pins will increase the occupied space of the mainboard, resulting in more complicated.

发明内容Contents of the invention

基于此,本申请提供一种硬盘点灯装置、方法、系统、计算机设备和存储介质,以减少管脚占用空间。Based on this, the present application provides a hard disk lighting device, method, system, computer equipment and storage medium to reduce the space occupied by pins.

一方面,提供一种硬盘点灯装置,所述硬盘点灯装置包括主板和至少一个背板,所述主板包括依次通信连接的基板管理控制器、可编程逻辑器件和平台路径控制器,所述可编程逻辑器件与所述平台路径控制器通过SGPIO信号传输,所述可编程逻辑器件与所述基板管理控制器通过I2C信号传输,所述主板上还设置有第一通信接口,所述基板管理控制器和可编程逻辑器件均通过I2C信号与所述第一通信接口通信连接;所述背板包括可编程逻辑器件和第二通信接口,所述背板上的可编程逻辑器件与所述第二通信接口通过I2C信号通信连接;所述第一通信接口和所述第二通信接口通过I2C信号通信连接,所述背板上的可编程逻辑器件还与硬盘通信连接。In one aspect, a hard disk lighting device is provided, the hard disk lighting device includes a main board and at least one backplane, the main board includes a base board management controller, a programmable logic device and a platform path controller that are sequentially connected in communication, the programmable The logic device and the platform path controller are transmitted through SGPIO signals, the programmable logic device and the baseboard management controller are transmitted through I2C signals, and the main board is also provided with a first communication interface, and the baseboard management controller Both the programmable logic device and the programmable logic device communicate with the first communication interface through I2C signals; the backplane includes a programmable logic device and a second communication interface, and the programmable logic device on the backplane communicates with the second communication interface The interface is connected by I2C signal communication; the first communication interface and the second communication interface are connected by I2C signal communication, and the programmable logic device on the backboard is also connected by communication with the hard disk.

另一方面,提供一种硬盘点灯方法,所述硬盘点灯方法包括:In another aspect, a hard disk lighting method is provided, and the hard disk lighting method includes:

响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;Responding to the low level of the SLOAD signal, receiving target information of the target hard disk, so as to obtain an information comparison table from the platform path controller according to the target information;

根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;Determine the target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;

将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The target lighting information is sent to the programmable logic device on the target backboard through an I2C signal, so that the target hard disk is controlled to perform a lighting operation by the programmable logic device on the target backboard according to the target lighting information.

在其中一个实施例中,所述响应于所述SLOAD信号为低电平前,还包括:In one of the embodiments, before the response to the SLOAD signal is low level, it also includes:

通过不同的I2C信号分别获取不同背板上硬盘的槽位信息和地址信息,并根据所述不同背板上硬盘的槽位信息和地址信息生成与所述背板一一对应的信息对照表;Obtain slot information and address information of hard disks on different backplanes through different I2C signals, and generate an information comparison table corresponding to the backplane one by one according to the slot information and address information of hard disks on different backplanes;

将所述信息对照表存储于所述平台路径控制器。The information comparison table is stored in the platform path controller.

在其中一个实施例中,所述响应于所述SLOAD信号为低电平前,还包括:In one of the embodiments, before the response to the SLOAD signal is low level, it also includes:

响应于所述硬盘的状态信息产生变化,将该状态信息产生变化的硬盘确定为目标硬盘,并获取所述目标硬盘的状态信息;In response to a change in the state information of the hard disk, determine the hard disk whose state information has changed as a target hard disk, and acquire the state information of the target hard disk;

获取所述目标硬盘的槽位信息,根据所述目标硬盘的槽位信息确定与该目标硬盘相对应的目标总线;Obtaining slot information of the target hard disk, and determining a target bus corresponding to the target hard disk according to the slot information of the target hard disk;

将与所述目标总线相对应的SLOAD信号的电平拉低。Pull down the level of the SLOAD signal corresponding to the target bus.

在其中一个实施例中,所述目标硬盘的槽位信息和状态信息形成所述目标信息,所述响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,包括:In one of the embodiments, the slot information and status information of the target hard disk form the target information, and receiving the target information of the target hard disk in response to the SLOAD signal being low level includes:

响应于所述SLOAD信号为低电平,接收从所述平台路径控制器通过所述SGPIO信号下发的目标硬盘的槽位信息和状态信息;Responding to the low level of the SLOAD signal, receiving slot information and status information of the target hard disk sent from the platform path controller through the SGPIO signal;

将所述目标硬盘的状态信息确定为所述目标点灯信息,并将所述目标点灯信息存储于与所述目标硬盘相对应的信息对照表中的目标信息读取地址。The status information of the target hard disk is determined as the target lighting information, and the target lighting information is stored in the target information reading address in the information comparison table corresponding to the target hard disk.

在其中一个实施例中,所述根据所述目标信息从所述平台路径控制器中获取信息对照表,包括:In one of the embodiments, the information comparison table obtained from the platform path controller according to the target information includes:

根据所述目标硬盘的槽位信息从所述背板中确定目标背板,以从所述平台路径控制器中获取与所述目标背板相对应的信息对照表。The target backplane is determined from the backplanes according to the slot information of the target hard disk, so as to obtain an information comparison table corresponding to the target backplane from the platform path controller.

在其中一个实施例中,所述根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息,包括:In one of the embodiments, the determining the target information reading address from the information comparison table according to the target information and reading the target lighting information in the target information reading address includes:

根据所述目标硬盘的槽位信息从与所述目标背板相对应的信息对照表中确定与所述目标硬盘相对应的所述目标信息读取地址;determining the target information reading address corresponding to the target hard disk from an information comparison table corresponding to the target backplane according to the slot information of the target hard disk;

从所述目标信息读取地址中读取目标点灯信息。The target lighting information is read from the target information reading address.

再一方面,提供了一种硬盘点灯系统,所述硬盘点灯系统包括:In another aspect, a hard disk lighting system is provided, and the hard disk lighting system includes:

信息处理模块,用于响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;An information processing module, configured to receive target information of the target hard disk in response to the SLOAD signal being at a low level, so as to obtain an information comparison table from the platform path controller according to the target information;

点灯信息模块,用于根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;A lighting information module, configured to determine a target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;

点灯执行模块,用于将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The lighting execution module is configured to send the target lighting information to the programmable logic device on the target backplane through the I2C signal, so as to control the target hard disk to execute according to the target lighting information through the programmable logic device on the target backplane. Lighting operation.

又一方面,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In yet another aspect, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the computer program:

响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;Responding to the low level of the SLOAD signal, receiving target information of the target hard disk, so as to obtain an information comparison table from the platform path controller according to the target information;

根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;Determine the target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;

将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The target lighting information is sent to the programmable logic device on the target backboard through an I2C signal, so that the target hard disk is controlled to perform a lighting operation by the programmable logic device on the target backboard according to the target lighting information.

还一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,当所述程序被处理器执行时,使得所述处理器执行以下步骤:In another aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores a program, and when the program is executed by a processor, the processor performs the following steps:

响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;Responding to the low level of the SLOAD signal, receiving target information of the target hard disk, so as to obtain an information comparison table from the platform path controller according to the target information;

根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;Determine the target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;

将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The target lighting information is sent to the programmable logic device on the target backboard through an I2C signal, so that the target hard disk is controlled to perform a lighting operation by the programmable logic device on the target backboard according to the target lighting information.

本申请的上述技术方案相比现有技术具有以下优点:The above-mentioned technical scheme of the present application has the following advantages compared with the prior art:

上述硬盘点灯装置、方法、系统、计算机设备和存储介质,主板上的SATA硬盘点灯信号通过I2C传递到背板,减少了主板与背板互连的信号数量,减少了连接器引脚及背板的引脚,占用较少的空间资源;此外,无需增加隔离Buffer芯片,降低了成本;而且能够精准的抓取需要执行点灯操作的硬盘,提高了抓取效率和点灯效率。In the hard disk lighting device, method, system, computer equipment and storage medium, the SATA hard disk lighting signal on the motherboard is transmitted to the backplane through I2C, which reduces the number of signals interconnected between the motherboard and the backplane, and reduces the number of connector pins and the backplane. The pins occupy less space resources; in addition, there is no need to increase the isolation Buffer chip, which reduces the cost; and it can accurately capture the hard disk that needs to be turned on, which improves the efficiency of capture and lighting.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是本申请实施例提供的硬盘点灯装置的装置结构图;Fig. 1 is a device structure diagram of a hard disk lighting device provided by an embodiment of the present application;

图2是本申请实施例提供的硬盘点灯方法的第一方法流程图;Fig. 2 is a flow chart of the first method of the hard disk lighting method provided by the embodiment of the present application;

图3是本申请实施例提供的硬盘点灯方法的第二方法流程图;Fig. 3 is a second method flow chart of the hard disk lighting method provided by the embodiment of the present application;

图4是本申请实施例提供的硬盘点灯系统的系统结构图;Fig. 4 is a system structure diagram of the hard disk lighting system provided by the embodiment of the present application;

图5是本申请实施例提供的计算机设备的设备结构图;FIG. 5 is a device structure diagram of a computer device provided by an embodiment of the present application;

图6是现有技术的硬盘点灯装置的装置结构图。Fig. 6 is a device structure diagram of a hard disk lighting device in the prior art.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

实施例一Embodiment one

参照图1所示,图1为本申请实施例提供的硬盘点灯装置的装置结构图。Referring to FIG. 1 , FIG. 1 is a device structure diagram of a hard disk lighting device provided by an embodiment of the present application.

硬盘点灯装置包括主板和至少一个背板,所述主板包括依次通信连接的基板管理控制器、可编程逻辑器件和平台路径控制器,所述可编程逻辑器件与所述平台路径控制器通过SGPIO信号传输,所述可编程逻辑器件与所述基板管理控制器通过I2C信号传输,所述主板上还设置有第一通信接口,所述基板管理控制器和可编程逻辑器件均通过I2C信号与所述第一通信接口通信连接;所述背板包括可编程逻辑器件和第二通信接口,所述背板上的可编程逻辑器件与所述第二通信接口通过I2C信号通信连接;所述第一通信接口和所述第二通信接口通过I2C信号通信连接,所述背板上的可编程逻辑器件与硬盘通信连接。The hard disk lighting device includes a mainboard and at least one backplane, the mainboard includes a baseboard management controller, a programmable logic device, and a platform path controller that are sequentially connected in communication, and the programmable logic device and the platform path controller pass SGPIO signals transmission, the programmable logic device and the baseboard management controller are transmitted through I2C signals, and a first communication interface is also provided on the motherboard, and both the baseboard management controller and the programmable logic device communicate with the baseboard management controller through I2C signals The first communication interface is connected in communication; the backplane includes a programmable logic device and a second communication interface, and the programmable logic device on the backplane is connected to the second communication interface through I2C signal communication; the first communication The interface is connected to the second communication interface through I2C signal communication, and the programmable logic device on the backboard is connected to the hard disk in communication.

服务器上一般一个主板上连接多个背板,背板上包括多个总线,一个总线对应多个硬盘控制器,一个硬盘控制器上安装有多个硬盘,用来执行数据存储业务。本申请的硬盘点灯装置包括主板和至少一个背板,主板包括依次通信连接的基板管理控制器(BMC,Baseboard ManagementController)、可编程逻辑器件(CPLD,ComplexProgrammableLogicDevice)和平台路径控制器(PCH,PlatformControllerHub),即,基板管理控制器与可编程逻辑器件通信连接,可编程逻辑器件与平台路径控制器通信连接;进一步地,主板上的可编程逻辑器件与平台路径控制器通过SGPIO信号传输,主板上的可编程逻辑器件与基板管理控制器通过I2C信号传输;主板上还设置有第一通信接口(如图1中的CONN0),第一通信接口用于实现主板与背板之间的通信连接;主板上的基板管理控制器和可编程逻辑器件均通过I2C信号与第一通信接口通信连接。背板包括可编程逻辑器件和第二通信接口(如图1所示,第一背板上的第二通信接口为CONN1,第二背板上的第二通信接口为CONN3),背板上的可编程逻辑器件与第二通信接口通过I2C信号通信连接;第一通信接口和第二通信接口通过I2C信号通信连接,从而实现了主板与背板之间的通信连接。背板上的可编程逻辑器件与硬盘通信连接,从而实现主板与背板上的硬盘通信连接。现有技术的主板与背板之间点灯信号的传输是直接通过SGPIO信号来传输,由于一个SGPIO信号包括四个信号,即,SLOAD(当前比特流的结束信号)、SDOUT(串行数据输出比特流)、SDIN(串行数据输入比特流)、SCLK(时钟),因此一个SGPIO信号需要配置四个引脚,主板与背板之间通过连接器连接时(通过SGPIO信号传输),如图6所示的现有技术硬盘点灯装置结构图,BP0为0号主板,BP1为1号主板,主板与每个背板之间均通过连接器进行连接(图1和图中均以0号背板为12个硬盘,3个硬盘控制器,1个硬盘控制器对应4个硬盘;1号背板为1个硬盘控制器,两个硬盘为例),与0号主板连接的连接器存在三路SGPIO信号,包括12个信号,即,连接器需12个引脚;与1号主板连接的连接器存在一路SGPIO信号,包括4个信号,即,连接器需4个引脚,因此图所示结构的连接器引脚较多,占用主板以及背板的空间较大,并且SPGIO0需要同时通过两个连接器到这两个背板,走线非常远,同时会产生一个分叉支路会影响SGPIO信号质量,因此需要在这个链路中增加一个隔离Buffer芯片,解决SGPIO信号质量问题,这便增加了成本。此外,现有技术的硬盘点灯信号按照设定的标准一次必须传输8个硬盘的点灯信号,如果只存在其中一个硬盘需要点灯,现有技术依然是同时传输8个硬盘的点灯信号,浪费资源,效率低下。因此本申请的硬盘点灯装置如图1所示,本申请主板与背板之间的点灯信号不再通过SGPIO信号传输,而是通过I2C信号传输,通过I2C信号每次只传输一个硬盘的点灯信号,有效地提高了传输效率,节省了资源。由于每次只传输一个硬盘的点灯信号,主板与背板之间I2C信号的连接器只需要一个管脚即可,也就是主板与背板之间只需要一路I2C信号便可以完成硬盘点灯功能。此外,可编程逻辑器件与通信接口之间还通过GPIO信号通信连接,GPIO信号用于硬盘背板上电和PCIERST(PCIE复位)等功能。Generally, a main board of a server is connected to multiple backplanes, and the backplane includes multiple buses, one bus corresponds to multiple hard disk controllers, and one hard disk controller is installed with multiple hard disks for performing data storage services. The hard disk lighting device of the present application includes a mainboard and at least one backplane, and the mainboard includes a baseboard management controller (BMC, Baseboard ManagementController), a programmable logic device (CPLD, ComplexProgrammableLogicDevice) and a platform path controller (PCH, PlatformControllerHub) connected sequentially through communication. , that is, the baseboard management controller communicates with the programmable logic device, and the programmable logic device communicates with the platform path controller; further, the programmable logic device on the main board and the platform path controller transmit signals through SGPIO, and the The programmable logic device and the baseboard management controller are transmitted through I2C signals; the mainboard is also provided with a first communication interface (CONN0 in Figure 1), and the first communication interface is used to realize the communication connection between the mainboard and the backplane; the mainboard Both the baseboard management controller and the programmable logic device are communicatively connected to the first communication interface through I2C signals. The backplane includes a programmable logic device and a second communication interface (as shown in Figure 1, the second communication interface on the first backplane is CONN1, and the second communication interface on the second backplane is CONN3), and the The programmable logic device and the second communication interface are connected through I2C signal communication; the first communication interface and the second communication interface are connected through I2C signal communication, thereby realizing the communication connection between the main board and the backplane. The programmable logic device on the backboard communicates with the hard disk, thereby realizing the communication connection between the motherboard and the hard disk on the backplane. The transmission of the lighting signal between the main board and the backplane of the prior art is directly transmitted through the SGPIO signal, because one SGPIO signal includes four signals, namely, SLOAD (the end signal of the current bit stream), SDOUT (serial data output bit Stream), SDIN (serial data input bit stream), SCLK (clock), so one SGPIO signal needs to be configured with four pins, when the motherboard and the backplane are connected through a connector (transmitted through SGPIO signals), as shown in Figure 6 In the structure diagram of the prior art hard disk lighting device shown, BP0 is the No. 0 main board, BP1 is the No. 1 main board, and the main board and each backplane are connected through connectors (both in Fig. 1 and the figure, No. 0 backplane There are 12 hard disks, 3 hard disk controllers, 1 hard disk controller corresponds to 4 hard disks; No. 1 backplane is 1 hard disk controller, two hard disks as an example), and the connector connected to No. 0 motherboard has three SGPIO signal, including 12 signals, that is, the connector needs 12 pins; there is one SGPIO signal in the connector connected to No. 1 motherboard, including 4 signals, that is, the connector needs 4 pins, so as shown in the figure There are many connector pins in the structure, which takes up a lot of space on the main board and the backplane, and SPGIO0 needs to go through two connectors to the two backplanes at the same time, and the wiring is very far away, and at the same time a bifurcated branch will affect SGPIO signal quality, so it is necessary to add an isolation Buffer chip to this link to solve the problem of SGPIO signal quality, which increases the cost. In addition, the hard disk lighting signals of the prior art must transmit the lighting signals of 8 hard disks at a time according to the set standard. If only one of the hard disks needs to be turned on, the prior art still transmits the lighting signals of 8 hard disks at the same time, wasting resources. low efficiency. Therefore, the hard disk lighting device of the present application is shown in Figure 1. The lighting signal between the main board and the backplane of the present application is no longer transmitted through the SGPIO signal, but is transmitted through the I2C signal, and only one hard disk lighting signal is transmitted at a time through the I2C signal. , effectively improving transmission efficiency and saving resources. Since only one hard disk lighting signal is transmitted at a time, the I2C signal connector between the motherboard and the backplane only needs one pin, that is, only one I2C signal is needed between the motherboard and the backplane to complete the hard disk lighting function. In addition, the programmable logic device and the communication interface are also connected through GPIO signal communication, and the GPIO signal is used for functions such as hard disk backboard power-up and PCIERST (PCIE reset).

因此,主板上的SATA硬盘点灯信号通过I2C传递到背板,减少了主板与背板互连的信号数量,减少了连接器引脚及背板的引脚,占用较少的空间资源;此外,无需增加隔离Buffer芯片,降低了成本;而且能够精准的抓取需要执行点灯操作的硬盘,提高了抓取效率和点灯效率。Therefore, the SATA hard disk lighting signal on the motherboard is transmitted to the backplane through I2C, reducing the number of interconnected signals between the motherboard and the backplane, reducing connector pins and backplane pins, and occupying less space resources; in addition, There is no need to add an isolation Buffer chip, which reduces the cost; and it can accurately capture the hard disk that needs to be turned on, improving the efficiency of capture and lighting.

实施例二Embodiment two

参照图2所示,图2为本申请实施例提供的硬盘点灯方法的第一方法流程图。Referring to FIG. 2 , FIG. 2 is a flow chart of the first method of the hard disk lighting method provided by the embodiment of the present application.

方法包括以下步骤:The method includes the following steps:

响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;Responding to the low level of the SLOAD signal, receiving target information of the target hard disk, so as to obtain an information comparison table from the platform path controller according to the target information;

SGPIO信号包括SLOAD信号,当硬盘的状态发生变化,平台路径控制器需要控制硬盘进行点灯时,平台路径控制器将SLOAD信号的电平下拉为低电平,因此SLOAD信号的电平高低可以反映是否需要执行点灯操作,即,当SLOAD信号的电平被下拉为低电平的时候,平台路径控制器会发送点灯信号以对硬盘进行点灯操作。当SLOAD信号的电平被下拉为低电平的时候,主板上的可编程逻辑器件会接收到目标硬盘的目标信息,然后主板上的可编程逻辑器件根据目标信息从平台路径控制器中获取信息对照表,以从信息对照表中获取目标点灯信息。The SGPIO signal includes the SLOAD signal. When the status of the hard disk changes and the platform path controller needs to control the hard disk to turn on the lights, the platform path controller pulls the level of the SLOAD signal to low level, so the level of the SLOAD signal can reflect whether the A lighting operation needs to be performed, that is, when the level of the SLOAD signal is pulled down to a low level, the platform path controller will send a lighting signal to perform a lighting operation on the hard disk. When the level of the SLOAD signal is pulled down to a low level, the programmable logic device on the motherboard will receive the target information of the target hard disk, and then the programmable logic device on the motherboard will obtain information from the platform path controller according to the target information Lookup table to obtain target lighting information from the information lookup table.

根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;Determine the target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;

获取到信息对照表后,根据目标信息可以从信息对照表中确定与目标硬盘相对应的目标信息读取地址,然后便可以从目标信息读取地址中读取目标点灯信息,以便于通过目标点灯信息进行点灯操作。After obtaining the information comparison table, according to the target information, the target information reading address corresponding to the target hard disk can be determined from the information comparison table, and then the target lighting information can be read from the target information reading address, so as to facilitate the target lighting Information to perform lighting operation.

将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The target lighting information is sent to the programmable logic device on the target backboard through an I2C signal, so that the target hard disk is controlled to perform a lighting operation by the programmable logic device on the target backboard according to the target lighting information.

获取到目标点灯信息后,将目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,例如,如果是0号背板(BP0),则通过I2C5信号将目标点灯信息发送至0号背板上的可编程逻辑器件;如果是1号背板(BP1),则通过I2C6信号将目标点灯信息发送至1号背板上的可编程逻辑器件。然后通过目标背板上的可编程逻辑器件根据目标点灯信息控制目标硬盘执行点灯操作。After obtaining the target lighting information, send the target lighting information to the programmable logic device on the target backplane through the I2C signal. For example, if it is the No. 0 backplane (BP0), send the target lighting information to No. 0 through the I2C5 signal The programmable logic device on the backplane; if it is backplane No. 1 (BP1), send the target lighting information to the programmable logic device on the No. 1 backplane through the I2C6 signal. Then, the programmable logic device on the target backboard controls the target hard disk to perform the lighting operation according to the target lighting information.

在其中一个实施方式中,所述响应于所述SLOAD信号为低电平前,还包括:In one of the implementation manners, the response to the SLOAD signal before being low level further includes:

通过不同的I2C信号分别获取不同背板上硬盘的槽位信息和地址信息,并根据所述不同背板上硬盘的槽位信息和地址信息生成与所述背板一一对应的信息对照表;Obtain slot information and address information of hard disks on different backplanes through different I2C signals, and generate an information comparison table corresponding to the backplane one by one according to the slot information and address information of hard disks on different backplanes;

响应于所述SLOAD信号为低电平前,需要先建立与背板一一对应的信息对照表。进一步的,信息对照表为预先配置,根据背板上的槽位信息等生成信息对照表。对于图1中的0号背板,主板上的基板管理控制器通过I2C3信号获取0号背板上硬盘的槽位信息和地址信息,然后通过这些信息生成0号背板对应的信息对照表,如表1所示(表1中只列举了一个总线下的一个硬盘控制器,一个硬盘控制器安装四个硬盘的情况),信息对照表中还可以包括SGPIO总线信息、硬盘序号。此外,当背板上新接入的硬盘,基板管理控制器还会获取新接入的硬盘所对应的SGPIO总线信息、槽位信息、硬盘序号和地址信息等信息,并将新接入的硬盘所对应的SGPIO总线信息、槽位信息、硬盘序号和地址信息等信息存储到对应的信息对照表中。Before responding that the SLOAD signal is at low level, it is necessary to establish a one-to-one information comparison table with the backplane. Further, the information comparison table is pre-configured, and the information comparison table is generated according to the slot information on the backplane. For the No. 0 backplane in Figure 1, the baseboard management controller on the main board obtains the slot information and address information of the hard disk on the No. 0 backplane through the I2C3 signal, and then uses these information to generate an information comparison table corresponding to the No. 0 backplane. As shown in Table 1 (only one hard disk controller under one bus is listed in Table 1, and one hard disk controller is installed with four hard disks), the information comparison table can also include SGPIO bus information and hard disk serial numbers. In addition, when a hard disk is newly connected to the backplane, the baseboard management controller will also obtain information such as SGPIO bus information, slot information, hard disk serial number and address information corresponding to the newly connected hard disk, and The corresponding SGPIO bus information, slot information, hard disk serial number and address information and other information are stored in the corresponding information comparison table.

表10号背板(BP0)信息对照表Table 10 Backplane (BP0) information comparison table

Figure BDA0003996705010000071
Figure BDA0003996705010000071

对于1号背板,主板上的基板管理控制器通过I2C4信号获取1号背板上的硬盘槽位信息和地址信息,然后通过这些信息生成1号背板对应的信息对照表,如表2所示(表2中只列举了一个总线下的一个硬盘控制器,一个硬盘控制器安装两个硬盘的情况),信息对照表中还可以包括总线信息、硬盘序号。For the No. 1 backplane, the baseboard management controller on the main board obtains the hard disk slot information and address information on the No. 1 backplane through the I2C4 signal, and then uses these information to generate an information comparison table corresponding to the No. 1 backplane, as shown in Table 2. (only one hard disk controller under one bus is listed in Table 2, and the situation that two hard disks are installed in one hard disk controller), the information comparison table can also include bus information and hard disk serial number.

表21号背板(BP1)信息对照表Table No. 21 backplane (BP1) information comparison table

Figure BDA0003996705010000072
Figure BDA0003996705010000072

将所述信息对照表存储于所述平台路径控制器。The information comparison table is stored in the platform path controller.

生成与背板一一对应的信息对照表后,将信息对照表存储于平台路径控制器,以便于主板上的可编程逻辑器件可以从平台路径控制器中读取信息对照表。After the information comparison table corresponding to the backplane is generated, the information comparison table is stored in the platform path controller, so that the programmable logic device on the main board can read the information comparison table from the platform path controller.

在其中一个实施方式中,所述响应于所述SLOAD信号为低电平前,还包括:In one of the implementation manners, the response to the SLOAD signal before being low level further includes:

响应于所述硬盘的状态信息产生变化,将该状态信息产生变化的硬盘确定为目标硬盘,并获取所述目标硬盘的状态信息;In response to a change in the state information of the hard disk, determine the hard disk whose state information has changed as a target hard disk, and acquire the state information of the target hard disk;

当硬盘的状态信息发生变化时,需要更改硬盘的点灯状态,例如,硬盘出现故障时,需要对硬盘进行告警点灯操作,也就是将硬盘的指示灯显示为告警信号对应的颜色,因此此时需要执行点灯操作,因此要时刻检测检测硬盘的状态信息,平台路径控制器用于检测硬盘的状态信息。当平台路径控制检测到硬盘的状态信息产生变化时,将该状态信息产生变化的硬盘确定为目标硬盘,平台路径控制器会采集到目标硬盘的槽位信息和状态信息,然后通过SGPIO信号发送至主板上的可编程逻辑器件,主板上的可编程逻辑器件接收平台路径控制器所下发的目标硬盘的槽位信息和状态信息。此外,硬盘状态信息产生变化的情况包括背板上When the status information of the hard disk changes, it is necessary to change the lighting status of the hard disk. Perform the lighting operation, so it is necessary to detect the status information of the hard disk at all times, and the platform path controller is used to detect the status information of the hard disk. When the platform path control detects that the state information of the hard disk changes, it determines the hard disk whose state information has changed as the target hard disk, and the platform path controller will collect the slot information and state information of the target hard disk, and then send it to the The programmable logic device on the main board receives the slot information and status information of the target hard disk delivered by the platform path controller. In addition, the situation where the status information of the hard disk changes includes

新接入的硬盘。进一步地,硬盘指示灯的状态包括读写/上电(ACT)、问题告警(ERR)、在5位状态(LOC),分别通过不同的颜色指示。The newly connected hard disk. Further, the status of the hard disk indicator light includes read/write/power-on (ACT), problem alarm (ERR), and 5-bit status (LOC), which are indicated by different colors.

获取所述目标硬盘的槽位信息,根据所述目标硬盘的槽位信息确定与该目标硬盘相对应的目标总线;Obtaining slot information of the target hard disk, and determining a target bus corresponding to the target hard disk according to the slot information of the target hard disk;

平台路径控制器会采集到目标硬盘的槽位信息和状态信息,当平台路径控制器采集到目The platform path controller will collect the slot information and status information of the target hard disk.

标硬盘的槽位信息后,根据目标硬盘的槽位信息确定与该目标硬盘相对应的目标总线,以便0于拉低目标总线中的SLOAD信号的电平。After marking the slot information of the hard disk, determine the target bus corresponding to the target hard disk according to the slot information of the target hard disk, so as to pull down the level of the SLOAD signal in the target bus.

将与所述目标总线相对应的SLOAD信号的电平拉低。Pull down the level of the SLOAD signal corresponding to the target bus.

根据目标硬盘的槽位信息确定与该目标硬盘相对应的目标总线后,执行电平拉低操作,将目标总线中的SLOAD信号的电平下拉为低电平,以便于主板上的可编程逻辑器件将目标点灯信息发送至目标背板,对目标背板上的硬盘执行点灯操作。After the target bus corresponding to the target hard disk is determined according to the slot information of the target hard disk, the level pull-down operation is performed, and the level of the SLOAD signal in the target bus is pulled down to a low level, so that the programmable logic on the motherboard can The device sends the target lighting information to the target backplane, and performs the lighting operation on the hard disk on the target backplane.

5在其中一个实施方式中,所述目标硬盘的槽位信息和状态信息形成所述目标信息,所述5 In one of the implementation manners, the slot information and status information of the target hard disk form the target information, and the

响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,包括:Responding to the low level of the SLOAD signal, receiving the target information of the target hard disk, including:

响应于所述SLOAD信号为低电平,接收从所述平台路径控制器通过所述SGPIO信号下发的目标硬盘的槽位信息和状态信息;Responding to the low level of the SLOAD signal, receiving slot information and status information of the target hard disk sent from the platform path controller through the SGPIO signal;

响应于所述SLOAD信号为低电平,即,当主板上的可编程逻辑器件检测到存在SLOAD0信号的电平下拉为低电平时,此时意味着存在一个或多个硬盘的状态信息发生了变化,需要In response to the low level of the SLOAD signal, that is, when the programmable logic device on the mainboard detects that the level of the SLOAD0 signal is pulled down to a low level, it means that there is one or more hard disk status information. change needs

执行硬盘点灯操作,主板上的可编程逻辑器件接收从平台路径控制器通过SGPIO信号下发的目标硬盘的槽位信息和状态信息,以便于根据槽位信息确定目标背板,根据状态信息确定目标点灯信息。To perform hard disk lighting operation, the programmable logic device on the motherboard receives the slot information and status information of the target hard disk sent from the platform path controller through the SGPIO signal, so as to determine the target backplane according to the slot information and the target according to the status information. Lighting information.

将所述目标硬盘的状态信息确定为所述目标点灯信息,并将所述目标点灯信息存储于与5所述目标硬盘相对应的信息对照表中的目标信息读取地址。Determining the status information of the target hard disk as the target lighting information, and storing the target lighting information in a target information reading address in an information comparison table corresponding to 5 the target hard disk.

确定好目标硬盘的状态信息后,将目标硬盘所对应的状态信息存储于与目标硬盘相对应的信息对照表中的目标信息读取地址,以便于在执行点灯操作时读取该目标信息读取地址上的目标点灯信息,并通过该目标点灯信息对硬盘执行点灯操作。此时需要根据目标硬盘确定After determining the state information of the target hard disk, store the state information corresponding to the target hard disk in the target information reading address in the information comparison table corresponding to the target hard disk, so as to read the target information when performing the lighting operation. The target lighting information on the address, and perform the lighting operation on the hard disk through the target lighting information. At this time, it needs to be determined according to the target hard disk

与目标硬盘相对应的目标背板,然后将目标硬盘所对应的状态信息存储于与目标背板相对应0的信息对照表中的目标信息读取地址。The target backplane corresponding to the target hard disk then stores the state information corresponding to the target hard disk in the target information reading address in the information comparison table corresponding to 0 of the target backplane.

在其中一个实施方式中,所述根据所述目标信息从所述平台路径控制器中获取信息对照表,包括:In one of the implementation manners, the information comparison table obtained from the platform path controller according to the target information includes:

根据所述目标硬盘的槽位信息从所述背板中确定目标背板,以从所述平台路径控制器中获取与所述目标背板相对应的信息对照表。The target backplane is determined from the backplanes according to the slot information of the target hard disk, so as to obtain an information comparison table corresponding to the target backplane from the platform path controller.

主板上的可编程逻辑器件实时检测每个总线中SLOAD信号的电平高低,当存在SLOAD信号的电平下拉为低电平时,此时意味着存在一个或多个硬盘的状态信息发生了变化,需要执行硬盘点灯操作。由于一个主板连接多个背板,目标硬盘的槽位信息中记载了产生状态变化的硬盘的槽位信息,此时需根据该槽位信息便可以从多个背板中确定目标背板,也就是确定该产生状态变化的硬盘所在的背板。确定目标背板后,便可以获取与目标背板相对应的信息对照表。The programmable logic device on the motherboard detects the level of the SLOAD signal in each bus in real time. When the level of the SLOAD signal is pulled down to a low level, it means that the status information of one or more hard disks has changed. It is necessary to perform the operation of turning on the hard disk. Since a mainboard is connected to multiple backplanes, the slot information of the target hard disk contains the slot information of the hard disk whose state changes. At this time, the target backplane can be determined from the multiple backplanes according to the slot information. It is to determine the backplane where the hard disk that should generate the state change is located. After the target backplane is determined, an information comparison table corresponding to the target backplane can be obtained.

在其中一个实施方式中,所述根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息,包括:In one embodiment, the determining the target information reading address from the information comparison table according to the target information and reading the target lighting information in the target information reading address includes:

根据所述目标硬盘的槽位信息从与所述目标背板相对应的信息对照表中确定与所述目标硬盘相对应的所述目标信息读取地址;determining the target information reading address corresponding to the target hard disk from an information comparison table corresponding to the target backplane according to the slot information of the target hard disk;

获取到目标硬盘的槽位信息以及与目标背板相对应的信息对照表后,根据目标硬盘的槽位信息从与目标背板对应的信息对照表中进行查询操作,以确定与该目标硬盘相对应的目标信息读取地址,以便于从目标信息读取地址中读取目标点灯信息。After obtaining the slot information of the target hard disk and the information comparison table corresponding to the target backplane, perform a query operation from the information comparison table corresponding to the target backplane according to the slot information of the target hard disk to determine the The corresponding target information reading address is used to read the target lighting information from the target information reading address.

从所述目标信息读取地址中读取目标点灯信息。The target lighting information is read from the target information reading address.

确定好目标信息读取地址后,从目标信息读取地址中读取目标点灯信息,然后便可以将该目标点灯信息发送至目标背板,以根据目标点灯信息执行相应的点灯操作。After the target information reading address is determined, the target lighting information is read from the target information reading address, and then the target lighting information can be sent to the target backplane to perform corresponding lighting operations according to the target lighting information.

实施例三Embodiment Three

参照图3所示,图3为本申请实施例提供的硬盘点灯方法的第二方法流程图。其中,图3所示方法中,与图2所示方法中相同或相似的内容,可以参考图2方法中的描述,此处不做赘述。Referring to FIG. 3 , FIG. 3 is a flowchart of the second method of the hard disk lighting method provided by the embodiment of the present application. Wherein, in the method shown in FIG. 3 , for the same or similar content as that in the method shown in FIG. 2 , reference may be made to the description in the method shown in FIG. 2 , and details are not repeated here.

通过不同的I2C信号分别获取不同背板上硬盘的槽位信息和地址信息,并根据所述不同背板上硬盘的槽位信息和地址信息生成与所述背板一一对应的信息对照表;Obtain slot information and address information of hard disks on different backplanes through different I2C signals, and generate an information comparison table corresponding to the backplane one by one according to the slot information and address information of hard disks on different backplanes;

响应于所述SLOAD信号为低电平前,需要先建立与背板一一对应的信息对照表。进一步的,信息对照表为预先配置,根据背板上的槽位信息等生成信息对照表。主板上的基板管理控制器通过I2C3信号获取0号背板(图1中的BP0)上硬盘的槽位信息和地址信息,然后通过这些信息生成0号背板对应的信息对照表,主板上的基板管理控制器通过I2C4信号获取1号背板上的槽位信息和地址信息,然后通过这些信息生成1号背板(图1中的BP1)对应的信息对照表。Before responding that the SLOAD signal is at low level, it is necessary to establish a one-to-one information comparison table with the backplane. Further, the information comparison table is pre-configured, and the information comparison table is generated according to the slot information on the backplane. The baseboard management controller on the motherboard obtains the slot information and address information of the hard disk on the No. 0 backplane (BP0 in Figure 1) through the I2C3 signal, and then generates an information comparison table corresponding to the No. 0 backplane through these information. The baseboard management controller acquires slot information and address information on the No. 1 backplane through the I2C4 signal, and then generates an information comparison table corresponding to the No. 1 backplane (BP1 in FIG. 1 ) through these information.

将所述信息对照表存储于所述平台路径控制器;storing the information comparison table in the platform path controller;

生成与背板一一对应的信息对照表后,将信息对照表存储于平台路径控制器,以便于主板上的可编程逻辑器件可以从平台路径控制器中读取信息对照表。After the information comparison table corresponding to the backplane is generated, the information comparison table is stored in the platform path controller, so that the programmable logic device on the main board can read the information comparison table from the platform path controller.

响应于所述硬盘的状态信息产生变化,将该状态信息产生变化的硬盘确定为目标硬盘,并获取所述目标硬盘的状态信息;In response to a change in the state information of the hard disk, determine the hard disk whose state information has changed as a target hard disk, and acquire the state information of the target hard disk;

当硬盘的状态信息发生变化时,需要更改硬盘的点灯状态,例如,硬盘出现故障时,需要对硬盘进行告警点灯操作,也就是将硬盘的指示灯显示为告警信号对应的颜色,因此此时需要执行点灯操作,因此要时刻检测检测硬盘的状态信息,平台路径控制器用于检测硬盘的状态信息。当平台路径控制检测到硬盘的状态信息产生变化时,将该状态信息产生变化的硬盘确定为目标硬盘,平台路径控制器会采集到目标硬盘的槽位信息和状态信息,然后通过SGPIO信号发送至主板上的可编程逻辑器件,主板上的可编程逻辑器件接收平台路径控制器所下发的目标硬盘的槽位信息和状态信息。When the status information of the hard disk changes, it is necessary to change the lighting status of the hard disk. Perform the lighting operation, so it is necessary to detect the status information of the hard disk at all times, and the platform path controller is used to detect the status information of the hard disk. When the platform path control detects that the state information of the hard disk changes, it determines the hard disk whose state information has changed as the target hard disk, and the platform path controller will collect the slot information and state information of the target hard disk, and then send it to the The programmable logic device on the main board receives the slot information and status information of the target hard disk delivered by the platform path controller.

获取所述目标硬盘的槽位信息,根据所述目标硬盘的槽位信息确定与该目标硬盘相对应的目标总线;Obtaining slot information of the target hard disk, and determining a target bus corresponding to the target hard disk according to the slot information of the target hard disk;

平台路径控制器会采集到目标硬盘的槽位信息和状态信息,当平台路径控制器采集到目标硬盘的槽位信息后,根据目标硬盘的槽位信息确定与该目标硬盘相对应的目标总线,以便于拉低目标总线中的SLOAD信号的电平。The platform path controller will collect the slot information and status information of the target hard disk. After the platform path controller collects the slot information of the target hard disk, it will determine the target bus corresponding to the target hard disk according to the slot information of the target hard disk. In order to pull down the level of the SLOAD signal in the target bus.

将与所述目标总线相对应的SLOAD信号的电平拉低;Pulling down the level of the SLOAD signal corresponding to the target bus;

根据目标硬盘的槽位信息确定与该目标硬盘相对应的目标总线后,执行电平拉低操作,将目标总线中的SLOAD信号的电平下拉为低电平,以便于主板上的可编程逻辑器件将目标点灯信息发送至目标背板,对目标背板上的硬盘执行点灯操作。After the target bus corresponding to the target hard disk is determined according to the slot information of the target hard disk, the level pull-down operation is performed, and the level of the SLOAD signal in the target bus is pulled down to a low level, so that the programmable logic on the motherboard can The device sends the target lighting information to the target backplane, and performs the lighting operation on the hard disk on the target backplane.

响应于所述SLOAD信号为低电平,接收从所述平台路径控制器通过所述SGPIO信号下发的目标硬盘的槽位信息和状态信息;Responding to the low level of the SLOAD signal, receiving slot information and status information of the target hard disk sent from the platform path controller through the SGPIO signal;

响应于所述SLOAD信号为低电平,即,当主板上的可编程逻辑器件检测到存在SLOAD信号的电平下拉为低电平时,此时意味着存在一个或多个硬盘的状态信息发生了变化,需要执行硬盘点灯操作,主板上的可编程逻辑器件接收从平台路径控制器通过SGPIO信号下发的目标硬盘的槽位信息和状态信息,以便于根据槽位信息确定目标背板,根据状态信息确定目标点灯信息。In response to the low level of the SLOAD signal, that is, when the programmable logic device on the motherboard detects that the level of the SLOAD signal is pulled down to a low level, it means that there is one or more hard disk status information. Change, it is necessary to perform hard disk lighting operation. The programmable logic device on the motherboard receives the slot information and status information of the target hard disk sent from the platform path controller through the SGPIO signal, so as to determine the target backplane according to the slot information. The information determines the target lighting information.

将所述目标硬盘的状态信息确定为所述目标点灯信息,并将所述目标点灯信息存储于与所述目标硬盘相对应的信息对照表中的目标信息读取地址;Determining the status information of the target hard disk as the target lighting information, and storing the target lighting information in the target information reading address in the information comparison table corresponding to the target hard disk;

确定好目标硬盘的状态信息后,将目标硬盘所对应的状态信息存储于与目标硬盘相对应的信息对照表中的目标信息读取地址,以便于在执行点灯操作时读取该目标信息读取地址上的目标点灯信息,并通过该目标点灯信息对硬盘执行点灯操作。After determining the state information of the target hard disk, store the state information corresponding to the target hard disk in the target information reading address in the information comparison table corresponding to the target hard disk, so as to read the target information when performing the lighting operation. The target lighting information on the address, and perform the lighting operation on the hard disk through the target lighting information.

根据所述目标硬盘的槽位信息从所述背板中确定目标背板,以从所述平台路径控制器中获取与所述目标背板相对应的信息对照表;determining the target backplane from the backplane according to the slot information of the target hard disk, so as to obtain an information comparison table corresponding to the target backplane from the platform path controller;

主板上的可编程逻辑器件实时检测每个总线中SLOAD信号的电平高低,当存在SLOAD信号的电平下拉为低电平时,此时意味着存在一个或多个硬盘的状态信息发生了变化,需要执行硬盘点灯操作。由于一个主板连接多个背板,目标硬盘的槽位信息中记载了产生状态变化的硬盘的槽位信息,此时需根据该槽位信息便可以从多个背板中确定目标背板,也就是确定该产生状态变化的硬盘所在的背板。确定目标背板后,便可以获取与目标背板相对应的信息对照表。The programmable logic device on the motherboard detects the level of the SLOAD signal in each bus in real time. When the level of the SLOAD signal is pulled down to a low level, it means that the status information of one or more hard disks has changed. It is necessary to perform the operation of turning on the hard disk. Since a mainboard is connected to multiple backplanes, the slot information of the target hard disk contains the slot information of the hard disk whose state changes. At this time, the target backplane can be determined from the multiple backplanes according to the slot information. It is to determine the backplane where the hard disk that should generate the state change is located. After the target backplane is determined, an information comparison table corresponding to the target backplane can be obtained.

根据所述目标硬盘的槽位信息从与所述目标背板相对应的信息对照表中确定与所述目标硬盘相对应的所述目标信息读取地址;determining the target information reading address corresponding to the target hard disk from an information comparison table corresponding to the target backplane according to the slot information of the target hard disk;

获取到目标硬盘的槽位信息以及与目标背板相对应的信息对照表后,根据目标硬盘的槽位信息从与目标背板对应的信息对照表中进行查询操作,以确定与该目标硬盘相对应的目标信息读取地址,以便于从目标信息读取地址中读取目标点灯信息。After obtaining the slot information of the target hard disk and the information comparison table corresponding to the target backplane, perform a query operation from the information comparison table corresponding to the target backplane according to the slot information of the target hard disk to determine the The corresponding target information reading address is used to read the target lighting information from the target information reading address.

从所述目标信息读取地址中读取目标点灯信息;Read target lighting information from the target information reading address;

确定好目标信息读取地址后,从目标信息读取地址中读取目标点灯信息,然后便可以将该目标点灯信息发送至目标背板,以根据目标点灯信息执行相应的点灯操作。After the target information reading address is determined, the target lighting information is read from the target information reading address, and then the target lighting information can be sent to the target backplane to perform corresponding lighting operations according to the target lighting information.

将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The target lighting information is sent to the programmable logic device on the target backboard through an I2C signal, so that the target hard disk is controlled to perform a lighting operation by the programmable logic device on the target backboard according to the target lighting information.

获取到目标点灯信息后,将目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,例如,如果是第一背板,则通过I2C5信号将目标点灯信息发送至第一背板上的可编程逻辑器件;如果是第二背板,则通过I2C6信号将目标点灯信息发送至第二背板上的可编程逻辑器件。然后通过目标背板上的可编程逻辑器件根据目标点灯信息控制目标硬盘执行点灯操作。After obtaining the target lighting information, send the target lighting information to the programmable logic device on the target backplane through the I2C signal, for example, if it is the first backplane, send the target lighting information to the first backplane through the I2C5 signal If it is the second backplane, the target lighting information is sent to the programmable logic device on the second backplane through the I2C6 signal. Then, the programmable logic device on the target backboard controls the target hard disk to perform the lighting operation according to the target lighting information.

应该理解的是,虽然图2~图3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2~图3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow charts of FIGS. 2-3 are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in FIGS. 2 to 3 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or The execution order of the stages is not necessarily performed sequentially, but may be executed alternately or alternately with at least a part of other steps or substeps of other steps or stages.

实施例四Embodiment Four

参照图4所示,图4为本申请实施例提供的硬盘点灯系统的系统结构图。Referring to FIG. 4 , FIG. 4 is a system structure diagram of a hard disk lighting system provided by an embodiment of the present application.

本实施例的硬盘点灯系统,包括:The hard disk lighting system of this embodiment includes:

信息处理模块,用于响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;An information processing module, configured to receive target information of the target hard disk in response to the SLOAD signal being at a low level, so as to obtain an information comparison table from the platform path controller according to the target information;

SGPIO信号包括SLOAD信号,当硬盘的状态发生变化,平台路径控制器需要控制硬盘进行点灯时,SLOAD信号的电平会被下拉为低电平,因此SLOAD信号的电平高低可以反映是否需要执行点灯操作,即,当SLOAD信号的电平被下拉为低电平的时候,需要通过平台路径控制器发送点灯信号以对硬盘进行点灯操作。当SLOAD信号的电平被下拉为低电平的时候,信息处理模块会接收到目标硬盘的目标信息,然后根据目标信息从平台路径控制器中获取信息对照表,以从信息对照表中获取目标点灯信息。The SGPIO signal includes the SLOAD signal. When the state of the hard disk changes and the platform path controller needs to control the hard disk to turn on the light, the level of the SLOAD signal will be pulled down to a low level, so the level of the SLOAD signal can reflect whether it is necessary to perform light on. Operation, that is, when the level of the SLOAD signal is pulled down to a low level, it is necessary to send a lighting signal through the platform path controller to perform a lighting operation on the hard disk. When the level of the SLOAD signal is pulled down to a low level, the information processing module will receive the target information of the target hard disk, and then obtain the information comparison table from the platform path controller according to the target information, so as to obtain the target from the information comparison table. Lighting information.

点灯信息模块,用于根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;A lighting information module, configured to determine a target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;

获取到信息对照表后,根据目标信息可以通过点灯信息模块从信息对照表中确定与目标硬盘相对应的目标信息读取地址,然后便可以从目标信息读取地址中读取目标点灯信息,以便于通过目标点灯信息进行点灯操作。After obtaining the information comparison table, according to the target information, the target information reading address corresponding to the target hard disk can be determined from the information comparison table through the lighting information module, and then the target lighting information can be read from the target information reading address, so that It is used to perform the lighting operation based on the target lighting information.

点灯执行模块,用于将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The lighting execution module is configured to send the target lighting information to the programmable logic device on the target backplane through the I2C signal, so as to control the target hard disk to execute according to the target lighting information through the programmable logic device on the target backplane. Lighting operation.

获取到目标点灯信息后,将目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,例如,如果是第一背板,则通过I2C5信号将目标点灯信息发送至第一背板上的可编程逻辑器件;如果是第二背板,则通过I2C6信号将目标点灯信息发送至第二背板上的可编程逻辑器件。然后通过点灯执行模块根据目标点灯信息控制目标硬盘执行点灯操作。After obtaining the target lighting information, send the target lighting information to the programmable logic device on the target backplane through the I2C signal, for example, if it is the first backplane, send the target lighting information to the first backplane through the I2C5 signal If it is the second backplane, the target lighting information is sent to the programmable logic device on the second backplane through the I2C6 signal. Then the target hard disk is controlled to perform the lighting operation according to the target lighting information through the lighting execution module.

关于硬盘点灯系统的具体限定可以参见上文中对于方法的限定,在此不再赘述。上述硬盘点灯系统中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the hard disk lighting system, please refer to the above-mentioned limitations on the method, which will not be repeated here. Each module in the above-mentioned hard disk lighting system can be fully or partially realized by software, hardware and combinations thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.

实施例五Embodiment five

本实施例提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现硬盘点灯方法的步骤。This embodiment provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the steps of the hard disk lighting method are implemented.

该计算机设备可以是终端,其内部结构图可以如图5所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现硬盘点灯方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 5 . The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the hard disk lighting method is realized. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.

本领域内的技术人员应明白,图5中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art should understand that the structure shown in Figure 5 is only a block diagram of a part of the structure related to the application scheme, and does not constitute a limitation to the computer equipment on which the application scheme is applied. The specific computer Devices may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.

在其中一个实施方式中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:In one of the embodiments, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the following steps are implemented:

响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;Responding to the low level of the SLOAD signal, receiving target information of the target hard disk, so as to obtain an information comparison table from the platform path controller according to the target information;

根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;Determine the target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;

将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The target lighting information is sent to the programmable logic device on the target backboard through an I2C signal, so that the target hard disk is controlled to perform a lighting operation by the programmable logic device on the target backboard according to the target lighting information.

实施例六Embodiment six

本实施例提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;Responding to the low level of the SLOAD signal, receiving target information of the target hard disk, so as to obtain an information comparison table from the platform path controller according to the target information;

根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;Determine the target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;

将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The target lighting information is sent to the programmable logic device on the target backboard through an I2C signal, so that the target hard disk is controlled to perform a lighting operation by the programmable logic device on the target backboard according to the target lighting information.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包5括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM comes in many forms

式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory Bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

0以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各0 The technical features of the above embodiments can be combined arbitrarily, and for the sake of concise description, the

个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。All possible combinations of technical features are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered as within the scope of this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因The above-mentioned embodiments only express several implementation modes of the present application, and its description is relatively specific and detailed, but it cannot be regarded as

此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不5脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。This should be understood as a limitation on the scope of the invention patent. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (10)

Translated fromChinese
1.一种硬盘点灯装置,其特征在于,所述硬盘点灯装置包括主板和至少一个背板,所述主板包括依次通信连接的基板管理控制器、可编程逻辑器件和平台路径控制器,所述可编程逻辑器件与所述平台路径控制器通过SGPIO信号传输,所述可编程逻辑器件与所述基板管理控制器通过I2C信号传输,所述主板上还设置有第一通信接口,所述基板管理控制器和可编程逻辑器件均通过I2C信号与所述第一通信接口通信连接;所述背板包括可编程逻辑器件和第二通信接口,所述背板上的可编程逻辑器件与所述第二通信接口通过I2C信号通信连接;所述第一通信接口和所述第二通信接口通过I2C信号通信连接,所述背板上的可编程逻辑器件还与硬盘通信连接。1. A hard disk lighting device, characterized in that, the hard disk lighting device comprises a main board and at least one backplane, and the main board includes a base board management controller, a programmable logic device and a platform path controller that are sequentially connected by communication, the The programmable logic device and the platform path controller are transmitted through SGPIO signals, the programmable logic device and the baseboard management controller are transmitted through I2C signals, the main board is also provided with a first communication interface, and the baseboard management Both the controller and the programmable logic device communicate with the first communication interface through an I2C signal; the backplane includes a programmable logic device and a second communication interface, and the programmable logic device on the backplane communicates with the first communication interface. The two communication interfaces are connected through I2C signal communication; the first communication interface and the second communication interface are connected through I2C signal communication, and the programmable logic device on the backboard is also connected with the hard disk through communication.2.一种采用如权利要求1所述的硬盘点灯装置的硬盘点灯方法,其特征在于,所述SGPIO信号包括SLOAD信号,所述硬盘点灯方法包括:2. A hard disk lighting method adopting the hard disk lighting device as claimed in claim 1, wherein the SGPIO signal comprises a SLOAD signal, and the hard disk lighting method comprises:响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;Responding to the low level of the SLOAD signal, receiving target information of the target hard disk, so as to obtain an information comparison table from the platform path controller according to the target information;根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;Determine the target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The target lighting information is sent to the programmable logic device on the target backboard through an I2C signal, so that the target hard disk is controlled to perform a lighting operation by the programmable logic device on the target backboard according to the target lighting information.3.根据权利要求2所述的硬盘点灯方法,其特征在于,所述响应于所述SLOAD信号为低电平前,还包括:3. The hard disk lighting method according to claim 2, characterized in that before the response to the SLOAD signal being low level, further comprising:通过不同的I2C信号分别获取不同背板上硬盘的槽位信息和地址信息,并根据所述不同背板上硬盘的槽位信息和地址信息生成与所述背板一一对应的信息对照表;Obtain slot information and address information of hard disks on different backplanes through different I2C signals, and generate an information comparison table corresponding to the backplane one by one according to the slot information and address information of hard disks on different backplanes;将所述信息对照表存储于所述平台路径控制器。The information comparison table is stored in the platform path controller.4.根据权利要求2所述的硬盘点灯方法,其特征在于,所述响应于所述SLOAD信号为低电平前,还包括:4. The hard disk lighting method according to claim 2, characterized in that before the response to the SLOAD signal being low level, further comprising:响应于所述硬盘的状态信息产生变化,将该状态信息产生变化的硬盘确定为目标硬盘,并获取所述目标硬盘的状态信息;In response to a change in the state information of the hard disk, determine the hard disk whose state information has changed as a target hard disk, and acquire the state information of the target hard disk;获取所述目标硬盘的槽位信息,根据所述目标硬盘的槽位信息确定与该目标硬盘相对应的目标总线;Obtaining slot information of the target hard disk, and determining a target bus corresponding to the target hard disk according to the slot information of the target hard disk;将与所述目标总线相对应的SLOAD信号的电平拉低。Pull down the level of the SLOAD signal corresponding to the target bus.5.根据权利要求4所述的硬盘点灯方法,其特征在于,所述目标硬盘的槽位信息和状态信息形成所述目标信息,所述响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,包括:5. The hard disk lighting method according to claim 4, wherein the slot information and status information of the target hard disk form the target information, and the target hard disk is received in response to the low level of the SLOAD signal. target information, including:响应于所述SLOAD信号为低电平,接收从所述平台路径控制器通过所述SGPIO信号下发的目标硬盘的槽位信息和状态信息;Responding to the low level of the SLOAD signal, receiving slot information and status information of the target hard disk sent from the platform path controller through the SGPIO signal;将所述目标硬盘的状态信息确定为所述目标点灯信息,并将所述目标点灯信息存储于与所述目标硬盘相对应的信息对照表中的目标信息读取地址。The status information of the target hard disk is determined as the target lighting information, and the target lighting information is stored in the target information reading address in the information comparison table corresponding to the target hard disk.6.根据权利要求5所述的硬盘点灯方法,其特征在于,所述根据所述目标信息从所述平台路径控制器中获取信息对照表,包括:6. The hard disk lighting method according to claim 5, wherein said acquiring an information comparison table from said platform path controller according to said target information comprises:根据所述目标硬盘的槽位信息从所述背板中确定目标背板,以从所述平台路径控制器中获取与所述目标背板相对应的信息对照表。The target backplane is determined from the backplanes according to the slot information of the target hard disk, so as to obtain an information comparison table corresponding to the target backplane from the platform path controller.7.根据权利要求6所述的硬盘点灯方法,其特征在于,所述根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息,包括:7. The hard disk lighting method according to claim 6, wherein the target information reading address is determined from the information comparison table according to the target information and the target in the target information reading address is read. Lighting information, including:根据所述目标硬盘的槽位信息从与所述目标背板相对应的信息对照表中确定与所述目标硬盘相对应的所述目标信息读取地址;determining the target information reading address corresponding to the target hard disk from an information comparison table corresponding to the target backplane according to the slot information of the target hard disk;从所述目标信息读取地址中读取目标点灯信息。The target lighting information is read from the target information reading address.8.一种硬盘点灯系统,其特征在于,所述硬盘点灯系统包括:8. A hard disk lighting system, characterized in that the hard disk lighting system comprises:信息处理模块,用于响应于所述SLOAD信号为低电平,接收目标硬盘的目标信息,以根据所述目标信息从所述平台路径控制器中获取信息对照表;An information processing module, configured to receive target information of the target hard disk in response to the SLOAD signal being at a low level, so as to obtain an information comparison table from the platform path controller according to the target information;点灯信息模块,用于根据所述目标信息从所述信息对照表中确定目标信息读取地址并读取所述目标信息读取地址中的目标点灯信息;A lighting information module, configured to determine a target information reading address from the information comparison table according to the target information and read the target lighting information in the target information reading address;点灯执行模块,用于将所述目标点灯信息通过I2C信号发送至目标背板上的可编程逻辑器件,以通过所述目标背板上的可编程逻辑器件根据所述目标点灯信息控制目标硬盘执行点灯操作。The lighting execution module is configured to send the target lighting information to the programmable logic device on the target backplane through the I2C signal, so as to control the target hard disk to execute according to the target lighting information through the programmable logic device on the target backplane. Lighting operation.9.一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求2~7中任意一项所述方法的步骤。9. A computer device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, characterized in that, when the processor executes the computer program, any of claims 2 to 7 is realized. A step of said method.10.一种计算机可读存储介质,其特征在于:所述计算机可读存储介质存储有程序,当所述程序被处理器执行时,使得所述处理器执行如权利要求2~7中任意一项所述的方法的步骤。10. A computer-readable storage medium, characterized in that: the computer-readable storage medium stores a program, and when the program is executed by a processor, the processor executes any one of claims 2-7. The steps of the method described in the item.
CN202211604121.8A2022-12-132022-12-13 Hard disk lighting device, method, system, computer equipment and storage mediumPendingCN115905083A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202211604121.8ACN115905083A (en)2022-12-132022-12-13 Hard disk lighting device, method, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202211604121.8ACN115905083A (en)2022-12-132022-12-13 Hard disk lighting device, method, system, computer equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN115905083Atrue CN115905083A (en)2023-04-04

Family

ID=86491435

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202211604121.8APendingCN115905083A (en)2022-12-132022-12-13 Hard disk lighting device, method, system, computer equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN115905083A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119514475A (en)*2025-01-212025-02-25苏州元脑智能科技有限公司 Back panel indicator light control method, device, product and medium
WO2025066651A1 (en)*2023-09-252025-04-03苏州元脑智能科技有限公司Signal transmission system and method
CN120353734A (en)*2025-06-202025-07-22苏州元脑智能科技有限公司Hard disk control circuit, method, device, medium and program product

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2025066651A1 (en)*2023-09-252025-04-03苏州元脑智能科技有限公司Signal transmission system and method
CN119514475A (en)*2025-01-212025-02-25苏州元脑智能科技有限公司 Back panel indicator light control method, device, product and medium
CN120353734A (en)*2025-06-202025-07-22苏州元脑智能科技有限公司Hard disk control circuit, method, device, medium and program product

Similar Documents

PublicationPublication DateTitle
CN115905083A (en) Hard disk lighting device, method, system, computer equipment and storage medium
CN101405708B (en)Memory systems for automated computing machinery
CN111581050B (en)Cabinet, cabinet monitoring system and monitoring method
CN107066746B (en)Method for realizing PCA9555 function through CPLD based on I2C interface
US10127063B2 (en)Devices and systems with virtual devices that may be selectively enabled
CN107273245B (en)Operation device and operation method
CN118069562A (en)Method, device, equipment and storage medium for managing hard disk backboard of double-node server
CN118689819A (en) A data processing method, system and computing device based on complex programmable logic device CPLD
CN111966419A (en) A method and device for automatically assigning VPP addresses by signal conditioning equipment
CN114003528A (en)OCP switching card, switching system and switching method
CN118885422A (en) Server and backplane
CN114741350A (en) A method, system, device and medium for cascading multiple NVME hard disk backplanes
CN118427020A (en) Hardware equipment management method, device, BMC, storage medium and program product
US12007928B2 (en)Signal bridging using an unpopulated processor interconnect
CN118484421A (en) System log processing method, device, electronic device and storage medium
CN118093031A (en) A wiring inspection method, device, equipment and machine-readable storage medium
WO2024087933A1 (en)Memory card and computing device
CN112564924B (en)Computer expansion card and block chain terminal equipment
CN109144583A (en)Mainboard information acquisition method, device, system and equipment based on Domestic Platform
CN115827342A (en)Test fixture, test system and OCP network card test method
CN115543246A (en)BMC and server
CN114297120A (en) A kind of bandwidth allocation method, device and system
CN112596969A (en)Expander card debugging device, method, equipment and medium
CN223347334U (en)OCP network card structure
CN222531008U (en) Circuit board and display device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

Country or region after:China

Address after:215000 Building 9, No.1 guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after:Suzhou Yuannao Intelligent Technology Co.,Ltd.

Address before:215000 Building 9, No.1 guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant before:SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp