CN109933499A - A kind of control method and relevant apparatus for reading and writing indicator light - Google Patents

A kind of control method and relevant apparatus for reading and writing indicator light Download PDF

Info

Publication number
CN109933499A
CN109933499A CN201910221772.0A CN201910221772A CN109933499A CN 109933499 A CN109933499 A CN 109933499A CN 201910221772 A CN201910221772 A CN 201910221772A CN 109933499 A CN109933499 A CN 109933499A
Authority
CN
China
Prior art keywords
period
read
signal
write
hop period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910221772.0A
Other languages
Chinese (zh)
Inventor
程万前
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Power Commercial Systems Co Ltd filed Critical Inspur Power Commercial Systems Co Ltd
Priority to CN201910221772.0A priority Critical patent/CN109933499A/en
Publication of CN109933499A publication Critical patent/CN109933499A/en
Pending legal-status Critical Current

Links

Landscapes

  • Optical Recording Or Reproduction (AREA)

Abstract

This application discloses a kind of control methods for reading and writing indicator light, comprising: when reading and writing indication signal generation level jump, exports square-wave signal to read-write indicator light according to predeterminated frequency;The signal intensity period is determined according to the hop period of the level jump;When the duration of any one level jump is greater than the signal intensity period, permanent level signal is exported to the read-write indicator light.By shortening the judgement waiting time to original signal, extra flashing is reduced, the instruction information for avoiding transmitting from making mistake.Disclosed herein as well is a kind of control device for reading and writing indicator light, instruction lamp controller and computer readable storage mediums, have the above beneficial effect.

Description

