CN111090568A - Method and equipment for lighting back plate CPLD - Google Patents

Method and equipment for lighting back plate CPLD Download PDF

Info

Publication number
CN111090568A
CN111090568A CN201911050544.8A CN201911050544A CN111090568A CN 111090568 A CN111090568 A CN 111090568A CN 201911050544 A CN201911050544 A CN 201911050544A CN 111090568 A CN111090568 A CN 111090568A
Authority
CN
China
Prior art keywords
information
hard disk
configuration
tri
cpld
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.)
Withdrawn
Application number
CN201911050544.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 Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911050544.8A priority Critical patent/CN111090568A/en
Publication of CN111090568A publication Critical patent/CN111090568A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B33/00Constructional parts, details or accessories not provided for in the other groups of this subclass
    • G11B33/10Indicating arrangements; Warning arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a method and equipment for lighting a back plate CPLD, wherein the method comprises the following steps: forming hard disk configuration information according to all the information of the hard disk and the corresponding CPU port; summarizing hard disk configuration information of different hard disks to form a configuration library; in response to receiving the lighting request, the BMC identifies the in-place state of the backboard and all information of the hard disk and sends the corresponding CPU port to the CPLD according to the information of the configuration library; the CPLDs are lit via the corresponding CPU ports. By using the method, the multiplexing of the back plate on various hard disks can be realized, the automatic matching of lighting strategies of different hard disks is realized, the risk of errors caused by manual operation is reduced, and the method has the advantages of convenience in use, safety and quickness.

Description

