Automatic test system and method

By designing an automated test system, using components such as upper computers, microcontrollers, and test blocks, we can realize automated testing of display and control screens, solving the problems of low testing efficiency, large errors and poor stability of display and control screens, and improving testing efficiency and stability.

CN120142792APending Publication Date: 2025-06-13SICHUAN ILINK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510179059.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-18
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

In the prior art, the testing efficiency of display and control screens is low, the test error is large and the testing stability is poor, which is mainly due to the reliance on manual testing and manual testing, resulting in large uncertainties.

Method used

Design an automated testing system, including upper computers, microcontrollers, test concealers, wireless routers and Bluetooth devices, and realize automated testing of various functions of display and control screens through the hardware test environment.

Benefits of technology

Through the automated test system, the testing efficiency of the display and control screen is significantly improved, the test error is reduced, and the test stability is improved, which solves the problems of low testing efficiency, large error and poor stability in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120142792A_ABST
    Figure CN120142792A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic testing system and method, relates to the technical field of display control screen testing, and aims to solve the problems of low efficiency, large error and poor stability of display control screen testing in the prior art. The system at least comprises an upper computer, a single-chip microcomputer, a test camera obscura, a plurality of wireless routers and a plurality of Bluetooth devices. The upper computer is connected with the single-chip microcomputer and the test camera obscura. The single-chip microcomputer is connected with the test camera obscura. The test camera obscura is used for carrying out system test on a plurality of target test devices; the target test equipment is display control screen equipment; the upper computer is used for controlling the target equipment in the test camera obscura to carry out system test on the multiple pieces of target test equipment and generating system test data according to test information and logs in the system test process; the target equipment at least comprises remote control test equipment, photosensitive test equipment, LED display test equipment and Hall sensor test equipment; therefore, the test efficiency and the test stability of the display control screen are improved, and the test error is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of display and control screen testing, and in particular to an automated testing system and method. Background Art

[0002] With the continuous progress of display and control screen technology, especially in outdoor advertising, commercial displays, sports events and other occasions, its high brightness, long life, low power consumption and rich color performance make it an indispensable device. In addition, new display technologies such as small-pitch LED displays, Micro / Mini LED are gradually maturing, providing more choices for the market.

[0003] Currently, display and control screens with WiFi and Bluetooth functions produced in batches can establish a remote connection with the display and control screen using a mobile phone, thereby realizing remote control of the display and control screen. Such display and control screens integrate LED display, infrared receiving sensor, photosensitive sensor and Hall sensor; for example, an air conditioner display and control screen can display the temperature and humidity of the air conditioner through an LED, and can be remotely controlled with a traditional remote control based on the infrared receiving sensor; the ambient light can be monitored through the photosensitive sensor to control the brightness of the display screen; through the Hall sensor, it is possible to monitor whether the cover of the air conditioner is closed, etc.; however, in the production test process of the display and control screen, manual testing and manual detection are often used to test functions such as display and remote control, resulting in low testing efficiency, and prone to missed detection and false detection of functions, leading to problems of low efficiency, large error and poor stability during the testing of the display and control screen.

[0004] Therefore, there is an urgent need to design an automated testing system or testing method to reduce the uncertain factors brought about during the manual detection process, so as to solve the problems of low testing efficiency, large testing error and poor testing stability of the display and control screen in the prior art. Summary of the Invention

[0005] The purpose of the present invention is to provide an automated testing system and method. By establishing an automated testing system, the hardware testing environment in the system is linked with the PC host computer, and automated testing of various functions of the display and control screen can be realized, avoiding the uncertain factors brought about by manual testing or manual detection, and solving the problems of low testing efficiency, large testing error and poor testing stability of the display and control screen in the prior art.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] In a first aspect, the present invention provides an automated testing system, which can at least include:

[0008] A host computer, a single-chip microcomputer, a testing dark box, a plurality of wireless routers and a plurality of Bluetooth devices;

[0009] The host computer is respectively connected to the single-chip microcomputer and the test dark box, and the single-chip microcomputer is connected to the test dark box;

[0010] The test dark box is used for system testing of multiple target test devices; the target test devices are display and control screen devices;

[0011] The host computer is used to control the target devices in the test dark box to perform system testing on multiple target test devices, and generate system test data according to the test information and logs during the system testing process; the target devices at least include a remote control test device, a photosensitive test device, an LED display test device, and a Hall sensor test device;

[0012] The single-chip microcomputer is used to control the working state of the test dark box;

[0013] Multiple wireless routers and multiple Bluetooth devices are used to provide wireless test signals for multiple target test devices.

[0014] Preferably, the remote control test device can be a remote control powered by a DC power source with a preset voltage; the key codes of the remote control are input and controlled through the I2C or UART interface of the host computer; an adjustable attenuation resistor is configured on the infrared emission circuit of the remote control; the adjustable attenuation resistor is used to adjust the emission power of the infrared emission circuit to obtain a target infrared remote control distance.

