CN110399276A - A kind of control method and relevant apparatus of hard disk indication lamp - Google Patents
A kind of control method and relevant apparatus of hard disk indication lamp Download PDFInfo
- Publication number
- CN110399276A CN110399276A CN201910656820.9A CN201910656820A CN110399276A CN 110399276 A CN110399276 A CN 110399276A CN 201910656820 A CN201910656820 A CN 201910656820A CN 110399276 A CN110399276 A CN 110399276A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- status signal
- indicating circuit
- signal
- sas
- 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.)
- Withdrawn
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
- 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/328—Computer systems status display
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
This application discloses a kind of control methods of hard disk indication lamp, including reading the hard disk type of hard disk from SAS expander and receiving the status signal of the hard disk;Wherein, the status signal includes activity state signals, position signal and fault status signal;Alternatively the activity state signals of SAS hard disk or SATA hard disc are negated according to the hard disk type and export negated activity state signals to active state indicating circuit;By position signal output corresponding with fault status signal to position indicating circuit and malfunction indicating circuit.The control method can be realized the compatible SAS hard disk of a set of active state indicating circuit and STAR hard disk, save the cost save PCB arrangement space.Disclosed herein as well is a kind of control device of hard disk indication lamp, system and computer readable storage mediums, all have above-mentioned technical effect.
Description
Technical field
This application involves field of computer technology, in particular to a kind of control method of hard disk indication lamp;Further relate to one kind
Control device, system and the computer readable storage medium of hard disk indication lamp.
Background technique
Hard disk indication lamp is used to show the operating status of hard disk, provides convenience to obtain the operating status of hard disk in time.Mesh
Before, within the storage system, hard disk indication lamp includes position indicator, malfunction indicator light and active state indicator light.Its
In, the driving method of active state indicator light is that the disk read-write state output pin of hard disk directly exports the active state of hard disk
Signal is to active state indicating circuit.However, SAS hard disk and the STA hard disk communication protocol followed are different with signal definition,
SAS hard disk in idle state, disk read-write state output pin export low level, SATA hard disc in idle state,
Disk read-write state output pin exports high level, and then, a set of active state indicating circuit is only capable of correctly indicating one of
It is compatible with STA hard disk to cannot achieve SAS hard disk for the active state of hard disk.If being respectively referred to by two sets of active state indicating circuits
Show the active state of SAS hard disk Yu STA hard disk, then will increase the occupancy of cost and PCB space.
In view of this, how to provide a kind of control program of hard disk indication lamp, realize that a set of active state indicating circuit is simultaneous
Hold SAS hard disk and STA hard disk, reduce cost, saving PCB space has become those skilled in the art's technology urgently to be resolved and asks
Topic.
Summary of the invention
The purpose of the application is to provide a kind of control method of hard disk indication lamp, can be realized a set of active state instruction electricity
The compatible SAS hard disk in road and STAR hard disk, save the cost save PCB arrangement space;The another object of the application is to provide a kind of hard
Control device, system and the computer readable storage medium of disk indicator light, all have above-mentioned technical effect.
In order to solve the above technical problems, this application provides a kind of control methods of hard disk indication lamp, comprising:
The hard disk type of hard disk is read from SAS expander and receives the status signal of the hard disk;Wherein, the state letter
Number include activity state signals, position signal and fault status signal;
Alternatively the activity state signals of SAS hard disk or SATA hard disc are negated and will be taken according to the hard disk type
Activity state signals after anti-are exported to active state indicating circuit;
By position signal output corresponding with fault status signal to position indicating circuit and malfunction instruction electricity
Road.
Optionally, described alternatively to be believed the active state of SAS hard disk or SATA hard disc according to the hard disk type
It number negates and exports negated activity state signals to active state indicating circuit, comprising:
If the hard disk is SATA hard disc, the activity state signals of the SATA hard disc are exported to the activity
Condition indication circuit;
If the hard disk is SAS hard disk, the activity state signals of the SAS hard disk are negated and will be negated
Activity state signals are exported to the active state indicating circuit.
Optionally, described by position signal output corresponding with fault status signal to position indicating circuit and failure
Condition indication circuit, comprising:
The position signal is sent to corresponding I/O expander with the fault status signal, to pass through the I/O expansion
The parallel interface of device is by position signal output corresponding with the fault status signal to the position indicating circuit and institute
State malfunction indicating circuit.
It is optionally, described that the position signal is sent to corresponding I/O expander with the fault status signal, comprising:
The position signal and the fault status signal are exported to switch chip, to pass through the switch chip for institute
It states position signal and is sent to the corresponding I/O expander with the fault status signal.
In order to solve the above technical problems, present invention also provides a kind of control devices of hard disk indication lamp, comprising:
Read module, for reading the hard disk type of hard disk from SAS expander and receiving the status signal of the hard disk;Its
In, the status signal includes activity state signals, position signal and fault status signal;
First output module, for according to the hard disk type alternatively by the activity of SAS hard disk or SATA hard disc
Status signal negates and exports negated activity state signals to active state indicating circuit;
Second output module is used for position signal output corresponding with fault status signal to position indicating circuit
With malfunction indicating circuit.
Optionally, second output module is specifically used for for the position signal and the fault status signal being sent to
Corresponding I/O expander, with by the parallel interface of the I/O expander by the position signal and the fault status signal pair
The output answered is to the position indicating circuit and the malfunction indicating circuit.
In order to solve the above technical problems, present invention also provides a kind of control systems of hard disk indication lamp, comprising:
SAS expander, for obtaining the hard disk type of hard disk;
CPLD, for reading the hard disk type of hard disk from the SAS expander and receiving the status signal of the hard disk;Its
In, the status signal includes activity state signals, position signal and fault status signal;One is selected according to the hard disk type
The activity state signals of SAS hard disk or SATA hard disc are negated and export negated activity state signals to activity by ground
Condition indication circuit;Position signal output corresponding with fault status signal to position indicating circuit and malfunction is referred to
Show circuit.
Optionally, further includes:
I/O expander, for receiving the position signal and the fault status signal and passing through parallel interface for institute's rheme
Confidence number is corresponding with the fault status signal to be exported to position indicating circuit and malfunction indicating circuit.
Optionally, further includes:
Switch chip, for receive the position signal and the fault status signal and by the position signal with it is described
Fault status signal is exported to the corresponding I/O expander.
In order to solve the above technical problems, the computer can present invention also provides a kind of computer readable storage medium
It reads storage medium and is stored with computer program, the computer program is realized as described in any one of the above embodiments when being executed by processor
The step of control method of hard disk indication lamp.
The control method of hard disk indication lamp provided herein, the hard disk type including reading hard disk from SAS expander
And receive the status signal of the hard disk;Wherein, the status signal includes activity state signals, position signal and failure shape
State signal;Alternatively the activity state signals of SAS hard disk or SATA hard disc are negated and will be taken according to the hard disk type
Activity state signals after anti-are exported to active state indicating circuit;The position signal is corresponding with fault status signal defeated
Out to position indicating circuit and malfunction indicating circuit.
As it can be seen that the control method of hard disk indication lamp provided herein, CPLD is reading hard disk type and is receiving hard
On the basis of the activity state signals of disk, according to hard disk type alternatively by SAS hard disk or the activity state signals of SATA hard disc
It negates, thus, although the disk read-write state output pin of the SATA hard disc and SAS hard disk output under identical active state
Level is different, but by keeping the constant active state by another hard disk of activity state signals of one of hard disk to believe
It number negates, is exported under identical active state so as to reach to the moving type of the SATA hard disc of active state indicating circuit
State signal is consistent with the activity state signals of SAS hard disk, enable condition indication circuit accurately and effectively indicate SATA hard disc with
The active state of SAS hard disk realizes the purpose of a set of active state indicating circuit compatible SATA hard disc and SAS hard disk, without
Additional increase active state indicating circuit, so that effectively save cost, saves PCB arrangement space.
Control device, system and the computer readable storage medium of hard disk indication lamp provided herein, all have
Above-mentioned technical effect.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to institute in the prior art and embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of the control method of hard disk indication lamp provided by the embodiment of the present application;
Fig. 2 is the control schematic diagram of hard disk indication lamp in the prior art;
Fig. 3 is a kind of control schematic diagram of hard disk indication lamp provided by the embodiment of the present application;
Fig. 4 is a kind of schematic diagram of the control device of hard disk indication lamp provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide a kind of control method of hard disk indication lamp, can be realized a set of active state instruction electricity
The compatible SAS hard disk in road and STAR hard disk, save the cost save PCB arrangement space;Another core of the application is to provide a kind of hard
Control device, system and the computer readable storage medium of disk indicator light, all have above-mentioned technical effect.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 1, Fig. 1 is a kind of process signal of the control method of hard disk indication lamp provided by the embodiment of the present application
Figure;Refering to what is shown in Fig. 1, the control method includes:
S101: the hard disk type of hard disk is read from SAS expander and receives the status signal of hard disk;Wherein, status signal
Including activity state signals, position signal and fault status signal;
Specifically, SAS expander obtains the hard disk class of be inserted into hard disk by inband signaling after hard disk insertion hard disk socket
The position signal and fault status signal of type and hard disk.Further, CPLD (Complex Programmable Logic
Device, Complex Programmable Logic Devices) and being communicated with SAS expander from SAS expander read hard disk hard disk type,
Such as the hard disk type that hard disk is read from SAS expander can be communicated with SAS expander by IIC interface.And CPLD is received
SAS expander is via SGPIO (Serial General Purpose Input/Output, universal serial port input/output) interface
The position signal and fault status signal of the hard disk of transmission.In addition, CPLD passes through the moving type that SGPIO interface hard disk exports
State signal.
S102: alternatively the activity state signals of SAS hard disk or SATA hard disc are negated and will be negated according to hard disk type
Activity state signals afterwards are exported to active state indicating circuit;
Specifically, this step is intended to select one according to the hard disk type of hard disk on the basis of reading the hard disk type of hard disk
Ground negates the activity state signals of SAS hard disk or SATA hard disc, to ensure the active state phase in SAS hard disk and SATA hard disc
With in the case where, the SAS hard disk of output to active state indicating circuit is consistent with the activity state signals of SATA hard disc.It is so-called to select
One ground negates the status signal of SAS hard disk or SATA hard disc as by the work of one of SAS hard disk and SATA hard disc hard disk
Dynamic status signal negates, and keeps the activity state signals of another hard disk constant.For example, the active state of SAS hard disk is believed
It number negates and keeps the activity state signals of SATA hard disc constant.Wherein, hard disk type activity state signals negated, this Shen
It does not do unique restriction please, adaptable setting can be carried out according to the actual application.
In a kind of specific embodiment, it is above-mentioned according to hard disk type alternatively by SAS hard disk or the shape of SATA hard disc
State signal negates and exports negated status signal to active state indicating circuit, comprising: if hard disk is SATA hard disc,
The activity state signals of SATA hard disc are exported to active state indicating circuit;If hard disk is SAS hard disk, by SAS hard disk
Activity state signals negate and export negated activity state signals to active state indicating circuit.
Specifically, it is the hard disk type that activity state signals negate that SAS hard disk is specifically arranged in the present embodiment, thus, when
After CPLD receives the activity state signals of SAS hard disk output, the activity state signals that SAS hard disk exports are negated first, in turn
The activity state signals of negated SAS hard disk are exported to active state indicating circuit.When CPLD receives SATA hard disc output
Activity state signals after, directly by SATA hard disc export activity state signals export to active state indicating circuit.
By taking active state indicator light when the activity state signals of output to active state indicating circuit are high level is bright as an example,
Corresponding to the embodiment that above-mentioned activity state signals negate, when SAS hard disk is idle state, SAS hard disk exports low level, i.e.,
Activity state signals are low level, thus, after CPLD is negated by the low level for exporting this SAS hard disk, output high level is extremely
Corresponding active state indicating circuit, keeps active state indicator light bright, and instruction SAS hard disk is idle state;When SATA hard disc is
When idle state, SATA hard disc exports high level, at this point, the CPLD high level output that directly exports this SATA hard disc is to corresponding
Active state indicating circuit, keep active state indicator light bright, instruction SATA hard disc be idle state;It is hard in SAS to realize
In disk situation identical with the active state of SATA hard disc, active state indicator light can accurately and effectively indicate SAS hard disk with
The active state of SATA hard disc.
S103: position signal output corresponding with fault status signal to position indicating circuit and malfunction is indicated into electricity
Road.
Specifically, after CPLD receives SAS hard disk or the position signal and fault status signal of SATA hard disc, further by position
Confidence number output corresponding with fault status signal is to position indicating circuit and malfunction indicating circuit, to utilize position instruction
Lamp indicates the position of hard disk, using malfunction indicator lamp instruction hard disk whether failure, such as when fault status signal is high level
To indicate hard disk failure when keeping malfunction indicator lamp bright.
Wherein, it is the pin occupancy for reducing CPLD, saves CPLD resource, it is above-mentioned to incite somebody to action in a kind of specific embodiment
Position signal output corresponding with fault status signal to position indicating circuit and malfunction indicating circuit may include: by position
Confidence number is sent to corresponding I/O expander with fault status signal, with by the parallel interface of I/O expander by position signal with
Fault status signal is corresponding to be exported to position indicating circuit and malfunction indicating circuit.
Specifically, compared to the direct output position signal of CPLD and fault status signal to corresponding position indicating circuit with
The conventional solution of malfunction indicating circuit, the present embodiment use the indirect output position signal of CPLD and fault status signal
To the mode of corresponding position indicating circuit and malfunction indicating circuit.Specifically, CPLD can be by IIC interface by position
Signal and fault status signal are sent to I/O expander, and I/O expander further converts simultaneously line number for the serial data received
According to rear, by its parallel interface by position signal output corresponding with fault status signal to position indicating circuit and malfunction
Indicating circuit.
Wherein, the number of I/O expander and type the application are not specifically limited, can in conjunction with actual conditions into
The setting of row otherness.It for example, for the storage equipment of 25 disk positions, that is, include the storage equipment of 25 hard disks, I/O expander can be with
4 are set as, each I/O expander can be 16 I/O expanders.
Further, in a kind of specific embodiment, it is above-mentioned position signal is sent to fault status signal it is corresponding
I/O expander may include exporting position signal and fault status signal to switch chip, with by switch chip by position
Signal is sent to corresponding I/O expander with fault status signal.
Specifically, being occupied to be further reduced the pin of CPLD, in the present embodiment, it is provided between CPLD and I/O expander
Switch chip, CPLD can be connected with switch chip by IIC interface all the way.CPLD believes the position signal of hard disk and malfunction
It number is directly exported by this IIC interface to switch chip, switch chip is then further defeated with fault status signal by position signal
Out to corresponding I/O expander.
It include 25 hard disks to store equipment, I/O expander is 4, and each I/O expander is ginseng for 16 I/O expanders
Fig. 2 and Fig. 3 are examined, traditional technical solution, CPLD activation point indicating circuit and malfunction instruction electricity are used according to Fig. 2
Road needs to occupy 50 GPIO pins of CPLD, and as can be seen from FIG. 3, using technical solution provided herein, CPLD is driven
Dynamic position indicating circuit and malfunction indicating circuit only need to occupy 1 GPIO pin of CPLD, can save 49 GPIO pipes
Foot.
Wherein, the HDD_ERROR1 to HDD_ERROR25 in Fig. 2 and Fig. 3 indicates the fault status signal of 25 hard disks;
HDD_LOCATE1 to HDD_LOCATE25 indicates the position signal of 25 hard disks;HDD_ACTIVE1 to HDD_ in Fig. 2
ACTIVE25 indicates that 25 hard disks are exported to the activity state signals of active state indicating circuit, and HDD1_REYLED is extremely in Fig. 3
HDD25_REYLED indicates that 25 hard disks are exported to the activity state signals of CPLD, HDD_ACTIVE1 to HDD_ACTIVE25 table
Show that CPLD is exported to the activity state signals of 25 hard disks of active state indicating circuit.
In addition, the indicator light face of above-mentioned position indicating circuit, malfunction indicating circuit and active state indicating circuit
Color may respectively be red, blue and green.In addition, position indicating circuit, malfunction indicating circuit and active state instruction
Circuit is referring to the prior art, and this will not be repeated here by the application.
In conclusion the control method of hard disk indication lamp provided herein, CPLD is reading hard disk type and is connecing
On the basis of the activity state signals for receiving hard disk, according to hard disk type alternatively by SAS hard disk or the active state of SATA hard disc
Signal negates, thus, although SATA hard disc and the disk read-write state output pin of SAS hard disk are defeated under identical active state
Level out is different, but by keeping the constant moving type by another hard disk of activity state signals of one of hard disk
State signal negates, and is exported under identical active state so as to reach to the work of the SATA hard disc of active state indicating circuit
Dynamic status signal is consistent with the activity state signals of SAS hard disk, and condition indication circuit is enable accurately and effectively to indicate that SATA is hard
The active state of disk and SAS hard disk realizes the purpose of a set of active state indicating circuit compatible SATA hard disc and SAS hard disk, and
Without additional increase active state indicating circuit, so that effectively save cost, saves PCB arrangement space.
Present invention also provides a kind of control device of hard disk indication lamp, the control device described below can with it is above
The control method of description corresponds to each other reference.Referring to FIG. 4, Fig. 4 is a kind of hard disk indication lamp provided by the embodiment of the present application
Control device schematic diagram;Refering to what is shown in Fig. 4, the control device includes:
Read module 10, for reading the hard disk type of hard disk from SAS expander and receiving the status signal of hard disk;Its
In, status signal includes activity state signals, position signal and fault status signal;
First output module 20, for alternatively being believed the active state of SAS hard disk or SATA hard disc according to hard disk type
It number negates and exports negated activity state signals to active state indicating circuit;
Second output module 30, for by position signal output corresponding with fault status signal to position indicating circuit and
Malfunction indicating circuit.
On the basis of the above embodiments, optionally, if it is SATA hard disc that the first output module 20, which is specifically used for hard disk,
The activity state signals of SATA hard disc are exported to active state indicating circuit;If hard disk is SAS hard disk, by SAS hard disk
Activity state signals negate and export negated activity state signals to active state indicating circuit.
On the basis of the above embodiments, optionally, the second output module 30 is specifically used for position signal and failure shape
State signal is sent to corresponding I/O expander, with by the parallel interface of I/O expander by position signal and fault status signal pair
The output answered is to position indicating circuit and malfunction indicating circuit.
Present invention also provides a kind of control system of hard disk indication lamp, which includes:
SAS expander, for obtaining the hard disk type of hard disk;
CPLD, for reading the hard disk type of hard disk from SAS expander and receiving the status signal of hard disk;Wherein, state
Signal includes activity state signals, position signal and fault status signal;According to hard disk type alternatively by SAS hard disk or
The activity state signals of SATA hard disc negate and export negated activity state signals to active state indicating circuit;By position
Confidence number is corresponding with fault status signal to be exported to position indicating circuit and malfunction indicating circuit.
On the basis of the above embodiments, optionally, further includes:
I/O expander, for receiving position signal and fault status signal and passing through parallel interface for position signal and failure
Status signal is corresponding to be exported to position indicating circuit and malfunction indicating circuit.
On the basis of the above embodiments, optionally, further includes:
Switch chip, for receiving position signal and fault status signal and exporting position signal and fault status signal
To corresponding I/O expander.
The embodiment of the above method is please referred to for the introduction of control system provided herein, the application is not done herein
It repeats.
Present invention also provides a kind of computer readable storage medium, calculating is stored on the computer readable storage medium
Machine program, the computer program realize following step when being executed by processor:
The hard disk type of hard disk is read from SAS expander and receives the status signal of hard disk;Wherein, status signal includes living
Dynamic status signal, position signal and fault status signal;According to hard disk type alternatively by the work of SAS hard disk or SATA hard disc
Dynamic status signal negates and exports negated activity state signals to active state indicating circuit;By position signal and failure
Status signal is corresponding to be exported to position indicating circuit and malfunction indicating circuit.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the present invention, the present invention
This will not be repeated here.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, same and similar module may refer to each other between each embodiment.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, it can be realized with the combination of electronic hardware, computer equipment software or the two, it is hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It is not considered that exceeding scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Technical solution provided herein is described in detail above.Specific case used herein is to this Shen
Principle and embodiment please is expounded, the present processes that the above embodiments are only used to help understand and its
Core concept.It should be pointed out that for those skilled in the art, in the premise for not departing from the application principle
Under, can also to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection of the claim of this application
Range.
Claims (10)
1. a kind of control method of hard disk indication lamp characterized by comprising
The hard disk type of hard disk is read from SAS expander and receives the status signal of the hard disk;Wherein, the status signal packet
Include activity state signals, position signal and fault status signal;
After alternatively the activity state signals of SAS hard disk or SATA hard disc are negated and will be negated according to the hard disk type
Activity state signals export to active state indicating circuit;
By position signal output corresponding with fault status signal to position indicating circuit and malfunction indicating circuit.
2. control method according to claim 1, which is characterized in that it is described according to the hard disk type alternatively by SAS
Hard disk or the activity state signals of SATA hard disc, which negate and export negated activity state signals to active state, to be referred to
Show circuit, comprising:
If the hard disk is SATA hard disc, the activity state signals of the SATA hard disc are exported to the active state
Indicating circuit;
If the hard disk is SAS hard disk, the activity state signals of the SAS hard disk are negated and by negated activity
Status signal is exported to the active state indicating circuit.
3. control method according to claim 2, which is characterized in that described by the position signal and fault status signal
It is corresponding to export to position indicating circuit and malfunction indicating circuit, comprising:
The position signal is sent to corresponding I/O expander with the fault status signal, to pass through the I/O expander
Parallel interface by the position signal it is corresponding with the fault status signal output to the position indicating circuit and it is described therefore
Hinder condition indication circuit.
4. control method according to claim 3, which is characterized in that described by the position signal and the malfunction
Signal is sent to corresponding I/O expander, comprising:
The position signal and the fault status signal are exported to switch chip, with by the switch chip by institute's rheme
Confidence number is sent to the corresponding I/O expander with the fault status signal.
5. a kind of control device of hard disk indication lamp characterized by comprising
Read module, for reading the hard disk type of hard disk from SAS expander and receiving the status signal of the hard disk;Wherein,
The status signal includes activity state signals, position signal and fault status signal;
First output module, for according to the hard disk type alternatively by SAS hard disk or the active state of SATA hard disc
Signal negates and exports negated activity state signals to active state indicating circuit;
Second output module is used for position signal output corresponding with fault status signal to position indicating circuit and event
Hinder condition indication circuit.
6. control device according to claim 5, which is characterized in that second output module is specifically used for institute's rheme
Confidence number is sent to corresponding I/O expander with the fault status signal, with by the parallel interface of the I/O expander by institute
Position signal output corresponding with the fault status signal is stated to the position indicating circuit and malfunction instruction electricity
Road.
7. a kind of control system of hard disk indication lamp characterized by comprising
SAS expander, for obtaining the hard disk type of hard disk;
CPLD, for reading the hard disk type of hard disk from the SAS expander and receiving the status signal of the hard disk;Wherein,
The status signal includes activity state signals, position signal and fault status signal;Alternatively according to the hard disk type
The activity state signals of SAS hard disk or SATA hard disc are negated and export negated activity state signals to moving type
State indicating circuit;Position signal output corresponding with fault status signal to position indicating circuit and malfunction is indicated
Circuit.
8. control system according to claim 7, which is characterized in that further include:
I/O expander, for receiving the position signal with the fault status signal and being believed the position by parallel interface
Number corresponding with fault status signal output is to position indicating circuit and malfunction indicating circuit.
9. control system according to claim 8, which is characterized in that further include:
Switch chip, for receiving the position signal and the fault status signal and by the position signal and the failure
Status signal is exported to the corresponding I/O expander.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence realizes the control such as the described in any item hard disk indication lamps of Claims 1-4 when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910656820.9A CN110399276A (en) | 2019-07-19 | 2019-07-19 | A kind of control method and relevant apparatus of hard disk indication lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910656820.9A CN110399276A (en) | 2019-07-19 | 2019-07-19 | A kind of control method and relevant apparatus of hard disk indication lamp |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110399276A true CN110399276A (en) | 2019-11-01 |
Family
ID=68324805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910656820.9A Withdrawn CN110399276A (en) | 2019-07-19 | 2019-07-19 | A kind of control method and relevant apparatus of hard disk indication lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110399276A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111930576A (en) * | 2020-07-09 | 2020-11-13 | 苏州浪潮智能科技有限公司 | Hard disk state detection device and method |
CN112000602A (en) * | 2020-08-31 | 2020-11-27 | 北京计算机技术及应用研究所 | Method for expanding IO port of CPLD device |
CN113360351A (en) * | 2020-03-06 | 2021-09-07 | 烽火通信科技股份有限公司 | Hard disk indicator lamp control method and device |
CN114281654A (en) * | 2021-11-19 | 2022-04-05 | 苏州浪潮智能科技有限公司 | Hard disk replacement indicating device and method and server |
-
2019
- 2019-07-19 CN CN201910656820.9A patent/CN110399276A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113360351A (en) * | 2020-03-06 | 2021-09-07 | 烽火通信科技股份有限公司 | Hard disk indicator lamp control method and device |
CN111930576A (en) * | 2020-07-09 | 2020-11-13 | 苏州浪潮智能科技有限公司 | Hard disk state detection device and method |
CN112000602A (en) * | 2020-08-31 | 2020-11-27 | 北京计算机技术及应用研究所 | Method for expanding IO port of CPLD device |
CN114281654A (en) * | 2021-11-19 | 2022-04-05 | 苏州浪潮智能科技有限公司 | Hard disk replacement indicating device and method and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110399276A (en) | A kind of control method and relevant apparatus of hard disk indication lamp | |
US7093033B2 (en) | Integrated circuit capable of communicating using different communication protocols | |
CN106776196A (en) | A kind of server hard disc method for monitoring state and system | |
CN107832199A (en) | Hard disk monitoring system based on CPLD | |
US20150067226A1 (en) | Backplane controller to arbitrate multiplexing of communication | |
CN104239187A (en) | Hard disk state indicating device | |
CN110502462B (en) | OCP adapter card and server | |
CN107844165A (en) | Hard disk hot-plug realization device | |
CN112799985B (en) | USB interface control method, USB control circuit and intelligent networking equipment mainboard | |
CN108563549A (en) | A kind of interface hard disk state instruction control system and method based on CPLD-FPGA | |
JP2014137614A (en) | Information processing apparatus, device apparatus, and program | |
CN108170620A (en) | A kind of server hard disk extension system and method, hard disk signal enhancing method | |
CN104794043A (en) | Control method for achieving light-up indication of server hard disk state | |
US20220283978A1 (en) | Data transmission system, data transmission apparatus and data transmission method thereof | |
CN111198831A (en) | NVME hard disk management system and method based on uninstalling card | |
CN113671360B (en) | I2C interface device testing method and device and I2C interface device | |
WO2024108938A1 (en) | Hard drive control apparatus and method, device, nonvolatile readable storage medium, and server | |
CN112417802A (en) | Method, system, equipment and storage medium for simulating storage chip | |
CN108509154B (en) | Method and device for dynamically recombining raid according to bad block distribution | |
CN106960689A (en) | Control the method and system of warning light | |
CN212541318U (en) | Board card function test system | |
CN116662042A (en) | Memory device, working method thereof, computer readable storage medium and equipment | |
CN109994147B (en) | Testing device and method for solid state disk | |
CN209486662U (en) | Hard disk indication lamp driving circuit and hard disk device | |
CN102508738A (en) | Backup method of service information of multi-core processor, inner core and backup inner core |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20191101 |
|
WW01 | Invention patent application withdrawn after publication |