CN115061884A - Lighting method and lighting system of NVMe hard disk based on Feiteng server - Google Patents

Lighting method and lighting system of NVMe hard disk based on Feiteng server Download PDF

Info

Publication number
CN115061884A
CN115061884A CN202210767519.7A CN202210767519A CN115061884A CN 115061884 A CN115061884 A CN 115061884A CN 202210767519 A CN202210767519 A CN 202210767519A CN 115061884 A CN115061884 A CN 115061884A
Authority
CN
China
Prior art keywords
lighting
hard disk
cpld
mainboard
board card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210767519.7A
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.)
China Great Wall Technology Group Co ltd
Original Assignee
China Great Wall Technology Group 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 China Great Wall Technology Group Co ltd filed Critical China Great Wall Technology Group Co ltd
Priority to CN202210767519.7A priority Critical patent/CN115061884A/en
Publication of CN115061884A publication Critical patent/CN115061884A/en
Pending 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
    • G06F11/326Display of status information by lamps or LED's for error or online/offline status

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a lighting method and a lighting system of an NVMe hard disk based on a Feiteng server, wherein the lighting method of one embodiment comprises the following steps: acquiring the board card type of a board card accessed by a main board slot through a main board CPLD, and acquiring configuration information of an NVMe hard disk according to the board card type and a preset first comparison table; according to the configuration information, a PCIE bridge chip is configured through the mainboard CPLD; and acquiring a lighting instruction from a preset second illumination table according to the hard disk state of the NVMe hard disk detected by the mainboard BMC, and transmitting the lighting instruction to the back plate CPLD, so that the back plate CPLD lights according to the lighting instruction. The embodiment provided by the invention can solve the problems that the PCIE port of the Feiteng server is limited and does not support the lighting protocol of the NVMe hard disk, and has practical application value.

Description