[0015] Preferably, the test light source of the photosensitive test device can be an annular flat light source or a square flat light source with a hole structure;

[0016] A target beam splitter is provided at the front end of the test light source;

[0017] The target beam splitter is used to ensure that the test light irradiated to the test area is evenly distributed; the test area is the area in the test dark box where multiple target test devices are placed.

[0018] Preferably, the test area can include multiple test sub-areas, and the multiple test sub-areas are used to place multiple target test devices;

[0019] The Hall sensor test device includes multiple magnets;

[0020] Multiple magnets are arranged at target positions directly below the multiple test sub-areas;

[0021] The multiple magnets are used to perform Hall sensor testing on multiple target test devices placed on the multiple test sub-areas.

[0022] Preferably, the light intensity levels of the photosensitive testing device can include at least N light intensity levels; the N light intensity levels can include at least a dark level, a low light level, and a strong light level.

[0023] Preferably, the system can further include an illuminometer, which is located in the test dark box and connected to the host computer;

[0024] The illuminometer is used to detect the light intensity in the test dark box;

[0025] The dark level indicates that all the LEDs in the photosensitive testing device are turned off;

[0026] The low light level indicates that some of the target LEDs in the photosensitive testing device are turned on; the target LEDs are the LEDs at symmetric positions (up and down and / or left and right) in the photosensitive testing device;

[0027] The strong light level indicates that all the LEDs in the photosensitive testing device are turned on.

[0028] Preferably, the LED display testing device can include a CCD camera, which is embedded in the photosensitive testing device and used to take pictures of multiple target testing devices;

[0029] The system can further include an enterprise-level switch; multiple wireless routers are connected to the enterprise-level switch; the enterprise-level switch is used to manage the access and clearance of multiple target testing devices.

[0030] In a second aspect, the present invention provides an automated testing method, which is applied to an automated testing system. The system can include at least a host computer, a single-chip microcomputer, a test dark box, multiple wireless routers, and multiple Bluetooth devices; the multiple wireless routers and the multiple Bluetooth devices are used to provide wireless test signals for multiple target testing devices; the single-chip microcomputer is used to control the working state of the test dark box; the method can include:

[0031] Obtain a test project instruction;

[0032] Based on the test project instruction, the host computer controls the target device in the test dark box to perform a system test on multiple target testing devices, and generates system test data according to the test information and logs during the system test process; the target testing device is a display control screen device; the target device includes at least a remote control testing device, a photosensitive testing device, an LED display testing device, and a Hall sensor testing device.

[0033] Preferably, the test project instruction can include a first non-public project test instruction, a second non-public project test instruction, and a public project test instruction;

[0034] Based on the test item instructions, the host computer controls the target device in the test dark box to perform a system test on multiple target test devices, and generates system test data according to the test information and logs during the system test, which may include:

[0035] Based on the first non-common item test instructions, perform tests on multiple target test devices for the first non-common items to obtain first non-common item test data; the first non-common items include software version number test, mac number test, Hall test, Bluetooth test, and WiFi connection;

[0036] When the tests for the first non-common items are completed for all the multiple target test devices, based on the second non-common item test instructions, perform tests on the multiple target test devices for the second non-common items to obtain second non-common item test data; at the same time, based on the common item test instructions, perform tests on the multiple target test devices for the common items to obtain common item test data; the second non-common items include WiFi function test; the common items include remote control test, photosensitivity test, and LED display test;

[0037] When the tests for the second non-common items and the common items are completed for all the multiple target test devices, generate system test data for the multiple target test devices based on the first non-common item test data, second non-common item test data, and common item test data.

[0038] Preferably, the LED display test may include:

[0039] Split the strokes of the imaging numbers in multiple target test devices into horizontal strokes and vertical strokes;

[0040] Use the host computer to control multiple target test devices to light up the light-emitting diodes corresponding to the horizontal strokes in the imaging numbers, use a CCD camera to take pictures of the multiple target test devices, and compare the pictures obtained after taking pictures with the reference pictures to obtain the LED display test results of the multiple target test devices for lighting up the horizontal strokes in the imaging numbers;

[0041] And, use the host computer to control multiple target test devices to light up the light-emitting diodes corresponding to the vertical strokes in the imaging numbers, use a CCD camera to take pictures of the multiple target test devices, and compare the pictures obtained after taking pictures with the reference pictures to obtain the LED display test results of the multiple target test devices for lighting up the vertical strokes in the imaging numbers.

