CN109359015A - A kind of SFF8485 communication mechanism based on extension realizes the method and system of hard disk lighting - Google Patents
A kind of SFF8485 communication mechanism based on extension realizes the method and system of hard disk lighting Download PDFInfo
- Publication number
- CN109359015A CN109359015A CN201811115157.3A CN201811115157A CN109359015A CN 109359015 A CN109359015 A CN 109359015A CN 201811115157 A CN201811115157 A CN 201811115157A CN 109359015 A CN109359015 A CN 109359015A
- Authority
- CN
- China
- Prior art keywords
- lighting
- hard disk
- sff8485
- extension
- communication mechanism
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/325—Display of status information by lamps or LED's
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a kind of, and the SFF8485 communication mechanism based on extension realizes the method and system of hard disk lighting, is related to generic server technical field.Ignition method includes extension SFF8485 communication mechanism, and the lighting of every group hard disc is instructed and is indicated using one or more bytes;The lighting of hard disk is instructed and is handed down to CPLD in the form of SGPIO signal;CPLD parsing SGPIO signal obtains lighting director data, and lighting director data is then converted to a modulating signal and is exported to the LED light progress hard disk lighting operation of corresponding hard disk.The present invention is based on the SFF8485 communication mechanisms of extension, in the case where not changing circuit hardware structure, only pass through the lighting instruction repertorie of modification SAS/RAID card and the correlative code of CPLD lighting function, it can support a plurality of types of lighting modes, it realizes and the diversified lighting demand of client is met with the smallest change, and great extending space is provided, facilitate the optimization and improvement of subsequent product scheme.
Description
Technical field
The present embodiments relate to generic server technical fields, and in particular to a kind of SFF8485 communication based on extension
The method and system of mechanism realization hard disk lighting.
Background technique
With reaching its maturity for server industries, server product also emerges one after another, however key used by server
Device hard disk, basic classification are still NVME hard disk and SAS/SATA hard disk.What existing SAS/SATA hard disk generallyd use
It is that SGPIO signal carries out lighting operation, including blue Locate lamp used for positioning and is used to indicate the red of Hard disk error
Error lamp, and SGPIO signal is mostly from SAS/RAID card.And indicate that the green Active lamp of hard disk operational state is then logical
It crosses CPLD and directly reads the state of specific pin in hard disk to be controlled.
Above-mentioned prior art is the SFF8485 communication mechanism of the standard used based on general SAS/RAID card itself,
As shown in figure: SLoad indicates the last one bit of a frame lighting information, includes a point modulating signal in SDataOut, wherein every 3
A bits indicates one group of lighting information, n.0 indicates Active lamp, n.1 indicates Locate lamp, n.2 indicates Error lamp;Every frame packet
4 groups of lighting information are included, 4 SAS/SATA hard disks are respectively corresponded.CPLD only needs to parse lighting information, and is exported by pin
Carry out lighting, without carrying out any operation to this information, as CPLD parses the data in 0.2 and outputs it to hard disk 0
Corresponding Error lamp, if the data in 0.2 are that 1, Error lamp is bright, if the data in 0.2 are that 0, Error lamp goes out,
It is for a period of time 0 if the data in 0.2 are 1 for a period of time, then Error lamp realizes flashing.In the present solution, every group of lighting
The information of Active lamp not will use in information, and Locate lamp therein and Error lamp information is only used only.
Based on the above-mentioned technical proposal it is found that existing standard SFF8485 agreement can only realize Locate and Error lamp
It is bright, go out and the flashing of two kinds of frequencies, be unable to satisfy demand of the client to server diversification lighting mode, and do not have extension
Space.
Summary of the invention
The embodiment of the present invention provides a kind of SFF8485 communication mechanism based on extension and realizes the method for hard disk lighting and be
System, increases extending space without hardware modifications, meets the needs of client is to server diversification lighting mode.
In order to solve the above technical problems, the invention discloses following technical solutions:
First aspect present invention provides a kind of method that the SFF8485 communication mechanism based on extension realizes hard disk lighting,
It is described the following steps are included:
SFF8485 communication mechanism is extended, the lighting of every group hard disc is instructed and is indicated using one or more bytes;
The lighting of hard disk is instructed and is handed down to CPLD in the form of SGPIO signal;
CPLD parsing SGPIO signal obtains lighting director data, and it is defeated that lighting director data is then converted to a modulating signal
Hard disk lighting operation is carried out to the LED light of corresponding hard disk out.
Based on above scheme, this method does following optimization:
Preferably, in the SFF8485 communication mechanism after extension, the lighting instruction of every group hard disc carries out table using a byte
Show.
Further, the bus interface of SGPIO includes tetra- signal wires of Sclock, SLoad, SDataOut and SDataIn,
SLoad indicates the last one bit of a frame lighting information, instructs in SDataOut comprising lighting, and each byte representation one
Group lighting instruction.
The method that SFF8485 communication mechanism based on extension realizes hard disk lighting as described above, the CPLD setting exist
On hard disk backboard, SAS/RAID card is instructed using the SGPIO lighting that the SFF8485 communication mechanism of extension issues standard, and is passed through
Lighting instruction is transferred to CPLD by communication cable.
Second aspect of the present invention provides a kind of system that the SFF8485 communication mechanism based on extension realizes hard disk lighting,
The system comprises SAS/RAID cards interconnected and CPLD, SAS/RAID will be hard using the SFF8485 communication mechanism of extension
The lighting instruction of disk is handed down to CPLD in the form of SGPIO signal, and CPLD parsing SGPIO signal obtains lighting director data, so
Lighting director data a modulating signal is converted to afterwards to export to the LED light progress hard disk lighting operation of corresponding hard disk, the extension
SFF8485 communication mechanism in every group hard disc lighting instruction be indicated using one or more bytes.
Preferably, the lighting instruction of every group hard disc uses a byte in SFF8485 communication mechanism after the extension
It is indicated.
Further, the bus interface of SGPIO includes tetra- signal wires of Sclock, SLoad, SDataOut and SDataIn,
SLoad indicates the last one bit of a frame lighting information, instructs in SDataOut comprising lighting, and each byte representation one
Group lighting instruction.
The system that SFF8485 communication mechanism based on extension realizes hard disk lighting as described above, the SAS/RAID card
It is arranged on mainboard, CPLD is arranged on hard disk backboard, and SAS/RAID card is instructed the SGPIO lighting issued by the communications cable
It is transferred to CPLD.
Embodiments herein provide technical solution include it is following the utility model has the advantages that
The method that a kind of SFF8485 communication mechanism based on extension provided by the embodiments of the present application realizes hard disk lighting, packet
Extension SFF8485 communication mechanism is included, the lighting of every group hard disc is instructed and is indicated using one or more bytes;By hard disk
Lighting instruction is handed down to CPLD in the form of SGPIO signal;CPLD parsing SGPIO signal obtains lighting director data, then will
Lighting director data is converted to a modulating signal and exports to the LED light progress hard disk lighting operation of corresponding hard disk.The embodiment of the present application
SFF8485 communication mechanism based on the extension method of realizing hard disk lighting, in the case where not changing circuit hardware structure, only
It need to can be supported a plurality of types of by modifying the lighting instruction repertorie of SAS/RAID card and the correlative code of CPLD lighting function
Lighting mode is realized and meets the diversified lighting demand of client with the smallest change, and provides great extending space, convenient
The optimization and improvement of subsequent product scheme.
The system that a kind of SFF8485 communication mechanism based on extension of second aspect of the present invention realizes hard disk lighting, can
The method for realizing first aspect, and obtain identical effect.
Detailed description of the invention
The drawings herein are incorporated into the specification and constitutes part of specification, shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
Fig. 1 is the SFF8485 communication mechanism of standard commonly used in the prior art;
Fig. 2 is the stream that the SFF8485 communication mechanism provided by the embodiments of the present application based on extension realizes hard disk ignition method
Journey schematic diagram;
The bus interface that Fig. 3 is SGPIO in the embodiment of the present application interconnects figure;
Fig. 4 is the SFF8485 communication mechanism extended in the embodiment of the present application;
Fig. 5 is the knot that the SFF8485 communication mechanism provided by the embodiments of the present application based on extension realizes hard disk lighting system
Structure schematic diagram;
Appended drawing reference:
1- mainboard, 2- hard disk backboard, 3-SAS/RAID card, 4-CPLD.
Specific embodiment
To make those skilled in the art more fully understand the technical solution in the present invention, implement below in conjunction with the present invention
Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment
Only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field
Art personnel every other embodiment obtained without making creative work all should belong to what the present invention protected
Range.
Fig. 2 is that a kind of SFF8485 communication mechanism based on extension provided by the embodiments of the present application realizes hard disk ignition method
Flow diagram, as shown in Figure 2, the method that the SFF8485 communication mechanism based on extension of the present embodiment realizes hard disk lighting
The following steps are included:
The lighting instruction of every group hard disc is carried out table using one or more bytes by S1, extension SFF8485 communication mechanism
Show;
S2, the lighting of hard disk is instructed and is handed down to CPLD in the form of SGPIO signal;
S3, CPLD parsing SGPIO signal obtain lighting director data, and lighting director data is then converted to a modulating signal
It exports and carries out hard disk lighting operation to the LED light of corresponding hard disk.
Specifically, the lighting instruction of every group hard disc uses a byte, i.e. 8 positions in the step S1 of the present embodiment
It is indicated.The lighting instruction of hard disk is handed down to CPLD in the form of SGPIO signal, as shown in figure 3, the bus interface of SGPIO
Include tetra- signal wires of Sclock, SLoad, SDataOut and SDataIn, wherein SLoad indicates the last of a frame lighting information
One bit is instructed comprising lighting in SDataOut, and the one group of lighting instruction of each byte representation.CPLD setting is carried on the back in hard disk
On plate, after SAS/RAID card is instructed using the SGPIO lighting that the SFF8485 communication mechanism of extension issues standard, pass through communication electricity
Lighting instruction is transferred to CPLD by cable.The SFF8485 communication mechanism of extension is referring to shown in Fig. 4.
More specifically, in the present embodiment, CPLD can refer to the specific corresponding informance provided in following table one, by lighting
Instruction is converted to lighting operation, and exports to the correspondence LED light of corresponding hard disk, realizes lighting operation.The point being resolved to such as CPLD
Lamp instruction is 0x05, then CPLD generates the pulse signal of 8 times/S by inherent logic, and is output to Error lamp, at this time
Error lamp just can be flashed according to the frequency of 8 times/S.
One lighting instruction of table table corresponding with lighting operation information
Wherein, lighting instruction 0x01,0x02 and 0x03 all refer to the Active lamp of hard disk in upper table.The lighting of table one instructs
Table corresponding with lighting operation information illustrate only one of lighting scheme, and specific lighting scheme can be with specific reference to client's
Demand carries out flexible design.
The lighting instruction of the every group hard disc of the present embodiment uses a byte representation, can theoretically support 256 kinds of lighting behaviour
Make, and only with 8 kinds therein in the design, therefore, there is also great extending spaces by the design, convenient for after product
The improvement and optimization of phase.
Fig. 5 is that a kind of SFF8485 communication mechanism based on extension provided by the embodiments of the present application realizes hard disk lighting system
Structural schematic diagram, as shown in Figure 4, the hard disk lighting system of the present embodiment includes 3 He of SAS/RAID card interconnected
Under CPLD4, SAS/RAID card 3 is instructed the lighting of hard disk in the form of SGPIO signal using the SFF8485 communication mechanism of extension
CPLD4 is issued, CPLD4 parsing SGPIO signal obtains lighting director data, lighting director data is then converted to a modulating signal
It exports and carries out hard disk lighting operation to the LED light of corresponding hard disk, the lighting of every group hard disc refers in the SFF8485 communication mechanism of extension
Order is indicated using one or more bytes.The SFF8485 communication mechanism of extension can refer to shown in Fig. 4.
Specifically, the lighting of every group hard disc, which instructs, uses a byte in the hard disk lighting system of the present embodiment, i.e., 8
A position is indicated.SAS/RAID card 3 is arranged on mainboard 1, and CPLD4 is arranged on hard disk backboard 2, and SAS/RAID card passes through logical
The SGPIO lighting issued instruction is transferred to CPLD by letter cable.The bus interface of SGPIO include Sclock, SLoad,
Tetra- signal wires of SDataOut and SDataIn, wherein SLoad indicates the last one bit of a frame lighting information, SDataOut
In include lighting instruction, and each byte representation one group of lighting instruction.
The above is only a specific embodiment of the invention, is made skilled artisans appreciate that or realizing this hair
It is bright.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (8)
1. a kind of method that the SFF8485 communication mechanism based on extension realizes hard disk lighting, which is characterized in that including following step
It is rapid:
SFF8485 communication mechanism is extended, the lighting of every group hard disc is instructed and is indicated using one or more bytes;
The lighting of hard disk is instructed and is handed down to CPLD in the form of SGPIO signal;
CPLD parsing SGPIO signal obtain lighting director data, then by lighting director data be converted to a modulating signal export to
The LED light of corresponding hard disk carries out hard disk lighting operation.
2. the method that a kind of SFF8485 communication mechanism based on extension according to claim 1 realizes hard disk lighting, special
Sign is, in the SFF8485 communication mechanism after extension, the lighting instruction of every group hard disc is indicated using a byte.
3. according to claim 1 or a kind of 2 described in any item SFF8485 communication mechanisms based on extension realize hard disk lighting
Method, the bus interface of SGPIO include tetra- signal wires of Sclock, SLoad, SDataOut and SDataIn, and SLoad indicates one
The last one bit of frame lighting information is instructed comprising lighting in SDataOut, and the one group of lighting instruction of each byte representation.
4. the method that a kind of SFF8485 communication mechanism based on extension according to claim 1 realizes hard disk lighting, special
Sign is that the CPLD is arranged on hard disk backboard, and SAS/RAID card issues standard using the SFF8485 communication mechanism of extension
SGPIO lighting instruction, and lighting instruction is transferred to by CPLD by communication cable.
5. a kind of system that the SFF8485 communication mechanism based on extension realizes hard disk lighting, which is characterized in that the system comprises
SAS/RAID card and CPLD interconnected, the SAS/RAID use the SFF8485 communication mechanism of extension by the lighting of hard disk
Instruction is handed down to CPLD in the form of SGPIO signal, and CPLD parsing SGPIO signal obtains lighting director data, then by lighting
Director data is converted to a modulating signal and exports to the LED light progress hard disk lighting operation of corresponding hard disk, the SFF8485 of the extension
The lighting instruction of every group hard disc is indicated using one or more bytes in communication mechanism.
6. the system that a kind of SFF8485 communication mechanism based on extension according to claim 5 realizes hard disk lighting, special
Sign is, in the SFF8485 communication mechanism after the extension, the lighting instruction of every group hard disc is indicated using a byte.
7. realizing hard disk lighting according to a kind of described in any item SFF8485 communication mechanisms based on extension of claim 5 or 6
Method, the bus interface of SGPIO include tetra- signal wires of Sclock, SLoad, SDataOut and SDataIn, and SLoad indicates one
The last one bit of frame lighting information is instructed comprising lighting in SDataOut, and the one group of lighting instruction of each byte representation.
8. the system that a kind of SFF8485 communication mechanism based on extension according to claim 5 realizes hard disk lighting, special
Sign is that the SAS/RAID card is arranged on mainboard, and CPLD is arranged on hard disk backboard, and SAS/RAID card passes through the communications cable
The SGPIO lighting issued instruction is transferred to CPLD.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811115157.3A CN109359015A (en) | 2018-09-25 | 2018-09-25 | A kind of SFF8485 communication mechanism based on extension realizes the method and system of hard disk lighting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811115157.3A CN109359015A (en) | 2018-09-25 | 2018-09-25 | A kind of SFF8485 communication mechanism based on extension realizes the method and system of hard disk lighting |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109359015A true CN109359015A (en) | 2019-02-19 |
Family
ID=65351501
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811115157.3A Pending CN109359015A (en) | 2018-09-25 | 2018-09-25 | A kind of SFF8485 communication mechanism based on extension realizes the method and system of hard disk lighting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109359015A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543404A (en) * | 2019-07-19 | 2019-12-06 | 广东浪潮大数据研究有限公司 | Server, hard disk lighting method and system and computer readable storage medium |
CN113900708A (en) * | 2021-09-30 | 2022-01-07 | 苏州浪潮智能科技有限公司 | Signal management device and method for server and server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102376338A (en) * | 2010-08-11 | 2012-03-14 | 英业达股份有限公司 | Hard disk module |
US20120324131A1 (en) * | 2011-06-15 | 2012-12-20 | Inventec Corporation | Automatic detection device, system and method for inter-integrated circuit and serial general purpose input/output |
CN103295614A (en) * | 2012-03-05 | 2013-09-11 | 乔鼎资讯股份有限公司 | Power source management system and method of single hard disks in raid |
CN104679641A (en) * | 2013-11-27 | 2015-06-03 | 英业达科技有限公司 | Server system and control method of read-write indicator lamp thereof |
CN107038105A (en) * | 2015-12-15 | 2017-08-11 | 仁宝电脑工业股份有限公司 | The processing unit of hard disk warning light |
CN107992400A (en) * | 2017-12-15 | 2018-05-04 | 郑州云海信息技术有限公司 | A kind of method for detecting hard disk indication lamp state in storage system |
-
2018
- 2018-09-25 CN CN201811115157.3A patent/CN109359015A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102376338A (en) * | 2010-08-11 | 2012-03-14 | 英业达股份有限公司 | Hard disk module |
US20120324131A1 (en) * | 2011-06-15 | 2012-12-20 | Inventec Corporation | Automatic detection device, system and method for inter-integrated circuit and serial general purpose input/output |
CN103295614A (en) * | 2012-03-05 | 2013-09-11 | 乔鼎资讯股份有限公司 | Power source management system and method of single hard disks in raid |
CN104679641A (en) * | 2013-11-27 | 2015-06-03 | 英业达科技有限公司 | Server system and control method of read-write indicator lamp thereof |
CN107038105A (en) * | 2015-12-15 | 2017-08-11 | 仁宝电脑工业股份有限公司 | The processing unit of hard disk warning light |
CN107992400A (en) * | 2017-12-15 | 2018-05-04 | 郑州云海信息技术有限公司 | A kind of method for detecting hard disk indication lamp state in storage system |
Non-Patent Citations (2)
Title |
---|
BLAZE5578: "SFF-8485 串行GPIO(SGPIO)总线规范-中文版", 《HTTPS://WWW.DOCIN.COM/P-81485148.HTML》 * |
SALVARY: "SFF-8485 学习笔记- 1 -直通", 《HTTPS://BLOG.CSDN.NET/SALVARY/ARTICLE/DETAILS/39252171》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543404A (en) * | 2019-07-19 | 2019-12-06 | 广东浪潮大数据研究有限公司 | Server, hard disk lighting method and system and computer readable storage medium |
CN113900708A (en) * | 2021-09-30 | 2022-01-07 | 苏州浪潮智能科技有限公司 | Signal management device and method for server and server |
CN113900708B (en) * | 2021-09-30 | 2024-02-23 | 苏州浪潮智能科技有限公司 | Signal management device and method for server and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109359015A (en) | A kind of SFF8485 communication mechanism based on extension realizes the method and system of hard disk lighting | |
CN102651170B (en) | Traffic signal phase position configuration system | |
CN109753442A (en) | A kind of method and system of settlement server backboard BMC lighting VPP address conflict | |
CN104361871A (en) | Display screen debugging method, device and system | |
CN102800279B (en) | Addressable display drive method in parallel and system thereof | |
CN104423462B (en) | Rack server | |
CN101211315A (en) | Accessing memory using multi-tiling | |
CN108881993A (en) | A kind of screening display methods, device and the terminal device of barrage content | |
CN108733612A (en) | A kind of expansion system and extended method of server hard disc SGPIO signals | |
CN106879111A (en) | A kind of RGBW LED music lanterns based on Bluetooth communication | |
CN209390084U (en) | A kind of ARINC818 Bus simulator test device | |
CN202230501U (en) | Vehicle-mounted electronic tag | |
CN208227066U (en) | A kind of modularization intelligent substation network interchanger | |
CN109561032A (en) | A kind of switch module and the interchanger including it | |
CN109168093A (en) | The orientation management device and method of the upper fiber port of ODN | |
CN109086191A (en) | The lighting system and method for machine box for server front panel network indicator light | |
CN109116934A (en) | Expansible combined server stores backboard | |
CN109815175A (en) | A kind of general NVME hard disk lighting control device and method | |
CN109757011A (en) | General lighting box | |
CN103687226B (en) | A kind of parallel connection lamp control system and sub-controller thereof | |
CN202514004U (en) | Audio and video encoding and decoding core board of digital disc video recorder | |
CN103295614A (en) | Power source management system and method of single hard disks in raid | |
CN103095487B (en) | A kind of Multi-netmouth state indication method and device | |
CN207835580U (en) | The special non-volume video frequency collection card of subway | |
CN107185212A (en) | Electronic timer system and scoreboard control system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190219 |
|
RJ01 | Rejection of invention patent application after publication |