A method, apparatus and device for backplane hard drive LED illumination

By obtaining the PCIe port identifier and information of the backplane connection, the hard drive mapping is determined, which solves the problem of the fixed correspondence between the backplane and the PCIe port in the existing technology, and realizes the flexibility of NVMe hard drive LED lighting and multiple connection methods.

CN115269344BActive Publication Date: 2025-10-28LENOVO BEIJING INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210907533.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2025-10-28
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

In existing technologies, the LED lighting method for NVMe hard drives requires pre-fixing the correspondence between the backplane and the PCIe port, which cannot be flexibly adjusted, leading to errors in the LED lighting process when the port relationship changes.

Method used

By obtaining the port identifier of the PCIe port connected to the backplane, the mapping between the port information and the hard drive can be determined, enabling flexible LED operation.

Benefits of technology

It improves the configuration flexibility between PCIe ports and hard drives, supports multiple topology connection methods, and increases cable flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115269344B_ABST
    Figure CN115269344B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, and device for backplane hard drive illumination. The backplane hard drive illumination method includes: acquiring the port identifier of a PCIe port connected to the backplane; determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port identifier; and controlling the illumination operation of the hard drive connected to the backplane based on the mapping. A port identifier is added to the PCIe connector end of the motherboard, and a port address is set through the port identifier. The backplane acquires the PCIe port identifier through the port address and further determines the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane, thereby identifying the hard drive connected to the backplane and performing an illumination operation on that hard drive. Therefore, the PCIe ports can be flexibly arranged according to actual needs, significantly improving the configuration flexibility between PCIe ports and hard drives, enabling various topology connection methods, and greatly increasing cable flexibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, and device for lighting up a backplane hard drive. Background Technology

[0002] Illuminating hard drives is a standard operation for electronic devices. Currently, the illumination method for hard drives conforming to the NVME (Non-Volatile Memory Host Controller Interface Specification) first parses the CPU's HP SMBUS signal, and then illuminates the drive based on the data corresponding to VPP_ADDR. This current method requires pre-fixing the mapping between the backplane and its connected PCIe ports. The backplane only parses data at the address corresponding to its specific PCIe port. The mapping between PCIe ports and the backplane cannot be changed; any alteration will result in errors during the illumination process. Summary of the Invention

[0003] The present invention provides a method, apparatus, and device for lighting up a backplane hard drive.

[0004] According to a first aspect of the present invention, a method for lighting up a backplane hard drive is provided, the method comprising: obtaining a port identifier of a PCIe port connected to a backplane; determining, based on the port identifier, a mapping between port information of the PCIe port connected to the backplane and a hard drive connected to the backplane; and controlling the lighting up operation of the hard drive connected to the backplane according to the mapping.

[0005] According to one embodiment of the present invention, determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port identifier includes: determining the port information of the PCIe port connected to the backplane based on the port identifier; and determining the mapping between the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port information.

[0006] According to one embodiment of the present invention, the first number of hard drives connected to the backplane is 1, and the second number of PCIe ports connected to the backplane is one or more; correspondingly, determining the mapping between the port information of the PCIe ports connected to the backplane and the hard drives connected to the backplane based on the port information includes: determining the port information of all PCIe ports connected to the backplane corresponding to the hard drives connected to the backplane; or determining the port information of at least one PCIe port corresponding to the hard drives connected to the backplane.

[0007] According to one embodiment of the present invention, the first number of hard drives connected to the backplane is one or more, and the second number of PCIe ports connected to the backplane is one; correspondingly, determining the mapping between the port information of the PCIe ports connected to the backplane and the hard drives connected to the backplane based on the port information includes: determining the mapping between the port information of the PCIe ports connected to the backplane and the hard drives connected to the backplane based on the identifier bit of the port identifier corresponding to the port information; or determining that all hard drives connected to the backplane correspond to the port information of the PCIe ports connected to the backplane.

[0008] According to one embodiment of the present invention, there are multiple first-numbered hard drives connected to the backplane and multiple second-numbered PCIe ports connected to the backplane, wherein the first-numbered and second-numbered are the same or different; correspondingly, determining the mapping between the port information of the PCIe ports connected to the backplane and the hard drives connected to the backplane based on the port information includes: determining the mapping between the port information of the PCIe ports connected to the backplane and the hard drives connected to the backplane based on the identifier bit of the port identifier corresponding to the port information.