[0042] Compared with the prior art, the present invention provides an automated testing system, which at least includes a host computer, a single-chip microcomputer, a test dark box, multiple wireless routers and multiple Bluetooth devices; the host computer is connected to the single-chip microcomputer and the test dark box respectively, and the single-chip microcomputer is connected to the test dark box; the test dark box is used to perform system tests on multiple target test devices; the target test device is a display control screen device; the host computer is used to control the target device in the test dark box to perform system tests on multiple target test devices, and generate system test data according to the test information and logs during the system test process; the target devices at least include remote control test equipment, photosensitive test equipment, LED display test equipment and and Hall sensor testing equipment; the single-chip microcomputer is used to control the working state of the test dark box; multiple wireless routers and multiple Bluetooth devices are used to provide wireless test signals for multiple target test devices; based on this, a test dark box including at least remote control testing equipment, photosensitivity testing equipment, LED display testing equipment and Hall sensor testing equipment is used, combined with a host computer, a single-chip microcomputer, multiple wireless routers and multiple Bluetooth devices to construct a hardware testing environment for an automated testing system, which can automatically test various functions of multiple display control screens placed in the test dark box at the same time, thereby improving the testing efficiency and testing stability of the display control screens and reducing testing errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0044] Figure 1 It is a schematic diagram of a display control screen product in the prior art;

[0045] Figure 2 A schematic diagram of the system framework of an automated testing system provided by the present invention;

[0046] Figure 3 A schematic diagram of the internal structure of a test dark box of an automated test system provided by the present invention;

[0047] Figure 4 A schematic diagram of the modified structure of a remote control test device of an automated test system provided by the present invention;

[0048] Figure 5 A schematic diagram of router connection of an automated testing system provided by the present invention;

[0049] Figure 6 A schematic diagram of the position of a Hall sensor test device of an automated test system provided by the present invention;

[0050] Figure 7Structural schematic diagram of a photosensitive test device of an automated test system provided by the present invention;

[0051] Figure 8 Schematic diagram of a display diagram during LED display test of an automated test system provided by the present invention;

[0052] Figure 9 Main flow schematic diagram of an automated test method provided by the present invention.

[0053] Reference numerals: 200 - automated test system, 210 - host computer, 220 - single-chip microcomputer, 230 - test dark box, 240 - wireless router, 250 - Bluetooth device, 260 - enterprise-level switch, 231 - remote control test device, 232 - photosensitive test device, 233 - LED display test device, 234 - Hall sensor test device, 235 - test area, 236 - illuminometer. Detailed implementation manners

[0054] For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and effects. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and do not limit their chronological order. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and terms such as "first" and "second" do not necessarily mean different.

[0055] It should be noted that in the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the present invention should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, using words such as "exemplary" or "for example" aims to present relevant concepts in a specific manner.

[0056] In the present invention, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the previous associated objects. "At least one (piece) of the following" or its similar expressions refer to any combination of these items, including any combination of single item (piece) or plural items (pieces). For example, at least one (piece) of a, b or c can represent: a, b, c, the combination of a and b, the combination of a and c, the combination of b and c, or the combination of a, b and c, where a, b and c can be single or multiple.

[0057] There are many types of display and control devices in the prior art. For example, the display screen of an access control system, the display and control screen of an elevator, the display and control screen of a water meter, and the display and control screen of an air conditioner, etc. These display and control screen devices can all be used to remotely connect and control the display and control screen using a mobile phone based on the WiFi and Bluetooth functions in the display and control screen. Since the display and control screen integrates LED display, infrared receiving sensor, photosensitive sensor, and Hall sensor, various functions can be realized. For example, please refer to Figure 1 , Figure 1 which is a schematic diagram of a display and control screen product in the prior art; in Figure 1 , the air conditioner display and control screen can display the temperature and humidity of the air conditioner based on LED, perform remote control based on the infrared receiving sensor, monitor the ambient light and control the brightness of the display screen based on the photosensitive sensor, and can also monitor whether the cover of the air conditioner is closed through the Hall sensor, etc. For the test of the display and control screen, the common test method in the prior art is manual testing, such as manually detecting functions such as display and remote control, which results in very low test efficiency for the display and control screen and is prone to missed detection or misdetection; and due to human factors, such as the risk of misjudgment during the WiFi test or the influence of light sources during the camera photographing process, the stability of the detection results will also be reduced.

[0058] In view of this, the present invention provides an automated test system and method. Through the hardware test environment of the automated test system and the PC host computer, various functions of the display and control screen are automatically tested mainly for aspects such as remote control test, photosensitive test, LED display test, and Hall test of the display and control screen, improving the test efficiency and test stability of the display and control screen, reducing test errors, and solving the problems of low test efficiency, large errors, and poor stability of the display and control screen in the prior art.

[0059] It should be noted that in the embodiments provided by the present invention, the air conditioner display and control screen product is taken as an example of the display and control screen to introduce the automated test system and method provided by the present invention in detail. It can be understood that the automated test system and method provided by the present invention can also perform automated tests on other display and control screen products integrating functions such as wireless connection, sensing, and display.