A kind of control method and relevant apparatus for reading and writing indicator light
Technical field
This application involves field of computer technology, in particular to a kind of control method for reading and writing indicator light, refers to control device Show lamp controller and computer readable storage medium.
Background technique
With the continuous development of server technology, the functional form of server becomes more to enrich.But no matter take at present How business device changes, and requires to be equipped with multiple hard disks progress data storages in server.Also, it is every during routine use A hard disk is equipped with corresponding indicator light, is used to indicate current hard disk operational state.In general, the indicator light of hard disk mainly wraps Error indication lamp is included, indicator light is chosen and enlivens indicator light, is mainly used for indicating the read-write state of hard disk wherein enlivening indicator light: It is always on instruction present hard discs and is in state in place, is i.e. hard disk is correctly inserted into, and flashing instruction present hard discs are in read-write operation state.
But multiple hard disks used in the server are when being different hard disks, since the hard disk of different manufacturers different model is defeated Read-write indication signal out display mode and flicker frequency difference it is larger, from hard disk export read-write indication signal frequency without Method change, the indicator light flicker frequency that will lead to different hard disks is different, causes indicating mode indefinite, be easy to operator with To perplex.
In the prior art, in order to improve problem above, using CPLD (Complex Programmable Logic Device Complex Programmable Logic Devices) the read-write indication signal of hard disk output is handled.Exist when CPLD determines hard disk Position and when read-write indication signal is square wave, the square wave that CPLD exports fixed frequency drives indicator light, and control instructions lamp flashed. When CPLD determines that hard disk is in place and read-write indication signal is there is no changing, it is believed that hard disk is not written and read at present, Control instructions lamp is always on.In general, judging that read-write needs from square-wave variations to constant level in the prior art To a period of time.But it in order to be suitable for the disk read-write indication signal of different frequency flashing, should usually set " a period of time " It is set to longer time, such as 1 second.It will lead to for all hard disks, after the completion of read-write, even if the read-write of hard disk indicates letter Number revert to constant level, the indicator light of CPLD connection also can more flashing a period of times, be easy to cause the misunderstanding of technical staff.
Therefore, how faster to determine that reading and writing indication signal reverts to constant level, be those skilled in the art's concern Important Problems.
Summary of the invention
The purpose of the application be to provide it is a kind of read and write the control method of indicator light, control device, instruction lamp controller and Computer readable storage medium reduces extra flashing, transmitting is avoided to malfunction by shortening the judgement waiting time to original signal Instruction information accidentally.
In order to solve the above technical problems, the application provides a kind of control method for reading and writing indicator light, comprising:
When reading and writing indication signal generation level jump, square-wave signal is exported to read-write indicator light according to predeterminated frequency;
The signal intensity period is determined according to the hop period of the level jump;
It is defeated to the read-write indicator light when the duration of any one level jump is greater than the signal intensity period Permanent level signal out.
Optionally, the signal intensity period is determined according to the hop period of the level jump, comprising:
Obtain the hop period of the read-write indication signal;
Judge whether the hop period is less than or equal to threshold value;
If so, the hop period is added with redundancy duration, the signal intensity period is obtained.
Optionally, the hop period of the read-write indication signal is obtained, comprising:
When level jump occurs for the read-write indication signal, the duration of the level jump is recorded, is held described Continue duration as the hop period.
Optionally, the hop period of the read-write indication signal is obtained, comprising:
When level jump occurs for the read-write indication signal, start timing;
When again level jump occurs for the read-write indication signal, terminates the timing, obtain clocking value;
Using the clocking value as the hop period.
Optionally, the signal intensity period is determined according to the hop period of the level jump, comprising:
Obtain the hard disk information that the read-write indication signal corresponds to hard disk;
The hop period of the read-write indication signal is found according to the hard disk information;
The hop period is added with redundancy duration, obtains the signal intensity period.
Optionally, the signal intensity period is determined according to the hop period of the level jump, comprising:
The hop period is determined according to indication signal historical data;
The hop period is added with redundancy duration, obtains the signal intensity period.
The application also provides a kind of control device for reading and writing indicator light, comprising:
Square-wave signal output module, for when reading and writing indication signal level jump occurring, according to predeterminated frequency to read-write Indicator light exports square-wave signal;
The signal intensity period obtains module, for determining the signal intensity period according to the hop period of the level jump;
Permanent level signal output module is greater than the signal intensity week for the duration when any one level jump When the phase, permanent level signal is exported to the read-write indicator light.
Optionally, the signal intensity period obtains module, comprising:
Hop period acquiring unit, for obtaining the hop period of the read-write indication signal;
Hop period judging unit, for judging whether the hop period is less than or equal to threshold value;
Redundancy duration adding unit is used for when the hop period is less than or equal to the threshold value, by the hop period It is added with redundancy duration, obtains the signal intensity period.
The application also provides a kind of instruction lamp controller, comprising:
Memory, for storing computer program;
Processor, the step of control method as described above is realized when for executing the computer program.
The application also provides a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium The step of machine program, the computer program realizes control method as described above when being executed by processor.
The control method of a kind of read-write indicator light provided herein, comprising: jumped when level occurs for read-write indication signal When change, square-wave signal is exported to read-write indicator light according to predeterminated frequency;Signal is determined according to the hop period of the level jump Period of change;When the duration of any one level jump is greater than the signal intensity period, to the read-write indicator light Export permanent level signal.
As it can be seen that the waiting time is determined according to the hop period of the level jump when read-write indication signal jumps, It is exactly to determine the signal intensity period.When read and write indication signal variation faster when, can using the shorter signal intensity period into Row judgement, when read and write indication signal variation it is longer when, can be judged using the longer signal intensity period.Pass through shortening The waiting time for becoming constant level again from flashing reduces extra indicator light flashing, the instruction information for avoiding transmitting from making mistake, drop Low a possibility that misreading.
The application also provides control device, instruction lamp controller and the computer-readable storage medium of a kind of read-write indicator light Matter has the above beneficial effect, and therefore not to repeat here.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart for the control method for reading and writing indicator light provided by the embodiment of the present application;
Fig. 2 is a kind of flow chart of signal intensity period method of determination in control method provided by the embodiment of the present application;
Fig. 3 is the process of another signal intensity period method of determination in control method provided by the embodiment of the present application Figure;
Fig. 4 is also a kind of process of signal intensity period method of determination in control method provided by the embodiment of the present application Figure;
Fig. 5 is a kind of structural schematic diagram for the control device for reading and writing indicator light provided by the embodiment of the present application.
Specific embodiment
The core of the application be to provide it is a kind of read and write the control method of indicator light, control device, instruction lamp controller and Computer readable storage medium reduces extra flashing, transmitting is avoided to malfunction by shortening the judgement waiting time to original signal Instruction information accidentally.
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.
In the prior art, in order to improve problem above, the read-write indication signal that hard disk exports is handled using CPLD. When CPLD determines hard disk in place and read-write indication signal is square wave, the square wave that CPLD exports fixed frequency drives indicator light, Control instructions lamp is flashed.When CPLD determines that hard disk is in place and read-write indication signal is there is no changing, it is believed that hard at present Disk is not written and read, and control instructions lamp is always on.In general, judging read-write from square wave change in the prior art Change to constant level needs and waits for a period of time.But in order to be suitable for the disk read-write indication signal of different frequency flashing, lead to Longer time, such as 1 second should be often set as " a period of time ".It will lead to for all hard disks, after the completion of read-write, i.e., The read-write indication signal of hard disk is set to revert to constant level, the indicator light of CPLD connection can also flash a period of time more, be easy to make At the misunderstanding of technical staff.
Therefore, the application provide it is a kind of read and write indicator light control method, by when read and write indication signal jump when, The waiting time is determined according to the hop period of the level jump, that is, determines the signal intensity period, when read-write indication signal becomes Change faster when, can be judged using the shorter signal intensity period, when read and write indication signal variation it is longer when, can be with Judged using the longer signal intensity period, shortens the waiting time for becoming constant level again from flashing, avoid and pass out A possibility that instruction information of mistake, reduction is misread.
Referring to FIG. 1, Fig. 1 is a kind of flow chart for the control method for reading and writing indicator light provided by the embodiment of the present application.
In the present embodiment, this method may include:
S101 believes according to predeterminated frequency to read-write indicator light output square wave when reading and writing indication signal generation level jump Number;
This step is intended to export square-wave signal when read-write indication signal jumps.When read-write indication signal is jumped When change, mean that hard disk enters read-write state at this time, answers control instructions lamp to be flashed at this time, to show that hard disk enters read-write State.
And in the prior art, the flicker cycle that indication signal is read and write between different hard disks is not identical.In order to unified different The instruction difference of hard disk, reduces the possibility being misunderstood, in this step when read-write jumps, i.e., defeated according to predeterminated frequency Square-wave signal out.Wherein, predeterminated frequency is preset unified frequency.As it can be seen that no matter reading and writing what indication signal jumped Gap between hop period is how many, can export identical square-wave signal by this step, unify instruction standard, subtracted A possibility that being misunderstood is lacked.
Wherein, level jump refers to that level signal becomes low level from high level, or becomes high level from low level.It can See, as long as changing by the level for reading and writing indication signal in this step the present embodiment, corresponding side is exported to indicator light Wave signal, to show in time, hard disk is in read-write state at this time.
S102 determines the signal intensity period according to the hop period of level jump;
On the basis of S101, this step is intended to determine the signal intensity period according to the hop period jumped.Due to The flicker cycle of the read-write indication signal of different hard disks is not identical, it is therefore desirable to determine carry out state according to different flicker cycles Convert waiting time, that is, signal intensity period.
In the present embodiment, high level is mainly kept by judgement read-write indication signal or keeps low level duration, if Greater than preset duration, so that it is determined that whether hard disk has exited read-write state.
Wherein, hop period refers to that read-write indication signal is separated by the duration of level jump twice.When this level twice Jump is when being separated by flash signal twice in read-write indication signal, and hop period is to read and write the flicker cycle of indication signal Half.It is also possible to there is level jump twice, it is respectively occurring at the ending of signal flashing, a signal flashing is opened Begin, hop period is the interval of signal flashing twice at this time.
It, can be with it is envisioned that if the hop period got in this step has inaccuracy Hop period is judged, to filter out suitable hop period, and then is determined more accurately further according to the hop period The signal intensity period.
S103, when the duration of any one level jump is greater than the signal intensity period, to read-write indicator light output Permanent level signal.
On the basis of S102, this step is intended to be greater than signal intensity when the duration for any one level jump occur When the period, permanent level signal is exported to indicator light, i.e., the flashing state of indicator light is reverted into normal condition.
As it can be seen that the signal intensity period in the present embodiment is changed according to the hop period of read-write indication signal.Also It is when hop period is elongated, the signal intensity period is elongated accordingly.When hop period shortens, the signal intensity period is corresponding It shortens.It reduces from flashing state and restores the time to be waited to normal condition, the flashing for avoiding indicator light excessive causes display not Accurate situation.
And the prior art be judged using preset fixed duration, that is, no matter the display cycle of the indication signal What is, is all made of fixed duration and is judged.Also, the prior art, generally will fixed duration in order to adapt to the different periods What is be arranged is longer, for example, 1 second or 2 seconds.Therefore, when read-write indication signal has reverted to permanent level signal, the prior art In indicator light can also more flashing a period of times, it is 2 seconds a length of when fixed for example, will be flashed 1 second when a length of 1 second when fixed more When, it will flash 2 seconds more.But the working condition of hard disk changes at any time, in the time of extra flashing, hard disk has can Other processing can be had been carried out, or restart to be written and read processing, indicator light continues to flash.For operator For member's observation, indicator light does not change at this time, that is, misses the state displaying of permanent level.
To sum up, the present embodiment is determining etc. according to the hop period of the level jump when read-write indication signal jumps To the time, that is, determine the signal intensity period.When read and write indication signal variation faster when, can be become using shorter signal Changing the period is judged, when read and write indication signal variation it is longer when, can be judged using the longer signal intensity period. The waiting time for becoming constant level again from flashing by shortening, the instruction information that transmitting makes mistake is avoided, reduction is misread A possibility that.
Below by way of three embodiments, to how determining that the signal intensity period is illustrated.
A kind of embodiment:
Referring to FIG. 2, Fig. 2 is a kind of signal intensity period method of determination in control method provided by the embodiment of the present application Flow chart.
S201 obtains the hop period of read-write indication signal;
S202, judges whether hop period is less than or equal to threshold value;If so, executing S203;If it is not, then executing S204;
Hop period is added with redundancy duration, obtains the signal intensity period by S203;
S204, using preset duration as the signal intensity period.
As it can be seen that being the hop period for getting read-write first in the present embodiment, whether the hop period is then judged Effectively, avoid getting the hop period of mistake.Finally, hop period is added with redundancy duration, increase certain error amount, Situations such as preventing erroneous judgement.
It is envisioned that the redundancy duration is less than hop period, and redundancy duration is kept to will not influence normal letter Signal lamp flashing.For example, redundancy duration can be 0.5S at this time when the hop period got is 0.25S.
Optionally, the S201 of the present embodiment may include:
When reading and writing indication signal generation level jump, the duration of recording level jump, using duration as jump Variable period.
As it can be seen that this optinal plan provides a kind of mode for obtaining hop period, when mainly being continued by recording it It is long, and using duration as hop period.
Optionally, the S201 of the present embodiment also may include:
When reading and writing indication signal generation level jump, start timing;
When again level jump occurs for read-write indication signal, terminates timing, obtain clocking value;
Using clocking value as hop period.
As it can be seen that this optinal plan provides another mode for obtaining hop period, mainly by way of timing Obtain hop period.
The present embodiment gets hop period by the way of directly judging read-write indication signal, improves jump week The accuracy rate that phase obtains, and acquisition speed is timely.When read-write indication signal jumps, so that it may get jump week Phase, and the corresponding signal intensity period is calculated, it is directly used in and reduction, which is prolonged, to be judged to the level jump of read-write indication signal Late, judging efficiency is improved.
For being controlled using CPLD indicator light, the overall plan of the present embodiment is illustrated.
The present embodiment drives indicator light using CPLD.The read-write indication signal of hard disk is connect to CPLD, and by CPLD Output read-write indication signal is for directly driving indicator light after reason.The signal in place of hard disk is sent to CPLD simultaneously, and CPLD may be used also To be attached by I2C (Inter-Integrated Circuit) bus and external controller.
CPLD, which is exported, reads and writes indication signal from switch extraction to the output of indicator light, and the signal source of switch has two It is a, one be square-wave generator 1/2/3 signal, square-wave generator 1/2/3 generate frequency be 0.5Hz, the side of 1Hz, 2Hz respectively Wave.When switch is switched to this all the way, square-wave signal meeting control instructions lamp is flashed according to specific frequency;Another two are in place On signal, when switch switches to this all the way, if hard disk in place if lamp it is bright, if hard disk indicator light not in place extinguishes.
In addition, switch needs a control signal, it is that output square-wave signal or hard disk are in place for controlling switch Signal.The control signal is obtained from timer 1.In output read-write indication signal default connection to hard disk signal in place.From hard The input read-write indication signal that disk attracts is connected to timer 1, and timer 1 constantly carries out timing, when instruction letter is read and write in input When number level jump occurs, timer 1 resets clocking value, and switch is switched to square-wave signal, allows output read-write instruction letter It number is connected on square-wave signal;After timing is to the signal intensity period, switch is switched to hard disk signal in place, that is, permanent Level signal makes to read and write the state that indicator light holding is always on.Realize that output read-write refers to when input read-write indication signal is square wave Show that signal is the square-wave signal of specific frequency;When input read-write indication signal is constant level, output read-write indication signal It is constant level.
Wherein, the timing predetermined time of timer 1 can be calculated by timer 2, comparator, arithmetic unit, be set. Input read-write indication signal is connected to timer 2, and timer 2 carries out timing, when jumping input read-write indication signal, The clocking value between adjacent jump twice is just sent to comparator.Comparator compares this clocking value and threshold value, when It is not acted when greater than threshold value, when being less than threshold value, present timing value is issued into arithmetic unit.Arithmetic unit adds this clocking value After one redundancy duration, result is issued into the predetermined time current as timer 1 of timer 1.
In simple terms, timer 2, comparator, arithmetic unit function be to obtain the jump of current input read-write indication signal Period, and judge whether input signal is square wave using this period as benchmark.
As it can be seen that CPLD is according to the hop period of the level jump in the present embodiment when reading and writing indication signal and jumping It determines the waiting time, that is, determines the signal intensity period.When read and write indication signal variation faster when, can use shorter The signal intensity period judged, when read and write indication signal variation it is longer when, can using the longer signal intensity period into Row judgement.The waiting time for becoming constant level again from flashing by shortening avoids the instruction information that transmitting makes mistake, and reduces hair Raw a possibility that misreading.
Another embodiment:
Referring to FIG. 3, Fig. 3 is determination side of another signal intensity period in control method provided by the embodiment of the present application The flow chart of formula.
S301 obtains the hard disk information that read-write indication signal corresponds to hard disk;
S302 finds the hop period of read-write indication signal according to hard disk information;
Hop period is added with redundancy duration, obtains the signal intensity period by S303.
As it can be seen that in the present embodiment mainly by inquiry obtain corresponding hop period, then again by the hop period with Redundancy duration is added, and obtains the signal intensity period.It is available by way of inquiry to arrive accurate hop period, it improves to electricity The accuracy and precision of flat jump.Avoid the unstable situation for causing judgement inaccuracy of level jump.
Another embodiment:
Referring to FIG. 4, Fig. 4 is also a kind of signal intensity period determination side in control method provided by the embodiment of the present application The flow chart of formula.
S401 determines hop period according to indication signal historical data;
Hop period is added with redundancy duration, obtains the signal intensity period by S402.
As it can be seen that the present embodiment is mainly to pass through the historical data of inquiry record to determine hop period, and then when with redundancy Long be added obtains the signal intensity period.
Wherein, in such a way that historical data determines hop period, it can be and the historical data in preset range is calculated Average value, then using the average value as hop period.By carrying out that hop period is calculated to historical data, acquisition is improved The problems such as accuracy and precision of hop period, bring is judged by accident when avoiding read-write indication signal unstable.
Below to it is provided by the embodiments of the present application it is a kind of read and write indicator light control device be introduced, described below one Kind read-write indicator light control device with it is above-described it is a kind of read-write indicator light control method can correspond to each other reference.
Referring to FIG. 5, Fig. 5 is a kind of structural representation for the control device for reading and writing indicator light provided by the embodiment of the present application Figure.
In the present embodiment, which may include:
Square-wave signal output module 100, for when reading and writing indication signal level jump occurring, according to predeterminated frequency to reading Write indicator light output square-wave signal;
The signal intensity period obtains module 200, determines the signal intensity period for the hop period according to level jump;
Permanent level signal output module 300 is greater than signal intensity week for the duration when any one level jump When the phase, permanent level signal is exported to read-write indicator light.
Optionally, which obtains module 200, may include:
Hop period acquiring unit, for obtaining the hop period of read-write indication signal;
Hop period judging unit, for judging whether hop period is less than or equal to threshold value;
Redundancy duration adding unit is used for when hop period is less than or equal to threshold value, by appearance when hop period and redundancy Add, obtains the signal intensity period.
The embodiment of the present application also provides a kind of instruction lamp controller, comprising:
Memory, for storing computer program;
Processor, the step of control method as described above in Example is realized when for executing the computer program.
The embodiment of the present application also provides a kind of computer readable storage medium, stores on the computer readable storage medium There is computer program, the computer program realizes the step of control method as described above in Example when being executed by processor Suddenly.
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.
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, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond 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 ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to a kind of control method of read-write indicator light provided herein, control device, instruction lamp controller with And computer readable storage medium is described in detail.Used herein principle and embodiment party of the specific case to the application Formula is expounded, the description of the example is only used to help understand the method for the present application and its core ideas.It should refer to It out, for those skilled in the art, can also be to the application under the premise of not departing from the application principle Some improvement and modification can also be carried out, these improvement and modification are also fallen into the protection scope of the claim of this application.

