CN113900708A - Signal management device and method for server and server - Google Patents

Signal management device and method for server and server Download PDF

Info

Publication number
CN113900708A
CN113900708A CN202111158124.9A CN202111158124A CN113900708A CN 113900708 A CN113900708 A CN 113900708A CN 202111158124 A CN202111158124 A CN 202111158124A CN 113900708 A CN113900708 A CN 113900708A
Authority
CN
China
Prior art keywords
signal
microcontroller
hard disk
information
sgpio
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.)
Granted
Application number
CN202111158124.9A
Other languages
Chinese (zh)
Other versions
CN113900708B (en
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 CN202111158124.9A priority Critical patent/CN113900708B/en
Publication of CN113900708A publication Critical patent/CN113900708A/en
Application granted granted Critical
Publication of CN113900708B publication Critical patent/CN113900708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a signal management device, a method and a server for the server, wherein the device comprises: the hard disk backboard comprises a plurality of hard disks; the microcontroller is connected with the hard disk; a hardware device connected to the microcontroller; wherein the hardware device is configured to output an SGPIO signal to the microcontroller, and the microcontroller is configured to control lighting of a lamp on a corresponding hard disk based on the received SGPIO signal. According to the scheme of the invention, the connection between the hardware equipment and the microcontroller is realized through the SGPIO signal, the hardware equipment of which the signal source is can be identified based on the microcontroller, the realization mode is simple, the identification accuracy is high, the hardware cost is reduced, and the use of cables is reduced.

Description

Signal management device and method for server and server
Technical Field
The present invention relates to the technical field of servers, and in particular, to a signal management apparatus and method for a server, and a server.
Background
HDD (Hard disk drive, Hard disk) BP (Backplane) is designed on a server for storage space of the server, most Hard disk backplanes are designed as multi-disk, for example, HDD BPs with 2, 4, 8, and 24 Disks, but the signal source accessing each Hard disk on the HDD BP may be RAID Card (Redundant Array of Independent Disks) or PCH (Platform Controller Hub) or even interleaved by multiple RAID cards, where RAID Card may provide a signal source of SATA/SAS/PCIe, and PCH may provide a signal source of SATA. The signal sources are distinguished by setting external pull-up or pull-down resistors and distinguishing through a plurality of GPIO pins, the more signal sources are, the more pull-up or pull-down resistors need to be set, the more cables are used, for example, 2 sources need 1 cable and 2 resistors, and 4 sources need 2 cables and 4 resistors, so that the occupied hardware space is larger and larger, the used cables are more and more, the production cost of the server is increased, and the reliability is reduced.
Disclosure of Invention
In view of the above, the present invention provides a signal management apparatus and method for a server, and a server, which can identify what hardware device a signal source is based on the existing signal of the SGPIO itself and defined vendor information, and does not occupy more and more hardware space and use more and more cables with the increase of the signal source, thereby reducing hardware cost, and having good reliability and convenient maintenance.
In view of the foregoing, an aspect of the embodiments of the present invention provides a signal management apparatus for a server, where the signal management apparatus specifically includes:
the hard disk backboard comprises a plurality of hard disks;
the microcontroller is connected with the hard disk;
a hardware device connected to the microcontroller;
wherein the hardware device is configured to output an SGPIO signal to the microcontroller, and the microcontroller is configured to control lighting of a lamp on a corresponding hard disk based on the received SGPIO signal.
In some embodiments, the SGPIO signal includes a SLoad signal configured to define vendor information for the hardware device and to transmit the vendor information to the microcontroller.
In some embodiments, the microcontroller is configured to compare the received vendor information with predefined external source data information, and determine a hardware device to access the hard disk based on a comparison result.
In some embodiments, the SGPIO signal further includes an SDataOut signal configured to define lighting information for the hard disk and send the lighting information to a hard disk backplane through the microcontroller to control lighting of lights on the corresponding hard disk.
In some embodiments, the signal management apparatus further comprises:
the substrate management controller is respectively connected with the hard disk and the microcontroller;
wherein the microcontroller is configured to send corresponding information to the baseboard management controller in response to the absence of the vendor information in the external source data information;
and the baseboard management controller is configured not to connect the corresponding hard disk to the storage system after receiving the corresponding information.
In some embodiments, the signal management apparatus further comprises:
and the baseboard management controller is configured to receive the corresponding information and then send the corresponding information to the network management center.
In another aspect of the embodiments of the present invention, there is also provided a signal management method for a server, based on the signal management apparatus described above, the method includes:
outputting an SGPIO signal to the microcontroller;
and controlling the lamp on the corresponding hard disk to be turned on based on the received SGPIO signal.
In some embodiments, the SGPIO signal includes a SLoad signal configured to define vendor information for the hardware device and to transmit the vendor information to the microcontroller.
In some embodiments, the microcontroller is configured to compare the received vendor information with predefined external source data information, and determine a hardware device to access the hard disk based on a comparison result.
In another aspect of the embodiments of the present invention, there is also provided a server, including the signal management apparatus as described above.
The invention has the following beneficial technical effects: based on the existing signal of the SGPIO itself and the defined vendor information, the hardware device of the signal source can be identified, and the occupied hardware space is not larger and the used cables are not more and more along with the increase of the signal source, so that the hardware cost is reduced, the reliability is good, and the maintenance is convenient.
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 structural diagram of an embodiment of a signal management apparatus for a server according to the present invention;
fig. 2 is a schematic diagram of transmission of each signal in the SGPIO provided by the present invention;
fig. 3 is a schematic diagram of the transmission of the SDataOut signal in the SGPIO of fig. 2;
FIG. 4 is a schematic structural diagram of an embodiment of a signal management apparatus for a server according to the present invention;
FIG. 5 is a block diagram of an embodiment of a signal management method for a server according to the present invention;
fig. 6 is a schematic structural diagram of a server 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.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above object, a first aspect of the embodiments of the present invention proposes an embodiment of a signal management apparatus for a server. As shown in fig. 1, the signal management apparatus specifically includes:
a hard disk backplane 110 comprising a plurality of hard disks 111;
a microcontroller 120 connected to the hard disk 111;
a hardware device 130 connected to the microcontroller 120;
wherein the hardware device is configured to output an SGPIO signal to the microcontroller, and the microcontroller is configured to control lighting of a lamp on a corresponding hard disk based on the received SGPIO signal.
The SGPIO bus is a serial bus, and compared with a parallel bus, the SGPIO bus has the advantages of simple structure, less occupied I/O pins, low cost and the like, and the SGPIO bus replaces the parallel bus to realize data transmission in various forms.
The SGPIO bus has 4 signal lines which are SClock/SLoad/SDataOut/SdaIn respectively, and the specific definition is as follows:
SClock: a clock line driven by the initiating device, with a maximum of 100kHz, typically using 48 kHz;
SLoad: driven by the start device, synchronized with SClock, this signal indicates that the bit stream is about to end and a new round of bit stream is to be restarted, indicating the start of a new frame of data.
SDataOut: a serial signal driven by the initiator device to the target device.
SDataIn: a serial signal driven by the target device to the initiator device.
SClock and SLoad signals are used for controlling the unidirectional transmission of two serial signals SDataOut and SDataIn.
In this embodiment, the SLoad is configured to define vendor information of the hardware device, and transmit the vendor information to a corresponding hard disk on the hard disk backplane based on the microcontroller; the SDataOut is used for defining lighting information of each hard disk on the hard disk backboard and controlling the corresponding LED lamp to be lighted; SDataIn is used by the hard disk backplane for some cases of returning to the hard disk on the hard disk backplane.
The hardware device refers to a RAID Card or a PCH or an interleaved combination of a plurality of RAID cards, and is a signal source of each hard disk on the hard disk backplane.
According to the embodiment of the invention, the connection between the hardware equipment and the microcontroller is realized through the SGPIO signal, the SGPIO signal is analyzed based on the microcontroller, and the source of the signal can be identified by which hardware equipment is, so that the realization mode is simple, the identification accuracy is high, the hardware cost is reduced, and the use of cables is reduced.
In some embodiments, the SGPIO signal includes a SLoad signal configured to define vendor information for the hardware device and to transmit the vendor information to the microcontroller.
In some embodiments, the microcontroller is configured to compare the received vendor information with predefined external source data information, and determine a hardware device to access the hard disk based on a comparison result.
In some embodiments, the SGPIO signal further includes an SDataOut signal configured to define lighting information for the hard disk and send the lighting information to a hard disk backplane through the microcontroller to control lighting of lights on the corresponding hard disk.
As shown in fig. 2, a schematic diagram of transmission of each signal in the SGPIO provided by the present invention is shown.
In fig. 2, the SLoad signal indicates when the bitstream ends and restarts. With SLoad set to 1, the initiator should send a vendor specific pattern at the next four bit positions on SLoad, where the vendor defines the information to be transferred to the target. After that, the originator should set SLoad to 0 until a new round of bitstream is to be restarted.
Fig. 3 is a schematic diagram of the transmission of the SDataOut signal in fig. 2.
SdaOut defines lighting information of the SGPIO on the HDD, every 3 bits are used as lighting or non-lighting information of 3 LEDs of one HDD, Bit 1 is an Activity LED, Bit 2 is a Locate LED, and Bit 3 is a Fail LED.
In this embodiment, a digital code for controlling a lighting mode of a hard disk on the HDD BP and each external signal source (i.e., hardware device) is defined on the SGPIO, and is correspondingly defined on the MCU. After the SGPIO signal is transmitted to the MCU, the MCU analyzes different lighting methods and controls the lights on the corresponding hard disks to light up, for example, if an RAID Card corresponds to 4 hard disks on the hard disk backplane, there will be 3 bits multiplied by 4 HDDs, i.e., there are 12bits to make the lights of 4 hard disks; if the RAID Card corresponds to 8 hard disks on the hard disk backboard, 3 bits are multiplied by 8 HDDs, namely 12bits are used as lamp signals of the 8 hard disks. When the SLoad of the SGPIO maintains a low level, it means that the hardware device is still transmitting the lighting signal of the LED.
For example, table 1 shows the simplest way of defining the same code by the system supplier behind the SLoad, i.e. after the start bit is sent by the SLoad, the same digital code is defined in the sections L0, L1, L2, and L3 in fig. 2, and after the signal is sent to the MCU, the MCU can distinguish what RAID Card or PCH the signal source is.
TABLE 1
RAID Card 1 RAID Card 2 PCH
Digital coding 000 001 002
In some embodiments, the signal management apparatus further comprises:
the substrate management controller is respectively connected with the hard disk and the microcontroller;
wherein the microcontroller is configured to send corresponding information to the baseboard management controller in response to the absence of the vendor information in the external source data information;
and the baseboard management controller is configured not to connect the corresponding hard disk to the storage system after receiving the corresponding information.
In some embodiments, the signal management apparatus further comprises:
and the baseboard management controller is configured to receive the corresponding information and then send the corresponding information to the network management center.
Several embodiments of the present invention will be described below with reference to still another specific example.
Fig. 4 is a schematic structural diagram of another signal management apparatus according to the present invention.
In fig. 4, the signal management apparatus includes a hard disk backplane HDD BP, on which a plurality of hard disk HDDs are included; a microcontroller MCU connected with the plurality of hard disk HDDs; hardware equipment connected with the microcontroller MCU; the base plate management controller BMC is respectively connected with the hard disk HDD and the microcontroller MCU; and the network management center is connected with the baseboard management controller BMC, wherein the BMC is connected with the HDD and the MCU through an I2C bus, and the BMC is connected with the network management center through a local area network.
The same digital codes are respectively defined on the SGPIO signals corresponding to the MCU and the hardware equipment, and after the hardware equipment is accessed to the hard disk backboard, the SGPIO signals output by the hardware equipment are identified by the MCU to determine the type of the accessed hardware equipment and light the LED lamp of the corresponding hard disk. When the MCU identifies the SLoad signal in the SGPIO signal, if the MCU finds the digital code which is the same as the digital code of the accessed hardware equipment, the type of the accessed hardware equipment is determined, the BMC is informed of the type of the accessed hardware equipment, and the network management center is informed of the type of the accessed hardware equipment through the BMC; and if the MCU does not find the digital code which is the same as the accessed hardware equipment, informing the BMC that the hardware equipment is not accessed to the system, and informing the network management center through the BMC to request a manager to confirm whether the hardware equipment is accessed to the system or not. The encryption protection is carried out on the hard disk by increasing the connection with the substrate management controller and the network management center, and the hardware which is not defined in advance can not be connected to the hard disk backboard at will.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 5, an embodiment of the present invention further provides a signal management method for a server, based on the signal management apparatus as described above, performing the following steps:
step S101, outputting an SGPIO signal to the microcontroller;
and S103, controlling the lamp on the corresponding hard disk to be turned on based on the received SGPIO signal.
In some embodiments, the SGPIO signal includes a SLoad signal configured to define vendor information for the hardware device and to transmit the vendor information to the microcontroller.
In some embodiments, the microcontroller is configured to compare the received vendor information with predefined external source data information, and determine a hardware device to access the hard disk based on a comparison result.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 6, an embodiment of the present invention further provides a server 30, where the server 30 includes the signal management apparatus 310 for a server as described above.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium of the program 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.
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 foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A signal management apparatus for a server, comprising:
the hard disk backboard comprises a plurality of hard disks;
the microcontroller is connected with the hard disk;
a hardware device connected to the microcontroller;
wherein the hardware device is configured to output an SGPIO signal to the microcontroller, and the microcontroller is configured to control lighting of a lamp on a corresponding hard disk based on the received SGPIO signal.
2. The apparatus of claim 1, wherein the SGPIO signal comprises a SLoad signal configured to define vendor information for the hardware device and to transmit the vendor information to the microcontroller.
3. The apparatus of claim 2, wherein the microcontroller is configured to compare the received vendor information with predefined external source data information and determine a hardware device to access the hard disk based on the comparison.
4. The apparatus of claim 1, wherein the SGPIO signal further comprises an SDataOut signal configured to define lighting information for the hard disk and send the lighting information to a hard disk backplane through the microcontroller to control lighting of lights on the corresponding hard disk.
5. The apparatus of claim 3, further comprising:
the substrate management controller is respectively connected with the hard disk and the microcontroller;
wherein the microcontroller is configured to send corresponding information to the baseboard management controller in response to the absence of the vendor information in the external source data information;
and the baseboard management controller is configured not to connect the corresponding hard disk to the storage system after receiving the corresponding information.
6. The apparatus of claim 5, further comprising:
and the baseboard management controller is configured to receive the corresponding information and then send the corresponding information to the network management center.
7. A signal management method for a server, characterized in that based on the signal management apparatus according to any one of claims 1 to 6, the following steps are performed:
outputting an SGPIO signal to the microcontroller;
and controlling the lamp on the corresponding hard disk to be turned on based on the received SGPIO signal.
8. The method of claim 7, wherein the SGPIO signal comprises a SLoad signal configured to define vendor information for the hardware device and to transmit the vendor information to the microcontroller.
9. The method of claim 8, wherein the microcontroller is configured to compare the received vendor information with predefined external source data information and determine a hardware device to access the hard disk based on the comparison.
10. A server, characterized in that it comprises a signal management device according to any one of claims 1 to 6.
CN202111158124.9A 2021-09-30 2021-09-30 Signal management device and method for server and server Active CN113900708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111158124.9A CN113900708B (en) 2021-09-30 2021-09-30 Signal management device and method for server and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111158124.9A CN113900708B (en) 2021-09-30 2021-09-30 Signal management device and method for server and server

Publications (2)

Publication Number Publication Date
CN113900708A true CN113900708A (en) 2022-01-07
CN113900708B CN113900708B (en) 2024-02-23

Family

ID=79189712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111158124.9A Active CN113900708B (en) 2021-09-30 2021-09-30 Signal management device and method for server and server

Country Status (1)

Country Link
CN (1) CN113900708B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776196A (en) * 2017-02-27 2017-05-31 郑州云海信息技术有限公司 A kind of server hard disc method for monitoring state and system
CN109359015A (en) * 2018-09-25 2019-02-19 郑州云海信息技术有限公司 A kind of SFF8485 communication mechanism based on extension realizes the method and system of hard disk lighting
CN110895502A (en) * 2018-12-24 2020-03-20 研祥智能科技股份有限公司 Hard disk state indicating device control method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776196A (en) * 2017-02-27 2017-05-31 郑州云海信息技术有限公司 A kind of server hard disc method for monitoring state and system
CN109359015A (en) * 2018-09-25 2019-02-19 郑州云海信息技术有限公司 A kind of SFF8485 communication mechanism based on extension realizes the method and system of hard disk lighting
CN110895502A (en) * 2018-12-24 2020-03-20 研祥智能科技股份有限公司 Hard disk state indicating device control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113900708B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN107832199A (en) Hard disk monitoring system based on CPLD
CN110377553B (en) Method and device for detecting corresponding relation between hard disk backplane and mainboard port
US7490176B2 (en) Serial attached SCSI backplane and detection system thereof
US8898358B2 (en) Multi-protocol communication on an I2C bus
US9921933B2 (en) System and method for indicator light control of storage devices
US20120133520A1 (en) Computer chassis system and hard disk status display method thereof
US9164862B2 (en) System and method for dynamically detecting storage drive type
US8213297B2 (en) Duplicate internet protocol address resolution in a fragmented switch stack environment
US10268483B2 (en) Data protocol for managing peripheral devices
US10324888B2 (en) Verifying a communication bus connection to a peripheral device
CN108845763A (en) A kind of system and method for managing disk state concentratedly
CN110502462A (en) A kind of OCP adapter and server
WO2021259058A1 (en) Memory disk detection method and apparatus, terminal device, and storage medium
CN111475431A (en) Mainboard, backboard, identification system and identification method
CN111090568A (en) Method and equipment for lighting back plate CPLD
US9507744B2 (en) Handling two SGPIO channels using single SGPIO decoder on a backplane controller
CN113204474A (en) Lighting method, device and equipment based on AMD platform and readable medium
CN110708489A (en) Communication method, communication device, electronic device and storage medium
CN102841838B (en) Device, system and method for automatically detecting inter-integrated circuit (I2C) and SGPIO (serious general-purpose input/output)
CN112860327A (en) CPU port switching method, device, equipment and readable medium
CN113900708B (en) Signal management device and method for server and server
US6954358B2 (en) Computer assembly
CN116009785A (en) Hard disk management method and computing device
TWI689814B (en) Server hard disk indicator control system and control method
CN113076270A (en) Protocol configuration device and method of IO interface and related components

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
GR01 Patent grant
GR01 Patent grant