[0060] Next, the technical solutions of the present invention will be described in detail with reference to the accompanying drawings:

[0061] Please refer to Figure 2 , Figure 2 which is a schematic diagram of the system framework of an automated test system provided by the present invention.

[0062] In Figure 2In this, the automated test system 200 may at least include: a host computer 210, a single-chip microcomputer 220, a test black box 230, multiple wireless routers 240, and multiple Bluetooth devices 250. The host computer 210 is respectively connected to the single-chip microcomputer 220 and the test black box 230, and the single-chip microcomputer 220 is connected to the test black box 230.

[0063] Specifically, the test black box 230 is used to perform system tests on multiple target test devices, and the target test device is a display control screen device; in the embodiment of the present invention, an air conditioner display control screen product is taken as an example of the target test device for illustration. The host computer 210 is used to control the target devices in the test black box 230 to perform system tests on multiple target test devices, and generate system test data according to the test information and logs during the system test process; the target devices at least include a remote control test device 231, a photosensitive test device 232, an LED display test device 233, and a Hall sensor test device 234. The single-chip microcomputer 220 is used to control the working state of the test black box 230; the multiple wireless routers 240 and the multiple Bluetooth devices 250 are used to provide wireless test signals for the multiple target test devices.

[0064] It should be noted that in actual applications, the target test device can be taken out or put into the test black box at any time according to needs; the wireless router and the Bluetooth device can also be set in the black box. In the embodiment of the present invention, for the convenience of description, the wireless router and the Bluetooth device are placed outside the black box to provide wireless test signals for the multiple target test devices. This method should not constitute a technical limitation to the present invention.

[0065] Based on this, the automated test system constructed by the present invention based on the host computer, the single-chip microcomputer, the test black box, the multiple wireless routers, and the multiple Bluetooth devices can, based on the test instruction, the host computer controls the target devices in the test black box, at least including the remote control test device, the photosensitive test device, the LED display test device, and the Hall sensor, etc., to automatically test the various functions of the multiple target test devices, improving the test efficiency and test stability of the display control screen and reducing the test error.

[0066] Further, please refer to Figure 3 , Figure 3 which is a schematic internal structure diagram of the test black box of an automated test system provided by the present invention. The target devices in the test black box at least include a remote control test device 231, a photosensitive test device 232, an LED display test device 233, and a Hall sensor test device 234. It should be noted that the remote control test device 231 can be a remote control, the photosensitive test device 232 can be a flat light source, the LED display test device can be a CCD camera, and the multiple target test devices in the test area are multiple display control screens. Figure 3 The test sub-area shown in can place 4 display control screens.

[0067] Specifically, the automated testing system provided by the present invention is composed of a test dark box, a PC host computer, a PLC single-chip microcomputer, a wireless router and a Bluetooth device, wherein the opening and closing of the test dark box is controlled by the PC host computer through the PLC single-chip microcomputer, and the remote control, CCD camera and controllable light source in the test dark box are directly controlled by the PC host computer, providing remote control signals, photo recognition and image comparison, and adjustable light signals for the display control screen; the customized magnet in the test dark box provides a Hall signal to the display control screen; the wireless router and the Bluetooth device provide wireless test signals to the display control screen; the host computer and the display control screen perform serial port communication to obtain relevant test information and logs to automatically judge each test item and result; the entire test process can be linked and controlled by the host computer to realize automatic testing.

[0068] Preferably, the remote control test equipment is a remote control powered by a DC source with a preset voltage; the key code of the remote control is input and controlled through the I2C or UART interface of the host computer; the infrared transmitting circuit of the remote control is configured with an adjustable attenuation resistor; the adjustable attenuation resistor is used to adjust the transmission power of the infrared transmitting circuit to obtain the target infrared remote control distance.

[0069] For examples, see Figure 4 , Figure 4 A schematic diagram of the structure of a remote control test device for an automated test system provided by the present invention. Figure 4 In the test, the transmitting tube of the remote control can be equipped with an adjustable attenuation resistor. The size of the resistor is determined according to the actual attenuation test of different remote controls, which can facilitate the adjustment of the attenuation distance. The key code of the remote control is controlled by the host computer I2C bus or UART serial port, which can easily realize software control of the remote control key to achieve automated testing. The power supply of the remote control can be a 3V constant voltage source, which can solve the problem of unstable transmission due to battery power supply voltage attenuation.

[0070] Preferably, the system further comprises an enterprise-level switch 260; a plurality of wireless routers are connected to the enterprise-level switch; and the enterprise-level switch is used to manage the access and removal of a plurality of target test devices.