Claims (10)

1. a kind of control method for reading and writing indicator light characterized by comprising
When reading and writing indication signal generation level jump, square-wave signal is exported to read-write indicator light according to predeterminated frequency;
The signal intensity period is determined according to the hop period of the level jump;
When the duration of any one level jump is greater than the signal intensity period, exported to the read-write indicator light permanent Level signal.
2. control method according to claim 1, which is characterized in that determined and believed according to the hop period of the level jump Number period of change, comprising:
Obtain the hop period of the read-write indication signal;
Judge whether the hop period is less than or equal to threshold value;
If so, the hop period is added with redundancy duration, the signal intensity period is obtained.
3. control method according to claim 2, which is characterized in that the hop period of the read-write indication signal is obtained, Include:
When level jump occurs for the read-write indication signal, the duration of the level jump is recorded, when by described continuing It is long to be used as the hop period.
4. control method according to claim 2, which is characterized in that the hop period of the read-write indication signal is obtained, Include:
When level jump occurs for the read-write indication signal, start timing;
When again level jump occurs for the read-write indication signal, terminates the timing, obtain clocking value;
Using the clocking value as the hop period.
5. control method according to claim 1, which is characterized in that determined and believed according to the hop period of the level jump Number period of change, comprising:
Obtain the hard disk information that the read-write indication signal corresponds to hard disk;
The hop period of the read-write indication signal is found according to the hard disk information;
The hop period is added with redundancy duration, obtains the signal intensity period.
6. control method according to claim 1, which is characterized in that determined and believed according to the hop period of the level jump Number period of change, comprising:
The hop period is determined according to indication signal historical data;
The hop period is added with redundancy duration, obtains the signal intensity period.
7. a kind of control device for reading and writing indicator light characterized by comprising
Square-wave signal output module, for being indicated to read-write according to predeterminated frequency when reading and writing indication signal generation level jump Lamp exports square-wave signal;
The signal intensity period obtains module, for determining the signal intensity period according to the hop period of the level jump;
Permanent level signal output module is greater than the signal intensity period for the duration when any one level jump When, permanent level signal is exported to the read-write indicator light.
8. control device according to claim 7, which is characterized in that the signal intensity period obtains module, comprising:
Hop period acquiring unit, for obtaining the hop period of the read-write indication signal;
Hop period judging unit, for judging whether the hop period is less than or equal to threshold value;
Redundancy duration adding unit, for when the hop period be less than or equal to the threshold value when, by the hop period with it is superfluous Remaining duration is added, and obtains the signal intensity period.
9. a kind of instruction lamp controller characterized by comprising
Memory, for storing computer program;
Processor realizes the step such as control method as claimed in any one of claims 1 to 6 when for executing the computer program Suddenly.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the step such as control method as claimed in any one of claims 1 to 6 when the computer program is executed by processor Suddenly.
CN201910221772.0A 2019-03-22 2019-03-22 A kind of control method and relevant apparatus for reading and writing indicator light Pending CN109933499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910221772.0A CN109933499A (en) 2019-03-22 2019-03-22 A kind of control method and relevant apparatus for reading and writing indicator light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910221772.0A CN109933499A (en) 2019-03-22 2019-03-22 A kind of control method and relevant apparatus for reading and writing indicator light