Method and equipment for lighting back plate CPLD
Technical Field
The field relates to the field of computers, and more particularly to a method and apparatus for lighting a backplane CPLD.
Background
The Complex Programmable Logic Device (CPLD) is developed from PAL and GAL devices, and is relatively large in scale and complex in structure, belonging to the field of large scale integrated circuit. The digital integrated circuit is a digital integrated circuit which is used by a user to construct logic functions according to respective needs. The basic design method is to generate corresponding target files by means of an integrated development software platform and methods such as schematic diagrams, hardware description languages and the like, and to transmit codes to a target chip through a download cable (programming in the system) so as to realize the designed digital system.
As server configurations become more diverse, the traitor of the same hard disk needs to be applied under different configurations of the overall machine. For different configuration schemes, the lighting strategies implemented by the CPLDs are different, and thus the CPLDs need to be informed of the current configuration in some way to implement the corresponding lighting strategies.
In the prior art, a dial switch is designed on a back plate, and a dial switch signal is connected to a back plate CPLD; the CPLD identifies the configuration of the whole machine through different pull-up and pull-down selection types of the dial switch; the CPLD corresponds the source lighting information with the LED signal through the identified configuration; the number of the dial switches of each back plate needs to be sorted out in advance according to various requirements, and the number of the dial switches needs to be contained to the maximum extent during design of the plate card. All requirements need to be identified in advance, the number of dial switches is determined according to the types of the requirements, and subsequently, if new requirements exist, the backboard can not be reused. Different dial modes are required to be corresponding to different product models, a factory is not easy to operate, and the dial switch has a wrong dial risk.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method for lighting a back plate CPLD, which can implement multiplexing of a back plate on multiple hard disks, implement automatic matching of lighting strategies, reduce the risk of errors occurring in manual operations, and have the advantages of convenience, safety, and rapidness in use.
In view of the above object, an aspect of the embodiments of the present invention provides a method for lighting a backplane CPLD, including the following steps:
forming hard disk configuration information according to all the information of the hard disk and the corresponding CPU port;
summarizing hard disk configuration information of different hard disks to form a configuration library;
in response to receiving the lighting request, the BMC identifies the in-place state of the backboard and all information of the hard disk and sends the corresponding CPU port to the CPLD according to the information of the configuration library;
the CPLDs are lit via the corresponding CPU ports.
According to one embodiment of the invention, the total information includes backplane type combination, NVME disk number, hard disk configuration, Tri-mode card asset information.
According to one embodiment of the invention, the hard disk configuration comprises a combination of the number and type of hard disk backplanes.
According to one embodiment of the invention, the Tri-mode card asset information comprises Tri-mode card mode information and Tri-mode card Port location information.
According to one embodiment of the invention, the lamps are LED lamps on a back plate.
In another aspect of the embodiments of the present invention, there is also provided a device for lighting a backplane CPLD, where the device includes:
at least one processor; and
a memory storing program code executable by the processor, the program code when executed by the processor performing the steps of:
forming hard disk configuration information according to all the information of the hard disk and the corresponding CPU port;
summarizing hard disk configuration information of different hard disks to form a configuration library;
in response to receiving the lighting request, the BMC identifies the in-place state of the backboard and all information of the hard disk and sends the corresponding CPU port to the CPLD according to the information of the configuration library;
the CPLDs are lit via the corresponding CPU ports.
According to one embodiment of the invention, the total information includes backplane type combination, NVME disk number, hard disk configuration, Tri-mode card asset information.
According to one embodiment of the invention, the hard disk configuration comprises a combination of the number and type of hard disk backplanes.
According to one embodiment of the invention, the Tri-mode card asset information comprises Tri-mode card mode information and Tri-mode card Port location information.
According to one embodiment of the invention, the lamps are LED lamps on a back plate.
The invention has the following beneficial technical effects: according to the method for lighting the back plate CPLD, provided by the embodiment of the invention, hard disk configuration information is formed according to all information of a hard disk and a corresponding CPU port; summarizing hard disk configuration information of different hard disks to form a configuration library; in response to receiving the lighting request, the BMC identifies the in-place state of the backboard and all information of the hard disk and sends the corresponding CPU port to the CPLD according to the information of the configuration library; the technical scheme that the CPLD lights through the corresponding CPU port can realize the multiplexing of the back plate to various hard disks, realize the automatic matching of the lighting strategy, reduce the risk of errors caused by manual operation and have the advantages of convenience in use, safety and quickness.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for lighting a backplane CPLD according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
In view of the above object, a first aspect of the embodiments of the present invention proposes an embodiment of a method for lighting a backplane CPLD. Fig. 1 shows a schematic flow diagram of the method.
As shown in fig. 1, the method may include the steps of:
s1, according to all information of the hard disk and the corresponding CPU port, forming hard disk configuration information, wherein the information includes lighting logic information under current hard disk configuration;
s2, hard disk configuration information of different hard disks is gathered to form a configuration library, and the configuration library basically comprises all lighting logic information under common hard disk configuration;
s3, responding to the received lighting request, the BMC identifies the in-place state of the backboard and all information of the hard disk and sends the corresponding CPU port to the CPLD according to the information of the configuration library, after the power-on BMC is started, the in-place state of the backboard, the backboard Board ID and the NVME in-place number are identified, and the information of the CPUPort position is found by table lookup according to the information and a configuration table of a product defined in advance; outputting the Port position of the Tri-mode card where the hard disk is located according to the configuration of the Tri-mode card, and writing the CPUPort position information, the Tri-mode information and the Port position information of the Tri-mode into a corresponding CPLD (Complex programmable logic device) of the hard disk backboard by the BMC;
the S4 CPLD is lighted via the corresponding CPU ports to implement that the CPLD adopts different lighting strategies for different configurations.
The technical scheme disclosed by the invention can realize that the CPLD adopts different lighting strategies aiming at different configurations under the condition of not adopting a dial switch. The CPLD lighting strategy can be automatically matched.
Through above technical scheme, can realize the backplate to the multiplexing of multiple hard disk, realize the automatic matching of the strategy of lighting a lamp, reduce the risk of the mistake that manual operation appears, have convenient to use, safe, quick advantage.
In a preferred embodiment of the present invention, the total information includes backplane type combination, NVME disk number, hard disk configuration, Tri-mode card asset information.
A configuration table is generated and maintained at a BMC (baseboard management controller) end in advance according to all hard disk configurations of products, and the table maintains the corresponding relation of backboard type combinations, the number of NVME (network video management entity) disks, hard disk configurations (the position relation of the hard disk backboard number, the type combination and the product configuration corresponding to the access CPU) and CPU Port positions. And judging the Tri-mode card position according to the Tri-mode card asset information, and judging the Port position of the Tri-mode card where the hard disk is located by combining the configuration information.
In a preferred embodiment of the present invention, the hard disk configuration comprises a combination of the number and type of hard disk backplanes.
In a preferred embodiment of the present invention, the Tri-mode card asset information includes Tri-mode card mode information and Tri-mode card Port location information.
In a preferred embodiment of the invention, the lamps are LED lamps on a back plate.
Through above technical scheme, can realize the backplate to the multiplexing of multiple hard disk, realize the automatic matching of the strategy of lighting a lamp, reduce the risk of the mistake that manual operation appears, have convenient to use, safe, quick advantage.
It should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the above embodiments may be implemented by instructing relevant hardware through a computer program, and the above programs may be stored in a computer-readable storage medium, and when executed, the programs may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
In view of the above object, according to a second aspect of the embodiments of the present invention, there is provided a device for lighting a backplane CPLD, the device including:
at least one processor; and
a memory storing program code executable by the processor, the program code when executed by the processor performing the steps of:
forming hard disk configuration information according to all the information of the hard disk and the corresponding CPU port;
summarizing hard disk configuration information of different hard disks to form a configuration library;
in response to receiving the lighting request, the BMC identifies the in-place state of the backboard and all information of the hard disk and sends the corresponding CPU port to the CPLD according to the information of the configuration library;
the CPLDs are lit via the corresponding CPU ports.
In a preferred embodiment of the present invention, the total information includes backplane type combination, NVME disk number, hard disk configuration, Tri-mode card asset information.
A configuration table is generated and maintained at a BMC (baseboard management controller) end in advance according to all hard disk configurations of products, and the table maintains the corresponding relation of backboard type combinations, the number of NVME (network video management entity) disks, hard disk configurations (the position relation of the hard disk backboard number, the type combination and the product configuration corresponding to the access CPU) and CPU Port positions. And judging the Tri-mode card position according to the Tri-mode card asset information, and judging the Port position of the Tri-mode card where the hard disk is located by combining the configuration information.
In a preferred embodiment of the present invention, the hard disk configuration comprises a combination of the number and type of hard disk backplanes.
In a preferred embodiment of the present invention, the Tri-mode card asset information includes Tri-mode card mode information and Tri-mode card Port location information.
In a preferred embodiment of the invention, the lamps are LED lamps on a back plate.
It should be particularly noted that the embodiment of the system described above employs the embodiment of the method described above to specifically describe the working process of each module, and those skilled in the art can easily think that the modules are applied to other embodiments of the method described above.
Further, the above-described method steps and system elements or modules may also be implemented using a controller and a computer-readable storage medium for storing a computer program for causing the controller to implement the functions of the above-described steps or elements or modules.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The embodiments described above, particularly any "preferred" embodiments, are possible examples of implementations and are presented merely to clearly understand the principles of the invention. Many variations and modifications may be made to the above-described embodiments without departing from the spirit and principles of the technology described herein. All such modifications are intended to be included within the scope of this disclosure and protected by the following claims.