Lighting method and lighting system of NVMe hard disk based on Feiteng server
Technical Field
The invention relates to the technical field of computers, in particular to a lighting method and lighting system of an NVMe hard disk based on a Feiteng server.
Background
At present, a PCIE (peripheral component interconnect express) port supported by a central processing unit CPU of a flyout server is limited, and the port needs to be extended through a PCIE bridge chip, but different port configurations are needed when different boards are matched, so that a PCIE device number allocated by nvme (nvm express) is dynamically changed. Meanwhile, the existing design scheme of the hard disk backboard mainly realizes the lighting of the SAS/SATA hard disk through the SFF-8485 protocol, and the protocol does not support the in-band pin of the NVMe hard disk, so the existing design scheme of the backboard does not support the lighting of the NVMe hard disk.
At present, in the technical field of computer servers, in chinese patent document, an application number "a hard disk lighting method, apparatus, electronic device and storage medium" is CN201910968215.5, which introduces a hard disk lighting method, including: acquiring a disk identifier of a target hard disk, and judging whether the target hard disk is a hard disk directly connected with the PCH or not according to the disk identifier; if so, determining a slot position identification corresponding to the target hard disk through a hardware connection line, and determining an I2C address corresponding to the slot position identification; and switching the I2C switch to a channel connected with a CPLD, and sending a lighting command comprising the I2C address to the CPLD through a BMC (baseboard management controller), so that the CPLD sends the lighting command to the I2C address to finish the lighting operation of the target hard disk. According to the hard disk lighting method, hard disk positioning is achieved through the hard disk drive symbols, however, the hard disk drive symbols are redistributed when hot plug action is met, and the problem of hard disk positioning failure exists.
Disclosure of Invention
In order to solve at least one of the above problems, a first embodiment of the present invention provides a backplane lighting method for NVMe hard disks based on a totem server, including the steps of:
s20: acquiring a board card type of a board card accessed by a mainboard slot through a mainboard CPLD, and acquiring configuration information of an NVMe hard disk according to the board card type and a preset first comparison table, wherein the first comparison table comprises the board card type and the configuration information corresponding to the board card type;
s40: according to the configuration information, a PCIE bridge chip is configured through the mainboard CPLD;
s60: and acquiring a lighting instruction from a preset second lighting table according to the hard disk state of the NVMe hard disk detected by the mainboard BMC, and transmitting the lighting instruction to the back plate CPLD, so that the back plate CPLD lights according to the lighting instruction, wherein the second lighting table comprises the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state.
For example, in the backplane lighting method provided in some embodiments of the present application, step S20 further includes:
and reading an interface expansion chip through the mainboard CPLD to acquire a board card identifier of a board card accessed by the mainboard slot, and acquiring a corresponding board card type according to the board card identifier.
For example, in the backplane lighting method provided in some embodiments of the present application, the motherboard CPLD reads the interface expansion chip through the I2C bus to obtain the board identifier.
For example, in the backplane lighting method provided in some embodiments of the present application, a tag card identifier of a board card that is accessed by the motherboard slot is a port value formed after the board card is accessed.
For example, in the backplane lighting method provided in some embodiments of the present application, the configuration information includes an NVMe device number, an NVMe physical slot, a register address of the backplane CPLD, and a bus channel connected to the backplane CPLD.
For example, in the backplane lighting method provided in some embodiments of the present application, step S40 further includes: and according to the configuration information, configuring a general input/output port of the PCIE bridge chip through the mainboard CPLD so as to allocate the number of the PCIE equipment of the NVMe hard disk.
For example, in the backplane lighting method provided in some embodiments of the present application, step S60 further includes: the mainboard BMC transmits the lighting instruction to the mainboard low-speed connector through an I2C bus, transmits the lighting instruction to the backboard low-speed connector through the mainboard low-speed connector, and transmits the lighting instruction to the backboard CPLD through the backboard low-speed connector.
A second embodiment of the present invention provides a lighting system applying the lighting method according to the first embodiment, including a main board and a back board, wherein,
the mainboard comprises a mainboard CPLD, a mainboard BMC, a PCIE bridge piece and a mainboard slot, the backboard comprises a backboard CPLD, an NVMe physical slot and a plurality of LED display lamps, and the mainboard is configured as follows:
acquiring the board card type of a board card accessed by the mainboard slot through the mainboard CPLD, and acquiring configuration information of an NVMe hard disk inserted into an NVMe physical slot of the backboard according to the board card type and a preset first comparison table, wherein the first comparison table comprises the board card type and the configuration information corresponding to the board card type;
according to the configuration information, the PCIE bridge chip is configured through the mainboard CPLD;
and acquiring a lighting instruction from a preset second lighting table according to the hard disk state of the NVMe hard disk detected by the mainboard BMC, and transmitting the lighting instruction to the back plate CPLD, so that the back plate CPLD lights the LED display lamp according to the lighting instruction, wherein the second lighting table comprises the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state.
A third embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the method according to the first embodiment.
A fourth embodiment of the invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method according to the first embodiment when executing the program.
The invention has the following beneficial effects:
aiming at the existing problems, the invention provides a backboard lighting method and a lighting system of an NVMe hard disk based on a Feiteng server, the configuration information of the NVMe hard disk is obtained according to the type of a board card accessed by a main board slot and a preset first comparison table by obtaining the type of the board card, a PCIE bridge chip is configured through a main board CPLD according to the configuration information, a lighting instruction is obtained from a preset second comparison table according to the hard disk state of the NVMe hard disk detected by a main board BMC, and the lighting instruction is transmitted to a backboard CPLD so that the backboard CPLD lights according to the lighting instruction. The embodiment provided by the invention can solve the problems that the PCIE port of the Feiteng server is limited and does not support the lighting protocol of the NVMe hard disk, and has practical application value.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced 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 to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a flowchart of a lighting method of a backplane according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of the lighting system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computer device according to another embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the invention, the invention is further described below with reference to preferred embodiments and the accompanying drawings. Similar parts in the figures are denoted by the same reference numerals. It is to be understood by persons skilled in the art that the following detailed description is illustrative and not restrictive, and is not to be taken as limiting the scope of the invention.
To solve the problems in the prior art, as shown in fig. 1, an embodiment of the present invention provides a backplane lighting method for an NVMe hard disk based on a FT server, including:
s20: acquiring a board card type of a board card accessed by a mainboard slot through a mainboard CPLD, and acquiring configuration information of an NVMe hard disk according to the board card type and a preset first comparison table, wherein the first comparison table comprises the board card type and the configuration information corresponding to the board card type;
s40: according to the configuration information, a PCIE bridge chip is configured through the mainboard CPLD;
s60: and acquiring a lighting instruction from a preset second lighting table according to the hard disk state of the NVMe hard disk detected by the mainboard BMC, and transmitting the lighting instruction to the back plate CPLD, so that the back plate CPLD lights according to the lighting instruction, wherein the second lighting table comprises the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state.
In this embodiment, the configuration information of the NVMe hard disk is acquired according to the board card type of the board card accessed by the motherboard slot and a preset first comparison table, the PCIE bridge chip is configured through the motherboard CPLD according to the configuration information, a lighting instruction is acquired from a preset second comparison table according to the hard disk state of the NVMe hard disk detected by the motherboard BMC, and the lighting instruction is transmitted to the backplane CPLD, so that the backplane CPLD lights according to the lighting instruction. The embodiment provided by the invention can solve the problems that the PCIE port of the Feiteng server is limited and does not support the lighting protocol of the NVMe hard disk, and has practical application value.
In a specific example, as shown in fig. 2, the lighting system includes a motherboard and a backplane, where the motherboard includes a motherboard CPLD, a motherboard BMC, a PCIE bridge chip and a motherboard slot, and the backplane includes a backplane CPLD, an NVMe physical slot, and a plurality of LED display lamps. In this embodiment, the motherboard CPLD is configured to start a soar server, the motherboard BMC is configured to send an instruction to the backplane CPLD, the PCIE bridge chip is configured to configure a PCIE port of the NVMe hard disk, and the motherboard slot is configured to access the backplane; the back plate CPLD is used for controlling and managing all parts on the back plate, the NVMe physical slot is used for accessing an NVMe hard disk, and the LED display lamps are used for displaying the state of the NVMe hard disk; as shown in fig. 2, the motherboard further includes an interface expansion chip (IO extension) and a motherboard low-speed connector, the backplane further includes a backplane low-speed connector, the motherboard CPLD reads the interface expansion chip through an I2C bus to obtain a board identifier of a board card accessed by the motherboard slot, and obtains a corresponding board type according to the board identifier; the mainboard low-speed connector is used for being connected with the backboard low-speed connector to realize communication between the mainboard and the backboard.
In this embodiment, the board identifier is a port value formed after the board is accessed, specifically, the motherboard includes a plurality of input/output ports, wherein three input/output ports are provided with pull-up and pull-down resistors, and when different backplanes are accessed, the three input/output ports form a board identifier corresponding to the accessed backplane, for example, as shown in table 1, the three input/output ports form a 3-bit board identifier, which can represent a 8-board card type.
TABLE 1 first contrast table
Figure BDA0003722741090000041
As shown in table 1, the first lookup table preset in this embodiment includes the board type and the configuration information corresponding to the board type, where the configuration information includes an NVMe device number, an NVMe physical slot, a register address of the backplane CPLD, and a bus channel connected to the backplane CPLD.
In this embodiment, the lighting method specifically includes:
the method comprises the steps that firstly, a mainboard CPLD obtains the board card type of a board card accessed by a mainboard slot, and the configuration information of an NVMe hard disk inserted into an NVMe physical slot of a backboard is obtained according to the board card type and a preset first comparison table.
And secondly, configuring the PCIE bridge chip through the mainboard CPLD according to the configuration information. Specifically, according to the configuration information, the common input/output port of the PCIE bridge is configured through the motherboard CPLD to allocate the PCIE device number of the NVMe hard disk.
And thirdly, acquiring a lighting instruction from a preset second lighting table according to the hard disk state of the NVMe hard disk detected by the mainboard BMC, and transmitting the lighting instruction to the back plate CPLD, so that the back plate CPLD lights the LED display lamp according to the lighting instruction, wherein the second lighting table comprises the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state.
As shown in fig. 2, specifically, the motherboard BMC transmits the lighting instruction to the motherboard low-speed connector through an I2C bus, transmits the lighting instruction to the backplane low-speed connector through the motherboard low-speed connector, and transmits the lighting instruction to the backplane CPLD through the backplane low-speed connector.
As shown in table 2, the second illumination table includes the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state, and the motherboard BMC generates the lighting instruction according to the detected NVMe hard disk state and the second illumination table, and transmits the lighting instruction to the backplane CPLD, so that control over each LED display lamp is realized through the backplane CPLD, that is, the corresponding LED indicator lamp is lit according to the NVMe hard disk state, and thus the problem that the PCIE port of the soar server is limited and does not support the lighting protocol of the NVMe hard disk is solved, and the method has practical application value.
TABLE 2 second control Table
CPLD register value Colour(s) Status of the lamp Definition of functions
0000 Green colour Chang Liang Idle state
0001 Green colour Scintillation 4hz With data transmission
0010 Blue color Scintillation 4hz Positioning
0011 Blue color Extinguishment of Is normal
0100 Orange colour Scintillation 1hz Is reestablishing or hot plugging
0101 Orange colour Scintillation 0.25hz Completed hot plug
0110 Orange colour Chang Liang Hard disk failure
0111 Orange colour Extinguishment of Is normal
To further illustrate the embodiments of the present application, a specific example is described below:
first, identifying the board card type
After the mainboard is plugged into the power supply, the mainboard CPLD performs I2C communication with the interface expansion chip IO EXPANDER chip, reads three general input/output ports to obtain the board identifier 010, confirming that the board card type is 2 according to the first comparison table, the PCIE equipment numbers corresponding to the NVMe equipment are respectively number 0, number 1, number 2 and number 3, similarly, the NVMe physical slot corresponding to the number 0 is 0, the corresponding backplane CPLD register address is 0x70, and the corresponding I2C channel is a channel 0, and the NVMe physical slot corresponding to the number 1 is 1, the corresponding backplane CPLD register address is 0x71, the corresponding I2C channel is a channel 0, the NVMe physical slot corresponding to the number 2 is 2, the corresponding backplane CPLD register address is 0x72, the corresponding I2C channel is a channel 0, the NVMe physical slot corresponding to the number 3 is 3, the corresponding backplane CPLD register address is 0x73, and the corresponding I2C channel is a channel 0.
The method includes the steps that a mainboard CPLD reads an interface expansion chip through an I2C bus to obtain a board card identification of a board card accessed by a mainboard slot, obtains a board card type of the board card according to a first comparison table, and obtains configuration information of an NVMe hard disk according to the board card type and the first comparison table, wherein the first comparison table comprises the board card type and the configuration information corresponding to the board card type.
Secondly, configuring a PCIE bridge chip by the mainboard CPLD
The mainboard CPLD performs PCIE configuration through GPIO pins of the PCIE bridge pieces, confirms that PCIE device numbers corresponding to the NVMe device are respectively a number 0, a number 1, a number 2 and a number 3, and configures the PCIE bridge pieces according to corresponding configuration information. Namely, according to the configuration information, the common input/output port of the PCIE bridge chip is configured through the motherboard CPLD to allocate the PCIE device number of the NVMe hard disk.
And thirdly, lighting up.
First, according to the corresponding relationship between the device number of the NVMe hard disk and the physical slot in the first lookup table of table 1, for example, when the hard disk of the physical slot 1 detected by the motherboard BMC is currently in a location state, it can be known according to the second lookup table that the blue indicator lamp should be turned on, and then the motherboard BMC transmits a lighting instruction including 0010 to the motherboard low-speed connector through the I2C bus, and transmits the lighting instruction to the register address 0x71 of the backplane CPLD through the motherboard low-speed connector and the backplane low-speed connector.
Secondly, when the backplane CPLD detects that the value of the register in the register address 0x71 is 0010, the blue LED lamp of the slot 1 is controlled to blink at a frequency of 4HZ, so that lighting is performed according to the state of the NVMe hard disk.
Finally, when the main board BMC detects that the state of the NVMe hard disk is changed to normal, the lighting instruction including 0011 is transmitted to the register of the register address 0x71 of the back board CPLD according to table 2 again, so that the back board CPLD controls the blue LED lamps of the slot position 1 to be turned off, and lighting is performed according to the state of the NVMe hard disk.
The hard disk state of the NVMe hard disk detected by the mainboard BMC acquires a lighting instruction from a preset second lighting table, and transmits the lighting instruction to the back plate CPLD, so that the back plate CPLD lights according to the lighting instruction, and the second lighting table comprises the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state.
In the embodiment, the configuration information of the NVMe hard disk is acquired according to the board card type of the board card accessed by the mainboard slot and a preset first comparison table, the PCIE bridge chip is configured through the mainboard CPLD according to the configuration information, the hard disk state of the NVMe hard disk detected by the mainboard BMC is acquired from a preset second comparison table, and the lighting instruction is transmitted to the backplane CPLD so that the backplane CPLD lights according to the lighting instruction; the problem that a PCIE port of the Feiteng server is limited and does not support a lighting protocol of an NVMe hard disk can be solved, and the method has practical application value.
In accordance with the lighting method provided in the foregoing embodiments, an embodiment of the present application further provides a lighting system applying the lighting method, and since the lighting system provided in the embodiment of the present application corresponds to the lighting methods provided in the foregoing embodiments, the foregoing embodiments are also applicable to the lighting system provided in the present embodiment, and detailed description is omitted in this embodiment.
As shown in fig. 2, an embodiment of the present application further provides a lighting system applying the lighting method, including a main board and a back board, wherein,
the mainboard comprises a mainboard CPLD, a mainboard BMC, a PCIE bridge piece and a mainboard slot, the backboard comprises a backboard CPLD, an NVMe physical slot and a plurality of LED display lamps, and the mainboard is configured as follows:
acquiring the board card type of a board card accessed by the mainboard slot through the mainboard CPLD, and acquiring configuration information of an NVMe hard disk inserted into an NVMe physical slot of the backboard according to the board card type and a preset first comparison table, wherein the first comparison table comprises the board card type and the configuration information corresponding to the board card type;
according to the configuration information, the PCIE bridge chip is configured through the mainboard CPLD;
and acquiring a lighting instruction from a preset second lighting table according to the hard disk state of the NVMe hard disk detected by the mainboard BMC, and transmitting the lighting instruction to the back plate CPLD, so that the back plate CPLD lights the LED display lamp according to the lighting instruction, wherein the second lighting table comprises the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state.
The lighting system provided by this embodiment obtains the board card type of the board card accessed by the motherboard slot, obtains the configuration information of the NVMe hard disk according to the board card type and the preset first comparison table, then configures the PCIE bridge chip through the motherboard CPLD according to the configuration information, obtains the lighting instruction from the preset second comparison table according to the hard disk state of the NVMe hard disk detected by the motherboard BMC, and transmits the lighting instruction to the backplane CPLD so that the backplane CPLD lights according to the lighting instruction; the problem that a PCIE port of the Feiteng server is limited and does not support a lighting protocol of an NVMe hard disk can be solved, and the method has practical application value.
Another embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements: acquiring the board card type of a board card accessed by the mainboard slot through the mainboard CPLD, and acquiring configuration information of an NVMe hard disk inserted into an NVMe physical slot of the backboard according to the board card type and a preset first comparison table, wherein the first comparison table comprises the board card type and the configuration information corresponding to the board card type; according to the configuration information, the PCIE bridge chip is configured through the mainboard CPLD; and acquiring a lighting instruction from a preset second lighting table according to the hard disk state of the NVMe hard disk detected by the mainboard BMC, and transmitting the lighting instruction to the back plate CPLD, so that the back plate CPLD lights the LED display lamp according to the lighting instruction, wherein the second lighting table comprises the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state.
In practice, the computer-readable storage medium may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present embodiment, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
As shown in fig. 3, another embodiment of the present invention provides a schematic structural diagram of a computer device. The computer device 12 shown in FIG. 3 is only an example and should not impose any limitation on the scope of use or functionality of embodiments of the present invention.
As shown in FIG. 3, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown in FIG. 3, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be understood that although not shown in FIG. 3, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement a lighting method provided by the embodiment of the present invention.
It should be noted that, the sequence of the steps of the lighting method provided in the embodiment of the present invention may be appropriately adjusted, and the steps may also be increased or decreased according to the circumstances, and any method that can be easily obtained by a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention, and therefore, the details are not described again.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention, and it will be obvious to those skilled in the art that other variations or modifications may be made on the basis of the above description, and all embodiments may not be exhaustive, and all obvious variations or modifications may be included within the scope of the present invention.

