CN113866665B - Automatic testing device and method for LED lamps in storage equipment - Google Patents

Automatic testing device and method for LED lamps in storage equipment Download PDF

Info

Publication number
CN113866665B
CN113866665B CN202111003105.9A CN202111003105A CN113866665B CN 113866665 B CN113866665 B CN 113866665B CN 202111003105 A CN202111003105 A CN 202111003105A CN 113866665 B CN113866665 B CN 113866665B
Authority
CN
China
Prior art keywords
led lamp
wavelength
storage device
current
control module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111003105.9A
Other languages
Chinese (zh)
Other versions
CN113866665A (en
Inventor
吴燕宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111003105.9A priority Critical patent/CN113866665B/en
Publication of CN113866665A publication Critical patent/CN113866665A/en
Application granted granted Critical
Publication of CN113866665B publication Critical patent/CN113866665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/44Testing lamps
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/50Circuit arrangements for operating light-emitting diodes [LED] responsive to malfunctions or undesirable behaviour of LEDs; responsive to LED life; Protective circuits

Abstract

The invention provides an automatic testing device for LED lamps in storage equipment, which comprises the storage equipment, a wavelength detection module and a control module, wherein the control module controls the on or off of a plurality of LED lamps in the storage equipment, judges whether the currently tested LED lamps in the storage equipment meet preset requirements according to wavelength information sent by the wavelength detection module, and tests the currently tested LED lamps; an OSES system in the storage device receives the instruction of the control module, and lights or extinguishes the corresponding LED lamp according to the instruction sent by the control module; the invention further provides an automatic test method for the LED lamps in the storage device, and the lighting test efficiency of an OSES system in the storage device is effectively improved.

Description

Automatic testing device and method for LED lamps in storage equipment
Technical Field
The invention relates to the field of LED lamp testing, in particular to an automatic testing device and method for an LED lamp in storage equipment.
Background
With the continuous development of technology in the IT field, the stability requirements of traditional informatization services and increasingly powerful cloud computing services on storage chassis management modules are higher and higher. Remote management of storage devices relies on the stored OSES (Organic SCSI enclosure service, SCSI enclosure service, where SCSI is Small Computer System Interface, small computer system interface) system. The OSES system is used as a special server processor for monitoring the computer, the temperature, humidity, power supply voltage, fan rotation speed and the like in the computer are measured through the sensor, when the temperature, humidity, power supply voltage or fan rotation speed in the computer exceeds a preset threshold value, the OSES system records the abnormal state of the computer in a mode of recording a system event log, and a computer administrator can learn the state of the computer according to the system event log, so that the computer with faults is repaired. When a computer fails or a certain device is found in a machine room, in order to facilitate a laboratory manager to quickly find the device position in time, relevant indicator lamps, such as a fault lamp and a positioning lamp, need to be arranged for marking. In order to ensure that an OSES system can normally illuminate a fault or pilot lamp, it is necessary to test the lighting function of the OSES system after the OSES system is designed.
At present, aiming at the OSES point fault lamp function, after related faults are manually triggered on the site of equipment, whether related LED lamps are lighted or not is observed; the positioning lamp is operated by command to perform lighting operation, and then the state of the LED is observed on site.
Aiming at the method for testing the lighting of an OSES system in the prior art, as whether the lamp is lighted or not can only be observed and confirmed on site, the fault lamp and the positioning lamp on common equipment can relate to a chassis, a controller, a power supply, a large-scale built-in battery, a management board and other components, and a great deal of time is consumed for observation and test in a laboratory; laboratory environments, particularly environments for testing large-scale communication equipment, are generally quite noisy, and can cause certain damage to the body of a tester, and the longer the waiting time of such environments, the larger the damage; and moreover, a tester is required to always operate and observe, and a great deal of manpower is consumed.
Disclosure of Invention
In order to solve the problems in the prior art, the invention innovatively provides an automatic testing device and method for an LED lamp in storage equipment, so that the problem of low lighting test efficiency of an OSES system in the storage equipment caused by the prior art is effectively solved, and the lighting test efficiency of the OSES system in the storage equipment is effectively improved.
The invention provides an automatic testing device for LED lamps in storage equipment, which comprises the storage equipment, a wavelength detection module and a control module, wherein the control module is respectively in communication connection with the wavelength detection module and the storage equipment and is used for controlling the on or off of a plurality of LED lamps in the storage equipment, judging whether the currently tested LED lamps in the storage equipment meet preset requirements or not according to wavelength information sent by the wavelength detection module, and testing results of the currently tested LED lamps; an OSES system in the storage device receives the instruction of the control module, and lights or extinguishes the corresponding LED lamp according to the instruction sent by the control module; the wavelength detection module is in communication connection with the storage device and is used for respectively acquiring the wavelength information of the LED lamps in the storage device and sending the acquired wavelength information of the LED lamps to the control module.
Optionally, the LED lamp comprises at least a first type of LED lamp and a second type of LED lamp, the first type of LED lamp having a different function than the second type of LED lamp.
Further, the first type of LED lamp is a locating LED lamp and the second type of LED lamp is a fault LED lamp.
The second aspect of the present invention provides an automatic testing method for an LED lamp in a storage device, which is implemented based on the automatic testing apparatus for an LED lamp in a storage device according to the first aspect of the present invention, and includes:
the control module sends a first control command, and an OSES system in the storage device lights the LED lamp currently tested according to the first control command;
the wavelength detection module acquires wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is lighted, and sends the wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is lighted to the control module;
the control module sends a second control command, and the OSES system in the storage device extinguishes the currently tested LED lamp according to the second control command;
the wavelength detection module acquires the corresponding wavelength information when the current tested LED lamp is turned off, and sends the corresponding wavelength information when the current tested LED lamp is turned off to the control module;
the control module judges whether the current tested LED lamp in the storage device meets the preset requirement according to the wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is lighted and the wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is extinguished, and outputs the test result of the current tested LED lamp.
Optionally, the control module judges whether the currently tested LED lamp in the storage device meets a preset requirement according to the wavelength information corresponding to the currently tested LED lamp when being lighted and the wavelength information corresponding to the currently tested LED lamp when being extinguished, and outputs a test result of the currently tested LED lamp specifically including:
the control module judges whether the corresponding wavelength information sent by the wavelength detection module when the LED lamp which is currently tested is lightened accords with a preset first wavelength numerical range or not; if yes, the current tested LED lamp in the storage device meets the preset requirement, the test passes, and a test result of the current tested LED lamp is output according to whether the corresponding wavelength information sent by the wavelength detection module when the current tested LED lamp is turned off meets the preset second wavelength numerical range; if the corresponding wavelength information does not accord with the preset first wavelength numerical range when the current tested LED lamp is lighted and/or the corresponding wavelength information does not accord with the preset second wavelength numerical range when the current tested LED lamp is turned off, the current tested LED lamp in the storage device does not meet the preset requirement, the test does not pass, and the test result of the current tested LED lamp is output; the first wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is lighted, and the second wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is extinguished.
Optionally, the control module further comprises, before the lighting of the LED lamp currently tested, by controlling the OSES system inside the storage device:
the method comprises the steps that a wavelength detection module obtains a wavelength initial value of a currently tested LED lamp in storage equipment, and sends the obtained wavelength initial value of the currently tested LED lamp to a control module; the control module receives and stores the initial wavelength value of the currently tested LED lamp.
Further, the control module judges whether the current tested LED lamp in the storage device meets the preset requirement according to the wavelength information corresponding to the current tested LED lamp when being lighted and the wavelength information corresponding to the current tested LED lamp when being extinguished, and outputs the test result of the current tested LED lamp specifically including:
the control module judges whether the corresponding wavelength information sent by the wavelength detection module when the LED lamp which is currently tested is lightened accords with a preset first wavelength numerical range or not; if yes, the current tested LED lamp in the storage device meets the preset requirement, the test passes, and a test result of the current tested LED lamp is output according to whether the corresponding wavelength information sent by the wavelength detection module when the current tested LED lamp is turned off meets the preset second wavelength numerical range; if the corresponding wavelength information does not accord with the preset first wavelength numerical range when the current tested LED lamp is lighted and/or the corresponding wavelength information does not accord with the preset second wavelength numerical range when the current tested LED lamp is turned off, the current tested LED lamp in the storage device does not meet the preset requirement, the test does not pass, and the test result of the current tested LED lamp is output; the first wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is lighted, and the second wavelength numerical range is a prestored wavelength initial value of the current test LED lamp.
Optionally, the control module sends multiple first control commands or second control commands in parallel, and simultaneously performs parallel testing on multiple LED lamps, and according to wavelength information corresponding to the multiple LED lamps currently tested sent by the wavelength detection module when the multiple LED lamps are on and wavelength information corresponding to the multiple LED lamps when the multiple LED lamps are off, the control module respectively judges whether the multiple LED lamps currently tested in the storage device meet preset requirements, and outputs test results of the multiple LED lamps currently tested.
Optionally, the currently tested LED lamp comprises a first type of LED lamp and a second type of LED lamp, which have different roles in the storage device.
Further, the first type of LED lamp is a locating LED lamp and the second type of LED lamp is a fault LED lamp.
The technical scheme adopted by the invention comprises the following technical effects:
1. according to the technical scheme, the control module and the wavelength detection module are introduced, and the detection and the transmission of the wavelength detection module are realized through the control and the judgment of the control module, so that the test of the lighting of the OSES system in the storage device is realized, the problem of low test efficiency of the lighting of the OSES system in the storage device caused by the prior art is effectively solved, and the lighting test efficiency of the OSES system in the storage device is effectively improved.
2. According to the technical scheme, the LED lamp at least comprises the first type LED lamp and the second type LED lamp, the first type LED lamp has different functions from the second type LED lamp, so that not only can the cyclic test of the different types of LED lamps be realized, but also all the LED lamps managed by the OSES system can be remotely tested to be turned on and off, the test can be repeatedly performed, the reliability test of the LED lamps is realized, a tester does not need to test in a loud noise environment, the tester can be protected, and the test manpower can be saved.
3. According to the technical scheme, parallel testing of a plurality of LED lamps can be achieved, the testing efficiency of the LED lamps can be further improved, the concurrent processing capacity of an OSES system can be verified, and simultaneous testing of the LED lamps and the OSES system is achieved.
4. According to the technical scheme, the second wavelength numerical range judged by the control module can be the wavelength which is stored in advance before the LED lamp is not lighted, so that the control module can be directly called when judging, and the testing efficiency of the LED lamp is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
For a clearer description of embodiments of the invention or of the solutions of the prior art, reference will be made to the accompanying drawings, which are used in the description of the embodiments or of the prior art, and it will be obvious to those skilled in the art that other drawings can be obtained from these without inventive labour.
FIG. 1 is a schematic view of an apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a second method according to the embodiment of the invention;
FIG. 3 is a schematic flow chart of a second method according to the embodiment of the invention.
Detailed Description
In order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below with reference to the following detailed description and the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different structures of the invention. In order to simplify the present disclosure, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted so as to not unnecessarily obscure the present invention.
Example 1
As shown in fig. 1, the invention provides an automatic testing device for LED lamps in a storage device, which comprises a storage device 1, a wavelength detection module 2 and a control module 3, wherein the control module 3 is respectively in communication connection with the wavelength detection module 2 and the storage device 1, and is used for controlling the turning-on or turning-off of a plurality of LED lamps in the storage device 1, judging whether the currently tested LED lamps in the storage device 1 meet preset requirements according to wavelength information sent by the wavelength detection module 2, and testing results of the currently tested LED lamps; the OSES system 11 in the storage device 1 receives the instruction of the control module 3, and lights up or turns off the corresponding LED lamp according to the instruction sent by the control module 3; the wavelength detection module 2 is in communication connection with the storage device 1, and is configured to respectively obtain wavelength information of the LED lamps in the storage device 1, and send the obtained wavelength information of the LED lamps to the control module 3.
The LED lamps at least comprise a first type LED lamp and a second type LED lamp, and the functions of the first type LED lamp and the second type LED lamp are different.
Specifically, the first type of LED lamp is a locating LED lamp and the second type of LED lamp is a fault LED lamp.
Further, the control module 3 may be a computer client or a server, and the wavelength information in the wavelength detection module 2 is obtained through a script or a program set inside the control module 3, and an OSES system in the storage device 1 is controlled, so that the OSES system lights up or lights out a corresponding current test LED lamp under the control of the control module.
Namely, the script can have three functions, 1, the OSES system can be triggered to light up and turn off the LED lamp; 2. the wavelength information measured by the wavelength detection module 2 can be collected and recorded; 3. an execution log is recorded, and error is recorded for the exception.
Specifically, if the currently tested LED lamp is a positioning lamp, the control module 3 will first send a control command to cause the OSES system to light the corresponding currently tested LED lamp (positioning lamp); if the currently tested LED lamp is a faulty lamp, the control module 3 will first send a control command to cause the OSES system to simulate the corresponding fault and illuminate the corresponding currently tested LED lamp (faulty lamp).
The wavelength detection module 2 may be a wavelength detector or other wavelength detection devices, which is not limited herein.
The control module 3 runs a test script, performs the operation of lighting a locating lamp or a fault lamp, the locating lamp or the fault lamp of the storage device is lighted, the wavelength detection module 2 detects the wavelength of the corresponding currently tested LED lamp, and the control module 3 reads the wavelength information and compares the wavelength information with a preset wavelength range; if the failure is within the preset wavelength range, namely normal, and is not within the preset wavelength range, judging that the failure is caused; and then executing a command to turn off the corresponding LED lamp, reading the wavelength again, comparing the wavelength with the preset wavelength range, and if the wavelength is not successfully turned off, otherwise, judging that the wavelength is failed. All LED lamps managed by the OSES system are traversed one by one.
The visible wavelength range at the time of lighting is specifically, red light: wavelength range: 760 to 622 nanometers; orange light: wavelength range: 622-597 nanometers; yellow light: wavelength range: 597-577 nanometers; green light: wavelength range: 577-492 nanometers; green light: wavelength range: 492-450 nm; blue light: wavelength range: 450-435 nm; purple light: wavelength range: 435-390 nm; according to the comparison of the wavelength range obtained by the wavelength detection module 2 and the preset wavelength range, whether the current test LED lamp is lighted or not and the corresponding color during the lighting can be obtained, and whether the current test LED lamp is extinguished or not can be obtained, so that the test of the LED lamp is realized. For example, if the corresponding color is green when the currently tested LED lamp is turned on, the currently obtained wavelength information is 530nm, and the wavelength preset range of green light is met, the corresponding test when the currently tested LED lamp is turned on is judged to pass, and if the currently obtained wavelength information is 460nm or 70nm, and the wavelength preset range of green light is not met, the corresponding test when the currently tested LED lamp is turned on is judged not to pass.
The wavelength range at extinction may be a wavelength range smaller than a certain preset wavelength threshold, for example, the preset wavelength threshold may be 50nm, and because the test environment is a normal laboratory environment, there is a part of stray light, so the preset wavelength threshold is not 0, and the preset wavelength threshold at extinction, that is, the preset wavelength range at extinction, may be set according to the actual laboratory environment condition. Further, the setting of the wavelength range in the extinction process can be direct setting, or an initial wavelength value (which can be measured for an average value for a plurality of times) of the current test LED lamp when the LED lamp is not lightened can be used as the wavelength range in the extinction process, namely the wavelength range in the extinction process at the moment is a specific value, and if the comparison of the correspondingly acquired wavelength information in the extinction process and the preset wavelength range in the extinction process is inconsistent, the test of the LED lamp is not passed; if the wavelength information correspondingly acquired during extinction is consistent with the wavelength range of the preset extinction, the corresponding test during extinction passes, the reliability of the LED lamp test can be further improved, and the influence of the setting of the preset wavelength threshold on the test result due to different laboratory environments or extinction is avoided.
According to the technical scheme, the control module and the wavelength detection module are introduced, and the detection and the transmission of the wavelength detection module are realized through the control and the judgment of the control module, so that the test of the lighting of the OSES system in the storage device is realized, the problem of low test efficiency of the lighting of the OSES system in the storage device caused by the prior art is effectively solved, and the lighting test efficiency of the OSES system in the storage device is effectively improved.
According to the technical scheme, the LED lamp at least comprises the first type LED lamp and the second type LED lamp, the first type LED lamp has different functions from the second type LED lamp, so that not only can the cyclic test of the different types of LED lamps be realized, but also all the LED lamps managed by the OSES system can be remotely tested to be turned on and off, the test can be repeatedly performed, the reliability test of the LED lamps is realized, a tester does not need to test in a loud noise environment, the tester can be protected, and the test manpower can be saved.
According to the technical scheme, parallel testing of a plurality of LED lamps can be achieved, the testing efficiency of the LED lamps can be further improved, the concurrent processing capacity of an OSES system can be verified, and simultaneous testing of the LED lamps and the OSES system is achieved.
According to the technical scheme, the second wavelength numerical range judged by the control module can be the wavelength which is stored in advance before the LED lamp is not lighted, so that the control module can be directly called when judging, and the testing efficiency of the LED lamp is further improved.
Example two
As shown in fig. 2, the technical solution of the present invention further provides an automatic testing method for an LED lamp in a storage device, which is implemented based on the automatic testing apparatus for an LED lamp in a storage device in the first embodiment, and includes:
s101, a control module sends a first control command, and an OSES system in storage equipment lights up a currently tested LED lamp according to the first control command;
s102, a wavelength detection module acquires wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is lighted, and sends the wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is lighted to a control module;
s103, the control module sends a second control command, and the OSES system in the storage device extinguishes the currently tested LED lamp according to the second control command;
s104, the wavelength detection module acquires the wavelength information corresponding to the extinction of the currently tested LED lamp, and sends the wavelength information corresponding to the extinction of the currently tested LED lamp to the control module;
s105, the control module is used for controlling the LED lamp according to the wavelength information which is sent by the wavelength detection module and corresponds to the LED lamp which is currently tested when the LED lamp is lighted and the wavelength information which is currently tested when the LED lamp is turned off;
s106, judging whether the LED lamp currently tested in the storage equipment meets the preset requirement, and if so, executing the step S107; if the judgment result is negative, executing step S108;
s107, the test corresponding to the current tested LED passes, and the test result of the current tested LED lamp is output;
s108, the test corresponding to the current tested LED does not pass, and a test result of the current tested LED lamp is output.
In step S101, the control module sends a first control command, and an OSES system in the storage device lights up a currently tested LED lamp according to the first control command; specifically, the first control command may be generated according to the type of the LED lamp currently tested, that is, when the LED lamp currently tested is a positioning lamp, the content included in the first control command is the type (positioning lamp), specific address, operation type (lighting) and the like of the LED lamp currently tested. The storage device receives a first control command sent by the control module, analyzes the first control command, determines the type (positioning lamp), specific address and the like of the LED lamp which is currently tested and performs the lighting operation, and triggers the OSES system to perform the lighting operation on the currently tested LED lamp; when the currently tested LED lamp is a fault lamp, the content included in the first control command is the type (fault lamp), specific address, operation type (lighting) and the like of lighting the currently tested LED lamp. The storage device receives a first control command sent by the control module, analyzes the first control command, determines the type (fault lamp), specific address and the like of the LED lamp which is currently tested and performs the lighting operation, firstly simulates and generates a corresponding fault according to the first control command, and triggers the OSES system to perform the lighting operation on the current tested LED lamp.
In step S102, the wavelength detection module may be a wavelength detector, and the wavelength information corresponding to the current LED lamp is obtained and sent to the control module; the control module receives and stores the wavelength information corresponding to the currently tested LED lamp sent by the wavelength detection module when the LED lamp is lighted.
In step S103, the control module sends a second control command, and the OSES system inside the storage device turns off the LED lamp currently tested according to the second control command; specifically, the second control command may be generated according to the type of the currently tested LED lamp, that is, when the currently tested LED lamp is a positioning lamp, the content included in the second control command is the type (positioning lamp), the specific address, the operation type (turning off), and the like of the currently tested LED lamp. The storage device receives a second control command sent by the control module, analyzes the second control command, determines the type (positioning lamp), specific address and the like of the LED lamp which is currently tested and performs the extinguishing operation, and triggers the OSES system to perform the extinguishing operation on the currently tested LED lamp; when the currently tested LED lamp is a fault lamp, the content included in the second control command is the type (fault lamp), specific address, operation type (off) and the like of the currently tested LED lamp. The storage device receives a second control command sent by the control module, analyzes the second control command, determines the type (fault lamp), specific address and the like of the currently tested LED lamp for executing the extinguishing operation, firstly simulates to cancel the corresponding fault according to the second control command, and triggers the OSES system to perform the extinguishing operation on the currently tested LED lamp.
In step S104, the wavelength detection module may be a wavelength detector, and the wavelength information corresponding to the currently tested LED lamp when turned off is obtained, and the wavelength information corresponding to the currently tested LED lamp when turned off is sent to the control module; the control module receives and stores the wavelength information corresponding to the extinction of the currently tested LED lamp sent by the wavelength detection module.
In step S105-S108, the control module determines whether the currently tested LED lamp in the storage device meets a preset requirement according to the wavelength information corresponding to the currently tested LED lamp when being turned on and the wavelength information corresponding to the currently tested LED lamp when being turned off, which are sent by the wavelength detection module, and outputs a test result of the currently tested LED lamp specifically including:
the control module judges whether the corresponding wavelength information sent by the wavelength detection module when the LED lamp which is currently tested is lightened accords with a preset first wavelength numerical range or not; if yes, continuing to judge whether the wavelength information corresponding to the currently tested LED lamp sent by the wavelength detection module is in accordance with a preset second wavelength numerical range or not, if yes, enabling the currently tested LED lamp in the storage device to meet preset requirements, enabling the test corresponding to the currently tested LED lamp to pass, and outputting a test result of the currently tested LED lamp; if the corresponding wavelength information of the current tested LED lamp does not accord with the preset first wavelength numerical range when the current tested LED lamp is lighted and/or the corresponding wavelength information of the current tested LED lamp does not accord with the preset second wavelength numerical range when the current tested LED lamp is turned off, the current tested LED lamp in the storage device does not meet the preset requirement, the corresponding test of the current tested LED lamp does not pass, and the test result of the current tested LED lamp is output; the first wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is lighted, and the second wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is extinguished.
The first wavelength range is specifically red: wavelength range: 760 to 622 nanometers; orange light: wavelength range: 622-597 nanometers; yellow light: wavelength range: 597-577 nanometers; green light: wavelength range: 577-492 nanometers; green light: wavelength range: 492-450 nm; blue light: wavelength range: 450-435 nm; purple light: wavelength range: 435-390 nm; according to the comparison of the wavelength range obtained by the wavelength detection module 2 and the preset first wavelength value range, whether the current test LED lamp is lighted or not and the corresponding color during the lighting can be obtained, and whether the current test LED lamp is extinguished or not can be obtained, so that the test of the LED lamp is realized. For example, if the color corresponding to the currently tested LED lamp is green, the currently obtained wavelength information is 530nm, and the corresponding first wavelength numerical range corresponding to the green light is met, the corresponding test is determined to pass when the currently tested LED lamp is lighted, and if the currently obtained wavelength information is 460nm or 70nm, and the corresponding test is determined not to pass when the currently tested LED lamp is lighted, the corresponding first wavelength numerical range corresponding to the green light is not met.
The preset second wavelength range may be a wavelength range smaller than a certain preset wavelength threshold, for example, the preset wavelength threshold may be 50nm, because the test environment is a normal laboratory environment, and there is a part of stray light, so the preset wavelength threshold is not 0, and the preset wavelength threshold, that is, the second wavelength range, when the test environment is extinguished, may be set according to the actual laboratory environment condition.
Further, as shown in fig. 3, the technical solution of the present invention further provides an automatic testing method for an LED lamp in a storage device, that is, before step S101, the method further includes:
s100, a wavelength detection module acquires the initial wavelength value of the LED lamp currently tested in the storage device, and sends the acquired initial wavelength value of the LED lamp currently tested to a control module; the control module receives and stores the initial wavelength value of the currently tested LED lamp.
In step S100, an automatic test environment is first set up, the control module, the storage device and the wavelength detector are powered on and operate normally, and the control module is respectively and remotely connected with the storage device and the wavelength detector through a network.
Specifically, the preset second wavelength numerical range is a pre-stored wavelength initial value of the currently tested LED lamp. The preset second wavelength numerical range can be set directly, or an initial wavelength numerical value (which can be measured for averaging for a plurality of times) when the current test LED lamp is not lighted can be used as the preset second wavelength numerical range, namely the preset second wavelength numerical range is a specific numerical value at the moment, and if the wavelength information correspondingly acquired during extinction is inconsistent with the comparison of the preset second wavelength numerical range, the test of the LED lamp is not passed; if the wavelength information correspondingly acquired during extinction is consistent with the preset second wavelength numerical range in comparison, the corresponding test during extinction passes, the reliability of the LED lamp test can be further improved, and the influence of the setting of the preset wavelength threshold on the test result due to different laboratory environments or extinction is avoided.
It should be noted that, the technical scheme of the invention can adjust the cycle times of the script in the control module, and carry out long-term stability test for the same LED lamp tested at present, observe whether the lighting and lighting-off instructions are still normal under multiple conditions, and test the next LED lamp after the test of the LED lamp tested at present is completed until all the LED lamps to be tested are tested.
Preferably, the control module may send multiple first control commands or second control commands in parallel, and simultaneously perform parallel testing on multiple LED lamps, and respectively judge whether the multiple LED lamps currently tested in the storage device meet preset requirements according to wavelength information corresponding to the multiple LED lamps currently tested sent by the wavelength detection module when the multiple LED lamps currently tested are on and wavelength information corresponding to the multiple LED lamps currently tested when the multiple LED lamps are off, and output test results of the multiple LED lamps currently tested.
Specifically, the types of the plurality of LED lamps in parallel test are the same, namely the LED lamps are all positioning lamps or fault lamps, so that the first control commands sent by the control module in parallel are the same except that the addresses of the LED lamps are different, and the test efficiency is convenient to improve; of course, parallel tests can be performed on different types of LED lamps, so long as a corresponding first control command or a corresponding second control command is generated according to a corresponding parallel test LED lamp, the parallel test can be performed through a plurality of test processes, each test process executes a test of one LED lamp, and the parallel test can also be performed in other manners, and the invention is not limited herein
It should be noted that, in the technical solution of the present invention, steps S100 to S108 may be implemented by hardware or software programming languages, and the implementing idea corresponds to the steps, and may also be implemented by other manners, which is not limited herein.
According to the technical scheme, the control module and the wavelength detection module are introduced, and the detection and the transmission of the wavelength detection module are realized through the control and the judgment of the control module, so that the test of the lighting of the OSES system in the storage device is realized, the problem of low test efficiency of the lighting of the OSES system in the storage device caused by the prior art is effectively solved, and the lighting test efficiency of the OSES system in the storage device is effectively improved.
According to the technical scheme, the LED lamp at least comprises the first type LED lamp and the second type LED lamp, the first type LED lamp has different functions from the second type LED lamp, so that not only can the cyclic test of the different types of LED lamps be realized, but also all the LED lamps managed by the OSES system can be remotely tested to be turned on and off, the test can be repeatedly performed, the reliability test of the LED lamps is realized, a tester does not need to test in a loud noise environment, the tester can be protected, and the test manpower can be saved.
According to the technical scheme, parallel testing of a plurality of LED lamps can be achieved, the testing efficiency of the LED lamps can be further improved, the concurrent processing capacity of an OSES system can be verified, and simultaneous testing of the LED lamps and the OSES system is achieved.
According to the technical scheme, the second wavelength numerical range judged by the control module can be the wavelength which is stored in advance before the LED lamp is not lighted, so that the control module can be directly called when judging, and the testing efficiency of the LED lamp is further improved.
While the foregoing description of the embodiments of the present invention has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the invention, but rather, it is intended to cover all modifications or variations within the scope of the invention as defined by the claims of the present invention.

Claims (9)

1. The automatic testing device for the LED lamps in the storage equipment is characterized by comprising the storage equipment, a wavelength detection module and a control module, wherein the control module is respectively in communication connection with the wavelength detection module and the storage equipment and is used for controlling the on or off of a plurality of LED lamps in the storage equipment, judging whether the currently tested LED lamps in the storage equipment meet the preset requirements according to the wavelength information sent by the wavelength detection module, and outputting the test result of the currently tested LED lamps; an OSES system in the storage device receives the instruction of the control module, and lights or extinguishes the corresponding LED lamp according to the instruction sent by the control module; the wavelength detection module is in communication connection with the storage device and is used for respectively acquiring wavelength information of the LED lamps in the storage device and sending the acquired wavelength information of the LED lamps to the control module;
the control module judges whether the current tested LED lamp in the storage device meets the preset requirement according to the wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is lighted and the wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is extinguished, and outputs the test result of the current tested LED lamp specifically including:
the control module judges whether the corresponding wavelength information sent by the wavelength detection module when the LED lamp which is currently tested is lightened accords with a preset first wavelength numerical range or not; if yes, the current tested LED lamp in the storage device meets the preset requirement, the test passes, and a test result of the current tested LED lamp is output according to whether the corresponding wavelength information sent by the wavelength detection module when the current tested LED lamp is turned off meets the preset second wavelength numerical range; if the corresponding wavelength information does not accord with the preset first wavelength numerical range when the current tested LED lamp is lighted and/or the corresponding wavelength information does not accord with the preset second wavelength numerical range when the current tested LED lamp is turned off, the current tested LED lamp in the storage device does not meet the preset requirement, the test does not pass, and the test result of the current tested LED lamp is output; the first wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is lighted, and the second wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is extinguished.
2. An automatic test equipment for LED lamps in a storage device according to claim 1, wherein the LED lamps at least comprise a first type of LED lamp and a second type of LED lamp, and the first type of LED lamp has a different function from the second type of LED lamp.
3. An automatic test equipment for LED lamps in a storage device according to claim 2, wherein the first type of LED lamps are positioning LED lamps and the second type of LED lamps are fault LED lamps.
4. An automatic testing method for an LED lamp in a storage device, which is based on the automatic testing apparatus for an LED lamp in a storage device according to any one of claims 1 to 3, comprising:
the control module sends a first control command, and an OSES system in the storage device lights the current tested LED lamp according to the first control command;
the wavelength detection module acquires wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is lighted, and sends the wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is lighted to the control module;
the control module sends a second control command, and an OSES system in the storage device extinguishes the currently tested LED lamp according to the second control command;
the wavelength detection module acquires the corresponding wavelength information when the current tested LED lamp is turned off, and sends the corresponding wavelength information when the current tested LED lamp is turned off to the control module;
the control module judges whether the current tested LED lamp in the storage device meets the preset requirement according to the wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is lighted and the wavelength information corresponding to the current tested LED lamp when the current tested LED lamp is extinguished, and outputs the test result of the current tested LED lamp; the method specifically comprises the following steps:
the control module judges whether the corresponding wavelength information sent by the wavelength detection module when the LED lamp which is currently tested is lightened accords with a preset first wavelength numerical range or not; if yes, the current tested LED lamp in the storage device meets the preset requirement, the test passes, and a test result of the current tested LED lamp is output according to whether the corresponding wavelength information sent by the wavelength detection module when the current tested LED lamp is turned off meets the preset second wavelength numerical range; if the corresponding wavelength information does not accord with the preset first wavelength numerical range when the current tested LED lamp is lighted and/or the corresponding wavelength information does not accord with the preset second wavelength numerical range when the current tested LED lamp is turned off, the current tested LED lamp in the storage device does not meet the preset requirement, the test does not pass, and the test result of the current tested LED lamp is output; the first wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is lighted, and the second wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is extinguished.
5. The method of claim 4, wherein the control module controls the OSES system within the storage device such that the currently tested LED lamp is lit prior to the LED lamp being lit, further comprising:
the method comprises the steps that a wavelength detection module obtains a wavelength initial value of a currently tested LED lamp in storage equipment, and sends the obtained wavelength initial value of the currently tested LED lamp to a control module; the control module receives and stores the initial wavelength value of the currently tested LED lamp.
6. The method for automatically testing the LED lamp in the storage device according to claim 5, wherein the control module judges whether the currently tested LED lamp in the storage device meets the preset requirement according to the wavelength information corresponding to the currently tested LED lamp when being lighted and the wavelength information corresponding to the currently tested LED lamp when being extinguished, and outputs the test result of the currently tested LED lamp specifically comprises:
the control module judges whether the corresponding wavelength information sent by the wavelength detection module when the LED lamp which is currently tested is lightened accords with a preset first wavelength numerical range or not; if yes, the current tested LED lamp in the storage device meets the preset requirement, the test passes, and a test result of the current tested LED lamp is output according to whether the corresponding wavelength information sent by the wavelength detection module when the current tested LED lamp is turned off meets the preset second wavelength numerical range; if the corresponding wavelength information does not accord with the preset first wavelength numerical range when the current tested LED lamp is lighted and/or the corresponding wavelength information does not accord with the preset second wavelength numerical range when the current tested LED lamp is turned off, the current tested LED lamp in the storage device does not meet the preset requirement, the test does not pass, and the test result of the current tested LED lamp is output; the first wavelength numerical range is a corresponding color wavelength range when the current test LED lamp is lighted, and the second wavelength numerical range is a prestored wavelength initial value of the current test LED lamp.
7. The method for automatically testing the LED lamps in the storage device according to claim 4, wherein the control module sends a plurality of first control commands or second control commands in parallel, simultaneously performs parallel testing of the plurality of LED lamps, and respectively judges whether the plurality of LED lamps currently tested in the storage device meet preset requirements or not according to wavelength information corresponding to the plurality of LED lamps currently tested sent by the wavelength detection module when the plurality of LED lamps are on and wavelength information corresponding to the plurality of LED lamps when the plurality of LED lamps are off, and outputs test results of the plurality of LED lamps currently tested.
8. The method for automatically testing LED lamps in a storage device according to any one of claims 4 to 7, wherein the currently tested LED lamps comprise a first type of LED lamp and a second type of LED lamp, and the first type of LED lamp and the second type of LED lamp have different roles in the storage device.
9. The method of claim 8, wherein the first type of LED lamp is a locating LED lamp and the second type of LED lamp is a fault LED lamp.
CN202111003105.9A 2021-08-30 2021-08-30 Automatic testing device and method for LED lamps in storage equipment Active CN113866665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111003105.9A CN113866665B (en) 2021-08-30 2021-08-30 Automatic testing device and method for LED lamps in storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111003105.9A CN113866665B (en) 2021-08-30 2021-08-30 Automatic testing device and method for LED lamps in storage equipment

Publications (2)

Publication Number Publication Date
CN113866665A CN113866665A (en) 2021-12-31
CN113866665B true CN113866665B (en) 2024-01-19

Family

ID=78988729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111003105.9A Active CN113866665B (en) 2021-08-30 2021-08-30 Automatic testing device and method for LED lamps in storage equipment

Country Status (1)

Country Link
CN (1) CN113866665B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423177A (en) * 2017-06-30 2017-12-01 郑州云海信息技术有限公司 The method of testing and device of a kind of SAS link
CN109599058A (en) * 2018-12-03 2019-04-09 郑州云海信息技术有限公司 A kind of control method of LED array, device and storage system
CN111829655A (en) * 2020-07-27 2020-10-27 惠州市惠佳五金制品有限公司 Optical test method of LED assembly
CN113238163A (en) * 2021-05-31 2021-08-10 苏州清朗环保科技有限公司 Testing device and testing method for multi-channel LED lamp beads

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5700060B2 (en) * 2013-03-14 2015-04-15 ウシオ電機株式会社 Light source device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423177A (en) * 2017-06-30 2017-12-01 郑州云海信息技术有限公司 The method of testing and device of a kind of SAS link
CN109599058A (en) * 2018-12-03 2019-04-09 郑州云海信息技术有限公司 A kind of control method of LED array, device and storage system
CN111829655A (en) * 2020-07-27 2020-10-27 惠州市惠佳五金制品有限公司 Optical test method of LED assembly
CN113238163A (en) * 2021-05-31 2021-08-10 苏州清朗环保科技有限公司 Testing device and testing method for multi-channel LED lamp beads

Also Published As

Publication number Publication date
CN113866665A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
KR20040098684A (en) Apparatus for testing hard disk driver
CN106547668A (en) Computer system fault alarming method, apparatus and system
CN108549356B (en) Production testing method of automatic street lamp controller
WO2018227795A1 (en) Test system for indicator light control drive circuit
CN210864841U (en) Inspection system and display equipment
CN113866665B (en) Automatic testing device and method for LED lamps in storage equipment
CN106899454A (en) A kind of method and system based on automatic test RoCE performances under linux system
CN103595999B (en) The automatic testing method of intelligent television and automatic detection device
CN207992362U (en) Detection circuit
CN205316601U (en) A device and system for monitoring indoor air quality
CN112559266B (en) Solid state disk testing method and device, readable storage medium and electronic equipment
US7188275B2 (en) Method of verifying a monitoring and responsive infrastructure of a system
CN111338891A (en) Fan stability testing method and device
CN104349559A (en) Intelligent light fault remote detection system and detection method thereof
CN205581265U (en) Testing arrangement of self -service financial equipment SIU module
CN110162434A (en) A kind of test fixture and its test method of server A C on-off
CN113945792B (en) Automatic restarting test system and method for relay protection device based on RTDS
CN117092986A (en) Method for testing reliability of unmanned aerial vehicle controller and related equipment
CN109168087A (en) Intelligent television system, method and the power supply control apparatus that network is automatically repaired
JPH09190220A (en) State display device
CN109450491B (en) Cable modem system capable of monitoring temperature and implementation method thereof
CN109446013A (en) Store apparatus testing method, storage device testing system and storage medium
KR20190131650A (en) Smart warning lamp system for aircraft
CN219105350U (en) Fault signal simulation device
CN214202360U (en) Hard disk positioning lamp fault detection 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
GR01 Patent grant
GR01 Patent grant