[0071] For examples, see Figure 5 , Figure 5 A schematic diagram of router connection of an automated test system provided by the present invention; Figure 5 In the present invention, you can add an enterprise-level switch at the front end of the router, set the router as a connection repeater, and the IP address of the access device is allocated by the switch to solve the problem of router congestion caused by multiple devices connecting to the router. The switch is responsible for device connection management, and the wireless router is responsible for device connection.

[0072] Preferably, the test light source of the photosensitive test device is an annular flat light source or a square flat light source with a hole structure; a target spectroscope is provided at the front end of the test light source; the target spectroscope is used to ensure that the test light irradiated to the test area 235 is evenly distributed; the test area is the area in the test dark box where multiple target test devices are placed. The light intensity levels of the photosensitive test device include at least N light intensity levels; the N light intensity levels include at least a dark level, a low light level, and a strong light level.

[0073] The test area 235 includes multiple test sub-areas for placing multiple target test devices; the Hall sensor test device includes multiple magnets; multiple magnets are provided at the target positions directly below the multiple test sub-areas; the multiple magnets are used to perform Hall sensor tests on the multiple target test devices placed on the multiple test sub-areas.

[0074] For example, please refer to 3 and Figure 6 , Figure 6 is a schematic diagram of the position of the Hall sensor test device of an automated test system provided by the present invention; as Figure 3 shown, there are 4 test sub-areas where 4 display control screens can be placed, and magnets are placed below the 4 test sub-areas. The distance between the magnets and the display screen can be set according to requirements; for the air conditioner display control screen, the distance can be set to 1 cm; the shape of the magnet can be circular or square.

[0075] Furthermore, the system may further include an illuminometer 236, which is located in the test dark box and connected to the upper computer; the illuminometer is used to detect the light intensity in the test dark box; the dark level means that all the LEDs in the photosensitive test device are turned off; the low light level means that the target LEDs in the photosensitive test device are partially turned on; the target LEDs are the LEDs at the upper and lower symmetric positions and / or the left and right symmetric positions in the photosensitive test device; the strong light level means that all the LEDs in the photosensitive test device are turned on.

[0076] For example, please refer to Figure 7 , Figure 7 is a schematic diagram of the structure of the photosensitive test device of an automated test system provided by the present invention. In Figure 7 , the number of controllable light source LED beads can be controlled by the upper computer, so that three kinds of ambient light tests of full black, low light, and strong light can be realized; the illuminance values of full black, low light, and strong light are set through the illuminometer, and the light sources of the three levels are automatically calibrated. At the same time, the controllable light source can be light with a target spectroscope, such as a standard circular or square flat light, and is equipped with a spectroscope. At the same time, the controllable light source is placed directly above the test device to ensure uniform direct light.

[0077] Preferably, the LED display test device may include a CCD camera, which is embedded in the photosensitive test device. The CCD camera is used to take pictures of multiple target test devices, thereby completing the LED display test of the target test devices. It should be noted that there are various ways to embed the CCD camera in the photosensitive test device. For example, a position for installing the CCD camera may be reserved in the photosensitive test device, or a hole-like structure, or they may be nested with each other. As long as the CCD camera can be used in combination with the photosensitive test device to ensure the photographing effect. For example Figure 7 a hole-like structure is reserved in the middle of the target beam splitter as shown in Figure 7 , so that the lens of the CCD camera can pass through to ensure a good photographing effect of the CCD.

[0078] Specifically, for the LED display test, the CCD camera takes pictures and compares them with a reference picture to determine whether the display is normal. The LED display is composed of multiple light-emitting diodes, with a plastic cavity and a diaphragm on it for stroke separation. However, for strokes such as the number "8", it is not easy to detect light leakage when all are lit. To better solve the problem of light leakage in the LED display, we reform the display of the number "8", adding the detection of "horizontal strokes" and "vertical strokes" display; that is, the strokes of the imaged numbers in multiple target test devices are split into horizontal strokes and vertical strokes; then the host computer is used to control the light-emitting diodes corresponding to the horizontal strokes or vertical strokes in the imaged numbers of multiple target test devices to be lit, and the CCD camera is used to take pictures of multiple target test devices, and the pictures obtained after taking pictures are compared with the reference picture to obtain the LED display test results of the horizontal strokes or vertical strokes in the imaged numbers of multiple target test devices; thus avoiding the problem of poor light leakage test effect when using the traditional method of lighting all the LED lights and taking pictures after all are imaged.

[0079] Please refer to Figure 8 , Figure 8 which is a schematic diagram of the display picture during the LED display test of an automated test system provided by the present invention. In Figure 8 we confirm whether the cavities of each stroke are well sealed by local stroke display, and whether the light in this stroke leaks through the gap to the adjacent cavity, resulting in poor display due to light leakage; the LED display test method in the present invention can effectively improve the accuracy of the light leakage test.