Claims (10)

1. A lighting method of an NVMe hard disk based on a Feiteng server is characterized by comprising the following steps:
s20: acquiring a board card type of a board card accessed by a mainboard slot through a mainboard CPLD, and acquiring configuration information of an NVMe hard disk according to the board card type and a preset first comparison table, wherein the first comparison table comprises the board card type and the configuration information corresponding to the board card type;
s40: according to the configuration information, a PCIE bridge chip is configured through the mainboard CPLD;
s60: and acquiring a lighting instruction from a preset second lighting table according to the hard disk state of the NVMe hard disk detected by the mainboard BMC, and transmitting the lighting instruction to the back plate CPLD, so that the back plate CPLD lights according to the lighting instruction, wherein the second lighting table comprises the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state.
2. The lighting method according to claim 1, wherein the step S20 further includes:
and reading an interface expansion chip through the mainboard CPLD to acquire a board card identifier of a board card accessed by the mainboard slot, and acquiring a corresponding board card type according to the board card identifier.
3. The lighting method according to claim 2, wherein the motherboard CPLD reads the interface expansion chip through an I2C bus to obtain the board id.
4. The lighting method according to claim 2, wherein a tag card identifier of the board card inserted into the motherboard slot is a port value formed after the board card is inserted into the motherboard slot.
5. The lighting method according to claim 1, wherein the configuration information includes an NVMe device number, an NVMe physical slot, a register address of a backplane CPLD, and a bus channel connected to the backplane CPLD.
6. The lighting method according to claim 4, wherein the step S40 further includes: and according to the configuration information, configuring a general input/output port of the PCIE bridge chip through the mainboard CPLD so as to allocate the number of the PCIE equipment of the NVMe hard disk.
7. A lighting method according to claim 1, wherein step S60 further includes: the mainboard BMC transmits the lighting instruction to the mainboard low-speed connector through an I2C bus, transmits the lighting instruction to the backboard low-speed connector through the mainboard low-speed connector, and transmits the lighting instruction to the backboard CPLD through the backboard low-speed connector.
8. A lighting system using the lighting method according to any one of claims 1 to 7, comprising a main board and a back board, wherein,
the mainboard comprises a mainboard CPLD, a mainboard BMC, a PCIE bridge piece and a mainboard slot, the backboard comprises a backboard CPLD, an NVMe physical slot and a plurality of LED display lamps, and the mainboard is configured as follows:
acquiring the board card type of a board card accessed by the mainboard slot through the mainboard CPLD, and acquiring configuration information of an NVMe hard disk inserted into an NVMe physical slot of the backboard according to the board card type and a preset first comparison table, wherein the first comparison table comprises the board card type and the configuration information corresponding to the board card type;
according to the configuration information, the PCIE bridge chip is configured through the mainboard CPLD;
and acquiring a lighting instruction from a preset second illumination table according to the hard disk state of the NVMe hard disk detected by the mainboard BMC, and transmitting the lighting instruction to the back plate CPLD, so that the back plate CPLD lights the LED display lamp according to the lighting instruction, wherein the second illumination table comprises the NVMe hard disk state and the lighting instruction corresponding to the NVMe hard disk state.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-7 when executing the program.
CN202210767519.7A 2022-06-30 2022-06-30 Lighting method and lighting system of NVMe hard disk based on Feiteng server Pending CN115061884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210767519.7A CN115061884A (en) 2022-06-30 2022-06-30 Lighting method and lighting system of NVMe hard disk based on Feiteng server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210767519.7A CN115061884A (en) 2022-06-30 2022-06-30 Lighting method and lighting system of NVMe hard disk based on Feiteng server