[0009] According to one embodiment of the present invention, the step of controlling the lighting operation of the hard drive connected to the backplane according to the mapping includes: upon receiving a lighting command, determining the hard drive to be lit according to the port information of the lighting command and the mapping; and lighting up the determined hard drive to be lit.

[0010] According to an embodiment of the present invention, the step of determining the hard drive to be lit based on the port information of the lighting command and the mapping when a lighting command is received includes: parsing the port command to obtain port information corresponding to the lighting command; determining whether the port information is port information corresponding to the hard drive connected to the backplane based on the port information of the lighting command and the mapping; and determining the hard drive to be lit based on the port information of the lighting command and the mapping if the port information is port information corresponding to the hard drive connected to the backplane.

[0011] According to one embodiment of the present invention, the hard disk is a hard disk with an interface conforming to the NVME standard.

[0012] According to a second aspect of the present invention, a backplane hard drive lighting device is also provided, the device comprising: an identification acquisition module for acquiring a port identifier of a PCIe port connected to a backplane; a mapping determination module for determining a mapping between port information of the PCIe port connected to the backplane and a hard drive connected to the backplane based on the port identifier; and a lighting module for controlling the lighting operation of the hard drive connected to the backplane based on the mapping.

[0013] According to a third aspect of the present invention, an apparatus is also provided, the apparatus comprising at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; the processor is configured to invoke program instructions in the memory to execute the aforementioned backplane hard disk LED lighting method.

[0014] In the backplane hard drive lighting method, apparatus, and device of this invention, the backplane hard drive lighting method includes: obtaining the port identifier of the PCIe port connected to the backplane; determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port identifier; and controlling the lighting operation of the hard drive connected to the backplane based on the mapping. A port identifier is added to the PCIe connector end of the motherboard, and a port address is set through the port identifier. The backplane obtains the PCIe port identifier through the port address and further determines the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane, thereby identifying the hard drive connected to the backplane and performing a lighting operation on that hard drive. Therefore, the PCIe ports can be flexibly arranged according to actual needs, significantly improving the flexibility of the configuration between the PCIe ports and hard drives, enabling various topology connection methods, and greatly increasing cable flexibility.

[0015] It should be understood that the teachings of this invention do not need to achieve all the beneficial effects described above, but rather that specific technical solutions can achieve specific technical effects, and other embodiments of this invention can also achieve beneficial effects not mentioned above. Attached Figure Description

[0016] The above and other objects, features, and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated in the drawings by way of example and not limitation, wherein:

[0017] In the drawings, the same or corresponding reference numerals denote the same or corresponding parts.

[0018] Figure 1 This diagram illustrates the connection relationship between the backplane and the PCIe connector, and between the backplane and the hard drive, in the backplane hard drive lighting method according to an embodiment of the present invention.

[0019] Figure 2 A schematic diagram illustrating the implementation process of the backplane hard drive LED lighting method according to an embodiment of the present invention is shown;

[0020] Figure 3 A schematic diagram of the composition structure of the backplane hard disk lighting device according to an embodiment of the present invention is shown;

[0021] Figure 4 A schematic diagram of the composition structure of the device according to an embodiment of the present invention is shown. Detailed Implementation

[0022] The principles and spirit of the invention will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are provided merely to enable those skilled in the art to better understand and implement the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided to make the invention more thorough and complete, and to fully convey the scope of the invention to those skilled in the art.

[0023] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0024] Figure 1 The diagram illustrates the connection relationship between the backplane and the PCIe connector, and between the backplane and the hard drive, in the backplane hard drive illumination method according to an embodiment of the present invention.

[0025] refer to Figure 1 In this embodiment of the invention, a separate ID pin is provided on the PCIe connector side of the motherboard to distinguish PCIe ports. The PCIe connector pin displays the port identifier of the PCIe port; specifically, the port identifier can be represented by the values ​​ID0 / ID1 / ID2. The 3-digit IDs ID0, ID1, and ID2 can have 8 different combinations, including 000, 001, 010, 011, 100, 101, 110, and 111. In practical applications, the number of bits in the PCIe connector ID can be set according to requirements, for example, it can be 2, 3, 4, 5, or 6 bits.

[0026] The backplane CPLD on the backplane side can obtain the PCIe port information VPP_ADDR through the PCIe ID. Specifically, the correspondence between different PCIe IDs and the PCIe port information VPP_ADDR can be pre-stored. Then, after obtaining the PCIe ID value from the backplane CPLD, the PCIe port information VPP_ADDR is determined based on the PCIe ID value.