Claims (10)

1. A method for lighting a back plate CPLD is characterized by comprising the following steps:
forming hard disk configuration information according to all the information of the hard disk and the corresponding CPU port;
summarizing hard disk configuration information of different hard disks to form a configuration library;
in response to receiving the lighting request, the BMC identifies the in-place state of the backboard and all information of the hard disk and sends the corresponding CPU port to the CPLD according to the information of the configuration library;
and the CPLD is lighted through the corresponding CPU port.
2. The method of claim 1, wherein the total information comprises backplane type combination, NVME disk number, hard disk configuration, Tri-mode card asset information.
3. The method of claim 2, wherein the hard disk configuration comprises a combination of hard disk backplane number and type.
4. The method of claim 3, wherein the Tri-mode card asset information comprises Tri-mode card mode information and Tri-mode card Port location information.
5. The method of claim 1, wherein the light is an LED light on a back plate.
6. An apparatus for lighting a backplane CPLD, the apparatus comprising:
at least one processor; and
a memory storing program code executable by the processor, the program code, when executed by the processor, performing the steps of:
forming hard disk configuration information according to all the information of the hard disk and the corresponding CPU port;
summarizing hard disk configuration information of different hard disks to form a configuration library;
in response to receiving the lighting request, the BMC identifies the in-place state of the backboard and all information of the hard disk and sends the corresponding CPU port to the CPLD according to the information of the configuration library;
and the CPLD is lighted through the corresponding CPU port.
7. The device of claim 6, wherein the total information comprises backplane type combinations, NVME disk number, hard disk configuration, Tri-mode card asset information.
8. The apparatus of claim 7, wherein the hard disk configuration comprises a combination of hard disk backplane number and type.
9. The apparatus of claim 8, wherein the Tri-mode card asset information comprises Tri-mode card mode information and Tri-mode card Port location information.
10. The apparatus of claim 6, wherein the light is an LED light on a back plate.
CN201911050544.8A 2019-10-31 2019-10-31 Method and equipment for lighting back plate CPLD Withdrawn CN111090568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911050544.8A CN111090568A (en) 2019-10-31 2019-10-31 Method and equipment for lighting back plate CPLD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911050544.8A CN111090568A (en) 2019-10-31 2019-10-31 Method and equipment for lighting back plate CPLD

