A hard disk lamp mode configuration method, system and device and a readable storage medium
By identifying the part number in the bill of materials and automatically configuring the lighting mode of the hard drive backplane using FRU information, the low production efficiency caused by manual identification of DIP switches in the existing technology is solved, and efficient automated configuration of the hard drive backplane is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2022-02-11
- Publication Date
- 2026-07-24
AI Technical Summary
Current technology requires manual operation of DIP switches to identify the source of uplink SATA/SAS signals on the hard drive backplane, resulting in wasted human resources and low production efficiency.
By classifying the part numbers in the bill of materials, the lighting mode is automatically established for the hard drive backplane CPLD. By utilizing preset production test programs and FRU information, the labor cost of subsequent DIP switches is saved.
It enables automatic configuration of hard drive backplane LED mode, improving production efficiency and saving human resources.
Smart Images

Figure CN114546792B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically to a hard disk lighting mode configuration method, system, device, and readable storage medium. Background Technology
[0002] When a server is paired with a hard drive backplane, the upstream SATA / SAS signals from the backplane may originate from the motherboard, HBA card, RAID card, or the backplane itself. Current technology typically incorporates a DIP switch on the backplane to inform the CPLD (Content Controller Platform) that it needs to adapt to the specific backplane. However, because the CPLD needs to know the source of the upstream SATA / SAS signals to establish the appropriate LED pattern for the backplane, mass production requires manual identification of the configured LED pattern and manual operation of the DIP switch. This wastes manpower and reduces production efficiency. Summary of the Invention
[0003] To address the above problems, the present invention aims to provide a hard disk lighting mode configuration method, system, device, and readable storage medium, which can automatically establish a lighting mode for the hard disk backplane CPLD based on the classification of part numbers in the bill of materials, effectively accelerating production efficiency.
[0004] To achieve the above objectives, this invention provides the following technical solution: a hard disk LED mode configuration method, comprising:
[0005] Retrieve the part number information for all hard drives from the bill of materials;
[0006] Establish a table to match part numbers with lighting modes;
[0007] Obtain the part number of the hard drive to be configured;
[0008] The corresponding LED module is obtained from the reference table according to the part number of the hard drive to be configured by the preset production test program, and the LED mode data is sent to the FRU of the hard drive backplane.
[0009] Establish the LED lighting mode for the hard drive backplane using a CPLD.
[0010] Furthermore, the part number information of the hard drive includes:
[0011] Back panel part number, cable part number, and component part number.
[0012] Furthermore, the step of obtaining the corresponding LED module from the lookup table based on the part number of the hard drive to be configured through a preset production test procedure includes:
[0013] The preset production test program uses a sequential search algorithm in the reference table to find the same part number based on the part number of the hard drive to be configured, and obtains the corresponding lighting module data.
[0014] Furthermore, the step of establishing the LED lighting pattern for the hard disk backplane via CPLD includes:
[0015] Read the LED mode data from the FRU on the hard drive backplane using a CPLD;
[0016] Establish the lighting pattern for the hard drive backplane based on the lighting pattern data.
[0017] Furthermore, the hard drive to be configured is a SAS hard drive, a SATA hard drive, or an NVME hard drive.
[0018] Accordingly, the present invention also discloses a hard disk lighting mode configuration system, comprising:
[0019] The part number retrieval module is used to retrieve the part number information of all hard drives from the bill of materials;
[0020] The table creation module is used to create a table that maps part numbers to lighting modes;
[0021] The configuration request acquisition module is used to obtain the part number of the hard drive to be configured;
[0022] The lighting mode data acquisition module obtains the corresponding lighting module from the reference table based on the part number of the hard drive to be configured through a preset production test program, and sends the lighting mode data to the FRU of the hard drive backplane; the lighting mode assembly module is used to establish the lighting mode of the hard drive backplane through CPLD.
[0023] Furthermore, the lighting mode data acquisition module includes:
[0024] The filtering unit is used to use a sequential search algorithm in the reference table according to the part number of the hard disk to be configured, and to obtain the corresponding lighting module data.
[0025] Furthermore, the lighting mode assembly module includes:
[0026] The data reading unit is used to read the LED mode data in the FRU of the hard disk backplane via the CPLD;
[0027] The execution unit is used to establish the lighting pattern of the hard drive backplane based on the lighting pattern data.
[0028] Accordingly, the present invention discloses a hard disk lighting mode configuration device, comprising:
[0029] Memory, used to store the hard drive LED mode configuration program;
[0030] A processor is configured to implement the steps of the hard disk lighting mode configuration method described above when executing the hard disk lighting mode configuration program.
[0031] Accordingly, the present invention discloses a readable storage medium storing a hard disk lighting mode configuration program, wherein when the hard disk lighting mode configuration program is executed by a processor, it implements the steps of the hard disk lighting mode configuration method described in any of the above descriptions.
[0032] Compared with existing technologies, the advantages of this invention are as follows: This invention provides a hard drive LED mode configuration method, system, device, and readable storage medium. By pre-identifying the current board configuration in each configuration BOM and allowing the CPLD to obtain the upstream source, the labor costs required for subsequent DIP switches are saved. Because the backplane part number, cable part number, and component part number brought by each configuration BOM are different, this identification and comparison method can be used to write the FRU of the backplane in the production test program, and then the CPLD can read the information in the FRU to establish the backplane LED mode, thereby saving subsequent human resource investment.
[0033] Therefore, it is evident that the present invention has outstanding substantive features and significant progress compared with the prior art, and the beneficial effects of its implementation are also obvious. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0035] Appendix Figure 1 This is a flowchart illustrating a specific embodiment of the present invention.
[0036] Appendix Figure 2 This is a system structure diagram of a specific embodiment of the present invention.
[0037] In the diagram, 1 is the part number acquisition module; 2 is the table creation module; 3 is the configuration request acquisition module; 4 is the lighting mode data acquisition module; 5 is the lighting mode component module; 6 is the filtering unit; 7 is the data reading unit; and 8 is the execution unit. Detailed Implementation
[0038] The core of this invention is to provide a method for configuring hard drive LED modes. In existing technologies, a DIP switch is designed on the backplane to inform the CPLD that it needs to adapt to the current backplane. However, because the source of the upstream SATA / SAS signals needs to be known by the CPLD before it can establish an LED mode for the backplane, in mass production, the configured LED mode needs to be manually identified and established by manually manipulating the DIP switch. This wastes manpower and affects production efficiency.
[0039] The hard drive backlight mode configuration method provided by this invention identifies the current board configuration in each configuration's BOM beforehand and allows the CPLD to obtain the upstream source, thus saving the manpower cost required for subsequent DIP switches. Because the backplane part number, cable part number, and component part number from each configuration's BOM are different, this identification and comparison method can be used to write the backplane's FRU into the production testing program. Then, the CPLD reads the information from the FRU to establish the backplane's backlight mode, saving subsequent manpower investment. Therefore, this invention can automatically establish a backlight mode for the hard drive backplane CPLD based on the part number classification in the bill of materials, effectively accelerating production efficiency.
[0040] To enable those skilled in the art to better understand the present invention, the specific terms involved in the present invention are explained as follows:
[0041] FRU: Field Replacement Unit.
[0042] SATA: Serial Advanced Technology Attachment serial ATA.
[0043] SAS: Serial Attached SCSI.
[0044] HBA: Host Bus Adapter.
[0045] RAID: Redundant Array of Independent Disks.
[0046] CPLD: Complex Programmable Logic Device.
[0047] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0048] Example 1:
[0049] like Figure 1 As shown, this embodiment provides a method for configuring hard drive LED modes, including the following steps:
[0050] S1: Retrieve the part number information for all hard drives from the bill of materials.
[0051] The part number information for the hard drive includes: backplane part number, cable part number, and component part number.
[0052] S2: Establish a table to match part numbers with lighting modes.
[0053] S3: Get the part number of the hard drive to be configured.
[0054] The hard drive to be configured can be a SAS hard drive, a SATA hard drive, or an NVME hard drive.
[0055] S4: Using a preset production test program, obtain the corresponding LED module from the reference table based on the part number of the hard drive to be configured, and send the LED mode data to the FRU on the hard drive backplane.
[0056] Specifically, firstly, a pre-set production test program uses a sequential search algorithm in the lookup table to find the matching part number of the hard drive to be configured, and then obtains the corresponding LED module data. Next, the LED mode data is sent to the FRU on the hard drive backplane.
[0057] S5: Establish the LED lighting mode for the hard drive backplane via CPLD.
[0058] As an example, the LED pattern data in the FRU of the hard drive backplane is first read using a CPLD. Then, the LED pattern of the hard drive backplane is established based on the LED pattern data.
[0059] This embodiment provides a method for configuring hard drive LED lighting modes. By pre-identifying the current board configuration in each configuration's BOM and allowing the CPLD to obtain the upstream source, the manual labor cost required for subsequent DIP switches is saved. Because the backplane part number, cable part number, and component part number brought by each configuration's BOM are different, this identification and comparison method can be used to write the backplane's FRU in the production test program, and then the CPLD can read the information in the FRU to establish the backplane's lighting mode, thus saving subsequent human resource investment.
[0060] Example 2:
[0061] Based on Example 1, such as Figure 2 As shown, the present invention also discloses a hard disk lighting mode configuration system, including: part number acquisition module 1, table creation module 2, configuration request acquisition module 3, lighting mode data acquisition module 4, and lighting mode assembly module 5.
[0062] Part Number Acquisition Module 1 is used to retrieve the part number information of all hard drives from the bill of materials.
[0063] Table creation module 2 is used to create a table that maps part numbers to lighting modes.
[0064] Configuration request acquisition module 3 is used to obtain the part number of the hard drive to be configured.
[0065] The lighting mode data acquisition module 4 obtains the corresponding lighting module according to the part number of the hard drive to be configured in the reference table through a preset production test program, and sends the lighting mode data to the FRU of the hard drive backplane.
[0066] The lighting mode data acquisition module 4 includes a filtering unit 6, which uses a sequential search algorithm in the reference table to find the same part number according to the part number of the hard disk to be configured, and obtains the corresponding lighting module data.
[0067] Illumination mode module 5 is used to establish the illumination mode of the hard disk backplane through CPLD.
[0068] Specifically, the LED lighting mode assembly module 5 includes a data reading unit 7 and an execution unit 8. The data reading unit 7 is used to read the LED lighting mode data in the FRU of the hard disk backplane through the CPLD; the execution unit 8 is used to establish the LED lighting mode of the hard disk backplane based on the LED lighting mode data.
[0069] This embodiment provides a hard drive LED mode configuration system. By pre-identifying the current board configuration in each configuration's BOM and allowing the CPLD to obtain the upstream source, it saves the manpower cost required for subsequent DIP switch operations. Because the backplane part number, cable part number, and component part number brought by each configuration's BOM are different, this identification and comparison method can be used to write the backplane's FRU in the production test program, and then the CPLD can read the information in the FRU to establish the backplane's LED mode, thus saving subsequent manpower investment.
[0070] Example 3:
[0071] This embodiment discloses a hard disk light-up mode configuration device, including a processor and a memory; wherein, when the processor executes the hard disk light-up mode configuration program stored in the memory, it performs the following steps:
[0072] 1. Obtain the part number information for all hard drives from the bill of materials.
[0073] 2. Establish a table to match part numbers with lighting modes.
[0074] 3. Obtain the part number of the hard drive to be configured.
[0075] 4. Using a preset production test program, obtain the corresponding LED module from the reference table based on the part number of the hard drive to be configured, and send the LED mode data to the FRU on the hard drive backplane.
[0076] 5. Establish the LED lighting mode for the hard drive backplane using CPLD.
[0077] Furthermore, the hard disk illumination mode configuration device in this embodiment may also include:
[0078] The input interface is used to acquire externally imported hard drive LED mode configuration programs and save them to the memory. It can also acquire various instructions and parameters transmitted from external terminal devices and transmit them to the processor, allowing the processor to perform corresponding processing using these instructions and parameters. In this embodiment, the input interface may specifically include, but is not limited to, a USB interface, a serial interface, a voice input interface, a fingerprint input interface, and a hard drive read / write interface.
[0079] An output interface is used to output various data generated by the processor to connected terminal devices, so that other terminal devices connected to the output interface can obtain the various data generated by the processor. In this embodiment, the output interface may include, but is not limited to, a USB interface, a serial interface, etc.
[0080] The communication unit is used to establish a remote communication connection between the hard disk lighting mode configuration device and an external server, so that the hard disk lighting mode configuration device can mount the image file to the external server. In this embodiment, the communication unit may specifically include, but is not limited to, a remote communication unit based on wireless communication technology or wired communication technology.
[0081] The keyboard is used to acquire various parameter data or commands input by the user through real-time keystrokes.
[0082] The monitor is used to display relevant information in real time regarding the process of locating a short circuit in the server's power supply line.
[0083] A mouse can be used to assist users in inputting data and simplifying user operations.
[0084] Example 4:
[0085] This embodiment also discloses a readable storage medium, which includes random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable hard disk, CD-ROM, or any other form of storage medium known in the art. The readable storage medium stores a hard disk illumination mode configuration program, which, when executed by a processor, performs the following steps:
[0086] 1. Obtain the part number information for all hard drives from the bill of materials.
[0087] 2. Establish a table to match part numbers with lighting modes.
[0088] 3. Obtain the part number of the hard drive to be configured.
[0089] 4. Using a preset production test program, obtain the corresponding LED module from the reference table based on the part number of the hard drive to be configured, and send the LED mode data to the FRU on the hard drive backplane.
[0090] 5. Establish the LED lighting mode for the hard drive backplane using CPLD.
[0091] In summary, this invention can automatically establish a lighting mode for the hard disk backplane CPLD by classifying the part numbers in the bill of materials, effectively accelerating production efficiency.
[0092] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. The methods disclosed in the embodiments are described simply because they correspond to the systems disclosed in the embodiments; relevant details can be found in the method section.
[0093] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0094] In the embodiments provided by this invention, it should be understood that the disclosed systems, methods, and approaches can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical, mechanical, or other forms.
[0095] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0096] In addition, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit.
[0097] Similarly, in the various embodiments of the present invention, each processing unit can be integrated into a functional module, or each processing unit can exist physically, or two or more processing units can be integrated into a functional module.
[0098] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0099] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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. Without further limitations, 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 said element.
[0100] The above provides a detailed description of the hard disk LED mode configuration method, system, device, and readable storage medium provided by this invention. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of this invention. It should be noted that those skilled in the art can make various improvements and modifications to this invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this invention.
Claims
1. A method for configuring hard drive LED lighting modes, characterized in that, include: Retrieve the part number information for all hard drives from the bill of materials; Establish a table to match part numbers with lighting modes; Obtain the part number of the hard drive to be configured; The corresponding LED lighting mode is obtained from the reference table according to the part number of the hard drive to be configured by the preset production test program, and the LED lighting mode data is sent to the FRU of the hard drive backplane. Establish the LED lighting mode for the hard drive backplane using a CPLD; The part number information of the hard drive includes: backplane part number, cable part number, and component part number; The step of obtaining the corresponding lighting mode in the reference table according to the part number of the hard drive to be configured through a preset production test program includes: using a sequential search algorithm in the reference table according to the part number of the hard drive to be configured to find the same part number and obtain the corresponding lighting mode data. The step of establishing the backlight pattern of the hard disk backplane via CPLD includes: reading the backlight pattern data in the FRU of the hard disk backplane via CPLD; and establishing the backlight pattern of the hard disk backplane based on the backlight pattern data. Specifically, the configuration of the backplane is identified in advance in each configuration BOM and the CPLD obtains the source of the upstream data. Since the backplane part number, cable part number and component part number brought by each configuration BOM are different, the backplane's FRU is written in the production test program, and then the CPLD reads the information in the FRU to establish the backplane's lighting mode.
2. The hard disk LED mode configuration method according to claim 1, characterized in that, The hard drive to be configured is a SAS hard drive, a SATA hard drive, or an NVME hard drive.
3. A hard disk LED mode configuration system, characterized in that, include: The part number retrieval module is used to retrieve the part number information of all hard drives from the bill of materials; The table creation module is used to create a table that maps part numbers to lighting modes; The configuration request acquisition module is used to obtain the part number of the hard drive to be configured; The lighting mode data acquisition module obtains the corresponding lighting mode according to the part number of the hard drive to be configured in the reference table through a preset production test program, and sends the lighting mode data to the FRU of the hard drive backplane. The LED lighting mode module is used to establish the LED lighting mode of the hard drive backplane via CPLD. The part number information of the hard drive includes: backplane part number, cable part number, and component part number; The lighting mode data acquisition module includes: a filtering unit, which uses a sequential search algorithm in the reference table to find the same part number according to the part number of the hard disk to be configured, and obtains the corresponding lighting mode data through a preset production test program; The lighting mode assembly module includes: a data reading unit for reading lighting mode data from the FRU of the hard disk backplane via a CPLD; and an execution unit for establishing the lighting mode of the hard disk backplane based on the lighting mode data. Specifically, the current backplane configuration is identified in advance in each configured BOM, and the CPLD obtains the upstream source. Since the backplane part number, cable part number, and component part number from each configured BOM are different, the backplane's lighting mode is established by writing the backplane's FRU into the production test program and then using the CPLD to read the information from the FRU.
4. A hard disk LED mode configuration device, characterized in that, include: Memory, used to store the hard drive LED mode configuration program; A processor, configured to implement the steps of the hard disk lighting mode configuration method as described in any one of claims 1 to 2 when executing the hard disk lighting mode configuration program.
5. A readable storage medium, characterized in that: The readable storage medium stores a hard disk lighting mode configuration program, which, when executed by a processor, implements the steps of the hard disk lighting mode configuration method as described in any one of claims 1 to 2.