[0027] Furthermore, the backplane CPLD can parse the HP SMBus on the motherboard side based on VPP_ADDR to obtain the correct LED signal and transmit the LED signal to the corresponding hard drive. For example, the mapping of the PCIe port identifier, port information VPP_ADDR, and the bus number of the hard drive connected to the backplane is shown in Table 1 below:

[0028] Table 1

[0029]

[0030] When the backplane CPLD receives the LED signal from the motherboard side, indicating that the PCIe port information VPP_ADDR is 0x40, the PCIe port identifier can be obtained as 000. Furthermore, it can be determined that the hard drive that needs to be illuminated is connected to the backplane through the PE0A_B port.

[0031] It should be noted that, Figure 1 Table 1 is merely an illustrative example of this solution. In practical applications, VPP_ADDR can be flexibly configured as needed, and the PCIe port identifier is not limited to a 3-bit ID. Furthermore, in practical applications, it is not limited to one PCIe port corresponding to one backplane; multiple PCIe ports can be connected to the same backplane, or more backplanes can be connected to the motherboard. This invention does not limit the above content.

[0032] Figure 2 The diagram illustrates the implementation flow of the backplane hard drive LED lighting method according to an embodiment of the present invention.

[0033] refer to Figure 2 The backplane hard drive LED lighting method of this invention includes at least the following operation process: Operation 201, obtaining the port identifier of the PCIe port connected to the backplane; Operation 202, determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane according to the port identifier; Operation 203, controlling the LED lighting operation of the hard drive connected to the backplane according to the mapping.

[0034] In operation 201, obtain the port identifier of the PCIe port connected to the backplane.

[0035] In this embodiment of the invention, the PCIe connector end on the motherboard side is the PCIe port connected to the backplane. A separate ID pin code can be configured for each PCIe port on the motherboard side to distinguish them.

[0036] In this embodiment of the invention, the backplane is a CPLD backplane, which can directly obtain the port identifier of the PCIe port connected to the backplane.

[0037] For example, refer back to the reference. Figure 1 The VPP_ADDR of a PCIe connector can be represented by the values ​​ID0 / ID1 / ID2. These three digits (ID0, ID1, ID2) can represent eight different combinations, including 000, 001, 010, 011, 100, 101, 110, and 111. In practical applications, the number of digits in the PCIe connector's ID can be set according to requirements, for example, it can be 2, 3, 4, 5, or 6 digits.

[0038] In operation 202, the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane is determined based on the port identifier.

[0039] In this embodiment of the invention, the hard disk is a hard disk with an interface conforming to the NVME standard.

[0040] In this embodiment of the invention, determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port identifier includes: determining the port information of the PCIe port connected to the backplane based on the port identifier; and determining the mapping between the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port information.

[0041] In this embodiment of the invention, the first number of hard drives connected to the backplane is 1, and the second number of PCIe ports connected to the backplane is one or more. Accordingly, determining the mapping between the port information of the PCIe ports connected to the backplane and the hard drives connected to the backplane based on the port information includes: determining the port information of all PCIe ports connected to the backplane corresponding to the hard drives connected to the backplane; or determining the port information of at least one PCIe port corresponding to the hard drives connected to the backplane.

[0042] In this embodiment of the invention, the first number of hard drives connected to the backplane is one or more, and the second number of PCIe ports connected to the backplane is one. Accordingly, the mapping between the port information of the PCIe ports connected to the backplane and the hard drives connected to the backplane is determined according to the port information, including: determining the mapping between the port information of the PCIe ports connected to the backplane and the hard drives connected to the backplane according to the identifier bit of the port identifier corresponding to the port information; or determining that all hard drives connected to the backplane correspond to the port information of the PCIe ports connected to the backplane.

[0043] In this embodiment of the invention, there are multiple first-numbered hard drives connected to the backplane and multiple second-numbered PCIe ports connected to the backplane. The first and second numbers may be the same or different. Accordingly, the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane is determined based on the port information, including: determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the identifier bit of the port identifier corresponding to the port information.

[0044] In operation 203, the LED operation of the hard drive connected to the backplane is controlled according to the mapping.

[0045] In this embodiment of the invention, the lighting operation of the hard drive connected to the backplane is controlled according to the mapping, which can be achieved by the following operation: upon receiving a lighting command, the hard drive to be lit is determined according to the port information and mapping of the lighting command; and the determined hard drive to be lit is lit.