Publications (1)

Publication Number Publication Date
CN111090568A true CN111090568A (en) 2020-05-01

Family

ID=70393361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911050544.8A Withdrawn CN111090568A (en) 2019-10-31 2019-10-31 Method and equipment for lighting back plate CPLD

Country Status (1)

Country Link
CN (1) CN111090568A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831345A (en) * 2020-07-17 2020-10-27 深圳市同泰怡信息技术有限公司 Management method and device for server hard disk backboard, storage medium and equipment
CN113204474A (en) * 2021-04-25 2021-08-03 山东英信计算机技术有限公司 Lighting method, device and equipment based on AMD platform and readable medium
CN113204475A (en) * 2021-05-08 2021-08-03 山东英信计算机技术有限公司 Lighting device and method for hard disk of server backboard and server
CN113220544A (en) * 2021-04-30 2021-08-06 山东英信计算机技术有限公司 Method, system and medium for lighting NVMe (network video recorder) hard disk of server
CN113869108A (en) * 2021-08-20 2021-12-31 苏州浪潮智能科技有限公司 Method and related device for identifying equipment connected with hard disk backboard

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831345A (en) * 2020-07-17 2020-10-27 深圳市同泰怡信息技术有限公司 Management method and device for server hard disk backboard, storage medium and equipment
CN111831345B (en) * 2020-07-17 2023-08-22 深圳市同泰怡信息技术有限公司 Management method and device of server hard disk backboard, storage medium and equipment
CN113204474A (en) * 2021-04-25 2021-08-03 山东英信计算机技术有限公司 Lighting method, device and equipment based on AMD platform and readable medium
CN113220544A (en) * 2021-04-30 2021-08-06 山东英信计算机技术有限公司 Method, system and medium for lighting NVMe (network video recorder) hard disk of server
CN113204475A (en) * 2021-05-08 2021-08-03 山东英信计算机技术有限公司 Lighting device and method for hard disk of server backboard and server
CN113869108A (en) * 2021-08-20 2021-12-31 苏州浪潮智能科技有限公司 Method and related device for identifying equipment connected with hard disk backboard
CN113869108B (en) * 2021-08-20 2024-01-23 苏州浪潮智能科技有限公司 Method and related device for identifying equipment connected with hard disk backboard

Similar Documents

Publication Publication Date Title
CN111090568A (en) Method and equipment for lighting back plate CPLD
US8386764B2 (en) BIOS architecture
US7757015B2 (en) Device, method and computer program product readable medium for determining the identity of a component
US20120133520A1 (en) Computer chassis system and hard disk status display method thereof
US6237048B1 (en) Adapter card with vendor unique differentiation and customization using PCI sideband signals
CN102339242A (en) Computer system data recovery device
CN101026782A (en) Automated cable identification and verification system
CN110489367B (en) Method and system for flexibly allocating and easily managing backplane by CPLD (complex programmable logic device)
CN210006040U (en) expansion cards
CN111475431A (en) Mainboard, backboard, identification system and identification method
CN102479140A (en) Computer system and hard disk state display method
CN108959031B (en) NVME backboard lighting control method, system, medium and equipment
CN108399136B (en) Control method and device of serial interface and host
TW202009704A (en) Server and error detecting method thereof
CN112306821A (en) State indication method, device, equipment and storage medium of server system
CN110708489A (en) Communication method, communication device, electronic device and storage medium
CN112860327A (en) CPU port switching method, device, equipment and readable medium
CN105139770A (en) Rapidly spliced LED display system and display method thereof
CN101271420B (en) Operating system hard disk recognition device
CN107765993B (en) Hard disk interface device
CN110955565A (en) Server and error detection method thereof
CN109271300B (en) Lighting method and system of SATA hard disk and related components
US20140372634A1 (en) Indicating and detecting correct cable connections
CN212782723U (en) PCIe and SATA compatible copying device
CN114758715A (en) Method, device and equipment for lighting hard disk fault lamp and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200501