[0080] In summary, an automated test system provided by the present invention can simultaneously perform automatic tests on various functions of multiple display control screens placed in a test dark box, improving the test efficiency and test stability of the display control screens, and reducing test errors; solving the problems of low test efficiency, large errors and poor stability in the display control screen test of the prior art.

[0081] Second aspect: The present invention provides an automated testing method, which is applied to an automated testing system, such as the automated testing system disclosed in the first aspect. The system at least includes a host computer, a single-chip microcomputer, a test black box, a plurality of wireless routers, and a plurality of Bluetooth devices; the plurality of wireless routers and the plurality of Bluetooth devices are used to provide wireless test signals for a plurality of target test devices; the single-chip microcomputer is used to control the working state of the test black box. Please refer to Figure 9 , Figure 9 which is a schematic diagram of the main process of an automated testing method provided by the present invention. The execution subject of the method is equipped with the automated testing system and the test terminal described in this method, such as: an automated testing platform and a small mobile testing device, etc.

[0082] In Figure 9 , the method may include:

[0083] Step 910: Obtain a test project instruction.

[0084] Step 920: Based on the test project instruction, the host computer controls the target devices in the test black box to perform a system test on a plurality of target test devices, and generates system test data according to the test information and logs during the system test process; the target test device is a display control screen device; the target devices at least include a remote control test device, a photosensitive test device, an LED display test device, and a Hall sensor test device.

[0085] In steps 910 to 920, the test project instruction for the display control screen can be set according to user needs or test requirements, and a plurality of target test devices are placed in a plurality of test sub-areas in the test black box, and the plurality of target test devices are connected to the test black box, so that the plurality of target test devices can be started. After the system obtains the test project instruction, based on the test project instruction, the host computer first starts the test black box through the single-chip microcomputer, and then controls the target devices in the test black box to perform an automated test on a plurality of target test devices, so as to achieve a one-to-many parallel test, greatly improving the test efficiency, and it is expected that the test efficiency will be increased by 2 to 3 times; at the same time, since it is an automated one-stop test, the problems of manual mismeasurement and missed measurement can be solved, ensuring the stability of product testing and helping to improve product quality.

[0086] Preferably, in step 910, the test project instruction includes a first non-public project test instruction, a second non-public project test instruction, and a public project test instruction.

[0087] Preferably, in step 920, based on the test project instruction, the host computer controls the target devices in the test black box to perform a system test on a plurality of target test devices, and generates system test data according to the test information and logs during the system test process, which may include:

[0088] Based on the first non - public item test instruction, test multiple target test devices for the first non - public item to obtain the first non - public item test data; the first non - public item includes software version number test, mac number test, Hall test, Bluetooth test, and WiFi connection test.

[0089] When the first non - public item test of multiple target test devices is completed, based on the second non - public item test instruction, test multiple target test devices for the second non - public item to obtain the second non - public item test data; at the same time, based on the public item test instruction, test multiple target test devices for the public item to obtain the public item test data; the second non - public item includes WiFi function test; the public item includes remote control test, photosensitivity test, and LED display test.

[0090] When the second non - public item and the public item tests of multiple target test devices are completed, generate system test data for multiple target test devices based on the first non - public item test data, the second non - public item test data, and the public item test data.

[0091] Specifically, the following methods can be used for improvement and to complete the corresponding item tests:

[0092] (1) The software version number test and mac number test for multiple target test devices can be carried out when the target test devices are started for detection and the test is completed.

[0093] (2) For the remote control test: The present invention modifies the conventional remote control, changing the two No. 7 batteries of the remote control to a 3V constant voltage source, solving the problem that the voltage fluctuation of the remote control affects the remote control transmission distance and ensuring the stable transmission performance of the remote control; the key code of the remote control is input and controlled through the I2C or UART interface of the peripheral upper computer, and then the received code of the display control screen is detected through the UART interface of the upper computer, and then the input code and the received code are compared for consistency to verify the receiving function of the display control screen. And the present invention also modifies the test remote control. By adding a high - precision attenuation resistor to the infrared emission circuit and selecting the resistance values of each gear to reduce the transmission power to achieve an accurate attenuation distance, the performance test at a remote control distance of more than 10 meters can be realized; it avoids the problems of the traditional method of adding an infrared light - blocking sheet to the transmitting part of the remote control, such as the long production period of the light - blocking sheet, inconvenient adaptation and debugging, and poor consistency of the light - blocking sheet.

[0094] (3) For WiFi testing: When mass-producing display control screen products on the test line, each product needs to be connected to a wireless router. However, the number of devices that can be connected to the router is very limited and cannot be cleared in a timely manner. After every 20 - 30 minutes of testing, a queue jam occurs when new devices try to connect, making it impossible to connect. The router needs to be powered off and restarted to resume testing, which greatly affects the testing efficiency. To solve this problem, we cascade the router and connect it to an enterprise-level switch. The access and clearing of test devices are managed through the switch, and the powerful device access capacity of the enterprise-level switch effectively solves this problem.