[0046] In this embodiment of the invention, upon receiving a light-on command, determining the hard drive to be lit based on the port information and mapping of the light-on command includes: upon receiving a light-on command, parsing the port command to obtain the port information corresponding to the light-on command; determining whether the port information corresponds to the port information of the hard drive connected to the backplane based on the port information and mapping of the light-on command; and if the port information corresponds to the port information of the hard drive connected to the backplane, determining the hard drive to be lit based on the port information and mapping of the light-on command.

[0047] For other specific implementation details of operations 201, 202, and 203, please refer to [the relevant documentation]. Figure 1 The specific implementation details of the embodiments shown are similar and will not be repeated here.

[0048] In the backplane hard drive lighting method, apparatus, and device of this invention, the backplane hard drive lighting method includes: obtaining the port identifier of the PCIe port connected to the backplane; determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port identifier; and controlling the lighting operation of the hard drive connected to the backplane based on the mapping. A port identifier is added to the PCIe connector end of the motherboard, and a port address is set through the port identifier. The backplane obtains the PCIe port identifier through the port address and further determines the port information of the PCIe port connected to the backplane and the mapping between the hard drive connected to the backplane, thereby identifying the hard drive connected to the backplane and performing a lighting operation on that hard drive. Therefore, the PCIe ports can be flexibly arranged according to actual needs, significantly improving the flexibility of the configuration between the PCIe ports and hard drives, enabling various topology connection methods, and greatly increasing cable flexibility.

[0049] Similarly, based on the above-described backplane hard drive LED lighting method, this embodiment of the invention also provides a computer-readable storage medium storing a program. When the program is executed by a processor, the processor performs at least the following steps: Operation 201, obtaining the port identifier of the PCIe port connected to the backplane; Operation 202, determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port identifier; Operation 203, controlling the LED lighting operation of the hard drive connected to the backplane based on the mapping.

[0050] Furthermore, based on the backplane hard drive illumination method described above, this embodiment of the invention also provides a backplane hard drive illumination device, such as... Figure 3 The device 30 includes: an identification acquisition module 301, used to acquire the port identifier of the PCIe port connected to the backplane; a mapping determination module 302, used to determine the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port identifier; and an illumination module 303, used to control the illumination operation of the hard drive connected to the backplane based on the mapping.

[0051] In this embodiment of the invention, the mapping determination module 302 includes: a first information submodule, used to determine the port information of the PCIe port connected to the backplane based on the port identifier; and a first mapping submodule, used to determine the mapping between the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port information.

[0052] In this embodiment of the invention, the first number of hard drives connected to the backplane is 1, and the second number of PCIe ports connected to the backplane is one or more; correspondingly, the mapping determination module 302 includes: a second information submodule, used to: determine the port information of the hard drives connected to the backplane corresponding to all PCIe ports connected to the backplane; or determine the port information of the hard drives connected to the backplane corresponding to at least one PCIe port.

[0053] In this embodiment of the invention, the first number of hard drives connected to the backplane is one or more, and the second number of PCIe ports connected to the backplane is one; correspondingly, the mapping determination module 302 includes: a third information submodule, used to: determine the mapping between the port information of the PCIe port connected to the backplane and the hard drives connected to the backplane according to the identifier bit of the port identifier corresponding to the port information; or determine that all hard drives connected to the backplane correspond to the port information of the PCIe ports connected to the backplane.

[0054] In this embodiment of the invention, there are multiple first-number hard drives connected to the backplane and multiple second-number PCIe ports connected to the backplane. The first and second numbers may be the same or different. Accordingly, the mapping determination module 302 includes a second mapping submodule, which is used to determine the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the identifier bit of the port identifier corresponding to the port information.

[0055] In this embodiment of the invention, the lighting module 303 includes: a hard disk submodule, used to determine the hard disk to be lit based on the port information and mapping of the lighting command when a lighting command is received; and a lighting submodule, used to light up the determined hard disk to be lit.

[0056] In this embodiment of the invention, when the hard disk submodule receives a light-on command, it determines the hard disk to be lit based on the port information and mapping of the light-on command. This includes: upon receiving the light-on command, parsing the port command to obtain the port information corresponding to the light-on command; determining whether the port information corresponds to the port information of the hard disk connected to the backplane based on the port information and mapping of the light-on command; and if the port information corresponds to the port information of the hard disk connected to the backplane, determining the hard disk to be lit based on the port information and mapping of the light-on command.

[0057] In this embodiment of the invention, the hard disk is a hard disk with an interface conforming to the NVME standard.

