Two-in-one program simulation running test method
By simulating the background server, PLC machine and code scanning gun, the automated TP test and screen display test of the two-in-one program are realized, which solves the problem of failure to meet the test yield during the mass production of LCD modules in the existing technology, improves program stability and online success rate, and reduces line shutdown losses.
Patent Information
- Application Number
- CN202411740968.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-04-11
AI Technical Summary
In the mass production process of LCD modules, the TP test and lighting test of the two-in-one program are difficult to ensure yield, resulting in unstable operation, and the process is required to be suspended midway and update the program, affecting production capacity, cost and delivery.
Provides a two-in-one program simulation and running test method, through multiple network debugging assistants, simulates the background server, PLC machine and code scanning gun, simulates TP test and screen display test, judges the test results and sends them to the background server, realizing automated testing and problem optimization.
Through simulated operation tests, problems can be discovered and optimized in advance, the success rate of program launch is improved, and the loss of line shutdown, manpower and capacity caused by program abnormalities can be reduced.
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of display modules, and in particular to a method for simulating running tests of a two-in-one program. Background Art
[0002] In the production of LCD modules, the existing two-in-one program for TP test (touch test) and lighting test will generally only take a few samples for verification after the software engineer completes the code, and then upload and share it with the production workshop for mass production. This method is likely to lead to substandard yield and instability during operation during mass production, and the line needs to be stopped midway to update the program, which has a negative impact on production capacity, cost and delivery.
[0003] Therefore, the prior art has defects and needs to be improved. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a method for simulating the running of a two-in-one program.
[0005] The technical solution of the present invention is as follows: The present invention provides a method for simulating a two-in-one program operation test, comprising the following steps: Step 1: simulating a backend server, a PLC machine, and a barcode scanner respectively through multiple network debugging assistants;
[0006] Step 2: The barcode scanner imports the QR code and sends the data to the PLC machine, and the PLC machine controls the two-in-one program to start executing the TP test;
[0007] Step 3: The PLC machine determines whether the TP test is qualified. If not, the PLC machine sends the TP test failure result to the backend server and proceeds to step 4. If qualified, the PLC machine proceeds to step 5.
[0008] Step 4: Timer triggers the next cycle and goes to step 2;
[0009] Step 5: Enter the picture cutting mode, the PLC machine controls the two-in-one program to switch the specified screen, the picture acquisition module collects picture data, and the PLC machine determines whether the screen display is qualified. If qualified, the overall test result is sent to the background server and the process goes to step 4. If unqualified, the screen display unqualified result is sent to the background server and the process goes to step 4.
[0010] By adopting the above scheme, the beneficial effect of the present invention is that: by adopting the simulation operation test method of the scheme, the production line operation status can be simulated in advance, problems can be discovered and optimized in time, the success rate of the program's one-time online launch can be improved, and the line stoppage loss, manpower loss and production capacity loss caused by program abnormalities can be reduced. DETAILED DESCRIPTION
[0011] The present invention is described in detail below in conjunction with specific embodiments.
[0012] In this embodiment, the present invention provides a method for simulating the running test of a two-in-one program, comprising the following steps: Step 1: Simulate a background server, a PLC machine and a barcode scanner gun respectively through multiple network debugging assistants.
[0013] Step 2: The barcode scanner imports the QR code and sends the QR code data to the PLC machine, and the PLC machine sends the QR code data and a start command to the two-in-one program to control the two-in-one program to start executing the TP test.
[0014] Step 3: After the TP test is completed, the PLC machine determines whether the TP test is qualified. If it is unqualified, the PLC machine sends the TP test unqualified result to the backend server and proceeds to step 4. If it is qualified, it proceeds to step 5;
[0015] Step 4: Use the timer trigger function of the network debugging assistant to timer trigger the next cycle and go to step 2.
[0016] Step 5: Enter the picture cutting mode, the PLC machine controls the two-in-one program to switch the specified screen, the picture acquisition module collects picture data, and after the screen display test is completed, the PLC machine determines whether the screen display is qualified. If qualified, the overall test result is sent to the background server and enters step 4. If unqualified, the screen display unqualified result is sent to the background server and enters step 4.
[0017] Using the above method, you can simulate the two-in-one program in the office for automatic testing without human operation. During the automatic testing process, you can call up the background server data for analysis. If it is found that the yield of the TP test and the screen display test does not meet the standard, you can analyze the problem in time and optimize the program to improve the stability of the program.
[0018] To sum up, the beneficial effects of this solution are: by adopting the simulation operation test method of the solution, the production line operation status can be simulated in advance, problems can be discovered and optimized in time, the success rate of the program's first launch can be improved, and the line stoppage losses, manpower losses and production capacity losses caused by program abnormalities can be reduced.
[0019] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for simulating running a two-in-one program, characterized in that: The following steps are involved: Step 1: Use multiple network debugging assistants to simulate the backend server, PLC machine and barcode scanner respectively; Step 2: The barcode scanner imports the QR code and sends the data to the PLC machine, and the PLC machine controls the two-in-one program to start executing the TP test; Step 3: The PLC machine determines whether the TP test is qualified. If not, the PLC machine sends the TP test failure result to the backend server and proceeds to step 4. If qualified, the PLC machine proceeds to step 5. Step 4: Timer triggers the next cycle and goes to step 2; Step 5: Enter the picture cutting mode, the PLC machine controls the two-in-one program to switch the specified screen, the picture acquisition module collects picture data, and the PLC machine determines whether the screen display is qualified. If qualified, the overall test result is sent to the background server and the process goes to step 4. If unqualified, the screen display unqualified result is sent to the background server and the process goes to step 4.