Automatic testing device, system and method
By designing an automated test device and integrating test information acquisition, processing and decision-making modules, the problems of manual operation dependence and platform adaptability in the existing technology are solved, independent judgment and complex scenario response are achieved, and testing efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202510298346.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-07-11
AI Technical Summary
The existing automated testing technology has high dependence on manual operations, poor platform adaptability, lacks independent judgment ability, and is unable to flexibly deal with complex scenarios, which limits the breadth and depth of its application.
Design an automated testing device, including a test information acquisition module, a test information processing module and an automated decision-making control module, which can automatically obtain test information, analyze and output test results, and make decisions based on the test results, automatically determine whether retest is needed, reduce manual operation dependence, and is suitable for different platforms.
It realizes the independent judgment ability of an automated test device, can deal with various complex scenarios, reduce manual operation dependence, improve production efficiency and test accuracy, and is suitable for a variety of operating systems and testing equipment.
Smart Images

Figure CN120295266A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of industrial automation technology, and particularly relates to an automated test device, system and method. Background Art
[0002] Industrial automation technology aims to achieve precise control and efficient operation of the entire manufacturing process by reducing human intervention. Among them, automated test devices have gradually become an important link in improving production efficiency and ensuring product quality. Currently, the automated test devices on the production line mainly combine manual operation with automated processes to obtain test results and control equipment.
[0003] However, the current automated test technology still relies heavily on manual operation, has poor platform adaptability, and lacks the ability of independent judgment, making it unable to flexibly handle complex scenarios, which limits the breadth and depth of its comprehensive application. Summary of the Invention
[0004] This application aims to solve at least one of the technical problems existing in the prior art. For this purpose, this application proposes an automated test device, system and method, which reduces the dependence on manual operation in automated testing, can achieve independent judgment, cope with various complex scenarios, and is applicable to different platforms.
[0005] In a first aspect, this application provides an automated test device, including:
[0006] A test information acquisition module, which is used to connect with a test device and acquire test information obtained by the test device for testing test items on an assembly line;
[0007] A test information processing module, which is connected to the test information acquisition module, and is used to process the test information of the test item to obtain the test result of the test item;
[0008] An automated decision-making and control module, which is connected to the test information processing module, and is used to output automated control information based on the test result of the test item, and the automated control information is used to indicate whether to retest the test item.
[0009] According to the automated testing device provided by the embodiments of the present application, by setting up a test information acquisition module, a test information processing module, and an automated decision-making control module, it automatically acquires test information, analyzes and outputs test results, and uses the automated decision-making control module to make decisions based on the test results, automatically determines whether retesting of the test item is required, and outputs corresponding automated control information, reducing the dependence of automated testing on manual operations, enabling autonomous judgment of the automated testing device, coping with various complex scenarios, and being applicable to different platforms.
[0010] According to an embodiment of the present application, the automated decision-making control module is used to be connected to a robotic arm, and the robotic arm is used to operate the test item on the assembly line;
[0011] The automated decision-making control module is used to output the automated control information indicating retesting to the test equipment or the robotic arm when the test result of the test item is a failed test, so as to retest the test item.
[0012] According to an embodiment of the present application, the test information acquisition module is used to capture a screenshot of the test interface image of the test equipment, identify the test interface controls in the test interface image, operate the test interface controls, test the test item, and acquire the test information of the test item.
[0013] According to an embodiment of the present application, the test information includes the log file of the test equipment, and the test information processing module is used to parse the log file to obtain the test result of the test item.
[0014] According to an embodiment of the present application, the automated testing device further includes a test information transmission module, the test information transmission module is connected between the test information processing module and the automated decision-making control module, and the test information transmission module is used to transmit the test result of the test item output by the test information processing module to the automated decision-making control module.
[0015] According to an embodiment of the present application, it further includes an information recording module, the information recording module is used to be connected to the test equipment, the information recording module is used to record test process information, and the test process information includes at least one of the test information of the test item, the test result of the test item, the equipment status of the test equipment, and the interface content.
[0016] In a second aspect, the present application provides an automated testing system, including:
[0017] Test equipment, which is used to test a test item;
[0018] The automated test device as described in the first aspect above is connected to the test equipment.
[0019] According to the automated test system provided by the embodiments of the present application, by connecting the automated test device to the test equipment and setting a test information acquisition module, a test information processing module, and an automated decision control module in the automated test device, test information is automatically acquired, the test result is analyzed and output, and the automated decision control module makes a decision based on the test result, automatically determines whether it is necessary to retest the test item, and outputs corresponding automated control information, reducing the dependence of automated testing on manual operations, enabling the autonomous judgment of the automated test system, coping with various complex scenarios, and being applicable to different platforms.
[0020] In a third aspect, the present application provides an automated test method, including:
[0021] Obtain the test information obtained by the test equipment for testing the test items on the production line;
[0022] Process the test information of the test item to obtain the test result of the test item;
[0023] Based on the test result of the test item, output automated control information, where the automated control information is used to indicate whether to retest the test item.
[0024] According to the automated test method provided by the embodiments of the present application, it is possible to automatically obtain test information, analyze and output the test result, make a decision based on the test result, automatically determine whether it is necessary to retest the test item, and finally output corresponding automated control information. This automated test method can reduce the dependence of automated testing on manual operations, achieve the autonomous judgment of the automated test device, cope with various complex scenarios, and be applicable to different platforms.
[0025] According to an embodiment of the present application, the outputting of the automated control information based on the test result of the test item includes:
[0026] In the case where the test result of the test item is a failed test, output the automated control information indicating retesting to the test equipment or the robotic arm to retest the test item, and the robotic arm is used to operate the test item on the production line.
[0027] According to an embodiment of the present application, the obtaining of the test information obtained by the test equipment for testing the test items on the production line includes:
[0028] Take a screenshot of the test interface image of the test equipment;
[0029] Identify the test interface controls in the test interface image;
[0030] Operate the test interface control to test the test article and obtain the test information of the test article.
[0031] Additional aspects and advantages of the present application will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0033] Figure 1 is one of the schematic structural diagrams of the automated test device provided by an embodiment of the present application;
[0034] Figure 2 is the schematic flowchart of the automated test device provided by an embodiment of the present application performing a test;
[0035] Figure 3 is the second schematic structural diagram of the automated test device provided by an embodiment of the present application;
[0036] Figure 4 is the schematic structural diagram of the automated test system provided by an embodiment of the present application;
[0037] Figure 5 is the schematic flowchart of the automated test method provided by an embodiment of the present application.
[0038] Reference Signs:
[0039] Automated test device 100, test information acquisition module 110, test information processing module 120, automated decision control module 130, test information transmission module 140, information recording module 150,
[0040] Test device 200. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0041] The technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.
[0042] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0043] The following describes in detail the automated testing device 100, the automated testing system, and the automated testing method provided in the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0044] like Figure 1 As shown, the automated testing device 100 includes: a test information acquisition module 110 , a test information processing module 120 and an automated decision control module 130 .
[0045] The test information acquisition module 110 is used to connect to the test equipment 200 to acquire the test information obtained by the test equipment 200 when testing the test products on the assembly line.
[0046] It is to be understood that the testing device 200 refers to any device used to detect, verify or check product properties or performance during the production process.
[0047] For example, with respect to the screen production process, the testing device 200 may be an optical scanner, a touch tester, an aging testing device, or the like.
[0048] For another example, with respect to the photovoltaic cell production process, the testing equipment 200 may be a solar simulator, a current-voltage testing system, a film thickness tester, and the like.
[0049] The test information refers to the information obtained by the test device 200 after testing the test product. The test information can be in the form of numbers, images, signals, etc.
[0050] For example, for the screen production process, the test information may be the color coordinates, contrast, power consumption values at different brightness, etc. of the screen.
[0051] For another example, with respect to the photovoltaic cell production process, the test information may be the open circuit voltage, reflectivity, defect image on the cell surface, etc.
[0052] The test information processing module 120 is used to connect with the test information acquisition module 110 to process the test information of the test product and obtain the test result of the test product.
[0053] In this embodiment, after parsing and processing the test information, the test information processing module 120 can output corresponding test results, and the test results can reflect certain properties or some properties of the test product.
[0054] For example, for the screen production process, the test results can be the color display range, contrast ratio, working and standby power consumption, etc. of the screen.
[0055] The automatic decision control module 130 is connected to the test information processing module 120, and is used to output automatic control information according to the test results output by the test information processing module 120.
[0056] Among them, the automatic control information is used to indicate whether to retest the test product.
[0057] In this embodiment, based on the test results and the preset algorithm logic, the automatic decision control module 130 can automatically determine whether it is necessary to retest the test product, and output automatic control information for controlling the target device or process according to the judgment result.
[0058] For example, for the screen production process, in the average power consumption test, the test information processing module 120 determines according to the test information and the algorithm that the power consumption of a certain test screen is too low and there may be a problem, and sends this test result to the automatic decision control module 130.
[0059] The automatic decision control module 130 determines according to the test results and the algorithm that the test screen needs to be further retested, and then outputs automatic control information to instruct the robotic arm to grab the test screen and place it in the corresponding retest position.
[0060] It should be noted that all the modules provided in the embodiments of the present application can run on multiple operating systems, and can be adapted to different types of test devices 200, with strong cross-platform compatibility and wide application range.
[0061] Next, taking the optical scanner test scenario in the screen production process as an example, a specific embodiment will be introduced.
[0062] On the test production line, after each screen is assembled, it enters the test station, and the high-precision optical scanner scans the entire area of the screen. The test information acquisition module 110 is connected to the scanner through the industrial Ethernet to collect the original information of the scanner in real time (such as the RGB value of each pixel, the brightness curve, etc.).
[0063] After the information collection is completed, the test information acquisition module 110 sends the test information to the test information processing module 120 through the API interface. After parsing the test information, the module 120 generates test results (such as brightness gradient maps, color deviation values, whether there are dead pixels, etc.) and uploads the test results to the automated decision control module 130.
[0064] According to the received test results, preset circulation standards, and logic algorithms, the module 130 outputs different control information for test products with different results.
[0065] In related technologies, the devices for realizing automated testing on the production line are mainly completed through a combination of manual operations and partial automated processes. Manual participation is required in links such as the judgment of test results, equipment control, and robotic arm operations, which limits production efficiency and is prone to human errors.
[0066] Moreover, most devices can only judge whether they are qualified (OK or Fail) and lack the autonomous decision-making ability to dynamically adjust the production line process.
[0067] In the embodiment of the present application, the automated testing device 100 is provided with a test information acquisition module 110, a test information processing module 120, and an automated decision control module 130. The test information acquisition module 110 directly obtains test information from the test device 200 and transmits it to the test information processing module 120. The test information processing module 120 processes the test information to analyze and obtain the test results of the test product. The automated decision control module 130 with an autonomous decision-making function automatically judges whether it is necessary to retest the test product according to the test results of the test product, outputs corresponding automated control information, and flexibly adjusts the test pipeline. The automated testing device 100 covers the full automated process from obtaining test information, analyzing and outputting test results, making decisions based on the results, and sending control signals, forming a closed-loop automated system, which improves production efficiency and test accuracy.
[0068] In addition, current automated devices are mostly limited to specific operating systems (such as Windows, macOS) or hardware devices, and have poor cross-platform or multi-device adaptation capabilities.
[0069] The automated testing device 100 in the embodiment of the present application can be compatible with various different test devices 200, has high system flexibility, and can operate in cross-platform and multi-operating system scenarios.
[0070] According to the automated testing device 100 provided by the embodiments of the present application, by setting up a test information acquisition module 110, a test information processing module 120, and an automated decision control module 130, it automatically acquires test information, analyzes and outputs test results, and uses the automated decision control module 130 to make decisions based on the test results, automatically determines whether it is necessary to retest the test item, outputs corresponding automated control information, reduces the dependence of automated testing on manual operations, can achieve the autonomous judgment of the automated testing device 100, cope with various complex scenarios, and is applicable to different platforms.
[0071] In some embodiments, the automated decision control module 130 is connected to a robotic arm.
[0072] The automated decision control module 130 is configured to output automated control information indicating retesting to the test device 200 or the robotic arm in the case where the test result of the test item is a failed test, and retest the test item.
[0073] Among them, the robotic arm is an automated device that can imitate the movement of a human arm, and realizes precise grasping, moving, and operating functions through multiple joints and linkages. The robotic arm is used to operate the test items on the production line.
[0074] For example, after receiving the automated control information from the automated decision control module 130, the robotic arm clamps the screen and places the screen from the original test position to the test position corresponding to the retest process.
[0075] For another example, after receiving the automated control information from the automated decision control module 130, the test device 200 directly retests the screen or tests other indicators.
[0076] It can be understood that, according to different test results of the test item, the automated decision control module 130 can output different automated control information.
[0077] For example, if it is a qualified product, it triggers the robotic arm to send the test item to the next station; if it is a non - qualified product, it is pushed into the waste bin, and the defect type is recorded in the alarm system synchronously; if retesting is required, it controls the robotic arm to place the test item at the retest position for retesting.
[0078] In this embodiment, the automated decision control module 130 makes decisions based on the test results. When it determines that the test item needs to be retested, it can output the automated control information indicating retesting to the test device 200 or the robotic arm, dynamically adjusting the production line process, which helps to improve the test efficiency and product quality.
[0079] In some embodiments, the test information acquisition module 110 is configured to capture a test interface image of the test device 200, identify test interface controls in the test interface image, operate the test interface controls, test the test item, and acquire test information of the test item.
[0080] In this embodiment, the test information acquisition module 110 realizes automated testing by using image recognition technology.
[0081] As Figure 2 shown, the workflow of the test information acquisition module 110 to realize automated testing can be divided into three stages: capturing the screen, identifying button controls, and automatically operating interface controls.
[0082] In this embodiment, the test information acquisition module 110 first acquires a test interface image of the test device 200 by capturing the screen. The image may include elements such as an operation panel of the test software, data charts, and function buttons.
[0083] For example, for an optical scanner of the test screen, the operation panel in the interface image may consist of a start / stop button, scan mode selection, and profile management, etc.; the data charts in the interface image may consist of a real-time preview window, performance analysis chart, and test metric statistics, etc.; the function buttons in the interface image may consist of data management, diagnosis and debugging, and user assistance, etc.
[0084] It can be understood that in addition to capturing the entire screen, the capturing process can also set the capturing area. For example, by adjusting the pixel XY values corresponding to the area endpoints, selective capturing of the interface image can be achieved.
[0085] In this embodiment, the test information acquisition module 110 adopts an image recognition algorithm based on template matching in the stage of identifying test interface controls in the test interface image.
[0086] In actual execution, a feature template library of common button controls such as "start test" (green circular button) and "stop test" (red square button) can be established in advance in the test information acquisition module 110.
[0087] After the test information acquisition module 110 acquires a new interface image, it accurately identifies the type and screen coordinates of the button control through pixel value comparison and shape feature analysis.
[0088] For example, it is identified that the "data management" button is located in the rectangular area formed by the four endpoints of the screen coordinates (120, 450), (180, 450), (120, 400), and (180, 400).
[0089] In this embodiment, the test information acquisition module 110 can implement an automated operation interface control through simulated device input.
[0090] It should be noted that when a button in the interface of the test device 200 needs to be triggered, the test information acquisition module 110 first calculates the pixel value coordinates corresponding to the center point of the button (such as X = 150, Y = 425), and then performs corresponding operations.
[0091] This step improves the accuracy of the test information acquisition module 110 when controlling and operating the test device 200, and can reduce the occurrence frequency of situations such as accidental touch and missed touch.
[0092] It can be understood that based on different feature templates, the test information acquisition module 110 can preset different automatic operation processes.
[0093] After capturing the screen and successfully matching it with the existing templates, the test information acquisition module 110 can simulate the mouse to perform the operations corresponding to the template, and test or perform other operations on the test item.
[0094] It should be noted that the template library of the test information acquisition module 110 can perform automatic learning and updating.
[0095] When the feature template recognized by the test information acquisition module 110 cannot be matched with all the existing templates, the test information acquisition module 110 will create a new template.
[0096] For example, after the test information acquisition module 110 takes a screenshot of the operation interface of the optical scanner, due to the update of the scanner system firmware, the coordinates and shape of the "Data Management" button have changed and cannot be matched with all the previous templates. At this time, the test information acquisition module 110 will execute the relevant processes for creating a template.
[0097] In this embodiment, as Figure 2 shown, the process of creating a new template is divided into three steps: taking a screenshot and selecting a frame, extracting features, and establishing a template.
[0098] In actual execution, the test information acquisition module 110 first takes a screenshot of the operation interface and selects the positions and ranges of controls such as the operation panel, data chart, and function buttons in the operation interface.
[0099] Then, the test information acquisition module 110 re - extracts features and learns for each of the selected controls.
[0100] For example, the position, shape, size, area, and text content of the control, etc.
[0101] Finally, the test information acquisition module establishes a new template based on the extracted features.
[0102] It should be noted that the test information acquisition module 110 will submit a creation request before creating a new template. If the request is passed, a new template file will be generated. If the request is not passed, the creation of the template file will be abandoned and the operation will continue with the original template.
[0103] It is understandable that the newly created template file can also preset the corresponding automatic operation process.
[0104] In this embodiment, the test information acquisition module 110 is based on an image recognition algorithm for template matching, and can simulate a mouse to control the test device 200 for automated testing and test information acquisition. The automatic learning and updating mechanism of the template library provides the test information acquisition module 110 with the ability to adapt to new interfaces, while the request mechanism for establishing new templates effectively controls the redundancy of the template library.
[0105] In some embodiments, the test information includes a log file of the test device 200 , and the test information processing module 120 is used to parse the log file to obtain the test result of the test product.
[0106] In this embodiment, the test information acquisition module 110 is used to acquire the log file of the test device 200 and send the log file to the test information processing module 120 .
[0107] For example, an optical scanner that tests a screen may have log files in the form of text, tables, or PDF files.
[0108] The text and table logs may record the time of the test (such as 2023-07-25), the type of test (such as brightness scan test), the status of the test process (such as scan progress 50%), and detailed data obtained from the test (such as the current brightness value 312.07cd).
[0109] The PDF file log may contain a report of the scan results, including charts, data and conclusions, for easy reference, analysis and transmission.
[0110] In this embodiment, the test information processing module 120 can parse the log file sent by the test information acquisition module 110 in real time, extract the status of the test product, and quickly determine the test result of each test product.
[0111] For example, after parsing the test log file of the optical scanner, the test information processing module 120 extracts the distribution information of the screen brightness value in a certain brightness test, and automatically determines that there are three bad pixels on the screen of this test based on a preset algorithm logic.
[0112] In this embodiment, the test information processing module 120 is connected to the test information acquisition module 110, capable of receiving the log file of the test device 200 sent by the test information acquisition module 110, parsing and judging the log file, and outputting the test result. The realization of the automation and autonomy of this process reduces misjudgments caused by human factors and improves the test efficiency and accuracy.
[0113] In some embodiments, as Figure 3 shown, the automated test device 100 further includes a test information transmission module 140.
[0114] The test information transmission module 140 is connected between the test information processing module 120 and the automated decision-making control module 130. The test information transmission module 140 is used to transmit the test result of the test item output by the test information processing module 120 to the automated decision-making control module 130.
[0115] In this embodiment, the test result is sent to the automated decision-making control module 130 through the test information transmission module 140. According to the different test results, the automated decision-making control module 130 sends corresponding control signals to the robotic arm, instructing the robotic arm to perform a grasping operation or retest the test item.
[0116] In some embodiments, as Figure 3 shown, the automated test device 100 further includes an information recording module 150.
[0117] The information recording module 150 is used to connect to the test device 200 and record the test process information, which includes at least one of the test information of the test item, the test result of the test item, the device status of the test device 200, and the interface content.
[0118] In this embodiment, the information recording module 150 is used to record information through the screenshot function when important information is generated during the test process, facilitating subsequent inspection and problem troubleshooting.
[0119] A specific embodiment is introduced below.
[0120] As Figure 3 shown, the automated test device 100 includes a test information acquisition module 110, a test information processing module 120, an automated decision-making control module 130, a test information transmission module 140, and an information recording module 150.
[0121] The test information acquisition module 110 is connected to the test device 200. The test information acquisition module 110 can acquire the test information of the test item tested by the test device 200 and transmit the test information to the test information processing module 120.
[0122] AsFigure 2 As shown, the automated test device 100 receives instructions. The test information acquisition module 110 captures the screen of the test device 200, performs control recognition on the captured test interface image, and determines whether the recognized test interface image matches the existing interface template. If the test interface image matches the existing interface template, the button controls on the test interface are recognized.
[0123] If the test interface image does not match the existing interface module, template making is performed. The controls can be recognized through the object detection algorithm, each control is captured and boxed, the corresponding control features are extracted, a template is established, and the template file is stored in the template library for convenient control recognition of the next screen capture.
[0124] After the control recognition is completed, the test information acquisition module 110 simulates clicking on the controls of the test interface to test the test item and captures the test information of the test item.
[0125] The test information can be the log file of the test device 200. The test information processing module 120 receives the test information transmitted by the test information acquisition module 110, parses the log format, and obtains the test result of the test item.
[0126] The test result obtained by the test information processing module 120 is transmitted to the automated decision control module 130 through the test information transmission module 140.
[0127] The automated decision control module 130 makes autonomous decision control based on the test result. Among them, the test result can be Pass (OK) or Fail. When the test result is Pass, the automated decision control module 130 can output automated control information to indicate the test of the next test item.
[0128] When the test result is Pass, the automated decision control module 130 can output automated control information indicating retesting to the robotic arm to control the movement of the robotic arm and perform retesting of the test item.
[0129] In actual execution, when important information is generated during the test process, the information recording module 150 can record this information through the screen capture function. The screen capture content can include test results, test information, device status, interface content, etc., for subsequent inspection and problem troubleshooting.
[0130] According to the automated testing device 100 provided by the embodiments of the present application, by setting the test information acquisition module 110, the test information processing module 120, and the automated decision-making control module 130, it automatically acquires test information, analyzes and outputs test results, and uses the automated decision-making control module 130 to make decisions based on the test results, automatically determines whether it is necessary to retest the test item, outputs corresponding automated control information, reduces the dependence of automated testing on manual operations, can achieve the autonomous judgment of the automated testing device 100, cope with various complex scenarios, and is applicable to different platforms.
[0131] The embodiments of the present application also provide an automated testing system.
[0132] As Figure 4 shown, the automated testing system includes a testing device 200 and the above-mentioned automated testing device 100. The automated testing device 100 is connected to the testing device 200, and the testing device 200 is used to test the test item.
[0133] According to the automated testing system provided by the embodiments of the present application, by connecting the automated testing device 100 to the testing device 200 and setting the test information acquisition module 110, the test information processing module 120, and the automated decision-making control module 130 in the automated testing device 100, it automatically acquires test information, analyzes and outputs test results, uses the automated decision-making control module 130 to make decisions based on the test results, automatically determines whether it is necessary to retest the test item, outputs corresponding automated control information, reduces the dependence of automated testing on manual operations, can achieve the autonomous judgment of the automated testing system, cope with various complex scenarios, and is applicable to different platforms.
[0134] The embodiments of the present application also provide an automated testing method.
[0135] For the automated testing method provided by the embodiments of the present application, the execution subject of the automated testing method can be an electronic device or a functional module or functional entity in the electronic device that can implement the automated testing method. The electronic devices mentioned in the embodiments of the present application include, but are not limited to, a host computer, a robotic arm control system, etc. Hereinafter, the automated testing method provided by the embodiments of the present application will be described by taking the electronic device as the execution subject as an example.
[0136] As Figure 5 shown, the automated testing method includes: step 310, step 320, and step 330.
[0137] Step 310: Acquire the test information obtained by the testing device 200 testing the test item on the production line.
[0138] Among them, the test device 200 refers to any device used to detect, verify, or calibrate the attributes or performance of a product during the production process.
[0139] The test product refers to a product that needs to undergo a certain or certain tests during the production process.
[0140] The test information refers to the information obtained by the test device 200 after testing the test product, and the test information can be in the form of information such as numbers, images, signals, etc.
[0141] For example, for the screen production process, the test information can be the color coordinates of the screen, the contrast ratio, the power consumption values at different brightness levels, etc.
[0142] Step 320: Process the test information of the test product to obtain the test result of the test product.
[0143] After parsing and processing the test information, the corresponding test result can be output, and the test result can reflect a certain or certain attributes of the test product.
[0144] For example, for the screen production process, the test result can be the color display range of the screen, the contrast ratio, the working and standby power consumption, etc.
[0145] Step 330: Based on the test result of the test product, output automated control information for indicating whether to retest the test product.
[0146] For example, for the screen production process, in the average power consumption test, if the power consumption of a certain screen is measured to be too low and there may be a problem, based on this test result, output automated control information for retesting the screen. Indicate the robotic arm to grasp the test screen and place it in the corresponding retest position.
[0147] According to the automated test method provided by the embodiments of the present application, it is possible to automatically obtain test information, analyze and output test results, make decisions based on the test results, automatically determine whether it is necessary to retest the test product, and finally output the corresponding automated control information. This automated test method can reduce the dependence on manual operations in automated testing, achieve autonomous judgment of the automated test device 100, cope with various complex scenarios, and be applicable to different platforms.
[0148] In some embodiments, step 330: Based on the test result of the test product, output automated control information, which may include, in the case where the test result of the test product is unqualified, output automated control information indicating retesting to the test device 200 or the robotic arm to retest the test product.
[0149] Among them, the robotic arm is an automated device that can imitate the movement of a human arm and achieve precise grasping, moving, and operating functions through multiple joints and linkages. The robotic arm is used to operate the test items on the assembly line.
[0150] For example, after receiving the automated control information, the robotic arm holds the screen and places the screen from the original test position to the test position corresponding to the retest process.
[0151] For another example, after receiving the automated control information, the test device 200 directly retests the screen or tests other indicators.
[0152] In some embodiments, the test information obtained by the test device 200 testing the test items on the assembly line includes capturing the test interface image of the test device 200; identifying the test interface controls in the test interface image; operating the test interface controls to test the test items and obtaining the test information of the test items.
[0153] In this embodiment, the test interface image of the test device 200 can be obtained by capturing the screen. The image may contain elements such as the operation panel, data chart, and function buttons of the test software.
[0154] In this embodiment, the test interface controls in the test interface image can be identified by an image recognition algorithm based on template matching.
[0155] In this embodiment, the operation of the test interface controls can be achieved by simulating device input to test the test items and obtain the test information of the test items.
[0156] In the description of this application, it should be noted that unless otherwise clearly specified and limited, the terms "connected" and "coupled" should be understood in a broad sense. For example, they can be directly connected or indirectly connected through an intermediate medium, and can be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.
[0157] In the description of this application, the "first feature" and "second feature" can include one or more of such features.
[0158] In the description of this application, the meaning of "a plurality" is two or more.
[0159] In the description of this specification, the descriptions with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0160] Although the embodiments of the present application have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present application, and the scope of the present application is defined by the claims and their equivalents.
Claims
1. An automated testing device, characterized in that, Comprising: A test information acquisition module, which is used to connect to a test device and acquire test information obtained by the test device for testing test items on an assembly line; A test information processing module, which is connected to the test information acquisition module and is used to process the test information of the test item to obtain the test result of the test item; An automated decision-making control module, which is connected to the test information processing module and is used to output automated control information based on the test result of the test item, and the automated control information is used to indicate whether to retest the test item.
2. The automated test device according to claim 1, wherein The automated decision-making control module is used to connect to a robotic arm, and the robotic arm is used to operate the test item on the assembly line; The automated decision-making control module is used to output the automated control information indicating retest to the test device or the robotic arm when the test result of the test item is unqualified, so as to retest the test item.
3. The automated test device according to claim 1, wherein The test information acquisition module is used to capture a screenshot of the test interface image of the test device, identify the test interface controls in the test interface image, operate the test interface controls, test the test item, and acquire the test information of the test item.
4. The automated test device according to claim 1, wherein The test information includes the log file of the test device, and the test information processing module is used to parse the log file to obtain the test result of the test item.
5. The automated test device according to any one of claims 1-4, characterized in that Further comprising: A test information transmission module, which is connected between the test information processing module and the automated decision-making control module and is used to transmit the test result of the test item output by the test information processing module to the automated decision-making control module.
6. The automated testing device according to any one of claims 1-4, characterized in that Further comprising: An information recording module, which is used to connect to the test device and is used to record test process information, and the test process information includes at least one of the test information of the test item, the test result of the test item, the device state of the test device, and the interface content.
7. An automated test system, characterized in that, Comprising: A test device, which is used to test test items; The automated test device according to any one of claims 1-6, and the automated test device is connected to the test device.
8. An automated testing method, characterized in that, Comprising: Acquiring test information obtained by a test device for testing test items on an assembly line; Processing the test information of the test item to obtain the test result of the test item; Outputting automated control information based on the test result of the test item, and the automated control information is used to indicate whether to retest the test item.
9. The automated test method according to claim 8, wherein The outputting automated control information based on the test result of the test item includes: When the test result of the test item is unqualified, outputting the automated control information indicating retest to the test device or the robotic arm to retest the test item, and the robotic arm is used to operate the test item on the assembly line.
10. The automated test method according to claim 8 or 9, characterized in that, Obtaining the test information obtained by the test equipment for testing the test items on the production line, including: Taking a screenshot of the test interface image of the test equipment; Identifying the test interface controls in the test interface image; Operating the test interface controls to test the test item and obtaining the test information of the test item.