Test method, system and terminal for device with LED lamp
The optical fiber probe collects the light wave signal of the LED lamp in real time and performs automated analysis, which solves the problems of long test time and high misjudgment rate of equipment with LED lamps in the existing technology, and realizes efficient and accurate multi-functional testing.
Patent Information
- Application Number
- CN202410685995.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, the testing method of equipment with LED lights relies on artificial naked eye testing or video data analysis, which results in long time consumption, high misjudgment rate, high cost and low efficiency, and cannot achieve real-time and accurate multi-line testing.
Optical fiber probes are used to collect the light wave signals of LED lights in real time, and through the signal analysis and comparative analysis modules, multi-functional tests are automatically performed to generate test results and improve test efficiency and accuracy.
It realizes real-time and accurate testing of LED lamp equipment, reduces manual misjudgments, reduces costs, improves testing efficiency and accuracy, and supports multi-line parallel testing.
Smart Images

Figure CN118583452A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent device testing, and in particular to a testing method, system and terminal for a device with an LED lamp. Background Art
[0002] In order to meet the diverse needs of users for lighting, warning, aesthetics, etc., manufacturers usually configure LED lights for smart devices. For smart devices with LED lights, the current testing method is to test the LED lights with the naked eye and observe the color and brightness of the LED lights. However, manual testing takes a long time and takes up a lot of energy of the testers. Repetitive work is easy to cause fatigue, and it is easy to cause irreversible damage to the eyes of the testers, and it is easy to make misjudgments. At the same time, a tester can only observe one device at the same time and cannot run multiple lines. In addition, compared with automatic testing, manual testing requires a lot of manpower and high labor costs, and manual operation requires subjective judgment. For the testing of some complex multi-color lights, there will be misjudgments, which will affect the test results. The manually recorded data also needs to be statistically analyzed, and real-time results cannot be obtained.
[0003] At present, in order to realize the automated testing of devices with LED lights, the market mainly uses cameras to record whether the functions of devices with LED lights are operating normally during the test process. However, realizing the automated testing of devices with LED lights in this way will generate a large amount of redundant video data, occupying excessive device memory, and also requires the use of complex recognition technology to identify and analyze the working status of devices with LED lights in the video, resulting in low test efficiency and high cost. Summary of the invention
[0004] The embodiments of the present invention provide a testing method, system and terminal for a device with an LED lamp, which utilizes an optical fiber probe to achieve real-time and accurate acquisition of light wave signals of an LED lamp on the device to be tested, so as to improve the general function testing efficiency and test accuracy of the device to be tested.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a testing method for a device with an LED lamp, comprising:
[0006] Performing a multifunctional test on the device to be tested, and during the test, using an optical fiber probe to collect light wave signals of LED lights on the device to be tested in real time;
[0007] Analyzing and processing the light wave signal to obtain test parameter values of the LED lamp on the device to be tested under multiple general function test items;
[0008] Based on the comparative analysis of the test parameter values corresponding to each of the general function test items and the expected test results corresponding to each of the general function test items, the test results of each of the general function test items of the device to be tested are obtained.
[0009] By implementing the embodiments of the present invention, a multifunctional test is performed on the device to be tested, and during the test process, the optical wave signal of the LED lamp on the device to be tested is collected in real time using a fiber optic probe, which can not only ensure the timeliness and accuracy of the test data, but also, the collected optical wave signal is analyzed and processed to obtain the test parameter value of the LED lamp on the device to be tested under multiple general function test items, so as to effectively detect the performance of the device to be tested under different general function test items, and then the test parameter value corresponding to each general function test item is compared with the expected test result corresponding to each general function test item, and the test result of each general function test item of the device to be tested is obtained based on the comparative analysis of the two, thereby effectively improving the overall general function test efficiency and test accuracy.
[0010] As a preferred solution, the test results of each of the general function test items of the device to be tested are obtained based on the comparative analysis of the test parameter values corresponding to each of the general function test items and the expected test results corresponding to each of the general function test items, specifically:
[0011] Determine whether the test parameter values corresponding to the general function test items meet the expected test results corresponding to the general function test items;
[0012] If the test parameter value of the current general function test item meets the corresponding expected test result, the test result of the current general function test item is determined to be qualified, and the test progress of the device to be tested is checked;
[0013] If the test parameter value of the current general function test item does not meet the corresponding expected test result, the test result of the current general function test item is determined to be unqualified.
[0014] A preferred scheme for implementing the embodiments of the present invention is to compare the test parameter values corresponding to each general function test item with the expected test results corresponding to each general function test item. If the test parameter values of the current general function test item do not meet the corresponding expected test results, the test results of the current general function test item are judged to be unqualified. If the test parameter values of the current general function test item meet the corresponding expected test results, the test results of the current general function test item are judged to be qualified, and the test progress of the equipment to be tested is checked to follow up the overall test progress of the equipment to be tested, such as the LED lamp, in real time.
[0015] As a preferred solution, the method for testing a device with an LED lamp further includes increasing the number of tests of the device to be tested by 1 each time a multi-function test is performed on the device to be tested, and performing a test progress check on the device to be tested, specifically:
[0016] Determine whether the current number of tests is greater than or equal to the set number;
[0017] If the current number of tests is greater than or equal to the set number of tests, then based on the test results of each of the general function test items and the test parameter values corresponding to each of the general function test items during each test, a test log result of the device to be tested is generated, and the test log result of the device to be tested is uploaded to a local or remote server;
[0018] If the current number of tests is less than the set number of times, the device to be tested is iteratively processed, and a multi-function test is performed on the device to be tested during each iterative processing to update the test results of each of the general function test items, until the current number of tests is greater than or equal to the set number of times, then the iteration is stopped and based on the test results of each of the general function test items during each test and the test parameter values corresponding to each of the general function test items, a test log result of the device to be tested is generated, and the test log result of the device to be tested is uploaded to a local or remote server.
[0019] According to the preferred solution of the embodiment of the present invention, each time a multi-function test is performed on a device to be tested with an LED, etc., the test times of the device to be tested are increased by 1, and it is determined whether the current test times are greater than or equal to the set times. If the current test times are greater than or equal to the set times, a test log result of the device to be tested is generated based on the test results of each general function test item and the test parameter values corresponding to each general function test item during each test, and the test log result of the device to be tested is uploaded to a local or remote server for subsequent backtracking. In addition, an iterative process is performed on the device to be tested with an LED, etc., and a multi-function test is performed on the device to be tested in each iterative process to update the test results of each of the general function test items, until the current test times are greater than or equal to the set times, then the iteration is stopped, so as to optimize the test effect of the device to be tested through multiple iterations.
[0020] As a preferred solution, the method for testing a device with an LED lamp further includes:
[0021] If the test parameter value of the current general functional test item meets the expected test result, controlling the automated test device to send a test success signal;
[0022] If the test parameter value of the current general function test item does not meet the expected test result, the test log result of the device to be tested is generated based on the test result of each general function test item and the test parameter value corresponding to each general function test item during each test, and the test log result of the device to be tested is uploaded to a local or remote server, and the automated testing device is controlled to send an alarm signal.
[0023] According to a preferred scheme for implementing the embodiment of the present invention, after obtaining the test parameter values of each common function test item, if the test parameter values of the common function test item meet the expected test results, the automated test device is controlled to send a test success signal; if the test parameter values of the common function test item do not meet the expected test results, the automated test device is controlled to send an alarm signal to remind the user to promptly know the test results of the equipment to be tested.
[0024] As a preferred solution, the multifunctional test is performed on the device to be tested, and during the test, the optical fiber probe is used to collect the light wave signal of the LED lamp on the device to be tested in real time, specifically:
[0025] Controlling the start of the automated testing device, and controlling the automated testing device to perform a multifunctional test on the device to be tested according to pre-set general functional test items and test parameters;
[0026] During the test, the optical fiber probe connected to the detection port of the automatic test device is used to collect the light wave signal of the LED lamp on the device to be tested within a preset test time period in real time.
[0027] A preferred solution for implementing the embodiment of the present invention is to control the automated testing device to perform a multifunctional test on the device to be tested according to pre-set general functional test items and test parameters, and during the test, use the optical fiber probe to collect the light wave signal of the LED lamp in real time within a preset test time period, so that the performance changes of the LED lamp can be monitored at any time and problems can be discovered in time, and the optical fiber probe is connected to the detection port of the automated testing device to ensure that the light wave signal of the LED lamp can be accurately collected, so as to improve the reliability and accuracy of the test data.
[0028] In order to solve the same technical problem, an embodiment of the present invention further provides a test system with an LED lamp device, including a test module, a signal analysis module and a comparison analysis module;
[0029] The test module is used to perform a multifunctional test on the device to be tested, and during the test, the optical fiber probe is used to collect the light wave signal of the LED lamp on the device to be tested in real time;
[0030] The signal analysis module is used to analyze and process the light wave signal to obtain test parameter values of the LED lamp on the device to be tested under multiple general function test items;
[0031] The comparison and analysis module is used to obtain the test results of each of the general function test items of the device to be tested based on the comparison and analysis of the test parameter values corresponding to each of the general function test items and the expected test results corresponding to each of the general function test items.
[0032] As a preferred solution, the comparison and analysis module specifically includes a judgment unit, a first judgment unit and a second judgment unit;
[0033] Wherein, the judging unit is used to judge whether the test parameter values corresponding to the general function test items meet the expected test results corresponding to the general function test items;
[0034] The first determination unit is configured to determine that the test result of the current general function test item is qualified if the test parameter value of the current general function test item meets the corresponding expected test result, and perform a test progress check on the device to be tested;
[0035] The second determination unit is configured to determine that the test result of the current general function test item is unqualified if the test parameter value of the current general function test item does not meet the corresponding expected test result.
[0036] As a preferred solution, the test system with LED lamp equipment further includes a test times superposition module, and the first determination unit specifically includes a determination subunit, a first record uploading subunit and a second record uploading subunit;
[0037] The test times superposition module is used to increase the test times of the device to be tested by 1 each time a multi-function test is performed on the device to be tested;
[0038] The judging subunit is used to judge that the test result of the current general function test item is qualified if the test parameter value of the current general function test item meets the corresponding expected test result, and judge whether the current test number is greater than or equal to the set number;
[0039] The first record uploading subunit is used to generate a test log result of the device to be tested based on the test results of each of the general function test items and the test parameter values corresponding to each of the general function test items during each test, and upload the test log result of the device to be tested to a local or remote server if the current test number is greater than or equal to the set number;
[0040] The second record uploading sub-unit is used to iteratively process the device to be tested if the current number of tests is less than the set number of times, and perform multi-function tests on the device to be tested in each iterative processing to update the test results of each of the general function test items until the current number of tests is greater than or equal to the set number of times, then stop the iteration and generate the test log results of the device to be tested based on the test results of each of the general function test items in each test and the test parameter values corresponding to each of the general function test items, and upload the test log results of the device to be tested to a local or remote server.
[0041] As a preferred solution, the test module specifically includes a test unit and a signal acquisition unit;
[0042] The test unit is used to control the start of the automated test device and control the automated test device to perform a multifunctional test on the device to be tested according to pre-set general functional test items and test parameters;
[0043] The signal acquisition unit is used to collect the light wave signal of the LED lamp on the device to be tested in real time within a preset test time period during the test process using an optical fiber probe connected to the detection port of the automated test device.
[0044] In order to solve the same technical problem, the present invention also provides a terminal, including a processor, a memory and a computer program stored in the memory; wherein the computer program can be executed by the processor to implement the testing method of a device with an LED lamp. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 : A flow chart of a method for testing a device with an LED lamp provided in the first embodiment of the present invention;
[0046] Figure 2 : A structural schematic diagram of a test system with an LED lamp device provided in Example 1 of the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] Embodiment one:
[0049] Please refer to Figure 1, is a testing method for a device with an LED lamp provided by an embodiment of the present invention, the method comprises steps S1 to S3, each step is specifically as follows:
[0050] Step S1, performing a multifunctional test on the device to be tested, and during the test, using an optical fiber probe to collect light wave signals of LED lights on the device to be tested in real time.
[0051] As a preferred solution, step S1 includes step S11 to step S12, and each step is specifically as follows:
[0052] Step S11, controlling to start the automatic testing device, and controlling the automatic testing device to perform a multi-function test on the device to be tested with the LED lamp according to pre-set general functional test items and test parameters.
[0053] In this embodiment, general functional test items include, but are not limited to: testing whether a specified single color of the LED light of the device to be tested exists, whether the single color RGB value of the LED light of the device to be tested meets the standard, whether the single color brightness of the LED light of the device to be tested meets the standard, whether each color of the LED multi-color light of the device to be tested exists, whether the RGB value of each color of the LED multi-color light of the device to be tested meets the standard, and whether the brightness of each color of the LED multi-color light of the device to be tested meets the standard, and whether the number of tests reaches the set number; test parameters include, but are not limited to: set number, RGB parameters, brightness parameters, light color selection and light number selection.
[0054] It should be noted that after multiple tests and verifications, the test method for a device with an LED lamp provided by the embodiment of the present invention can quickly obtain the test parameter values of the LED lamp on the device to be tested under multiple general functional test items within 20 milliseconds. In addition, a single device can be tested in parallel with a single port or multiple ports, or multiple devices can be tested in parallel with a single port or multiple ports, each probe can test a single item or multiple items of a device, or multiple probes can test a single item or multiple items of multiple devices at the same time.
[0055] Step S12, during the test process, using the optical fiber probe connected to the detection port of the automated test device, collects in real time the optical wave signal of the LED lamp on the device to be tested within a preset test time period.
[0056] In this embodiment, the automated test device is an LED analyzer. A driver for the LED analyzer is installed on the test computer, the test computer and the LED analyzer are connected via a serial port, the server and the test computer are connected via a network port, the control system software is opened and operated, and the LED analyzer is controlled to monitor each sensor according to the test requirements, and the LED light on the device to be tested is judged to meet the test requirements according to the test instruction content and the returned instruction result, and after the test option content is correctly executed to complete the instruction or the expected success or failure result is obtained, the test is continued or stopped according to the set conditions.
[0057] It should be noted that, according to the shape or size of the LED lamp, a sensing probe of a suitable size or shape can be selected to match it, and the probe is highly replaceable to meet the testing requirements of different types of LED lamps.
[0058] Step S2, analyzing and processing the light wave signal to obtain test parameter values of the LED lamp on the device to be tested under multiple general functional test items.
[0059] As an example, when the general functional test items are to test HSI (hue, saturation and intensity), RGB (red, green and blue content of a single LED), xy chromaticity, dominant wavelength and color temperature of the light emitting diode (LED) during the test, the light wave signal collected by the fiber optic probe is analyzed and processed to give the analysis results: RGB, HUE, saturation, light intensity and illumination and other parameter values.
[0060] It should be noted that colors can be represented by a 360° circular color wheel. The three primary RGB values can also be represented as a single value called Hue. Hue is the measured position on the color wheel, expressed in degrees. For example, the hue value of red is close to 0°, the hue value of green is close to 120°, and the value of blue is close to 240°. Pure colors will be represented on the color wheel as points near the outer edge, and white will be represented by points near the center of the wheel. The whiteness of the LED will affect its position on the wheel - the greater the amount of white, the closer it is to the center. A saturation value of 0% represents pure white. A saturation value of 95-100% represents a pure color, such as red, blue, green, etc. It is a relative output that is roughly the same as the relative intensity output, similar to comparing the color of the LED being tested. In an LED analyzer, the saturation value is calculated relative to the LED being tested for each channel of the LED analyzer. In similarly constructed luminaires, for LEDs of similar colors, the saturation readings between all LED analyzers are consistent. Generally, the hue and saturation values must be determined by testing multiple LEDs and recording the results. The RGB and Hue values show how to identify different colored LEDs. All colors are derived from three primary colors - red, green and blue (RGB). RGB or Hue values are used to identify different colored LEDs. Each LED tested by the LED analyzer generates a set of RGB values for analysis. These values are automatically converted to hue and saturation and can be read through the RS232 or USB port.
[0061] Step S3, based on the comparative analysis of the test parameter values corresponding to the various general function test items and the expected test results corresponding to the various general function test items, the test results of the various general function test items of the device to be tested are obtained.
[0062] As a preferred solution, step S3 includes step S31 to step S33, and each step is specifically as follows:
[0063] Step S31 , determining whether the test parameter values corresponding to the respective general function test items are consistent with the expected test results corresponding to the respective general function test items.
[0064] Step S32: if the test parameter value of the current general function test item meets the corresponding expected test result, the test result of the current general function test item is determined to be qualified, and the test progress of the device to be tested with the LED lamp is checked.
[0065] As a preferred embodiment, a testing method for LED lamp equipment provided by an embodiment of the present invention also includes: if the test parameter value of the current general function test item meets the corresponding expected test result, the automatic test device is controlled to send a test success signal, and it is prominently marked on the test computer to further prompt that the current general function test item is tested successfully.
[0066] As a preferred solution, a method for testing a device with an LED lamp provided in an embodiment of the present invention further includes: increasing the test times of the device with an LED lamp by 1 each time a multi-function test is performed on the device with an LED lamp.
[0067] As a preferred solution, the specific implementation process of "checking the test progress of the device to be tested" in step S32 includes steps S321 to S323, and each step is as follows:
[0068] Step S321, determining whether the current test number is greater than or equal to the set number.
[0069] Step S322, if the current number of tests is greater than or equal to the set number of tests, then based on the test results of each common function test item and the test parameter values corresponding to each common function test item during each test, a test log result of the device to be tested is generated, and the test log result of the device to be tested is uploaded to a local or remote server.
[0070] Step S323, if the current number of tests is less than the set number of times, the device to be tested with the LED light is iteratively processed, and the LED analyzer is controlled via USB during each iterative processing, so that the LED analyzer performs the next multi-function test on the device to be tested with the LED light, so as to update the test results of each general function test item, and realize a multi-function test that can automatically turn the machine on and off, until the current number of tests is greater than or equal to the set number of times, then the iteration is stopped and based on the test results of each general function test item during each test and the test parameter values corresponding to each general function test item, the test log results of the device to be tested are generated, and the test log results of the device to be tested are uploaded to a local or remote server.
[0071] In this embodiment, if the current number of tests is greater than or equal to the set number of tests, the test log results of the device to be tested are generated based on the test results of each general function test item and the test parameter values corresponding to each general function test item during each test, providing the test developer with fault site retention to facilitate statistics and fault analysis.
[0072] Step S33: if the test parameter value of the current general function test item does not meet the corresponding expected test result, the test result of the current general function test item is determined to be unqualified, and the test is stopped or skipped.
[0073] As a preferred embodiment, a testing method for a device with an LED lamp provided in an embodiment of the present invention further includes: if the test parameter value of the current general function test item does not meet the expected test result, then based on the test results of each general function test item and the test parameter value corresponding to each general function test item during each test, a test log result of the device to be tested is generated, providing a fault site reservation for the test developers to facilitate fault analysis, and uploading the test log result of the device to be tested to a local or remote server, and at the same time controlling the automated testing device to send an alarm signal to prompt that the current test has timed out or the current test has failed.
[0074] It should be noted that a test method for a device with an LED lamp provided in an embodiment of the present invention can be applied to a server, which is connected to a device to be tested via a test computer. Specifically, a network port is connected between the server and the test computer, and general functional test items and test parameters can be set through the server or the test computer, and sent to the device to be tested by the server or the test computer for multi-function testing, and then the test results are obtained from the device to be tested. When the test results meet the requirements but the number of tests does not meet the requirements, the LED analyzer is controlled via USB, so that the device to be tested can be repeatedly tested for multi-functions. Among them, the number of devices to be tested with LED lamps can be one or more, and the server, the test computer, and the devices to be tested with LED lamps can form a distributed structure.
[0075] Please refer to Figure 2 , is a schematic diagram of the structure of a test system with an LED lamp device provided by an embodiment of the present invention, the system includes a test module M1, a signal analysis module M2 and a comparison analysis module M3, and the specific details of each module are as follows:
[0076] The test module M1 is used to perform multifunctional tests on the device to be tested, and during the test, the optical fiber probe is used to collect the light wave signal of the LED light on the device to be tested in real time;
[0077] The signal analysis module M2 is used to analyze and process the light wave signal to obtain the test parameter values of the LED lamp on the device to be tested under multiple general function test items;
[0078] The comparison and analysis module M3 is used to obtain the test results of each general function test item of the device to be tested based on the comparison and analysis of the test parameter values corresponding to each general function test item and the expected test results corresponding to each general function test item.
[0079] As a preferred solution, the comparison and analysis module M3 specifically includes a judgment unit 31, a first judgment unit 32 and a second judgment unit 33, and each unit is specifically as follows:
[0080] A judging unit 31, used to judge whether the test parameter values corresponding to each general function test item meet the expected test results corresponding to each general function test item;
[0081] The first determination unit 32 is used to determine that the test result of the current general function test item is qualified if the test parameter value of the current general function test item meets the corresponding expected test result, and to perform a test progress check on the device to be tested;
[0082] The second determination unit 33 is configured to determine that the test result of the current general function test item is unqualified if the test parameter value of the current general function test item does not meet the corresponding expected test result.
[0083] As a preferred option, please refer to Figure 2 , a test system with an LED lamp device provided by an embodiment of the present invention further includes a test number superposition module M4; a first determination unit 32, specifically including a determination subunit 321, a first record upload subunit 322, and a second record upload subunit 323, and the test number superposition module M4 and each subunit are specifically as follows:
[0084] The test times superposition module M4 is used to increase the test times of the device to be tested by 1 each time a multi-function test is performed on the device to be tested;
[0085] The judging subunit 321 is used to judge that the test result of the current general function test item is qualified if the test parameter value of the current general function test item meets the corresponding expected test result, and judge whether the current test number is greater than or equal to the set number;
[0086] The first record uploading subunit 322 is used to generate a test log result of the device to be tested based on the test results of each general function test item and the test parameter values corresponding to each general function test item during each test if the current test number is greater than or equal to the set number, and upload the test log result of the device to be tested to a local or remote server;
[0087] The second record uploading sub-unit 323 is used to iteratively process the device to be tested if the current number of tests is less than the set number of times. In each iterative process, a multi-function test is performed on the device to be tested to update the test results of each general function test item. When the current number of tests is greater than or equal to the set number of times, the iteration is stopped and based on the test results of each general function test item in each test and the test parameter values corresponding to each general function test item, a test log result of the device to be tested is generated, and the test log result of the device to be tested is uploaded to a local or remote server.
[0088] As a preferred solution, the test module M1 specifically includes a test unit 11 and a signal acquisition unit 12, and the details of each unit are as follows:
[0089] The test unit 11 is used to control the start of the automated test device and control the automated test device to perform a multifunctional test on the device to be tested according to pre-set general functional test items and test parameters;
[0090] The signal acquisition unit 12 is used to collect the light wave signal of the LED lamp on the device to be tested in real time within a preset test time period during the test process using an optical fiber probe connected to the detection port of the automated test device.
[0091] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0092] An embodiment of the present invention further provides a terminal, comprising a processor, a memory, and a computer program stored in the memory; wherein the computer program can be executed by the processor to implement a testing method for a device with an LED lamp as described in Embodiment 1.
[0093] Preferably, the computer program can be divided into one or more modules / units (such as computer program, computer program), and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal.
[0094] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor. The processor is the control center of the terminal, and various parts of the terminal are connected using various interfaces and lines.
[0095] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (SmartMed ia Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory can also be other volatile solid-state storage devices.
[0096] It should be noted that the above-mentioned terminal may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the above-mentioned terminal is merely an example and does not constitute a limitation on the terminal. It may include more or fewer components, or a combination of certain components, or different components.
[0097] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0098] The present invention provides a testing method, system and terminal for equipment with LED lamps, which perform multifunctional tests on the equipment to be tested, and during the test process, use an optical fiber probe to collect light wave signals of LED lamps on the equipment to be tested in real time, which can not only ensure the timeliness and accuracy of the test data, but also, then analyze and process the collected light wave signals to obtain test parameter values of the LED lamps on the equipment to be tested under multiple general function test items, so as to effectively detect the performance of the equipment to be tested under different general function test items, and then compare the test parameter values corresponding to each general function test item with the expected test results corresponding to each general function test item, and obtain the test results of each general function test item of the equipment to be tested based on the comparative analysis of the two, thereby effectively improving the overall general function test efficiency and test accuracy.
[0099] Furthermore, each time a multi-function test is performed on a device to be tested with an LED, etc., the test number of the device to be tested is increased by 1, and a determination is made as to whether the current test number is greater than or equal to the set number. If the current test number is greater than or equal to the set number, a test log result of the device to be tested is generated based on the test results of each general function test item during each test and the test parameter values corresponding to each general function test item, and the test log result of the device to be tested is uploaded to a local or remote server for subsequent tracing.
[0100] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for testing a device with an LED lamp, characterized in that: include: Performing a multifunctional test on the device to be tested, and during the test, using an optical fiber probe to collect light wave signals of LED lights on the device to be tested in real time; Analyzing and processing the light wave signal to obtain test parameter values of the LED lamp on the device to be tested under multiple general function test items; Based on the comparative analysis of the test parameter values corresponding to each of the general function test items and the expected test results corresponding to each of the general function test items, the test results of each of the general function test items of the device to be tested are obtained.
2. A method for testing a device with an LED lamp as claimed in claim 1, characterized in that: The test results of each of the general function test items of the device to be tested are obtained by comparing and analyzing the test parameter values corresponding to each of the general function test items and the expected test results corresponding to each of the general function test items, specifically: Determine whether the test parameter values corresponding to the general function test items meet the expected test results corresponding to the general function test items; If the test parameter value of the current general function test item meets the corresponding expected test result, the test result of the current general function test item is determined to be qualified, and the test progress of the device to be tested is checked; If the test parameter value of the current general function test item does not meet the corresponding expected test result, the test result of the current general function test item is determined to be unqualified.
3. A method for testing a device with an LED lamp as claimed in claim 2, characterized in that: The method further includes increasing the number of tests of the device to be tested by 1 each time the multi-function test is performed on the device to be tested, and performing the test progress check on the device to be tested, specifically: Determine whether the current number of tests is greater than or equal to the set number; If the current number of tests is greater than or equal to the set number of tests, then based on the test results of each of the general function test items and the test parameter values corresponding to each of the general function test items during each test, a test log result of the device to be tested is generated, and the test log result of the device to be tested is uploaded to a local or remote server; If the current number of tests is less than the set number of times, the device to be tested is iteratively processed, and a multi-function test is performed on the device to be tested during each iterative processing to update the test results of each of the general function test items, until the current number of tests is greater than or equal to the set number of times, then the iteration is stopped and based on the test results of each of the general function test items during each test and the test parameter values corresponding to each of the general function test items, a test log result of the device to be tested is generated, and the test log result of the device to be tested is uploaded to a local or remote server.
4. A method for testing a device with an LED lamp as claimed in claim 2, characterized in that: Also includes: If the test parameter value of the current general functional test item meets the expected test result, controlling the automated test device to send a test success signal; If the test parameter value of the current general function test item does not meet the expected test result, the test log result of the device to be tested is generated based on the test result of each general function test item and the test parameter value corresponding to each general function test item during each test, and the test log result of the device to be tested is uploaded to a local or remote server, and the automated testing device is controlled to send an alarm signal.
5. A method for testing a device with an LED lamp as claimed in claim 1, characterized in that: The multifunctional test is performed on the device to be tested, and during the test, the optical fiber probe is used to collect the light wave signal of the LED light on the device to be tested in real time, specifically: Controlling the start of the automated testing device, and controlling the automated testing device to perform a multifunctional test on the device to be tested according to pre-set general functional test items and test parameters; During the test, the optical fiber probe connected to the detection port of the automatic test device is used to collect the light wave signal of the LED lamp on the device to be tested within a preset test time period in real time.
6. A testing system with LED lamp equipment, characterized in that: Including test module, signal analysis module and comparative analysis module; The test module is used to perform a multifunctional test on the device to be tested, and during the test, the optical fiber probe is used to collect the light wave signal of the LED lamp on the device to be tested in real time; The signal analysis module is used to analyze and process the light wave signal to obtain test parameter values of the LED lamp on the device to be tested under multiple general function test items; The comparison and analysis module is used to obtain the test results of each of the general function test items of the device to be tested based on the comparison and analysis of the test parameter values corresponding to each of the general function test items and the expected test results corresponding to each of the general function test items.
7. A testing system with an LED lamp device as claimed in claim 6, characterized in that: The comparison and analysis module specifically includes a judgment unit, a first judgment unit and a second judgment unit; Wherein, the judging unit is used to judge whether the test parameter values corresponding to the general function test items meet the expected test results corresponding to the general function test items; The first determination unit is configured to determine that the test result of the current general function test item is qualified if the test parameter value of the current general function test item meets the corresponding expected test result, and perform a test progress check on the device to be tested; The second determination unit is configured to determine that the test result of the current general function test item is unqualified if the test parameter value of the current general function test item does not meet the corresponding expected test result.
8. A testing system with an LED lamp device as claimed in claim 7, characterized in that: It also includes a test times superposition module, wherein the first determination unit specifically includes a determination subunit, a first record uploading subunit and a second record uploading subunit; The test times superposition module is used to increase the test times of the device to be tested by 1 each time a multi-function test is performed on the device to be tested; The judging subunit is used to judge that the test result of the current general function test item is qualified if the test parameter value of the current general function test item meets the corresponding expected test result, and judge whether the current test number is greater than or equal to the set number; The first record uploading subunit is used to generate a test log result of the device to be tested based on the test results of each of the general function test items and the test parameter values corresponding to each of the general function test items during each test, and upload the test log result of the device to be tested to a local or remote server if the current test number is greater than or equal to the set number; The second record uploading sub-unit is used to iteratively process the device to be tested if the current number of tests is less than the set number of times, and perform multi-function tests on the device to be tested in each iterative processing to update the test results of each of the general function test items until the current number of tests is greater than or equal to the set number of times, then stop the iteration and generate the test log results of the device to be tested based on the test results of each of the general function test items in each test and the test parameter values corresponding to each of the general function test items, and upload the test log results of the device to be tested to a local or remote server.
9. A testing system with an LED lamp device as claimed in claim 6, characterized in that: The test module specifically includes a test unit and a signal acquisition unit; The test unit is used to control the start of the automated test device and control the automated test device to perform a multifunctional test on the device to be tested according to pre-set general functional test items and test parameters; The signal acquisition unit is used to collect the light wave signal of the LED lamp on the device to be tested in real time within a preset test time period during the test process using an optical fiber probe connected to the detection port of the automated test device.
10. A terminal, characterized in that: It comprises a processor, a memory and a computer program stored in the memory; wherein the computer program can be executed by the processor to implement a testing method for a device with an LED lamp as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method and system for testing BMC video memory under DOS
CN111752813A
Automatic testing device and method for light-emitting performance of LED
CN112684313A
Optical test system for LED application products
CN115524098A
Intelligent door lock testing method and related equipment
CN117632701A
Method and system for realizing automatic detection for simple network managing protocol agent
CN1988482A