[0095] (4) For photosensitivity testing: The test light source for photosensitivity testing needs to be evenly distributed. There is a CCD camera in the test dark box, and a customized design of the test light source is required. The controllable light source is required to be a ring-shaped flat plate or a square flat plate with holes. The lens of the CCD camera can pass through the middle hole of the light source. A beam splitter is added to the light source to ensure uniform light distribution throughout the area to be tested. The on / off of the controllable light source LED can be controlled by the host computer. The brightness of the light source can be precisely controlled by controlling the number of lit LED beads. The fewer the number of lit beads, the weaker the light; the more the number of lit beads, the stronger the light. When all the LEDs are off, it is completely dark. To accurately perform automatic calibration of the light environment, an illuminometer is added to the test box. The illuminometer is connected to the host computer, and the host computer can read the light intensity value in real time. The light source can be automatically calibrated according to the three preset light brightness levels of completely dark, weak light, and strong light.

[0096] (5) For LED display testing: In the present invention, the CCD camera is placed directly above the center of multiple products to be tested, as Figure 3 shown. The lens of the CCD camera can pass through the middle of the controllable light source to ensure that the CCD camera can take pictures of 4 products simultaneously to ensure the picture-taking effect. For the testing of the number 8 on the display control screen, to more effectively solve the problem of light leakage in the strokes, we split the number 8 into "horizontal strokes" and "vertical strokes" and light them separately for testing. If there is light leakage, it can be relatively easily detected by comparing with the adjacent strokes.

[0097] Preferably, the strokes of the imaged number 8 in multiple target test devices can be split into horizontal strokes and vertical strokes; the host computer is used to control the light-emitting diodes corresponding to the horizontal strokes in the imaged numbers of multiple target test devices to be lit, and the CCD camera is used to take pictures of multiple target test devices, and the pictures obtained after taking pictures are compared with the reference pictures to obtain the LED display test results of the horizontal strokes in the imaged numbers of multiple target test devices when lit; and, the host computer is used to control the light-emitting diodes corresponding to the vertical strokes in the imaged numbers of multiple target test devices to be lit, and the CCD camera is used to take pictures of multiple target test devices, and the pictures obtained after taking pictures are compared with the reference pictures to obtain the LED display test results of the vertical strokes in the imaged numbers of multiple target test devices when lit.

[0098] (6)For Hall sensor testing: At the corresponding tooling position of the Hall sensor on the display and control panel to be tested, 1 cm below the exact center of the Hall sensor, embed a circular magnet with a fixed diameter and thickness. When the display and control panel is powered on, it can sense information and determine whether the Hall sensor is normal.

[0099] Based on this, when the automated testing method provided by the present invention conducts one-to-many automated testing, non-public testing items such as mac number, software version, WiFi connection, Bluetooth testing, and Hall testing can be independently tested. Among them, for WiFi testing, a connection instruction is first initiated. Since the connection time is relatively long (waiting for dozens of seconds), the WiFi test results are read separately at the end of the test. During the WiFi connection process, parallel testing is performed on public test signal items such as the remote control, photosensitivity, and LED display. After multiple devices to be tested complete the remote control test, the photosensitivity is tested, and then the LED display is tested, thus making good use of the WiFi connection time, optimizing the test time, and further improving the test efficiency.

[0100] Although the present invention has been described in conjunction with various embodiments, however, in the process of implementing the claimed invention, those skilled in the art can understand and achieve other variations of the disclosed embodiments by viewing the drawings, the disclosure content, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude a plurality of situations. A single processor or other unit can implement several functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0101] Although the present invention has been described in conjunction with specific features and their embodiments, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the present invention. Accordingly, this specification and the drawings are merely exemplary descriptions of the present invention defined by the appended claims, and are considered to have covered any and all modifications, variations, combinations, or equivalents within the scope of the present invention. Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these changes and modifications.

Claims

1. An automated testing system, characterized in that: The system shall at least include: Host computer, single chip microcomputer, test black box, multiple wireless routers and multiple Bluetooth devices; The host computer is connected to the single-chip microcomputer and the test dark box respectively, and the single-chip microcomputer is connected to the test dark box; The test dark box is used to perform system testing on multiple target test devices; the target test devices are display and control screen devices; The host computer is used to control the target device in the test dark box to perform system testing on multiple target test devices, and generate system test data according to the test information and logs during the system test; the target device at least includes a remote control test device, a photosensitive test device, an LED display test device, and a Hall sensor test device; The single chip microcomputer is used to control the working state of the test dark box; The plurality of wireless routers and the plurality of Bluetooth devices are used to provide wireless test signals for the plurality of target test devices.

