CN101359309A - Status indication apparatus for hard disc of serial connection small computer system interface and method - Google Patents
Status indication apparatus for hard disc of serial connection small computer system interface and method Download PDFInfo
- Publication number
- CN101359309A CN101359309A CNA2007101431809A CN200710143180A CN101359309A CN 101359309 A CN101359309 A CN 101359309A CN A2007101431809 A CNA2007101431809 A CN A2007101431809A CN 200710143180 A CN200710143180 A CN 200710143180A CN 101359309 A CN101359309 A CN 101359309A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- signal
- information
- interface
- state
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a (SAS) hard disc state indication device serially connected with the small computer system interface; the indication device comprises a plurality of transmission interfaces used for outputting the operation states of the hard disc, a detection module used for detecting if the hard disc is on-position and storing the on-position information of the hard disc, a hard disc state signal judgment module used for judging the exact transmission interface adopted by the hard disc transmission operation state signal according to the hard disc on-position information stored by the detection module and the information sent from the transmission interface, a signal analysis receiving module used for analyzing and receiving the hard disc operation state information of the exact transmission interface judged by the hard disc state signal judgment module, a display module used for displaying the hard disc operation state information analyzed and received by the signal analysis receiving module. The invention also discloses a SAS hard disc output information processing method of the SAS hard disc state indication device. The purpose of indicating the hard disc operation state with the compatibility of a plurality of transmission interfaces is realized.
Description
Technical field
The present invention relates to the server technology of areas of information technology, particularly a kind of serial attached small computer system interface (SAS, Serial Attached SCSI) disk state indicating device and method.
Background technology
Development along with the continuous progress of science and technology and informationization, networking, getting in touch of sci-tech products such as network, computing machine, server and people's work, life is more and more tightr, wherein the status of computer server becomes increasingly conspicuous in information-based process, and has played the part of an indispensable role as the memory device of various information carriers.
Present memory device is broadly divided into three classes at present, promptly high-end, middle-end and near-end.High-end memory device mainly is an optical-fibre channel, is applied to the high capacity real-time storage of the critical data of task level; The middle-end memory device mainly is small computer system interface (SCSI, Small Computer System Interface), is applied to the high capacity storage of the critical data of business level; Near-end is emerging in recent years field of storage, and its product mainly is serial ATA (SATA, Serial ATA), is applied to the high capacity storage of non-critical data, and purpose is to use the data backup of tape before substituting.Traditional enterprise-level storage is main storage platform with SCSI hard disk and optical-fibre channel owing to consider performance and stability mostly.
SAS is a kind of disk interconnection technique, be again a kind of SCSI technology of a new generation simultaneously, it combines the advantage of existing parallel SCSI and technology connected in series, with the serial communication is the agreement architecture, adopting SCSI-3 expansion instruction set and compatible SATA equipment, is multi-level memory device connection protocol stack.Because SAS interface superiority has technically obtained widespread use in the server storage device field at present, and the trend that replaces the SCSI technology is arranged.
Because hard disk is the main carrier of information on server, in case hard disk breaks down, to bring very big influence to the operate as normal of server, therefore the duty of grasping hard disk at any time is necessary, and usually, the hard disk duty shows by the disk state pilot lamp is directly perceived, but because of the design proposal difference of each manufacturer server to the server hard disc backboard of oneself, correspondingly, realize that the mode of SAS disk state indication is also different, main implementation has following three kinds:
First kind: utilize the general input and output of serial (SGPIO) interface of SAS hard disk controller chip, that resolves that this interface sends is articulated in SAS disk state on the hard disk controller, shows corresponding disk state.The SGPIO interface is standardized SAS disk state IO interface, employing be the SFF8485 standard.
Second kind: utilize the output signal of the general output of disk state (GPO) interface of SAS hard disk controller to detect disk state.The advantage of this mode is to realize conveniently, pin exports directly that high-low level is represented corresponding hard disk movable (ACTIVE), the states such as (FAULT) of makeing mistakes, shortcoming is if the plug-in a lot of hard disks of this integrated circuit, corresponding GPO output is just many, interface standard is difficult to unified, therefore this scheme is general only adopts when autonomous server design, compatible bad.
The third: ready (READY_LED) signal indication hard disk ACTIVE state that utilizes SAS hard disk self.The advantage of this method is not need other functional circuits of external Design, just has the state indication as long as connect hard disk; Its shortcoming is that hard disk error or damage do not have the output of FAULT signal.
At present, the disk state of existing server technology indication implementation can only be accomplished at a certain duty indication that realizes hard disk in above-mentioned three kinds of schemes.
Summary of the invention
In view of this, fundamental purpose of the present invention is to server apparatus provides a kind of SAS disk state indicating device, realizes that compatible multiple transmission interface indicates SAS hard disk duty, makes server can show in real time that all are articulated in the disk state under it.
Another object of the present invention is to provide a kind of indicating means of SAS disk state information, realize that compatible multiple transmission interface indicates SAS hard disk duty, make server can show in real time that all are articulated in the disk state under it.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of serial attached small computer system interface SAS disk state indicating device comprises:
A plurality of transmission interfaces are used to export the work state information of SAS hard disk;
Detection module, whether on the throne, and preserve hard disk information on the throne if being used to detect the SAS hard disk;
Disk state signal judge module is used for judging the described SAS hard disk transmission concrete transmission interface that working state signal adopted according to the hard disk information on the throne of described detection module preservation and the information of described a plurality of transmission interface outputs;
The signal resolution receiver module, the hard disk work state information that is used for concrete transmission interface that described disk state signal judge module is judged is resolved accordingly to receive and is handled;
Display module is used to show through described signal resolution receiver module and resolves the hard disk work state information that receives after handling.
Wherein, described a plurality of transmission interface comprises:
The general input and output SGPIO of serial interface on the hard disk controller that described SAS hard disk is articulated;
The general output of disk state GPO interface on the hard disk controller that described SAS hard disk is articulated;
The ready READY_LED signaling interface of described SAS hard disk self.
Wherein, described signal resolution receiver module further comprises:
SGPIO interface protocol parsing module is used to receive and resolve the information that described SGPIO interface is exported, and obtains displayable hard disk work state information;
The GPO signal receiving module is used to receive and resolve the information that described GPO interface is exported, and obtains displayable hard disk work state information;
The READY_LED signal receiving module is used to receive the information of described READY_LED signaling interface output, with the information that receives directly as displayable hard disk work state information.
Described transmission interface further comprises the Redundant Array of Inexpensive Disc card and the I of external SAS hard disk
2The C bus.
The hard disk work state information of described transmission interface transmission is: LOCATE information on the throne, movable ACTIVE information or fault FAULT status information.
Described display module is by the described LOCATE information of diode displaying, ACTIVE information or FAULT status information.
A kind of indicating means of SAS disk state, this method comprises the steps:
A, detect the signal on the throne whether hard disk backboard has new insertion hard disk, if having, the validation of information that reads in according to signal on the throne and by hard-disk interface and send hard disk information on the throne then, execution in step b, otherwise, return step a;
B, according to hard disk information on the throne and disk state output signal, analyze the concrete mode draw the output hard disk working state signal that described hard disk on the throne adopts, after confirming, call corresponding interface protocol analysis receiver module and obtain the hard disk work state information;
The hard disk work state information that c, step display b obtain.
The mode of the output hard disk working state signal that wherein, described hard disk on the throne adopted is: SGPIO interface mode, GPO interface mode, READY_LED signaling interface mode.
The analytic process that step b is described to draw the concrete mode of the output hard disk working state signal that described hard disk on the throne adopts is:
B1, relatively with the information on the throne of detected hard disk information on the throne and the SGPIO interface that reads, the concrete mode of then determining output hard disk working state signal that conforms to is the SGPIO interface mode;
B2, read the level of ACTIVE signal of the GPO interface of hard disk on the throne according to hard disk information on the throne, become low level by the high level step-down, determine that then the concrete mode of output hard disk working state signal is: the GPO interface mode as this level;
B3, judge whether to detect the READY_LED signal,, determine that then the concrete mode of output hard disk working state signal is: READY_LED signaling interface mode if detect.
Wherein, the process that the concrete mode of described hard disk output services status signal is carried out signal resolution or reception is:
For the SGPIO interface mode, comprise the steps:
A, detect the negative edge of clock sclk signal, and go into the SDATAIN signal,, then increase and connect 0 number if the SLOAD data of sampling are 0 at this negative edge sampling frame head SLOAD signal and data; If sampled data is 1, and company's 0 number of SLOAD then with the state carry-out bit of next bit as first hard disk, if even 0 number is no more than 5, is then abandoned this partial data above 5;
B, the signal of first state carry-out bit of the hard disk of step a gained is defined as the start signal that system supports 4 disk state information showing, and successively the disk state signal is sent into display module by MCU.
For the GPO interface mode, MCU directly reads the ACTIVE and the FAULT state of each hard disk from signal wire;
For the READY_LED aspect, MCU directly obtains the ACTIVE state of hard disk by the REDADY_LED signal that reads hard disk on the throne.
General SAS disk state indicating means provided by the present invention and device have following advantage and characteristics:
1) the present invention carries out corresponding software function by the MCU of server hard disc backboard, realize that compatible multiple transmission interface indicates SAS hard disk duty, make server can show in real time that all are articulated in the disk state under it, and the hardware cost of not increase system realization.
2) the present invention introduces disk state signal judge module, interface protocol parsing module, has guaranteed the ability that compatible SGPIO interface, GPO interface, three kinds of disk states of READY_LED signaling interface show.
3) the present invention has reduction, in the system that does not need simultaneously compatible three kinds of SAS disk state display packings, can delete the corresponding interface signal resolution module, to make rational use of resources.
4) the present invention also has extensibility, supports that not only the SAS hard disk controller chip on the external RAID card is also supported I
2C (Inter-Integrated Circuit) bus interface output disk state.
Description of drawings
Fig. 1 is the structural representation of SAS disk state indicating device of the present invention;
Fig. 2 is a SAS hard disk output state information processing method process flow diagram of the present invention.
Embodiment
Basic thought of the present invention is: on the basis that does not change server hard disc backboard hardware circuit, in this circuit, increase a SAS disk state indicating device by software mode, make the microcontroller (MCU) of hard disk backboard circuit carry out this and install corresponding software function module, and the hard disk measuring ability that utilizes MCU periodically detects the output level of corresponding hard disk circuit on the server hard disc backboard, height according to level changes, SAS disk state signal detects on the hard disk controller to being articulated in, obtain this hard disk information whether on the throne with this, status signal and the hard disk information on the throne of utilizing hard disk to send are then judged three kinds of SAS disk state indicating modes, in conjunction with judged result, call different interface protocols and resolve, at last analysis result is sent to the corresponding disk state of display module indication.
Below in conjunction with the drawings and specific embodiments the present invention is further described.
Fig. 1 is the structural representation of SAS disk state indicating device of the present invention, and as shown in Figure 1, this device comprises detection module 101, transmission interface, disk state signal judge module 105, signal resolution receiver module, display module 109.
Wherein, transmission interface further comprises: SGPIO interface 102, GPO interface 103, READY_LED signaling interface 104; The signal resolution receiver module further comprises: SGPIO interface protocol parsing module 106, GPO signal receiving module 107, READY_LED signal receiving module 108.
Transmission interface is used for the one or more hard disk output disk state signals to the multiple interfaces form.
The signal resolution receiver module is used for the output signal of distinct interface mode is resolved or received, and the disk state signal that will resolve or receive is sent into display module.
Wherein, detection module 101, SGPIO interface 102, GPO interface 103, READY_LED signaling interface 104 are connected with disk state signal judge module 105 respectively, and disk state signal judge module 105 is connected with SGPIO interface protocol parsing module 106, GPO signal receiving module 107, READY_LED signal receiving module 108 respectively and then is connected with display module 109.
With reference to Fig. 1, the Action Specification of each functional module of apparatus of the present invention is as follows:
Whether detection module 101: it is on the throne to detect the SAS hard disk that inserts the server system hard disk backboard automatically, utilize the incoming signal level of the hard disk testing circuit of the MCU detection correspondence on the hard disk backboard, if detected signal is a high level, illustrate that this groove position does not have hard disk, if detected signal is a low level, illustrate that there is hard disk this groove position, and detection information is recorded in the storer among the MCU.
SGPIO interface 102: the SAS hard disk controller in the reception server system is by the disk state information of SGPIO interface output, wherein the SAS hard disk controller is a main equipment in the server system, the SGPIO interface is the slave unit interface, wherein, the main equipment of SGPIO be can output system clock (SCLK) and system be written into the equipment of signal (SLOAD), it has the control of this interface.
GPO interface 103: the SAS hard disk controller in the reception server system is by the disk state information of GPO output.
READY_LED signaling interface 104: receive the READY_LED signal of SAS hard disk self, the ACTIVE state of this signal indication hard disk.
Disk state signal judge module 105: be used for the information on the throne that to obtain from detection module 101 and the information that obtains from SGPIO interface, GPO interface, READY_LED signaling interface combines, judge that comprehensively the employing of SAS hard disk controller SGPIO, GPO still are that the READY_LED aspect is transmitted SAS disk state information in the current server system, and call SGPIO interface protocol parsing module 106, GPO signal receiving module 107 or READY_LED signal processing module 108 according to judged result and further handle.
SGPIO interface protocol parsing module 106: the hard disk information that the SAS hard disk controller of reception server system sends by the SGPIO interface, and according to the SFF8485 standard, resolve the hard disk information of SGPIO interface, obtain each disk state information and be sent to display module 109.
GPO signal receiving module 107: receive the disk state information that obtains from GPO interface 103 and resolve, and analysis result is sent to display module 109.
READY_LED signal processing module 108: handle the READY_LED signal that hard disk self sends, and result is sent to display module 109.
Display module 109: be used to show the disk state information after SGPIO interface protocol parsing module, GPO signal receiving module 107, READY_LED signal processing module are handled, the state that shows comprises: tracking or location (LOCATE) state, ACTIVE and FAULT state are by the different state of LED indication in the present embodiment.
Be further described below in conjunction with the concrete course of work of one embodiment of the invention this device:
Fig. 2 is a SAS hard disk output state information processing method process flow diagram of the present invention, and as shown in Figure 2, described information processing method comprises the steps:
Step 200:SAS hard disk detection module periodically detects server hard disc backboard groove position and has or not hard disk to insert.
Described hard disk detects, be to determine according to the variation of the physical interface output signal level that inserts hard disk backboard by MCU, promptly represent to have or not hard disk to insert with the height of signal level, detected this level of MCU was a high level when no hard disk inserted, detected this level of MCU is a low level when having hard disk to insert, and system was stored in this testing result in the storer of MCU and called for other functional modules in the subsequent processing steps this moment.The height of signal level was relevant with the virtual condition of hard disk when hard disk inserted, and irrelevant with SGPIO, GPO and READY_LED interface shape.
Described functional module is meant the program segment of carrying out by MCU with specific function.
Step 201: whether the SAS hard disk of judging server hard disc backboard groove position is on the throne, if judging this groove position does not have hard disk, then returns step 200; If judge the hard disk that there is new insertion this groove position, then execution in step 202.
Whether concrete grammar on the throne is the described SAS hard disk of judging certain groove position: the MCU on the hard disk backboard detects the incoming signal level of corresponding hard disk testing circuit, if detected signal is a high level, illustrate that this groove position does not have hard disk, if detected signal is a low level, prove that there is hard disk this groove position, then execution in step 202.
Step 202:MCU is in the process of the level that periodically reads testing circuit, and SGPIO and GPO interface are all exported whether information on the throne of hard disk, and MCU leaves hard disk information on the throne come.
Described hard disk information on the throne is meant the specific bit sequence that the SAS hard disk is exported.This information is that subsequent step judges which kind of mode server system uses transmit the Back ground Information of disk state.
Step 203: according to the SAS hard disk information on the throne that above-mentioned steps obtains, disk state output signal judge module judges that the SAS hard disk controller of current server system adopts any mode in three kinds of modes to export disk state information.
Described three kinds of modes are meant that output interface is SGPIO, GPO, READY_LED aspect.
Concrete determination methods is: the detected hard disk of step 201 information on the throne is read the contained information of the ACTIVE signal of GPO interface of the information on the throne of SGPIO interface, hard disk on the throne with MCU respectively compare; If testing result is to adopt the SGPIO interface, then execution in step 204; If the GPO interface transmits disk state, then execution in step 205; If use the READY_LED signal of hard disk self, then execution in step 206.
Describedly judge whether to be to use the SGPIO interface, its deterministic process is: the information on the throne that will read the SGPIO interface through the detected hard disk of step 201 information on the throne and MCU relatively, conforming to illustrates that then this server system uses the SGPIO interface to transmit disk state.
Describedly judge whether to be to use the GPO interface, its process is: the ACTIVE signal level of GPO interface output that reads the SAS controller of detected hard disk correspondence on the throne according to hard disk information on the throne, become low level as this level by the high level step-down, illustrate that then current system uses the GPO interface to transmit disk state.Wherein, on the hard disk backboard He on the server master board hardware handles circuit is being arranged all, if when guaranteeing not use this GPO interface, ACITVE and FAULT signal level can not change, and are normal height.
The described ACTIVE state that whether is to use the READY_LED signaling interface to show hard disk is if detect the READY_LED signal then judge that the SAS hard disk is to use the READY_LED signaling interface to transmit work state information.But in this case, native system is no longer supported the demonstration of hard disk FAULT state.
Step 204: carry out the SGPIO protocol analysis, obtain disk state information, execution in step 207 then.
Described SGPIO protocol analysis, it is interface standard according to the SFF8485 standard code, it is the SGPIO interface, electric signal and data communication mode according to this interface of stipulating in the standard, support the signal condition information separated of SAS hard disk controller (the comprising the RAID card) output of SGPIO interface to come out all, concrete grammar is: the status information that once can send 4 hard disks owing to SAS controller in the embodiment of the invention, adopt the mode of serial communication, need four data lines, be respectively that data go out (SDATAOUT), data are gone into (SDATAIN), clock (SCLK) and frame head (SLOAD), each hard disk all has LOCATE, three states of ACTIVE and FAULT, wherein ACTIVE and FAULT state can show as required, so frame data are 12 bits.Here be to adopt software mode to realize obtaining from this physical interface the input signal of correct SAS controller on the MCU of hard disk backboard, this module is finished this function, the information stores that obtains is prepared against other module invokes.
The committed step of SGPIO protocol analysis is as follows:
The mode of a, utilization interruption or signal sampling, negative edge sampling SLOAD and SDATAIN signal at the SCLK signal if these SLOAD data that sampling obtains are 0, then increase company's 0 number of SLOAD data, polishing one frame data promptly allow to exist at most 12 companies 0.
B, if the SLOAD data that obtain in SCLK signal negative edge sampling are 1, and SLOAD data subsequently connect 0 number and surpass 5, then represent first mode bit output, just 12 bit start bits of a frame that next bit is a hard disk; If the SLOAD data that obtain in the sampling of SCLK signal negative edge are 1, but the number of the company 0 of SLOAD data is no more than 5, illustrates that then next bit is not a start bit, so abandon this partial data.
C, first mode bit output signal of the hard disk of step b gained is defined as the start signal of 4 the disk state information showing supported, successively the disk state signal is sent into display module by MCU and carried out the state indication.
Mention among above-mentioned steps a~step c 0 for logical zero, i.e. low level; 1 is logical one, i.e. high level.
Step 205: receive the GPO signal line interface information analysis of going forward side by side, obtain disk state information, execution in step 207 then.
Described GPO interface is that the SAS controller is represented a kind of disk state with a signal wire, and for example, the FAULT of a hard disk and ACTIVE two states need to use two signal line.Low level is a significant level, represents to represent when hard disk ACTIVE and FAULT fault, level are high that hard disk does not have FAULT and movable when promptly level is low.MCU only need read the signal level on this interface, just can know the status information of this hard disk, implements fairly simplely, promptly utilizes the read functions of the IO interface of MCU.
Step 206: system receives SAS hard disk READY_LED signal, and signal is sent to display module, and promptly execution in step 207.
Step 207: LOCATE, the ACTIVE, the FAULT state that receive the SGPIO signal indication hard disk through resolving of also step display 204 outputs; Receive LOCATE, ACTIVE, the FAULT state of the GPO signal indication hard disk of also step display 205 outputs; Receive and show the ACTIVE state of READY_LED signal indication SAS hard disk.
The SAS hard disk generally all supports an electric signal to export the ACTIVE state that shows this hard disk, and for example, in the hard disk of Seagate, it is accessed that this signal low level represents that hard disk does not have, and promptly hard disk is inactive, and high level is represented ACTIVE.In the present embodiment, system is connected to this signal on the processor, and processor just can directly obtain the ACTIVE state of hard disk by this signal of sampling like this.Because this signal is to change by level to come expression information, so do not need complicated processing procedure.
In the above disk state indicating device of the present invention and the information processing method, each module all realizes by software, promptly carries out the program with specific function by MCU and realizes.
Disk state indicating module of the present invention not only can be indicated the disk state that is articulated on the server master board SAS controller, and also can indicate the disk state that on Redundant Array of Inexpensive Disc (RAID) card, articulates, as long as this RAID card is supported a kind of in SGPIO or the GPO output; If this RAID card is not supported above two kinds, then also can show the ACTIVE state of hard disk with the system that this method realized.Described RAID is a kind of redundant array that is made of the polylith hard disk, although RAID comprises the polylith hard disk, under operating system as one independently large storage facilities occur.
External SAS hard disk RAID card can articulate that the SAS hard disk is realized the RAID function and the cpu resource that do not take server host substantially.It generally can support SGPIO, GPO interface to export disk state.The RAID card that has is also supported I
2The C bus promptly can be expanded I
2C interface only needs RAID card corresponding physical interface is connected to by cable on the connector of server corresponding interface, and native system just can obtain the state of corresponding hard disk by the electric signal of fetch interface.This mode with the interface electric signals that reads server master board SAS controller is the same.Even because the user uses the SAS signal controller on RAID and the mainboard simultaneously, native system also can support to insert simultaneously the input of two-way disk state electric signal, the two is not mutually exclusive.SAS controller chip on the external RAID card that the front has been mentioned also supports to use I
2C interface output disk state, this interface has only two signal line, also supports multihost operation.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.
Claims (10)
1, a kind of serial attached small computer system interface SAS disk state indicating device is characterized in that described device comprises:
A plurality of transmission interfaces are used to export the work state information of SAS hard disk;
Detection module, whether on the throne, and preserve hard disk information on the throne if being used to detect the SAS hard disk;
Disk state signal judge module is used for judging the described SAS hard disk transmission concrete transmission interface that working state signal adopted according to the hard disk information on the throne of described detection module preservation and the information of described a plurality of transmission interface outputs;
The signal resolution receiver module, the hard disk work state information that is used for concrete transmission interface that described disk state signal judge module is judged is resolved accordingly to receive and is handled;
Display module is used to show through described signal resolution receiver module and resolves the hard disk work state information that receives after handling.
2, indicating device according to claim 1 is characterized in that, described a plurality of transmission interfaces comprise:
The general input and output SGPIO of serial interface on the hard disk controller that described SAS hard disk is articulated;
The general output of disk state GPO interface on the hard disk controller that described SAS hard disk is articulated;
The ready READY_LED signaling interface of described SAS hard disk self.
3, indicating device according to claim 2 is characterized in that, described signal resolution receiver module further comprises:
SGPIO interface protocol parsing module is used to receive and resolve the information that described SGPIO interface is exported, and obtains displayable hard disk work state information;
The GPO signal receiving module is used to receive and resolve the information that described GPO interface is exported, and obtains displayable hard disk work state information;
The READY_LED signal receiving module is used to receive the information of described READY_LED signaling interface output, with the information that receives directly as displayable hard disk work state information.
4, indicating device according to claim 1 and 2 is characterized in that, described transmission interface further comprises the Redundant Array of Inexpensive Disc card and the I of external SAS hard disk
2The C bus.
5, indicating device according to claim 1 is characterized in that, the hard disk work state information of described transmission interface transmission is: LOCATE information on the throne, movable ACTIVE information or fault FAULT status information.
6, indicating device according to claim 5 is characterized in that, described display module is by the described LOCATE information of diode displaying, ACTIVE information or FAULT status information.
7, a kind of indicating means of SAS disk state, this method comprises the steps:
A, detect the signal on the throne whether hard disk backboard has new insertion hard disk, if having, the validation of information that reads in according to signal on the throne and by hard-disk interface and send hard disk information on the throne then, execution in step b, otherwise, return step a;
B, according to hard disk information on the throne and disk state output signal, analyze the concrete mode draw the output hard disk working state signal that described hard disk on the throne adopts, after confirming, call corresponding interface protocol analysis receiver module and obtain the hard disk work state information;
The hard disk work state information that c, step display b obtain.
8, indicating means according to claim 7 is characterized in that, the mode of the output hard disk working state signal that described hard disk on the throne adopted is: SGPIO interface mode, GPO interface mode, READY_LED signaling interface mode.
9, indicating means according to claim 7 is characterized in that, the analytic process that step b is described to draw the concrete mode of the output hard disk working state signal that described hard disk on the throne adopts is:
B1, relatively with the information on the throne of detected hard disk information on the throne and the SGPIO interface that reads, the concrete mode of then determining output hard disk working state signal that conforms to is the SGPIO interface mode;
B2, read the level of ACTIVE signal of the GPO interface of hard disk on the throne according to hard disk information on the throne, become low level by the high level step-down, determine that then the concrete mode of output hard disk working state signal is: the GPO interface mode as this level;
B3, judge whether to detect the READY_LED signal,, determine that then the concrete mode of output hard disk working state signal is: READY_LED signaling interface mode if detect.
10, indicating means according to claim 9 is characterized in that, the process of the concrete mode of described hard disk output services status signal being carried out signal resolution or reception is:
For the SGPIO interface mode, comprise the steps:
A, detect the negative edge of clock sclk signal, and go into the SDATAIN signal,, then increase and connect 0 number if the SLOAD data of sampling are 0 at this negative edge sampling frame head SLOAD signal and data; If sampled data is 1, and company's 0 number of SLOAD then with the state carry-out bit of next bit as first hard disk, if even 0 number is no more than 5, is then abandoned this partial data above 5;
B, the signal of first state carry-out bit of the hard disk of step a gained is defined as the start signal that system supports 4 disk state information showing, and successively the disk state signal is sent into display module by MCU.
For the GPO interface mode, MCU directly reads the ACTIVE and the FAULT state of each hard disk from signal wire;
For the READY_LED aspect, MCU directly obtains the ACTIVE state of hard disk by the REDADY_LED signal that reads hard disk on the throne.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101431809A CN101359309B (en) | 2007-08-03 | 2007-08-03 | Status indication apparatus for hard disc of serial connection small computer system interface and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101431809A CN101359309B (en) | 2007-08-03 | 2007-08-03 | Status indication apparatus for hard disc of serial connection small computer system interface and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101359309A true CN101359309A (en) | 2009-02-04 |
CN101359309B CN101359309B (en) | 2012-03-07 |
Family
ID=40331766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101431809A Expired - Fee Related CN101359309B (en) | 2007-08-03 | 2007-08-03 | Status indication apparatus for hard disc of serial connection small computer system interface and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101359309B (en) |
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101937381A (en) * | 2010-09-02 | 2011-01-05 | 浪潮电子信息产业股份有限公司 | Test method of SGPIO (Serial General Purpose Input/Output) signal on SAS (Serial Attached Small Computer System Interface) backboard |
CN101515871B (en) * | 2009-03-27 | 2011-04-20 | 杭州华三通信技术有限公司 | Method for inhibiting change of state of SAS link and monitoring entity |
CN102237125A (en) * | 2010-04-29 | 2011-11-09 | 英业达股份有限公司 | Control system for hard disk indication lamp |
CN102291263A (en) * | 2011-09-02 | 2011-12-21 | 中兴通讯股份有限公司 | State indicating device and equipment, equipment state indicating system and information transmission method |
CN102404320A (en) * | 2011-11-15 | 2012-04-04 | 浪潮电子信息产业股份有限公司 | SFF-8485 agreement fault-tolerant analyzing method based on sequence flow detecting |
CN102831086A (en) * | 2012-07-25 | 2012-12-19 | 浪潮(北京)电子信息产业有限公司 | Method and device for managing hard disk system |
CN103064777A (en) * | 2012-12-24 | 2013-04-24 | 华为技术有限公司 | Disk array alarming display method and device |
CN103455395A (en) * | 2013-08-08 | 2013-12-18 | 华为技术有限公司 | Method and device for detecting hard disk failures |
CN103645981A (en) * | 2013-11-15 | 2014-03-19 | 华为技术有限公司 | Hard disk identification method and system |
CN103678014A (en) * | 2013-12-18 | 2014-03-26 | 浪潮(北京)电子信息产业有限公司 | Method for effectively detecting and analyzing SGPIO signals |
CN104123955A (en) * | 2013-04-23 | 2014-10-29 | 鸿富锦精密电子(天津)有限公司 | Hard-disk control circuit |
CN104461800A (en) * | 2014-11-24 | 2015-03-25 | 英业达科技有限公司 | Hard disk running state detection system |
CN104699588A (en) * | 2013-12-09 | 2015-06-10 | 鸿富锦精密电子(天津)有限公司 | Hard disk state display device |
CN105529045A (en) * | 2015-12-02 | 2016-04-27 | 英业达科技有限公司 | Lamp signal control system for nonvolatile memory solid state disk |
CN105740116A (en) * | 2014-12-12 | 2016-07-06 | 环旭电子股份有限公司 | Hard disk backboard and detection method of serial general input/output signal of hard disk backboard |
CN106095633A (en) * | 2016-06-23 | 2016-11-09 | 浪潮电子信息产业股份有限公司 | Method for detecting disk disorder or disk dropping in stability test of whole cabinet |
CN106557267A (en) * | 2015-09-29 | 2017-04-05 | 鸿富锦精密工业(深圳)有限公司 | Hard disk operational environment changes system and amending method |
TWI582587B (en) * | 2016-06-24 | 2017-05-11 | 神雲科技股份有限公司 | HDD Interface Device |
CN106681880A (en) * | 2015-11-06 | 2017-05-17 | 湖南百里目科技有限责任公司 | Server storage hard disk positioning method |
CN106776196A (en) * | 2017-02-27 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of server hard disc method for monitoring state and system |
CN107102933A (en) * | 2017-05-27 | 2017-08-29 | 郑州云海信息技术有限公司 | A kind of Active lamps of hard disk determine frequency flashing control system and control method |
CN107357744A (en) * | 2017-07-26 | 2017-11-17 | 郑州云海信息技术有限公司 | It is a kind of to support HDD and the M.2 method and structure of storage medium self-identifying |
CN107544883A (en) * | 2017-08-24 | 2018-01-05 | 紫光华山信息技术有限公司 | The diagnostic device of server, system and method |
CN107643971A (en) * | 2016-07-20 | 2018-01-30 | 环旭电子股份有限公司 | Computer system, memory element cresset controller and its host-host protocol determination methods |
CN107765993A (en) * | 2016-08-23 | 2018-03-06 | 佛山市顺德区顺达电脑厂有限公司 | Hard disk interface device |
CN109147861A (en) * | 2018-08-13 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of hard disk is in level detecting apparatus and method |
CN110895502A (en) * | 2018-12-24 | 2020-03-20 | 研祥智能科技股份有限公司 | Hard disk state indicating device control method and device, electronic equipment and storage medium |
CN110941580A (en) * | 2019-10-31 | 2020-03-31 | 苏州浪潮智能科技有限公司 | Method for reading information and serial small computer system interface SAS expander |
CN111048138A (en) * | 2019-12-22 | 2020-04-21 | 北京浪潮数据技术有限公司 | Hard disk fault detection method and related device |
CN111124785A (en) * | 2019-12-22 | 2020-05-08 | 广东浪潮大数据研究有限公司 | Hard disk fault checking method, device, equipment and storage medium |
CN111459403A (en) * | 2020-02-29 | 2020-07-28 | 新华三技术有限公司成都分公司 | Storage hardware management method and device |
CN117009162A (en) * | 2023-10-07 | 2023-11-07 | 天津国芯科技有限公司 | Method for identifying hard disk by using triple-mode RAID card chip |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7093033B2 (en) * | 2003-05-20 | 2006-08-15 | Intel Corporation | Integrated circuit capable of communicating using different communication protocols |
US7228364B2 (en) * | 2004-06-24 | 2007-06-05 | Dell Products L.P. | System and method of SCSI and SAS hardware validation |
TWI307034B (en) * | 2005-11-23 | 2009-03-01 | Infortrend Technology Inc | Storage virtualization subsystem and system with host-side redundancy via sas connectivity |
US7574540B2 (en) * | 2006-01-03 | 2009-08-11 | Emc Corporation | Managing management controller communications |
-
2007
- 2007-08-03 CN CN2007101431809A patent/CN101359309B/en not_active Expired - Fee Related
Cited By (46)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101515871B (en) * | 2009-03-27 | 2011-04-20 | 杭州华三通信技术有限公司 | Method for inhibiting change of state of SAS link and monitoring entity |
CN102237125A (en) * | 2010-04-29 | 2011-11-09 | 英业达股份有限公司 | Control system for hard disk indication lamp |
CN101937381B (en) * | 2010-09-02 | 2012-08-01 | 浪潮电子信息产业股份有限公司 | Test method of SGPIO (Serial General Purpose Input/Output) signal on SAS backboard |
CN101937381A (en) * | 2010-09-02 | 2011-01-05 | 浪潮电子信息产业股份有限公司 | Test method of SGPIO (Serial General Purpose Input/Output) signal on SAS (Serial Attached Small Computer System Interface) backboard |
CN102291263A (en) * | 2011-09-02 | 2011-12-21 | 中兴通讯股份有限公司 | State indicating device and equipment, equipment state indicating system and information transmission method |
CN102404320A (en) * | 2011-11-15 | 2012-04-04 | 浪潮电子信息产业股份有限公司 | SFF-8485 agreement fault-tolerant analyzing method based on sequence flow detecting |
CN102831086B (en) * | 2012-07-25 | 2015-06-24 | 浪潮(北京)电子信息产业有限公司 | Method and device for managing hard disk system |
CN102831086A (en) * | 2012-07-25 | 2012-12-19 | 浪潮(北京)电子信息产业有限公司 | Method and device for managing hard disk system |
CN103064777B (en) * | 2012-12-24 | 2016-03-02 | 华为技术有限公司 | Disk array alarm display packing and device |
CN103064777A (en) * | 2012-12-24 | 2013-04-24 | 华为技术有限公司 | Disk array alarming display method and device |
CN104123955A (en) * | 2013-04-23 | 2014-10-29 | 鸿富锦精密电子(天津)有限公司 | Hard-disk control circuit |
CN104123955B (en) * | 2013-04-23 | 2017-08-08 | 赛恩倍吉科技顾问(深圳)有限公司 | Hard disk control circuit |
CN103455395A (en) * | 2013-08-08 | 2013-12-18 | 华为技术有限公司 | Method and device for detecting hard disk failures |
CN103455395B (en) * | 2013-08-08 | 2016-12-07 | 华为技术有限公司 | The detection method of a kind of hard disk failure and device |
CN103645981A (en) * | 2013-11-15 | 2014-03-19 | 华为技术有限公司 | Hard disk identification method and system |
CN104699588A (en) * | 2013-12-09 | 2015-06-10 | 鸿富锦精密电子(天津)有限公司 | Hard disk state display device |
CN103678014A (en) * | 2013-12-18 | 2014-03-26 | 浪潮(北京)电子信息产业有限公司 | Method for effectively detecting and analyzing SGPIO signals |
CN104461800A (en) * | 2014-11-24 | 2015-03-25 | 英业达科技有限公司 | Hard disk running state detection system |
CN105740116B (en) * | 2014-12-12 | 2018-09-18 | 环旭电子股份有限公司 | The detection method of hard disk backboard and its serial universal input output signal |
CN105740116A (en) * | 2014-12-12 | 2016-07-06 | 环旭电子股份有限公司 | Hard disk backboard and detection method of serial general input/output signal of hard disk backboard |
CN106557267A (en) * | 2015-09-29 | 2017-04-05 | 鸿富锦精密工业(深圳)有限公司 | Hard disk operational environment changes system and amending method |
CN106681880A (en) * | 2015-11-06 | 2017-05-17 | 湖南百里目科技有限责任公司 | Server storage hard disk positioning method |
CN105529045A (en) * | 2015-12-02 | 2016-04-27 | 英业达科技有限公司 | Lamp signal control system for nonvolatile memory solid state disk |
CN106095633A (en) * | 2016-06-23 | 2016-11-09 | 浪潮电子信息产业股份有限公司 | Method for detecting disk disorder or disk dropping in stability test of whole cabinet |
TWI582587B (en) * | 2016-06-24 | 2017-05-11 | 神雲科技股份有限公司 | HDD Interface Device |
CN107643971A (en) * | 2016-07-20 | 2018-01-30 | 环旭电子股份有限公司 | Computer system, memory element cresset controller and its host-host protocol determination methods |
CN107765993B (en) * | 2016-08-23 | 2020-12-08 | 佛山市顺德区顺达电脑厂有限公司 | Hard disk interface device |
CN107765993A (en) * | 2016-08-23 | 2018-03-06 | 佛山市顺德区顺达电脑厂有限公司 | Hard disk interface device |
CN106776196A (en) * | 2017-02-27 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of server hard disc method for monitoring state and system |
CN107102933A (en) * | 2017-05-27 | 2017-08-29 | 郑州云海信息技术有限公司 | A kind of Active lamps of hard disk determine frequency flashing control system and control method |
CN107357744A (en) * | 2017-07-26 | 2017-11-17 | 郑州云海信息技术有限公司 | It is a kind of to support HDD and the M.2 method and structure of storage medium self-identifying |
CN107544883B (en) * | 2017-08-24 | 2021-12-07 | 新华三信息技术有限公司 | Diagnostic device, system and method of server |
CN107544883A (en) * | 2017-08-24 | 2018-01-05 | 紫光华山信息技术有限公司 | The diagnostic device of server, system and method |
CN109147861A (en) * | 2018-08-13 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of hard disk is in level detecting apparatus and method |
CN109147861B (en) * | 2018-08-13 | 2021-06-11 | 郑州云海信息技术有限公司 | Hard disk in-place detection device and method |
CN110895502B (en) * | 2018-12-24 | 2024-02-20 | 深圳市亿万克数据设备科技有限公司 | Control method and device for hard disk state indicating device, electronic equipment and storage medium |
CN110895502A (en) * | 2018-12-24 | 2020-03-20 | 研祥智能科技股份有限公司 | Hard disk state indicating device control method and device, electronic equipment and storage medium |
CN110941580B (en) * | 2019-10-31 | 2021-07-27 | 苏州浪潮智能科技有限公司 | Method for reading information and serial small computer system interface SAS expander |
CN110941580A (en) * | 2019-10-31 | 2020-03-31 | 苏州浪潮智能科技有限公司 | Method for reading information and serial small computer system interface SAS expander |
CN111124785A (en) * | 2019-12-22 | 2020-05-08 | 广东浪潮大数据研究有限公司 | Hard disk fault checking method, device, equipment and storage medium |
CN111124785B (en) * | 2019-12-22 | 2024-02-09 | 广东浪潮大数据研究有限公司 | Method, device, equipment and storage medium for hard disk fault detection |
CN111048138A (en) * | 2019-12-22 | 2020-04-21 | 北京浪潮数据技术有限公司 | Hard disk fault detection method and related device |
CN111459403A (en) * | 2020-02-29 | 2020-07-28 | 新华三技术有限公司成都分公司 | Storage hardware management method and device |
CN111459403B (en) * | 2020-02-29 | 2023-03-28 | 新华三技术有限公司成都分公司 | Storage hardware management method and device |
CN117009162A (en) * | 2023-10-07 | 2023-11-07 | 天津国芯科技有限公司 | Method for identifying hard disk by using triple-mode RAID card chip |
CN117009162B (en) * | 2023-10-07 | 2023-12-15 | 天津国芯科技有限公司 | Method for identifying hard disk by using triple-mode RAID card chip |
Also Published As
Publication number | Publication date |
---|---|
CN101359309B (en) | 2012-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101359309B (en) | Status indication apparatus for hard disc of serial connection small computer system interface and method | |
US10896113B2 (en) | Method for implementing backplane lighting for multiple NVMe hard disks | |
JP4886601B2 (en) | Apparatus and method for operating USB interface equipment | |
CN211427190U (en) | Server circuit and mainboard based on Feiteng treater 2000+ | |
US7908407B1 (en) | Method, computer-readable storage media, and integrated circuit for providing enclosure management services utilizing multiple interfaces and protocols | |
CN103793307A (en) | Electronic device, management method thereof and cabinet servo system | |
CN108170620A (en) | A kind of server hard disk extension system and method, hard disk signal enhancing method | |
CN110175146B (en) | Hard disk information acquisition method and device for acquiring hard disk information | |
US10664339B2 (en) | Information processing apparatus, information processing system, and information processing apparatus control method | |
CN103761202B (en) | A kind of data storage node hard disk position identification method and system | |
US20090113454A1 (en) | System and method of testing bridge sas channels | |
WO2024131133A1 (en) | Data processing method and apparatus for electronic device, and electronic device and storage medium | |
CN106815088A (en) | server and its debugging method | |
CN212541318U (en) | Board card function test system | |
CN112579366B (en) | Hard disk in-place detection system | |
US11882038B2 (en) | Transaction analyzer for communication bus traffic | |
CN107704417A (en) | The method and its communication system to be communicated with equipment under test | |
CN102331912B (en) | Method and equipment used to connect multiple hard disks onto host | |
CN112596983A (en) | Monitoring method for connector in server | |
CN101436166A (en) | Data transmission apparatus and control method thereof | |
CN110928814A (en) | Method and device for detecting transmission abnormality of serial hard disk and electronic equipment | |
KR101265233B1 (en) | Production and testing the initial storage host bus adapter | |
CN216014148U (en) | Server and server backboard | |
CN210181587U (en) | Data storage unit detection device | |
CN211857462U (en) | Test connecting plate and test system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120307 Termination date: 20170803 |