Publications (1)

Publication Number Publication Date
CN109933499A true CN109933499A (en) 2019-06-25

Family

ID=66988136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910221772.0A Pending CN109933499A (en) 2019-03-22 2019-03-22 A kind of control method and relevant apparatus for reading and writing indicator light

Country Status (1)

Country Link
CN (1) CN109933499A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486882A (en) * 2020-12-15 2021-03-12 安徽皖通邮电股份有限公司 Multiplexing device and multiplexing method for single-board signals on backboard
CN117555221A (en) * 2023-12-28 2024-02-13 江苏鱼跃医疗设备股份有限公司 Flow control method, equipment and medium based on variable period PID control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150146510A1 (en) * 2013-11-27 2015-05-28 Inventec (Pudong) Technology Corporation Server system and control method for read/write indicator light
CN105259977A (en) * 2015-09-24 2016-01-20 浪潮电子信息产业股份有限公司 Design method for active indicator lamp drive of hard disk backboard
CN107102933A (en) * 2017-05-27 2017-08-29 郑州云海信息技术有限公司 A kind of Active lamps of hard disk determine frequency flashing control system and control method
CN206849002U (en) * 2017-06-23 2018-01-05 郑州云海信息技术有限公司 A kind of hard disk based on programmable module is in place and Operations Control System

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150146510A1 (en) * 2013-11-27 2015-05-28 Inventec (Pudong) Technology Corporation Server system and control method for read/write indicator light
CN104679641A (en) * 2013-11-27 2015-06-03 英业达科技有限公司 Server system and control method of read-write indicator lamp thereof
CN105259977A (en) * 2015-09-24 2016-01-20 浪潮电子信息产业股份有限公司 Design method for active indicator lamp drive of hard disk backboard
CN107102933A (en) * 2017-05-27 2017-08-29 郑州云海信息技术有限公司 A kind of Active lamps of hard disk determine frequency flashing control system and control method
CN206849002U (en) * 2017-06-23 2018-01-05 郑州云海信息技术有限公司 A kind of hard disk based on programmable module is in place and Operations Control System

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486882A (en) * 2020-12-15 2021-03-12 安徽皖通邮电股份有限公司 Multiplexing device and multiplexing method for single-board signals on backboard
CN112486882B (en) * 2020-12-15 2023-05-26 安徽皖通邮电股份有限公司 Multiplexing method of multiplexing device for single board signals on backboard
CN117555221A (en) * 2023-12-28 2024-02-13 江苏鱼跃医疗设备股份有限公司 Flow control method, equipment and medium based on variable period PID control
CN117555221B (en) * 2023-12-28 2024-07-09 江苏鱼跃医疗设备股份有限公司 Flow control method, equipment and medium based on variable period PID control