Publications (1)

Publication Number Publication Date
CN115061884A true CN115061884A (en) 2022-09-16

Family

ID=83204835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210767519.7A Pending CN115061884A (en) 2022-06-30 2022-06-30 Lighting method and lighting system of NVMe hard disk based on Feiteng server

Country Status (1)

Country Link
CN (1) CN115061884A (en)

Similar Documents

Publication Publication Date Title
CN107423169B (en) Method and system for testing high speed peripheral device interconnection equipment
CN107870882B (en) Data protocol for managing peripheral devices
US9460042B2 (en) Backplane controller to arbitrate multiplexing of communication
US9471126B2 (en) Power management for PCIE switches and devices in a multi-root input-output virtualization blade chassis
US9864614B2 (en) Mapping virtual devices to computing nodes
US10331520B2 (en) Raid hot spare disk drive using inter-storage controller communication
US7617400B2 (en) Storage partitioning
US8583847B2 (en) System and method for dynamically detecting storage drive type
US20050228924A1 (en) Expander device capable of persistent reservations and persistent affiliations
US20060010278A1 (en) System and method for managing bus numbering
US10855739B2 (en) Video redirection across multiple information handling systems (IHSs) using a graphics core and a bus bridge integrated into an enclosure controller (EC)
US10324888B2 (en) Verifying a communication bus connection to a peripheral device
US6957288B2 (en) Embedded control and monitoring of hard disk drives in an information handling system
US8700807B2 (en) High speed baseboard management controller and transmission method thereof
US7450027B1 (en) Method and system for implementing a serial enclosure management interface for a computer system
US11308002B2 (en) Systems and methods for detecting expected user intervention across multiple blades during a keyboard, video, and mouse (KVM) session
CN115061884A (en) Lighting method and lighting system of NVMe hard disk based on Feiteng server
US20040177195A1 (en) Virtual SCSI enclosure services
US11093431B2 (en) Automated device discovery system
US10157157B2 (en) Component population optimization
CN115061958A (en) Hard disk identification method, identification system, storage medium and computer equipment
CN117472289B (en) Storage configuration adjustment method, device, system, equipment and medium of server
CN115687217A (en) Method and system for managing hot plug of backplane equipment
CN116185505A (en) Configuration method of hard disk backboard and computing equipment
JP2019128696A (en) Communication support apparatus and communication support program

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