Camera far and near code scanning testing device based on different illumination environments
By introducing the control terminal, relay control module, parallel sliding device and light box controller into the code scanning test device, automated testing in multiple lighting environments and different distances is realized, which solves the problem of traditional testing methods in multiple lighting environments and different distances. It solves difficult problems of performance evaluation and improves testing efficiency and flexibility.
Patent Information
- Application Number
- CN202420468462.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-12
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2034-03-12
AI Technical Summary
Traditional code scanning device testing methods are difficult to accurately evaluate device performance under multiple lighting environments and different distance conditions, and the test scenarios are limited and cannot fully simulate actual usage scenarios, resulting in low testing efficiency.
Design a far and near camera code scanning test device based on different lighting environments, including a control terminal, a relay control module, a parallel sliding device and a light box controller. By adjusting the light brightness and the position of the mobile phone, automated testing can be realized, covering a variety of lighting environments and distances. condition.
It improves testing efficiency, reduces labor costs, ensures a comprehensive evaluation of scanning equipment in actual usage scenarios, and realizes automated and automated testing processes in multiple lighting environments and different distances, with more stable performance.
Smart Images

Figure CN221861006U_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of code scanning testing, and in particular relates to a camera long and short range code scanning testing device based on different lighting environments. Background Art
[0002] In modern society, barcode scanning technology is widely used in various fields such as business, logistics, and medical care. However, traditional barcode scanning equipment testing methods have some challenges and limitations, mainly including:
[0003] 1. Performance is affected by the environment: Traditional testing methods may cause fluctuations in code scanning performance under multiple lighting environments and different distance conditions, making it difficult to accurately evaluate the performance of the device in various actual usage scenarios.
[0004] 2. Limited test scenarios: Traditional methods are difficult to simulate various actual usage scenarios and cannot fully evaluate the performance of the device in a specific environment.
[0005] In previous tests, manual simulation tests or stress tests using code scanning at different distances were often used to target different environments and scenarios. It was not possible to perform light scene tests in different environments, and manual testing was inefficient.
[0006] Therefore, how to achieve the test performance of code scanning equipment in multiple environments and scenarios is a problem that needs to be solved. Utility Model Content
[0007] The purpose of this application is to provide a camera long and short range scanning test device based on different lighting environments to solve the problem that the existing scanning equipment is limited by the scene and environment and cannot accurately determine its scanning ability and has low testing efficiency.
[0008] The technical solution of the present application is: a camera long and short range code scanning test device based on different lighting environments, including a control end, a relay control module, a parallel sliding device, an image collector and a light box controller, the control end is electrically connected to the relay control module, the relay control module is electrically connected to the parallel sliding device, the image collector and the light box controller, a mobile phone is fixedly connected to the parallel sliding device, an adjustable lamp is provided above the parallel sliding device, the light box controller is electrically connected to the adjustable lamp and the light box controller can adjust the brightness of the adjustable lamp; the parallel sliding device can drive the mobile phone to move horizontally along a set stroke, the image collector is located at one end of the parallel sliding device stroke, the relay control module can control the parallel sliding device to move to any position of the stroke, and the control end can control the mobile phone to open or exit the code scanning interface.
[0009] Preferably, the parallel sliding device includes a bracket, a sliding table and a motor; the bracket is arranged on the ground, a guide rail is provided on the bracket and a rack is provided on one side of the bracket, the sliding table is horizontally slidably connected to the guide rail, the motor is fixedly connected to the sliding table, the output end of the motor is provided with a gear meshing with the rack, a support table is provided on the side of the sliding table close to the camera, and the mobile phone is clamped on the support table; the relay control module can drive the motor.
[0010] Preferably, a voltage regulating circuit is provided in the light box controller, and the relay control module can adjust the voltage value output by the voltage regulating circuit.
[0011] Preferably, the adjustable lamp is an LED lamp.
[0012] Preferably, the image collector is a camera or a combination of a photoelectric sensor and an infrared sensor.
[0013] The camera long and short scanning test device based on different lighting environments of the present application includes a control end, a relay control module, a parallel sliding device, a camera and a light box controller. The control end is electrically connected to the relay control module, the relay control module is electrically connected to the parallel sliding device, the camera and the light box controller, the mobile phone is fixedly connected to the parallel sliding device, an adjustable lamp is provided above the parallel sliding device, the light box controller is electrically connected to the adjustable lamp and the light box controller can adjust the brightness of the adjustable lamp, and the parallel sliding device can drive the mobile phone to move horizontally along a set stroke. By adjusting the brightness and the position of the mobile phone, the performance of the code scanning device can be automatically traversed and tested in multiple lighting environments and at different distances, thereby improving the test efficiency, reducing labor costs, and ensuring a comprehensive evaluation of the performance of the equipment in actual usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solution provided by the present application, the following is a brief introduction to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present application.
[0015] Figure 1 This is a schematic diagram of the overall structure of this application.
[0016] 1. Control terminal; 2. Relay control module; 3. Parallel sliding device; 4. Camera; 5. Light box controller; 6. LED light; 7. Mobile phone. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0018] A camera long and short scanning code testing device based on different lighting environments, such as Figure 1 As shown, it includes a control terminal 1, a relay control module 2, a parallel sliding device 3, a camera 4 and a light box controller 5.
[0019] The control end 1 is electrically connected to the relay control module 2, the relay control module 2 is electrically connected to the parallel sliding device 3, the camera 4 and the light box controller 5, the mobile phone 7 is fixedly connected to the parallel sliding device 3, an adjustable lamp is provided above the parallel sliding device 3, the light box controller 5 is electrically connected to the adjustable lamp and the light box controller 5 can adjust the brightness of the adjustable lamp; the parallel sliding device 3 can drive the mobile phone 7 to move horizontally along a set stroke, the camera 4 is located at one end of the stroke of the parallel sliding device 3, the relay control module 2 can control the parallel sliding device 3 to move to any position of the stroke, and the control end 1 can control the mobile phone 7 to open or exit the code scanning interface.
[0020] The control terminal 1 can be specifically a PC computer, on which the scanning information of the mobile phone 7 can be displayed. The control terminal 1 stores a test control software based on a Python script, and sends a control instruction to the relay control module 2 through the test control software. The relay control module 2 controls the stroke of the parallel sliding device 3, the shooting time of the camera 4 and the voltage of the light box controller 5, thereby realizing the code scanning test. When scanning is required, the control terminal 1 controls the mobile phone to open the corresponding QR code, and then the camera 4 controls the mobile phone 1 to exit the page of successful or failed code scanning regardless of whether the code scanning is successful or failed, and open another QR code again.
[0021] In addition to using the camera 4, other sensor combinations may also be considered to replace the camera 4, such as a combination of a photoelectric sensor and an infrared sensor.
[0022] The specific steps are as follows:
[0023] 1. System preparation:
[0024] Make sure all hardware devices are connected correctly: parallel slide device 3, light box controller 5, relay control module 2, camera 4, control terminal 1 and mobile phone 7.
[0025] 2. Start the system:
[0026] Start the test control software on control terminal 1.
[0027] 3. Adjust the brightness of adjustable lamps:
[0028] 31. Open the script file that controls the lights.
[0029] 32. In the script, find the function that defines the control to adjust the light brightness and set the brightness value (between 0 and 100).
[0030] 33. Run the script and the system will adjust the brightness of the light box through the relay.
[0031] 4. Driving parallel sliding device 3:
[0032] 41. Open the script file that controls the sliding device.
[0033] 42. In the script, find the function that defines the control of parallel slide device 3 and set the position value (between 0 and 200).
[0034] 43. Run the script, and the relay control module 2 drives the parallel sliding device 3 to the specified position.
[0035] 5. Trigger the scanning process:
[0036] 51. Return to control terminal 1 to test the control software.
[0037] 52. In the test control software, select specific lighting and distance conditions to trigger the code scan.
[0038] 53. Control terminal 1 sends a scan code trigger command to the device terminal.
[0039] 6. Scan the QR code with camera 4:
[0040] Returns whether the scanned code information is transmitted back to the mobile phone 7.
[0041] 7. Control terminal 1 analyzes the results through mobile phone 7 interface:
[0042] 71. Determine whether the mobile phone 7 receives the code scanning information prompt.
[0043] 72. Output different results for different exceptions.
[0044] 8. Cycle test:
[0045] 81. Set up a test plan in the test control software at control end 1, including different lighting and distance conditions.
[0046] 82. Adjust the loop execution instructions in the script.
[0047] 83. Run the script and the system will loop the test process to cover various conditions.
[0048] 9. End the test process:
[0049] 91. When the test plan is completed, stop the execution of the script.
[0050] 92. Close control terminal 1 to test the control software.
[0051] 10. Exception handling:
[0052] 101. During the whole process, monitor the control terminal 1 and the hardware device for abnormalities.
[0053] 102. If any abnormality is found, check the abnormal information and take maintenance measures as needed.
[0054] By adjusting the brightness and the position of the phone, the performance of the code scanning device can be automatically tested in multiple lighting environments and at different distances, thereby improving test efficiency, reducing labor costs, and ensuring a comprehensive evaluation of the device's performance in actual usage scenarios. The device's interchangeability makes it suitable for different testing needs, providing flexibility and comprehensiveness for the performance evaluation of code scanning devices.
[0055] Preferably, the parallel sliding device 3 includes a bracket, a sliding table and a motor; the bracket is arranged on the ground, a guide rail is arranged on the bracket and a rack is arranged on one side of the bracket, the sliding table is horizontally slidably connected to the guide rail, the motor is fixedly connected to the sliding table, the output end of the motor is provided with a gear meshing with the rack, a support table is arranged on the side of the sliding table close to the camera 4, and the mobile phone 7 is clamped on the support table; the relay control module 2 can drive the motor. The horizontal movement of the sliding table is realized by the motor driving the gear and the rack to cooperate, and the motor is driven by the relay control module 2 to realize the precise control of the stroke.
[0056] Of course, in addition to the gear rack structure, a lead screw structure can also be used to cooperate with the motor to drive the sliding table to move. In addition to the motor drive, the mobile phone 7 can also be driven by a variety of methods such as an actuator and an electric push rod to achieve a comprehensive test of the performance of the code scanning device under multiple lighting and different distances.
[0057] Preferably, a voltage regulating circuit is provided in the light box controller 5, and the relay control module 2 can adjust the voltage value output by the voltage regulating circuit. By outputting different voltage values, the adjustable lamp has different brightness, thereby realizing the brightness adjustment function.
[0058] Preferably, the adjustable lamp is an LED lamp 6, and a single LED lamp 6 may be used, or a plurality of LED lamps 6 may be arranged to form a lamp row to realize lighting control.
[0059] In summary, the advantages of this application are as follows:
[0060] 1. The parallel sliding device 3, light box controller 5 and relay control module 2 are introduced to realize comprehensive code scanning performance testing under different lighting environments and distances.
[0061] 2. An automated testing process is provided, which is controlled by scripts and relay control module 2 to achieve automatic and efficient testing of code scanning performance.
[0062] 3. The device is controlled by relay control module 2 and script, realizing automatic traversal test of different lighting environments and distances, and the performance is more stable.
[0063] 4. The automated testing process greatly reduces labor costs, improves testing efficiency, and achieves flexible adaptation to various testing needs.
[0064] Finally, it should be noted that: the drawings of the embodiments disclosed in the present utility model only involve structures related to the embodiments disclosed in the present utility model, and other structures can refer to the general design. In the absence of conflict, the same embodiment and different embodiments of the present utility model can be combined with each other;
[0065] Finally: The above description is only a preferred embodiment of the present utility model and is not intended to limit the present utility model. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present utility model should be included in the protection scope of the present utility model.
Claims
1. A camera long and short scanning code testing device based on different lighting environments, characterized by: The invention comprises a control end (1), a relay control module (2), a parallel sliding device (3), an image collector and a light box controller (5), wherein the control end (1) is electrically connected to the relay control module (2), the relay control module (2) is electrically connected to the parallel sliding device (3), the image collector and the light box controller (5), a mobile phone (7) is fixedly connected to the parallel sliding device (3), an adjustable lamp is arranged above the parallel sliding device (3), the light box controller (5) is electrically connected to the adjustable lamp and the light box controller (5) can adjust the brightness of the adjustable lamp; the parallel sliding device (3) can drive the mobile phone (7) to move horizontally along a set stroke, the image collector is located at one end of the stroke of the parallel sliding device (3), the relay control module (2) can control the parallel sliding device (3) to move to any position in the stroke, and the control end (1) can control the mobile phone (7) to open or exit a code scanning interface.
2. The camera long and short range code scanning test device based on different lighting environments as claimed in claim 1, characterized in that: The parallel sliding device (3) comprises a bracket, a sliding platform and a motor; the bracket is arranged on the ground, a guide rail is arranged on the bracket and a rack is arranged on one side of the bracket, the sliding platform is horizontally slidably connected to the guide rail, the motor is fixedly connected to the sliding platform, the output end of the motor is provided with a gear meshing with the rack, a support platform is arranged on the side of the sliding platform close to the camera (4), and the mobile phone (7) is clamped on the support platform; the relay control module (2) is capable of driving the motor.
3. The camera long and short range code scanning test device based on different lighting environments as claimed in claim 1, characterized in that: The light box controller (5) is provided with a voltage regulating circuit, and the relay control module (2) is capable of regulating the voltage value output by the voltage regulating circuit.
4. The camera long and short range code scanning test device based on different lighting environments as claimed in claim 1, characterized in that: The adjustable lamp is an LED lamp (6).
5. The camera long and short range code scanning test device based on different lighting environments as claimed in claim 1, characterized in that: The image collector is a camera (4) or a combination of a photoelectric sensor and an infrared sensor.