Similar Documents

Publication Publication Date Title
JP3368475B2 (en) Information processing apparatus, power saving control method and recording medium storing power saving control program
CN109933499A (en) A kind of control method and relevant apparatus for reading and writing indicator light
CN106776196A (en) A kind of server hard disc method for monitoring state and system
CN103218173B (en) Storage controlling method and device
CN103176748A (en) Environmental-based device operation
US7526682B1 (en) Effective diagnosis of software hangs
CN112256499A (en) Power failure monitoring method and device, electronic equipment and computer readable storage medium
US20110239054A1 (en) Information processing apparatus and sign of failure determination method
CN110618892B (en) Bug positioning method and device of solid state disk, electronic equipment and medium
CN104731301A (en) Mobile terminal, power-saving operation method of mobile terminal, power-saving operation system of mobile terminal
JP2012123798A (en) Disk power management method, computer program, data storage device, and computer system
CN109524048A (en) A kind of the service life method for early warning and relevant apparatus of SSD disk
CN109240615A (en) Data reading method, device and equipment of solid state disk
CN102565461B (en) Real-time on-off times recording device for relay in matrix switch module and method for realizing on-off times recording by employing same
JP5217452B2 (en) Information processing apparatus and system, and storage area management method and program
CN102543215B (en) Nand FLASH intelligent detection method based on ARM controller
CN107229858B (en) PECI bus master-slave machine verification system and method supporting crc8 verification
CN103294606A (en) Methods and devices for allocating memories and detecting overflow thereof
CN103777893A (en) Hard disk control method and device
JP2010157266A (en) Information processing apparatus, failure sign determination method, and program
JP2013206421A (en) Drive recorder
JP5703968B2 (en) Program development support apparatus and program thereof
CN109298988A (en) A kind of acquisition methods and relevant apparatus of cluster instance state
CN220154907U (en) Storage device
US20140089610A1 (en) Dynamically Improving Performance of a Host Memory Controller and a Memory Device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190625