CN113900708B - 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
CN113900708B
CN113900708B CN202111158124.9A CN202111158124A CN113900708B CN 113900708 B CN113900708 B CN 113900708B CN 202111158124 A CN202111158124 A CN 202111158124A CN 113900708 B CN113900708 B CN 113900708B
Authority
CN
China
Prior art keywords
signal
hard disk
microcontroller
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.)
Active
Application number
CN202111158124.9A
Other languages
Chinese (zh)
Other versions
CN113900708A (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

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 and method for a server and the server, wherein the device comprises: a hard disk back plate including a plurality of hard disks; a microcontroller 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, the microcontroller being configured to control the lighting of the lamp on the corresponding hard disk based on the received SGPIO signal. According to the scheme of the invention, the hardware equipment is connected with the microcontroller through the SGPIO signal, the source of the signal can be identified based on the microcontroller, the implementation 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 field of server technologies, and in particular, to a signal management device and method for a server, and the server.
Background
An HDD (Hard disk drive) BP (Backplane) is designed on a server to be used as a storage space of the server, most of the HDD backplanes are multi-disk designs, such as 2,4,8, and 24-disk HDDs BP, but signal sources of the individual Hard disks connected to the HDD BP may be RAID cards (Redundant Array of Independent Disks Card, fault-tolerant inexpensive disk array) or PCHs (Platform Controller Hub, platform path controllers) or even multiple RAID Card interlaces, where a RAID Card may provide a SAS/SATA/PCIe signal source and a PCH may provide a SATA signal source. The signal sources are distinguished by setting external pull-up or pull-down resistors and by using a plurality of GPIO pins, the more the signal sources need to be set, the more the pull-up or pull-down resistors are used, for example, the more the cables are used, for example, the more the 2 sources need 1 cable and 2 resistors, and the 4 sources need 2 cables and 4 resistors, so that the occupied hardware space is larger and larger, the more the cables are used, the production cost of the server is increased, and the reliability is reduced.
Disclosure of Invention
In view of this, the present invention provides a signal management device, a signal management method and a server for a server, which can identify what hardware device the signal source is based on the signal of the SGPIO itself plus the defined vendor information, and the occupied hardware space is not increased and the number of used cables is increased due to the increase of the signal source, so that the hardware cost is reduced, the reliability is good, and the maintenance is convenient.
Based on the above object, an aspect of an embodiment of the present invention provides a signal management apparatus for a server, the signal management apparatus specifically including:
a hard disk back plate including a plurality of hard disks;
a microcontroller 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, the microcontroller being configured to control the lighting of the lamp on the corresponding hard disk based on the received SGPIO signal.
In some embodiments, the SGPIO signal includes a SLoad signal configured to define vendor information of the hardware device and 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 the comparison.
In some embodiments, the SGPIO signal further includes a 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 a lamp on the corresponding hard disk.
In some embodiments, the signal management apparatus further comprises:
a baseboard management controller 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;
the baseboard management controller is configured to not 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 network management center is connected with the baseboard management controller, and the baseboard management controller is configured to send the corresponding information to the network management center after receiving the corresponding information.
In another aspect of the embodiment of the present invention, there is also provided a signal management method for a server, based on the signal management apparatus as described above, performing the steps of:
outputting an SGPIO signal to the microcontroller;
and controlling the corresponding lamp on the hard disk to be lightened based on the received SGPIO signal.
In some embodiments, the SGPIO signal includes a SLoad signal configured to define vendor information of the hardware device and 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 the comparison.
In another aspect of the embodiment 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 signal existing in SGPIO and the defined supplier information, the hardware equipment of which the signal source is can be identified, the occupied hardware space is larger and the number of used cables is larger and larger as the signal source is increased, 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 invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an embodiment of a signal management device for a server according to the present invention;
fig. 2 is a schematic transmission diagram of each signal in the SGPIO provided in the present invention;
FIG. 3 is a schematic diagram of the transmission of SDataOut signals in the SGPIO of FIG. 2;
fig. 4 is a schematic structural diagram of an embodiment of a signal management device 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 an embodiment of a server according to 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 will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
Based on the above object, a first aspect of the embodiments of the present invention proposes an embodiment of a signal management device for a server. As shown in fig. 1, the signal management apparatus specifically includes:
a hard disk back plate 110 including a plurality of hard disks 111;
a microcontroller 120 connected to the hard disk 111;
a hardware device 130 coupled to the microcontroller 120;
wherein the hardware device is configured to output an SGPIO signal to the microcontroller, the microcontroller being configured to control the lighting of the lamp on the corresponding hard disk based on the received SGPIO signal.
The SGPIO bus is a serial bus, and compared with a parallel bus, the serial bus has the advantages of simple structure, less occupied I/O pins, low cost and the like, and various realization forms are also available for realizing data transmission by using the serial bus instead of the parallel bus.
The SGPIO bus has 4 signal lines, namely SClock/SLoad/SDataOut/SdataIn, and is specifically defined as follows:
SClock: a clock line driven by the starting device, a maximum of 100kHz, a clock of 48kHz being commonly used;
SLoad: driven by the start device, in synchronization with the SClock, the signal indicates that the bit stream is about to end and that a new round of bit stream is about to be restarted, indicating the start of a new frame of data.
SDataOut: and a serial signal to the target device driven by the initiator device.
Sdaatain: driven by the target device, a serial signal to the initiator device.
The SClock and SLoad signals are used to control unidirectional transmission of the two-way serial signal SDataOut, SDataIn.
In this embodiment, the SLoad is used to define vendor information of the hardware device, and transmit the vendor information to a corresponding hard disk on the hard disk backboard based on the microcontroller; SDataOut is used for defining lighting information of each hard disk on the hard disk backboard and controlling corresponding LED lamps to be lighted; sdaatain is used by the hard disk backplane for returning to certain instances of the hard disk on the hard disk backplane.
The hardware device refers to a RAID Card or PCH or an interleaving combination of a plurality of RAID cards, and is a signal source of each hard disk on the hard disk backboard.
According to the embodiment of the invention, the hardware equipment is connected with the microcontroller through the SGPIO signal, and the SGPIO signal is analyzed based on the microcontroller, so that the source of the signal is identified as the hardware equipment, the implementation 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 of the hardware device and 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 the comparison.
In some embodiments, the SGPIO signal further includes a 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 a lamp on the corresponding hard disk.
Fig. 2 is a schematic diagram of transmission of each signal in the SGPIO provided in the present invention.
In fig. 2, the SLoad signal indicates when the bitstream ends and resumes. After SLoad is set to 1, the initiator should send a vendor specific pattern at the next four bit positions on SLoad, the vendor defining the information to be transferred to the target. The initiator should then set SLoad to 0 until a new round of bit stream is to be restarted.
Fig. 3 is a transmission schematic diagram of the SDataOut signal in fig. 2.
SdataOut defines the lighting information of SGPIO on the HDD, each 3 bits is taken as the lighting or non-lighting information of 3 LEDs of one HDD, bit 1 is an Activity LED, bit 2 is a location LED, and Bit 3 is a Fail LED.
In this embodiment, the SGPIO defines a lighting mode for controlling the hard disk on the HDD BP and a digital code of each external signal source (i.e., hardware device), and the MCU defines a corresponding definition. After the SGPIO signal is transmitted to the MCU, the MCU analyzes different lighting methods and controls the corresponding lamps on the hard disk to be lighted, for example, the RAID Card corresponds to 4 hard disks on the hard disk backboard, and then 3 bits are multiplied by 4 HDDs, namely, 12bits are used as the lamps of the 4 hard disks; the RAID Card corresponds to 8 hard disks on the hard disk backboard, and then 3 bits are multiplied by 8 HDDs, namely 12bits are used as the lamp signals of the 8 hard disks. When SLoad of SGPIO maintains low level, the hardware device is still transmitting the LED lighting signal.
The digital codes of different hardware devices are predefined on the MCU, for example, table 1 shows the simplest definition, where the system vendor defines the same codes at the back of the SLoad, i.e. after the SLoad has sent the start bit, the same digital codes are defined in the L0, L1, L2, L3 part of fig. 2, and when the signal is sent to the MCU, the MCU can distinguish why the signal source is the RAID Card or PCH.
TABLE 1
RAID Card 1 RAID Card 2 PCH
Digital coding 000 001 002
In some embodiments, the signal management apparatus further comprises:
a baseboard management controller 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;
the baseboard management controller is configured to not 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 network management center is connected with the baseboard management controller, and the baseboard management controller is configured to send the corresponding information to the network management center after receiving the corresponding information.
Embodiments of the present invention will be described below by way of further specific examples.
Fig. 4 is a schematic structural diagram of a signal management device according to another embodiment of the present invention.
In fig. 4, the signal management apparatus includes a hard disk back plate HDD BP including a plurality of hard disk HDDs thereon; a microcontroller MCU connected with the plurality of hard disk HDDs; hardware equipment connected with the MCU; a baseboard management controller BMC respectively connected with the hard disk HDD and the microcontroller MCU; and the BMC is connected with the BMC through an I2C bus, and is connected with the network management center through a local area network.
The same digital codes are defined on SGPIO signals corresponding to the MCU and the hardware equipment respectively, and after the hardware equipment is accessed to the hard disk backboard, the SGPIO signals output by the hardware equipment are identified through the MCU so as to determine the type of the accessed hardware equipment and light the LED lamp of the corresponding hard disk. When the SLoad signal in the SGPIO signal is identified through the MCU, if the digital code which is the same as the accessed hardware equipment is found in the MCU, the type of the accessed hardware equipment is determined, the BMC is informed, and the network management center is informed through the BMC; if the same digital code as the accessed hardware device is not found in the MCU, the BMC is informed not to access the hardware device to the system, and the BMC is informed to the network management center to request the manager to confirm whether to access the hardware device to the system. By adding connections to the baseboard management controller and to the network management center, the hard disk is cryptographically protected, and no predefined hardware can be attached to the hard disk backplane at will.
According to another aspect of the present invention, as shown in fig. 5, there is also provided a signal management method for a server, based on the signal management apparatus as described above, performing the steps of:
step S101, outputting an SGPIO signal to the microcontroller;
and step S103, controlling the corresponding lamp on the hard disk to be lightened based on the received SGPIO signal.
In some embodiments, the SGPIO signal includes a SLoad signal configured to define vendor information of the hardware device and 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 the comparison.
According to another aspect of the present invention, as shown in fig. 6, there is also provided a server 30 according to another aspect of the present invention, the server 30 including the signal management apparatus 310 for a server as described above.
Finally, it should be noted that, as will be appreciated by those skilled in the art, all or part of the procedures in implementing the methods of the embodiments described above may be implemented by a computer program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, and the program may include the procedures of the embodiments of the methods described above when executed. 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 computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
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 present disclosure.
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 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 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 foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages 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 for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (8)

1. A signal management apparatus for a server, comprising:
a hard disk back plate including a plurality of hard disks;
a microcontroller connected with the hard disk;
a hardware device connected to the microcontroller;
the hardware device is configured to output an SGPIO signal, the SGPIO signal includes a SLoad signal, the SLoad signal is configured to define vendor information of the hardware device and transmit the vendor information to the microcontroller, and the microcontroller is configured to compare the received vendor information with external source data information defined in advance, and to respond to the external source data information including the vendor information, to access the hardware device to a corresponding hard disk and to control a lamp on the corresponding hard disk to be turned on.
2. The apparatus of claim 1, wherein the SGPIO signal further comprises a SDataOut signal configured to define lighting information for the hard disk and send the lighting information to a hard disk backplane via the microcontroller to control lighting of a lamp on the corresponding hard disk.
3. The apparatus as recited in claim 1, further comprising:
a baseboard management controller 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;
the baseboard management controller is configured to not connect the corresponding hard disk to the storage system after receiving the corresponding information.
4. A device according to claim 3, further comprising:
and the network management center is connected with the baseboard management controller, and the baseboard management controller is configured to send the corresponding information to the network management center after receiving the corresponding information.
5. A signal management method for a server, characterized by performing the following steps based on the signal management device according to any one of claims 1 to 4:
outputting an SGPIO signal to the microcontroller;
and accessing the hardware equipment into the hard disk based on the received SGPIO signal, and controlling the lamp on the corresponding hard disk to be lighted.
6. The method of claim 5, wherein the SGPIO signal comprises a SLoad signal configured to define vendor information for the hardware device and transmit the vendor information to the microcontroller.
7. The method of claim 6, wherein the microcontroller is configured to compare the received vendor information with predefined external source data information, and in response to the vendor information being included in the external source data information, to access the hardware device to a corresponding hard disk based on the vendor information, and to control a lamp on the corresponding hard disk to be lit.
8. A server comprising a signal management apparatus as claimed in any one of claims 1 to 4.
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 CN113900708A (en) 2022-01-07
CN113900708B true 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
CN113900708A (en) 2022-01-07

Similar Documents

Publication Publication Date Title
CN107832199A (en) Hard disk monitoring system based on CPLD
US9921933B2 (en) System and method for indicator light control of storage devices
US8830611B1 (en) Working states of hard disks indicating apparatus
US9582366B2 (en) Detecting and sparing of optical PCIE cable channel attached IO drawer
US20120133520A1 (en) Computer chassis system and hard disk status display method thereof
US7934045B2 (en) Redundant and fault tolerant control of an I/O enclosure by multiple hosts
US9367510B2 (en) Backplane controller for handling two SES sidebands using one SMBUS controller and handler controls blinking of LEDs of drives installed on backplane
US10268483B2 (en) Data protocol for managing peripheral devices
CN1598755A (en) Jbod subsystem and external emulation controller thereof
US20080201512A1 (en) Serial attached scsi backplane and detection system thereof
CN109117342A (en) A kind of server and its hard disk health status monitoring system
CN108845763A (en) A kind of system and method for managing disk state concentratedly
US20150100299A1 (en) Techniques for programming and verifying backplane controller chip firmware
US9507744B2 (en) Handling two SGPIO channels using single SGPIO decoder on a backplane controller
CN105487609A (en) Server
US20150100298A1 (en) Techniques for validating functionality of backplane controller chips
CN111475431A (en) Mainboard, backboard, identification system and identification method
CN113900708B (en) Signal management device and method for server and server
CN110708489A (en) Communication method, communication device, electronic device and storage medium
US8090881B1 (en) Method and system for minimizing unnecessary topology discovery operations by managing physical layer state change notifications in storage systems
CN116825152A (en) Hard disk lamp state control method, hard disk lamp state control device, computer equipment and storage medium
CN112860327A (en) CPU port switching method, device, equipment and readable medium
TWI689814B (en) Server hard disk indicator control system and control method
CN105740116A (en) Hard disk backboard and detection method of serial general input/output signal of hard disk backboard
CN117056254A (en) Method, device and medium for lighting hard disk backboard

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