Integrated development platform and method for solution of universal automated testing system
By designing a general automated test system solution integrated development platform, the problems of long delivery cycle, high development difficulty, and poor software and hardware coordination in the existing technology are solved, and the rapid development and integration of test solutions in different industries are achieved, improving testing efficiency and user experience.
Patent Information
- Application Number
- CN202411971608.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-25
AI Technical Summary
The existing automated testing systems have problems such as long delivery cycle, high development difficulty, and poor software and hardware coordination, which leads to difficulties in changing and upgrading after product finalization and poor user experience.
Design a general automated test system solution integrated development platform, including industrial control machines, clients, equipment management modules, test case modules, test program modules, solution modules, test report modules, system management modules and statistical analysis modules. Through these modules, equipment registration, test case generation, test solution writing and report generation are realized, and gRPC is used for inter-module communication.
It realizes the development and integration of test solutions in different industries and EUTs, implements test case writing without code, and implements simulation, debugging and verification without hardware, improves testing efficiency and user experience, and simplifies the product change and upgrade process.
Smart Images

Figure CN119883916A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an integrated development platform and method, and in particular to a general automated testing system solution integrated development platform and method. Background Art
[0002] At present, the degree of industrial automation is getting higher and higher, and ATE products are in more and more demand in the automated testing link. With the advantages of unattended, efficient testing, and good test consistency, they are widely used in important links such as new product development testing, product end-of-line testing, and product calibration and measurement.
[0003] Different countries and regions have different implementation standards, different industries have different EUTs, different test implementation standards, and different manufacturers in the same industry have different test requirements. Just as regional differences, EUT differences, and manufacturer process differences make it difficult to realize the productization of automated test system solutions. At present, each integrator mainly relies on customized development, and adopts a one-to-one engineering customization delivery model based on customer test requirements. Hardware engineers configure different instruments according to user EUT requirements and develop different functional equipment. Software engineers need to communicate with users on test procedures repeatedly and develop software and test reports according to the test procedures. After the software and hardware development is completed, joint debugging is carried out. After the joint debugging is correct, the EUT is connected to verify the execution logic of the test case and the correctness of the result analysis item by item. There are problems such as long delivery cycle, high development difficulty (software engineers must understand the user test procedures and implement the user test function logic in code, and the results are difficult to guarantee), poor coordination between software and hardware, and delivery means product finalization, and later changes and upgrades are more difficult; at the same time, due to the strong binding of software and hardware and closed systems, the user experience is poor. Summary of the invention
[0004] The purpose of the present invention is to solve the problems of long delivery cycle, high development difficulty, poor coordination between software and hardware, etc. of the existing automated test system, and to provide a general automated test system solution integrated development platform and method.
[0005] To achieve the above purpose, the technical solution adopted by the present invention is:
[0006] A general automated test system solution integrated development platform, which is special in that:
[0007] Including industrial computers;
[0008] The industrial computer can communicate with the external automated test equipment to be developed and the equipment under test respectively;
[0009] It also includes client, device management module, test case module, test program module, solution module and test report module;
[0010] The client is deployed on an industrial computer, or on an external computer terminal device in the same network as the industrial computer, or there are multiple clients, and multiple clients are deployed on multiple external computer terminal devices in the same network as the industrial computer;
[0011] The device management module, the test case module, the test program module, the solution module and the test report module are respectively deployed on the industrial computer, and the device management module, the test case module, the test program module, the solution module and the test report module are sequentially connected in communication and are all connected in communication with the client;
[0012] The device management module is used to implement device registration and self-diagnosis of the device under test and automated test equipment, and to generate a device instruction library;
[0013] The test case module is used to generate a test case library corresponding to the device under test in the device instruction library;
[0014] The test program module is used to reorganize the test cases in the test case library to generate test solutions;
[0015] The test report module is used to edit the exclusive report template and generate the test report based on the exclusive report template after the test is completed;
[0016] The solution module is used to test the device under test using the test solution generated by the test program module.
[0017] Furthermore, it also includes a system management module and a statistical analysis module deployed on the industrial computer;
[0018] The system management module and the statistical analysis module are respectively connected to the client for communication;
[0019] The system management module is used to provide non-testing services, including equipment calibration, authority management, waveform analysis, report analysis and real-time monitoring;
[0020] The statistical analysis module is used to generate evaluation reports according to the set time and the historical test report database;
[0021] The client is a one-stop UI that controls the device management module, test case module, test program module, solution module, test report module, system management module and statistical analysis module, and displays them.
[0022] Furthermore, the client, device management module, test case module, test program module, solution module, test report module, system management module and statistical analysis module are connected through gRPC.
[0023] Furthermore, the device management module implements device registration of the device under test and the automated test device in the following manner:
[0024] A. When the device under test is connected to the industrial computer, the device under test is automatically registered through device scanning and discovery technology; when there is no device under test hardware, the name, manufacturer and model of the device under test are found in the device tree, and the communication parameters of the device under test are added and configured, or the communication protocol file of the device under test is imported through the built-in industrial fieldbus protocol stack;
[0025] B. Through virtual reality technology, the automated test equipment to be developed is virtualized into the equipment instruction library;
[0026] The device management module can realize the replacement and use of devices within the group through virtual device grouping abstraction technology.
[0027] Furthermore, the test case module generates a test case library corresponding to the device under test according to the device instruction library in the following A, B, C, or D manner:
[0028] A. Generate a test case library through built-in device instructions, programming instructions, and algorithm instructions;
[0029] B. Generate a test case library through pre-built industry standard tests;
[0030] C. Edit and generate the test case library through the built-in compiler function;
[0031] D. Generate a test case library using third-party scripting through external adapter functions;
[0032] The test case module can verify the correct execution of the test case through hardware-free simulation function.
[0033] Furthermore, the test report module generates a dedicated report in the following way:
[0034] Save the formatted Word, Excel or PDF as a report template according to the user's choice; then import the report template into the test report module, select the data variables in the test case to be generated, and generate a dedicated report template after selectively adding an electronic bookmark;
[0035] The test report module generates a test report based on a dedicated report template after the test is completed in the following way:
[0036] Generate test reports online or generate historical reports based on user selection.
[0037] Further, the solution module is used to test the device under test using the test solution in the following ways:
[0038] A. Through the process control function, the test solution corresponding to the device under test model is automatically loaded, and the device under test is tested;
[0039] B. Through the editing function of user protection, when a test failure occurs, it can automatically enter the corresponding processing flow according to the fault level and output log information; and when a serious fault occurs, the test solution protection function is automatically triggered;
[0040] C. Through the custom dashboard function, you can add the data, status, and waveform data you are interested in during testing by yourself, and display them dynamically and in real time.
[0041] Furthermore, the industrial computer is also connected to the user-side intelligent manufacturing system, including MES and LIMS, through network communication.
[0042] Furthermore, the industrial computer is connected to the external automated test equipment to be developed and the equipment under test through the communication interface and IO signals.
[0043] At the same time, the present invention also provides a general automated test system solution integrated development method, based on the aforementioned general automated test system solution integrated development platform, which is special in that it includes the following steps:
[0044] Step 1: Register the device under test and the automated test device through the device management module, perform self-diagnosis, and determine whether the self-diagnosis passes. If yes, generate a device instruction library; if not, re-register the device;
[0045] Step 2: compile the test case corresponding to the device under test through the test case module, and determine whether it passes the compilation. If so, perform simulation debugging; if not, modify the case according to the compilation error prompt and recompile, and then determine whether the simulation debugging passes. If so, generate a test case library; if not, modify it again and then perform simulation debugging;
[0046] Step 3: Reorganize the test cases in the test case library based on the test program through the test program module to implement test program writing, and then determine whether the compilation is passed. If so, generate a test solution; if not, rewrite the test program;
[0047] Step 4. The industrial computer saves the report template according to the user's selection; then imports the report template into the test report module, selects the data variables in the test case to be generated, and generates a dedicated report template after selectively adding an electronic bookmark;
[0048] Step 5: Use the test solution to test the device under test through the solution module, and after the test is completed, generate a test report based on the exclusive report template through the test report module.
[0049] The beneficial effects of the present invention are:
[0050] 1. The present invention is applicable to the development and construction of test solutions for different industries and different EUTs (equipment under test). It is used for seamless integration of ATE (automated test equipment), code-free test case writing, hardware-free simulation, debugging and verification, and test solution deployment and execution.
[0051] 2. The general automated test system solution integrated development environment of the present invention has an open concept and is designed to adapt to test solutions for different industries. Based on this platform, test solutions for different industries can be developed, involving traditional PSU automated test systems (module power supplies, AI server power supplies, adapters, chargers), new energy product automated test systems (such as charging piles, photovoltaic energy storage inverters), new energy electric vehicle component automated test systems (OBC on-board chargers, battery packs, high-voltage relays) and other test solutions in different fields. It can be widely used in industrial automation R&D tests, production line automation inspections, product aging, etc. of various manufacturers, and testing agencies for calibration of test systems and other links. The industrialization of ATE products can be realized, and good economic benefits and industry influence can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a structural schematic diagram of the integrated development platform for the universal automated test system solution of the present invention;
[0053] Figure 2 It is a flow chart of the integrated development platform and method of the universal automated test system solution of the present invention. DETAILED DESCRIPTION
[0054] To make the purpose, advantages and features of the present invention clearer, the following is a further detailed description of the general automated test system solution integrated development platform and method proposed by the present invention in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become clearer according to the following specific implementation methods.
[0055] See also Figure 1 The general automated test system solution integrated development platform of this embodiment consists of two parts: software and hardware:
[0056] The hardware part includes at least one industrial computer, which can be expanded with rich peripherals and various industrial field buses. The industrial computer is connected to external devices through communication interfaces and IO signals, and the external devices include ATE and the equipment under test. It can also be connected to the user-side intelligent manufacturing system, such as MES, LIMS, etc., through network communication.
[0057] The software part consists of 1 client and 7 micro-modules: client, device management module, test case module, test program module, solution module, test report module, system management module and statistical analysis module.
[0058] This embodiment adopts a micro-module architecture, which can be deployed in a centralized manner according to workstations or in a distributed system, taking into account both production line and R&D test requirements. The equipment management module, test case module, test program module, solution module, test report module, system management module and statistical analysis module are deployed on an industrial computer. The client can be deployed on the same industrial computer as other modules, or it can be independently deployed in one or more computer terminal devices under the same network.
[0059] The client,consists of a series of user interfaces, which control the device management module, test case module, test program module, solution module, test report module, system management module and statistical analysis module,,providing a one-stop UI integrating user device integration, test solution development,,compilation, compilation, simulation, debugging, deployment, execution and result display.
[0060] The device management module, test case module, test program module, solution module and test report module are connected in sequence and are all connected to the client. The client, device management module, test case module, test program module, solution module, test report module, system management module and statistical analysis module interact with each other through gRPC communication, and communication interaction can be achieved within the same computer or between different computing devices in the same network.
[0061] The seven modules, namely, equipment management module, test case module, test program module, solution module, test report module, system management module and statistical analysis module, adopt functional modular design and authorization by role to meet the collaborative development of different roles and protect user process safety.
[0062] The device management module quickly realizes the device registration and self-diagnosis of the tested device and automated test equipment, and generates a device instruction library
[0063] (1) Rapidly realize device integration, providing the following methods:
[0064] 1) When the device is already connected to the platform, device registration is automatically achieved through device scanning and discovery technology without human intervention.
[0065] 2) If there is no hardware device, find the device name -> manufacturer -> model in the device tree, double-click to add and configure the communication parameters.
[0066] 3) Open user equipment registration, import equipment communication protocol files through built-in various industrial field bus protocol stacks, solve the problem of not being able to find the model, and achieve seamless access to equipment such as EUT.
[0067] (2) Through virtual reality technology, ATE equipment components, such as source loads, functional modules, industrial control equipment, and various models of instruments from third-party mainstream manufacturers, are virtualized to the device instruction library to achieve virtual panel control and use case development.
[0068] (3) Virtual device grouping abstraction technology breaks down the differentiation barriers between device manufacturers, enables seamless replacement and difference-free use of devices within a group, and solves the problem of having to redevelop test cases when replacing devices.
[0069] Similar to VR, it abstracts the physical model in reality into a digital model, groups the devices of the same type or with similar functions, and establishes a unified digital model. Because the functions of devices from different manufacturers are different, this difference is abstracted into a unified one, so that the device of factory A can replace the device of factory B. After the device is replaced, the test case does not need to be changed, and the user does not need to be familiar with different devices and cannot perceive the difference in use.
[0070] Test case module, generates a test case library corresponding to the device under test
[0071] (1) Through the built-in three digital bases (device instructions, programming instructions, and algorithm instructions), complex test items can be edited by simply dragging and dropping instructions with the mouse. Instructions are localized and close to natural language or graphically, which is easy for users to understand.
[0072] (2) With built-in industry standard tests, it can be used directly for testing or template-based development.
[0073] (3) Built-in compiler function performs compliance and logic checks during the user test case editing process to ensure the correctness of the test process.
[0074] (4) Without hardware simulation function, in the absence of ATE equipment, the correct execution of test cases can be verified in advance to avoid damage to the equipment or safety problems caused by test case defects.
[0075] (5) External adapter function, which can realize the embedded execution of test items written in third-party scripts:
[0076] Matlab, Python, LabView, DLL, etc.
[0077] Test program module, to realize top-level design of different test solutions by reorganizing test cases
[0078] Select the required items from the test case library for combinatorial logic editing to form test solutions for different EUTs. The editing process adopts graphical process construction or table editing to facilitate the understanding of non-professionals.
[0079] Through asynchronous and parallel rule settings, parallel and serial testing of multiple EUTs and multiple ports can be achieved, allowing equipment reuse, greatly saving costs and improving test efficiency.
[0080] Solution module, one-click efficient testing, combining efficiency and flexibility
[0081] (1) Through the process control function, the corresponding test solution and model parameters can be automatically loaded after scanning, allowing the test solution to be automatically or manually executed. The test process does not require human intervention, and automatically controls measurement, analysis, and recording of data, which can be unattended.
[0082] (2) Through the user daemon editing function, it is ensured that in the case of unattended operation, the corresponding processing flow is automatically entered according to the fault level and log information is output. Severe faults automatically trigger the test solution protection function to ensure equipment safety.
[0083] (3) User-defined dashboards allow users to add data, status, and waveform data of interest, which are displayed dynamically and in real time.
[0084] Test report module, user personalized report generation
[0085] The user can generate personalized reports independently through the test report module, and supports multiple formats: word / excel / pdf, etc. The implementation method is as follows:
[0086] (1) Users use familiar Word or Excel to format and save as a report template.
[0087] (2) Import the report template file in the report module, select the data variables in the test case to be generated, and double-click to add an electronic bookmark.
[0088] (3) After the test is completed, choose to generate a report online or generate a historical report to automatically generate a user-customized report.
[0089] The statistical analysis module has a built-in multi-dimensional quality analysis model to evaluate product quality and process capability.
[0090] Based on the product test history database, a multi-dimensional statistical report is generated through the built-in multi-dimensional analysis model, and problems are discovered and corrected in a timely manner through the evaluation report. For example, the manufacturing capacity and product batch problems are evaluated based on historical trends, and product consistency analysis and defect deviation are evaluated through defects and data distribution.
[0091] The system management module is equivalent to a toolbox, with rich built-in tools to meet multi-functional needs. More tools can be added as needed, including equipment calibration, authority management, recording analysis, report analysis and real-time monitoring.
[0092] This embodiment provides a general automated test system solution integrated development method, including the following steps:
[0093] Step 1: Register the device under test and the automated test device through the device management module, perform self-diagnosis, and determine whether the self-diagnosis passes. If yes, generate a device instruction library; if not, re-register the device;
[0094] Step 2: compile the test case corresponding to the device under test according to the device instruction library through the test case module, and determine whether it passes the compilation. If so, perform simulation debugging; if not, modify the case according to the compilation error prompt and recompile, and then determine whether the simulation debugging passes. If so, generate a test case library; if not, modify it again and then perform simulation debugging;
[0095] Step 3: Reorganize the test cases in the test case library based on the test program through the test program module to implement test program writing, and then determine whether the compilation is passed. If so, generate a test solution; if not, rewrite the test program;
[0096] Step 4. The industrial computer saves the report template according to the user's selection; then imports the report template into the test report module, selects the data variables in the test case to be generated, and generates a dedicated report template after selectively adding an electronic bookmark;
[0097] Step 5: Use the test solution to test the device under test through the solution module, and after the test is completed, generate a test report based on the exclusive report template through the test report module.
Claims
1. A general automated test system solution integrated development platform, characterized by: Including industrial computers; The industrial computer can be respectively connected to the external automated test equipment to be developed and the equipment under test in communication; It also includes client, device management module, test case module, test program module, solution module and test report module; The client is deployed on the industrial computer, or deployed on an external computer terminal device in the same network as the industrial computer, or there are multiple clients, and the multiple clients are respectively deployed on multiple external computer terminal devices in the same network as the industrial computer; The device management module, test case module, test program module, solution module and test report module are respectively deployed on the industrial computer, and the device management module, test case module, test program module, solution module and test report module are sequentially connected in communication and are all connected in communication with the client; The device management module is used to implement device registration and self-diagnosis of the device under test and the automated test equipment, and to generate a device instruction library; The test case module is used to generate a test case library corresponding to the device under test in the device instruction library; The test program module is used to reorganize each test case in the test case library to generate a test solution; The test report module is used to edit the exclusive report template and generate a test report based on the exclusive report template after the test is completed; The solution module is used to test the device under test using the test solution generated by the test program module.
2. The general automated test system solution integrated development platform according to claim 1, characterized in that: It also includes a system management module and a statistical analysis module deployed on an industrial computer; The system management module and the statistical analysis module are respectively connected to the client for communication; The system management module is used to provide non-testing services, including equipment calibration, authority management, waveform analysis, report analysis and real-time monitoring; The statistical analysis module is used to generate an evaluation report according to the set time and based on the historical test report database; The client is a one-stop UI that controls the device management module, test case module, test program module, solution module, test report module, system management module and statistical analysis module, and displays them.
3. The general automated test system solution integrated development platform according to claim 2, characterized in that: The client, device management module, test case module, test program module, solution module, test report module, system management module and statistical analysis module are connected through gRPC.
4. The general automated test system solution integrated development platform according to any one of claims 1 to 3, characterized in that: The device management module implements device registration of the device under test and the automated test device in the following manner: A. When the device under test is connected to the industrial computer, the device under test is automatically registered through device scanning and discovery technology; when there is no device under test hardware, the name, manufacturer and model of the device under test are found in the device tree, and the communication parameters of the device under test are added and configured, or the communication protocol file of the device under test is imported through the built-in industrial fieldbus protocol stack; B. Through virtual reality technology, the automated test equipment to be developed is virtualized into the equipment instruction library; The device management module can realize the replacement and use of devices in the group through virtual device grouping abstraction technology.
5. The general automated test system solution integrated development platform according to claim 4, characterized in that: The test case module generates a test case library corresponding to the device under test according to the device instruction library in the following manner: A. Generate a test case library through built-in device instructions, programming instructions, and algorithm instructions; B. Generate a test case library through pre-built industry standard tests; C. Edit and generate the test case library through the built-in compiler function; D. Generate a test case library using third-party scripting through external adapter functions; The test case module can verify the correct execution of the test case through the hardware-free simulation function.
6. The general automated test system solution integrated development platform according to claim 5, characterized in that: The test report module generates a dedicated report in the following way: Save the formatted Word, Excel or PDF as a report template according to the user's choice; then import the report template into the test report module, select the data variables in the test case to be generated, and generate a dedicated report template after selectively adding an electronic bookmark; The test report module generates a test report based on a dedicated report template after the test is completed in the following manner: Generate test reports online or generate historical reports based on user selection.
7. The general automated test system solution integrated development platform according to claim 6, characterized in that: The solution module is used to test the device under test using the test solution in the following ways: A. Through the process control function, the test solution corresponding to the device model under test is automatically loaded, and the device under test is tested; B. Editing function through user protection. When a test failure occurs, it can automatically enter the corresponding processing flow according to the fault level and output log information; And when a serious fault occurs, the test solution protection function is automatically triggered; C. Through the custom dashboard function, you can add the data, status, and waveform data you are interested in during testing by yourself, and display them dynamically in real time.
8. The general automated test system solution integrated development platform according to claim 1, characterized in that: The industrial computer is also connected to the user-side intelligent manufacturing system, including MES and LIMS, through network communication.
9. The general automated test system solution integrated development platform according to claim 8, characterized in that: The industrial computer is connected to the external automated test equipment to be developed and the equipment under test through the communication interface and IO signals.
10. A method for integrated development of a general automated test system solution, based on the integrated development platform of a general automated test system solution according to any one of claims 1 to 9, characterized in that: The following steps are involved: Step 1: Register the device under test and the automated test device through the device management module, perform self-diagnosis, and determine whether the self-diagnosis passes. If yes, generate a device instruction library; if not, re-register the device; Step 2: compile the test case corresponding to the device under test in the device instruction library through the test case module, and determine whether it passes the compilation. If so, perform simulation debugging; if not, modify the case according to the compilation error prompt and recompile, and then determine whether the simulation debugging passes. If so, generate a test case library; If not, re-modify and re-run simulation debugging; Step 3: Reorganize the test cases in the test case library based on the test program through the test program module to implement test program writing, and then determine whether the compilation is passed. If so, generate a test solution; if not, rewrite the test program; Step 4: The industrial computer saves the report template according to the user's selection; Then import the report template into the test report module, select the data variables in the test case to be generated, and generate a dedicated report template after selectively adding an electronic bookmark; Step 5: Use the test solution to test the device under test through the solution module, and after the test is completed, generate a test report based on the exclusive report template through the test report module.