[0058] Furthermore, based on the backplane hard drive LED lighting method described above, embodiments of the present invention also provide a device, such as... Figure 4 As shown, the device 40 includes at least one processor 401, and at least one memory 402 and bus 403 connected to the processor 401; wherein the processor 401 and the memory 402 communicate with each other through the bus 403; the processor 401 is used to call program instructions in the memory 402 to execute the above-mentioned backplane hard disk lighting method.

[0059] It should be noted here that the above description of the embodiment of the backplane hard drive LED lighting device and equipment is consistent with the foregoing Figures 1 to 2 The method embodiments shown are described similarly and have the same characteristics as described above. Figures 1 to 2 The beneficial effects of the method embodiments shown are similar, and therefore will not be described in detail. For technical details not disclosed in the embodiments of the backplane hard drive lighting device and equipment of the present invention, please refer to the foregoing description of the present invention. Figures 1 to 2 The method embodiments shown are for understanding purposes only and will not be described in detail here for the sake of brevity.

[0060] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0061] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0062] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0063] In addition, in the various embodiments of the present invention, each functional unit can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0064] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0065] Alternatively, if the integrated units of this invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0066] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for illuminating a backplane hard drive, the method comprising: Obtain the port identifier of the PCIe port connected to the backplane, which is provided via a physical ID pin on the PCIe connector on the motherboard side; Based on the port identifier, the backplane CPLD on the backplane side determines the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the pre-configured mapping logic. According to the mapping, the backplane CPLD directly controls the LED operation of the hard drive connected to the backplane.

2. The method according to claim 1, wherein determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port identifier comprises: Based on the port identifier, determine the port information of the PCIe port connected to the backplane; Based on the port information, the mapping between the PCIe port connected to the backplane and the hard drive connected to the backplane is determined.

3. The method according to claim 1, wherein the first number of hard drives connected to the backplane is 1, and the second number of PCIe ports connected to the backplane is one or more; correspondingly, The step of determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port information includes: Determine the port information of all PCIe ports connected to the backplane corresponding to the hard drives connected to the backplane; or Determine the port information of at least one PCIe port corresponding to the hard drive connected to the backplane.

4. The method according to claim 1, wherein the first number of hard drives connected to the backplane is one or more, and the second number of PCIe ports connected to the backplane is one; correspondingly, The step of determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port information includes: Based on the identifier bit of the port identifier corresponding to the port information, determine the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane; or It is determined that all hard drives connected to the backplane correspond to the port information of the PCIe ports connected to the backplane.

5. The method according to claim 1, wherein the first number of hard drives connected to the backplane is multiple, and the second number of PCIe ports connected to the backplane is multiple, wherein the first number and the second number are the same or different; accordingly, The step of determining the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane based on the port information includes: Based on the identifier bit of the port identifier corresponding to the port information, the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane is determined.

6. The method according to claim 1, wherein controlling the LED operation of the hard drive connected to the backplane according to the mapping comprises: Upon receiving a light-on command, the hard drive to be lit is determined based on the port information of the light-on command and the mapping. Turn on the hard drives that you have identified as needing to be powered on.

7. The method according to claim 6, wherein upon receiving a light-on command, determining the hard drive to be lit based on the port information of the light-on command and the mapping comprises: Upon receiving a light-on command, the port command is parsed to obtain the port information corresponding to the light-on command; Based on the port information of the light-on command and the mapping, determine whether the port information is the port information corresponding to the hard drive connected to the backplane; If the port information corresponds to the port information of the hard drive connected to the backplane, the hard drive to be lit is determined according to the port information of the light-up command and the mapping.

8. The method according to any one of claims 1-7, wherein the hard disk is a hard disk having an interface conforming to the NVME standard.

9. A backplane hard drive LED lighting device, the device comprising: The identifier acquisition module is used to acquire the port identifier of the PCIe port connected to the backplane. The port identifier is provided through the physical ID pin on the PCIe connector on the motherboard side. The mapping determination module is used to determine the mapping between the port information of the PCIe port connected to the backplane and the hard drive connected to the backplane, based on the port identifier and the backplane CPLD on the backplane side according to the pre-configured mapping logic. The lighting module is used by the backplane CPLD to directly control the lighting operation of the hard drives connected to the backplane according to the mapping.

10. An apparatus comprising at least one processor, and at least one memory and a bus connected to the processor; wherein, The processor and the memory communicate with each other via the bus; The processor is used to call program instructions in the memory to execute the backplane hard drive lighting method according to any one of claims 1-8.

Citation Information

Patent Citations

  • NVME hard disk LED lamp control method and device, equipment and readable medium

    CN112732617A