2. The system according to claim 1, characterized in that The remote control test device is a remote control powered by a DC source with a preset voltage; The key code of the remote controller is input and controlled via the I2C or UART interface of the host computer; The infrared transmitting circuit of the remote controller is provided with an adjustable attenuation resistor; The adjustable attenuation resistor is used to adjust the transmission power of the infrared transmission circuit to obtain the target infrared remote control distance.

3. The system according to claim 1, characterized in that The test light source of the photosensitive test equipment is a ring-shaped flat light source or a square flat light source with a hole structure; A target beam splitter is provided at the front end of the test light source; The target beam splitter plate is used to ensure that the test light irradiated by the test light source to the test area is evenly distributed; the test area is an area in the test dark box where a plurality of the target test devices are placed.

4. The system according to claim 3, characterized in that The test area includes a plurality of test sub-areas, and the plurality of test sub-areas are used to place a plurality of the target test devices; The Hall sensor testing device includes a plurality of magnets; A plurality of the magnets are arranged at target positions directly below the plurality of the test sub-areas; The plurality of magnets are used to perform Hall sensor tests on a plurality of the target test devices placed on a plurality of the test sub-areas.

5. The system according to claim 1, wherein: The light levels of the photosensitive testing device include at least N light levels; the N light levels include at least a dark level, a weak light level and a strong light level.

6. The system according to claim 5, characterized in that The system also includes an illuminometer, which is located in the test dark box and connected to the host computer; The illuminometer is used to detect the light intensity in the test dark box; The darkness level means that all LEDs in the light-sensitive testing device are turned off; The low light level indicates that the target LEDs in the photosensitive test device are partially turned on; the target LEDs are LEDs at vertically symmetrical positions and / or LEDs at horizontally symmetrical positions in the photosensitive test device; The bright light level indicates that all LEDs in the light-sensitive testing device are turned on.

7. The system according to claim 1, characterized in that The LED display test device comprises a CCD camera, which is embedded in the photosensitive test device and is used to take photos of the plurality of target test devices; The system also includes an enterprise-level switch; a plurality of the wireless routers are connected to the enterprise-level switch; and the enterprise-level switch is used to manage the access and removal of a plurality of the target test devices.

8. An automated testing method, characterized in that: The automated testing method is applied to an automated testing system, which at least includes a host computer, a single-chip microcomputer, a test dark box, multiple wireless routers, and multiple Bluetooth devices; the multiple wireless routers and multiple Bluetooth devices are used to provide wireless test signals for multiple target test devices; The single chip microcomputer is used to control the working state of the test dark box; the method includes: Get test item instructions; Based on the test item instructions, the host computer controls the target device in the test darkroom to perform system testing on multiple target test devices, and generates system test data according to the test information and logs during the system testing process; the target test device is a display control screen device; the target device includes at least a remote control test device, a photosensitive test device, an LED display test device, and a Hall sensor test device.

9. The method according to claim 8, characterized in that The test item instructions include a first non-public item test instruction, a second non-public item test instruction and a public item test instruction; Based on the test item instruction, the host computer controls the target device in the test dark box to perform system test on multiple target test devices, and generates system test data according to the test information and logs in the system test process, including: Based on the first non-public project test instruction, a first non-public project test is performed on the plurality of target test devices to obtain first non-public project test data; the first non-public project includes software version number test, MAC number test, Hall test, Bluetooth test and WiFi connection; When the first non-public project test is completed for the plurality of target test devices, based on the second non-public project test instruction, the second non-public project test is performed on the plurality of target test devices to obtain second non-public project test data; at the same time, based on the public project test instruction, the public project test is performed on the plurality of target test devices to obtain public project test data; the second non-public project includes a WiFi function test; the public project includes a remote control test, a photosensitivity test, and an LED display test; After the plurality of target test devices complete the testing of the second non-public project and the public project, system test data for the plurality of target test devices is generated based on the first non-public project test data, the second non-public project test data and the public project test data.

10. The method according to claim 9, characterized in that The LED display test includes: Splitting the strokes of the imaged digits in the target test devices into horizontal strokes and vertical strokes; Using a host computer to control multiple target test devices to light up the light-emitting diodes corresponding to the horizontal lines in the imaging digits, and using a CCD camera to take pictures of the multiple target test devices, and comparing the pictures obtained after taking pictures with the reference pictures, to obtain the LED display test results of the multiple target test devices lighting up the horizontal lines in the imaging digits; In addition, a host computer is used to control multiple target test devices to light up the light-emitting diodes corresponding to the vertical lines in the imaged numbers, and a CCD camera is used to take pictures of the multiple target test devices, and the pictures obtained after taking the pictures are compared with the reference pictures to obtain the LED display test results of the multiple target test devices lighting up the vertical lines in the imaged numbers.