Automatic testing method and device, computer equipment and storage medium

Through automated testing methods, test equipment and test sets are automatically configured to achieve comprehensive automated testing of products, solving the problems of low manual testing efficiency and poor accuracy, improving testing accuracy and efficiency, reducing costs and risks, and ensuring product quality.

CN118567928APending Publication Date: 2024-08-30安徽海勤科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410960962.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing product testing methods are mostly manual, resulting in low testing efficiency and poor accuracy, which increases costs and risks.

Method used

Provide an automated testing method that determines the target order by responding to the order selection instructions, automatically configures the communication and data parameters of the automated test equipment, conducts comprehensive testing of the product based on the configured test set, and obtains and stores test results, including loop testing and password testing. Key management mechanism.

Benefits of technology

It improves the accuracy, efficiency and reliability of testing, reduces testing costs and risks, and ensures product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567928A
    Figure CN118567928A
Patent Text Reader

Abstract

The invention relates to an automatic testing method and device, computer equipment and a storage medium, and aims to solve the problems possibly caused by the fact that most existing product tests are manually processed. Specifically, in response to an order selection instruction, a to-be-tested target order is determined from a plurality of product production orders, and communication parameters, data parameters and an acquisition card required by the automatic test equipment are automatically configured according to information in the target order. In this way, the subsequent testing process can be more convenient and accurate, and errors and time consumption possibly caused by manual configuration are avoided. And in response to the test selection instruction, configuring the test set for the product corresponding to the target order, thereby constructing a complete test process, and avoiding omission and incompleteness. And automatically testing the product according to the configured test set, and obtaining and storing a test result of the product. Therefore, the testing efficiency and accuracy are improved, and misjudgment and cost increase possibly caused by manual testing are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of product testing, and in particular to an automated testing method, device, computer equipment and storage medium. Background Art

[0002] In the product testing process, first use a USB flash drive to burn the key, then manually press each key to confirm its function. Next, manually search for Bluetooth devices to verify whether the Bluetooth function is normal. Then, manually connect to WiFi and confirm whether the connection is successful, and finally insert the network cable to manually check whether the network connection is normal. All test results will be recorded.

[0003] However, this manual processing method may cause a series of problems. For example, manually pressing each button to confirm the function may result in omissions or incompleteness. In addition, manually searching for Bluetooth devices and connecting to WiFi may take a lot of time. In addition, plugging in the network cable to manually check whether the network connection is normal may also lead to misjudgment due to careless operation or equipment problems. In summary, this manual processing method may reduce the accuracy and efficiency of the test and increase the cost and risk of the test. Therefore, it is worth considering a more automated and reliable test method to solve these problems. Summary of the invention

[0004] The main purpose of the present invention is to provide an automated testing method, apparatus, computer equipment and storage medium to solve the technical problems of low testing efficiency and poor accuracy in the prior art.

[0005] To achieve the above-mentioned purpose, the present invention provides an automated testing method, which is applied to automated testing equipment, and the automated testing method includes: in response to an order selection instruction, determining a target order to be tested from multiple product production orders; based on the information in the target order, performing configuration operations on the automated testing equipment, wherein the configuration operations include: communication parameter and data parameter configuration, and acquisition card configuration, the communication parameter refers to parameter information for the automated testing equipment to communicate with an external product to be tested, the data parameter refers to data information for the automated testing equipment to test the external product to be tested, and the acquisition card is used to obtain a display screen and play sound of the external product to be tested; in response to a test selection instruction, configuring a test set for the product corresponding to the target order, the test set includes: two levels: a test subset and a test case, and the test subset may include multiple test cases that are completed in cooperation with each other; detecting whether the product is successfully installed and connected to the automated testing equipment, and when it is detected that the product is successfully installed and connected, testing the product according to the test set configured for the product, and obtaining and storing the test result of the product.

[0006] Furthermore, after testing the product according to the test set configured for the product and obtaining and storing the test results of the product, the automated testing method further includes: in a loop testing mode, re-executing the step of detecting whether the product is successfully installed and connected to the automated testing device until all products in the target order are tested.

[0007] Furthermore, in the case where the test process includes multiple test conditions, the product is tested according to the test set configured for the product, and the test results of the product are obtained and stored, including: performing cyclic testing on the product according to the test set configured for the product under the multiple test conditions respectively, and obtaining and storing the test results of the product under different test conditions.

[0008] Furthermore, when it is detected that the product is successfully installed and connected, the automated testing method also includes: when the local mode is detected, determining a pre-stored and continuously maintained unburned key table; assigning keys to the successfully installed and connected products from the unburned key table, and encrypting and burning the keys in a serial manner into the read-only partition of the product; removing the assigned keys from the unburned key table, determining the board serial code corresponding to the product, and recording the burned keys in the test record of the board serial code.

[0009] Furthermore, after obtaining and storing the test results of the product, the automated testing method also includes: based on the test results of the product, determining whether the product has failed the test and cannot be repaired; if the product has failed the test and cannot be repaired, determining the board serial code corresponding to the product, querying the test record of the board serial code, and determining the key burned in the product from the test record, and in response to a key addition instruction, re-adding the key to the unburned key table.

[0010] Furthermore, after obtaining and storing the test results of the product, the automated testing method also includes: judging whether the product has passed the test based on the test results of the product; if the product has passed the test, detecting whether there is an update file for the product; and if there is an update file for the product, updating the product using the update file.

[0011] Furthermore, after obtaining the test result of the product, the automated testing method also includes: when the test result of the product belongs to a first type of error, a test error prompt is issued, and the first type of error is a test system error of the automated testing equipment; when the test result of the product belongs to a second type of error, a result error prompt is issued, and in response to a retest instruction, the product is retested, wherein the second type of error is a test result error of the product, or a test result feedback timeout error; when the test result of the product belongs to a third type of error, an operation error prompt is issued, and in response to a retest instruction, the product is retested, or, in response to a test pass instruction, the product is marked as passed, wherein the third type of error is an installation and connection error of the product.

[0012] The present invention also provides an automated testing device, which is applicable to automated testing equipment, including: a determination unit, which is used to determine a target order to be tested from multiple product production orders in response to an order selection instruction; a first configuration unit, which is used to perform configuration operations on the automated testing equipment based on information in the target order, wherein the configuration operations include: communication parameter and data parameter configuration, and acquisition card configuration, the communication parameter refers to parameter information for the automated testing equipment to communicate with an external product to be tested, the data parameter refers to data information for the automated testing equipment to test the external product to be tested, and the acquisition card is used to obtain the display screen and play sound of the external product to be tested; a second configuration unit, which is used to configure a test set for the product corresponding to the target order in response to a test selection instruction, the test set includes two levels: a test subset and a test single case, and the test subset may include multiple test single cases completed in cooperation with each other; a detection unit, which is used to detect whether the product is successfully installed and connected to the automated testing equipment, and when it is detected that the product is successfully installed and connected, the product is tested according to the test set configured for the product, and the test result of the product is obtained and stored.

[0013] The present invention also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.

[0014] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.

[0015] The automated testing method, device, computer equipment and storage medium provided by the present invention are intended to solve the problems that may be caused by the manual processing of existing product tests. Specifically: in response to an order selection instruction, a target order to be tested is determined from multiple product production orders, and the communication parameters, data parameters and acquisition cards required by the automated testing equipment are automatically configured according to the information in the target order. This can make the subsequent testing process more convenient and accurate, avoiding the errors and time-consuming that may be caused by manual configuration. In response to the test selection instruction, a test set is configured for the product corresponding to the target order, and the test set includes two levels: a test subset and a test single case, so as to construct a complete test process and avoid omissions and incomplete situations. At the same time, considering the situation that multiple tests need to be matched with each other, the rigor and comprehensiveness of the test are guaranteed. After the product is successfully installed and connected to the automated testing equipment, the product is automatically tested according to the configured test set, and the test results of the product are obtained and stored. This improves the efficiency and accuracy of the test and avoids the misjudgment and cost increase that may occur in manual testing.

[0016] In general: by configuring the automated test equipment and configuring a test set for the product corresponding to the target order, various functional tests of the product are implemented, including display test, sound test, serial communication test, Bluetooth wireless test, infrared remote control test, audio and video signal test, input terminal test, server-side communication connection test, etc. This ensures that the product can be fully and effectively tested after production, ensuring product quality.

[0017] To sum up, this automated testing method realizes automated testing of products by configuring the automated testing equipment, configuring a test set for the product corresponding to the target order, and testing the product according to the test set configured for the product to obtain the test results, thereby improving the accuracy, efficiency and reliability of the test, thereby reducing the cost and risk of testing and ensuring product quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of the steps of an automated testing method in one embodiment of the present invention; Figure 2 is a schematic diagram of an automated testing equipment module in one embodiment of the present invention; Figure 3 This is a structural framework diagram of an automated testing device in one embodiment of the present invention; Figure 4 It is a schematic block diagram of the structure of a computer device according to an embodiment of the present invention.

[0019] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0021] Reference Figure 1 , this embodiment provides an automated testing method, the automated testing method comprising: S1, in response to an order selection instruction, determining a target order to be tested from a plurality of product production orders.

[0022] S2. Based on the information in the target order, the automated test equipment is configured, wherein the configuration operation includes: communication parameter and data parameter configuration, and acquisition card configuration. The communication parameter refers to parameter information for the automated test equipment to communicate with the external product to be tested, and the data parameter refers to data information for the automated test equipment to test the external product to be tested. The acquisition card is used to obtain the display image and play sound of the external product to be tested.

[0023] S3, in response to the test selection instruction, configure a test set for the product corresponding to the target order, the test set includes: two levels: test subset and test case, the test subset contains multiple test cases that cooperate with each other, or includes multiple test cases involving a type of test items but do not need to cooperate with each other.

[0024] For example, workers can add or remove processes by dragging and dropping.

[0025] S4, detecting whether the product is successfully installed and connected to the automated testing device, and if it is detected that the product is successfully installed and connected, testing the product according to the test set configured for the product, and obtaining and storing the test result of the product.

[0026] It should be noted that the automated testing method for a display device provided in this embodiment is applied to an automated testing device, which can test multiple products at a time, and the display device can be a television, a tablet, or other device.

[0027] The embodiment provides an automated testing method for a display device, which aims to solve the problems that may be caused by the manual processing of existing product tests. Specifically: in response to an order selection instruction, a target order to be tested is determined from multiple product production orders, and the communication parameters, data parameters and acquisition cards required by the automated testing equipment are automatically configured according to the information in the target order. This can make the subsequent testing process more convenient and accurate, avoiding errors and time-consuming that may be caused by manual configuration. In response to the test selection instruction, a test set is configured for the product corresponding to the target order, and the test set includes two levels: a test subset and a test single case, so as to construct a complete test process and avoid omissions and incomplete situations. At the same time, taking into account the situation that multiple tests need to be matched with each other, the rigor and comprehensiveness of the test are guaranteed. After the product is successfully installed and connected to the automated testing equipment, the product is automatically tested according to the configured test set, and the test results of the product are obtained and stored. This improves the efficiency and accuracy of the test and avoids the misjudgment and cost increase that may occur in manual testing.

[0028] In general: by configuring the automated test equipment and configuring a test set for the product corresponding to the target order, various functional tests of the product are implemented, including display test, sound test, serial communication test, Bluetooth wireless test, infrared remote control test, audio and video signal test, input terminal test, server-side communication connection test, etc. This ensures that the product can be fully and effectively tested after production, ensuring product quality.

[0029] To sum up, this automated testing method realizes automated testing of products by configuring the automated testing equipment, configuring a test set for the product corresponding to the target order, and testing the product according to the test set configured for the product to obtain the test results, thereby improving the accuracy, efficiency and reliability of the test, thereby reducing the cost and risk of testing and ensuring product quality.

[0030] In one example, after testing the product according to the test set configured for the product and obtaining and storing the test results of the product, the automated testing method further includes: in a loop testing mode, re-executing the step of detecting whether the product is successfully installed and connected to the automated testing equipment until all products in the target order are tested.

[0031] In this example, the automated testing method includes a loop testing mode. Once a batch of products has been tested and the test results have been stored, the system will re-execute the steps to detect whether the products have been successfully installed and connected to the automated testing equipment. This means that after a batch of products has been tested and the test results have been stored, the staff can install and connect the next batch of products, and the system will automatically install and detect the next batch of products, test and store the test results until all products in the target order have been tested. This automated loop testing design greatly improves the efficiency and reliability of the test, while reducing the need for manual operation and ensuring the continuity and accuracy of the test process.

[0032] In one example, when the test set includes multiple test conditions, the product is tested according to the test set configured for the product, and the test results of the product are obtained and stored, including: performing a cyclic test on the product according to the test set configured for the product under the multiple test conditions, respectively, and obtaining and storing the test results of the product under different test conditions.

[0033] In this example, the technical problem of how to effectively test the product and store the test results when the test process contains multiple test conditions is solved. By testing the product in a loop according to the test process configured for the product, and obtaining and storing the test results of the product under each test condition, comprehensive testing and result recording of the product under different test conditions are achieved. This solution improves the comprehensiveness and accuracy of the test, while simplifying the operation of the test process, thereby improving the efficiency and reliability of the test.

[0034] In one example, when it is detected that the product is successfully installed and connected, the automated testing method also includes: when the local mode is detected, determining a pre-stored and continuously maintained unburned key table; assigning keys to the successfully installed and connected products from the unburned key table, and encrypting and burning the keys in a serial manner to the read-only partition of the product; removing the assigned keys from the unburned key table, determining the board serial code corresponding to the product, and recording the burned keys in the test record of the board serial code.

[0035] This example effectively solves the technical problem of being unable to conduct timely and effective key management testing on products due to delayed or unavailable network connections during overseas production by introducing a key management mechanism in local mode, ensuring the smooth progress of the test and providing a safe and reliable key management method, thereby improving the reliability and stability of the test. Specifically, after detecting that the product is successfully installed and connected, the automated testing method introduces a set of key management mechanisms in local mode. First, the system determines a table of unburned keys that is pre-stored and continuously maintained. Then, for connected products, the system will allocate keys from the table of unburned keys, and encrypt and burn these keys in serial mode to the read-only partition of the product. At the same time, the system will remove the allocated key from the table of unburned keys, and add it to the test record of the board serial code corresponding to the product, ensuring that each product has a unique key.

[0036] Among them, all keys are compressed in an encrypted manner and set to be readable by the target object during burning, and unreadable by other objects to ensure the security and reliability of the key. The target object can be a system user. Key management is responsible for maintaining a table of unburned keys, ensuring that each key is removed from the table after being used only once, and adding it to the serial code test record of the corresponding product to maintain the unique key of the product. In addition, key management provides a prompt for the number of remaining keys in the setting interface to help users understand the number of remaining available keys.

[0037] In addition, the local test data management mechanism also effectively solves the technical problem of delayed or unavailable network connection during overseas production, which results in the inability to timely and effectively transmit product test data back to the cloud. That is, in order to ensure the smooth progress of testing and shipment, the local test data management mechanism also provides ways to automatically submit test data and manually submit test data to the cloud, thereby ensuring that the test packaging and shipment operation process also achieves the goal of unified cloud management.

[0038] In one example, after obtaining and storing the test results of the product, the automated testing method further includes: based on the test results of the product, determining whether the product has failed the test and cannot be repaired; if the product has failed the test and cannot be repaired, determining the board serial code corresponding to the product, querying the test record of the board serial code, and determining the key burned in the product from the test record, and in response to a key addition instruction, re-adding the key to the unburned key table.

[0039] After obtaining and storing the test results of the product, the automated test method in this example will determine whether there are products that have failed the test and cannot be repaired based on the test results. If this happens, the system will query the test record of the board serial code corresponding to the product and determine the key that needs to be burned for the object to be tested. Then, the system will respond to the key add instruction and add the key to the unburned key table. In other words, after the local key is burned, it supports querying and rolling back the used key based on the serial code to deal with the situation where the device fails the test and cannot be repaired.

[0040] In one example, after obtaining and storing the test results of the product, the automated testing method further includes: judging whether the product passes the test based on the test results of the product; if the product passes the test, detecting whether there is an update file for the product; and if there is an update file for the product, updating the product using the update file.

[0041] In this example, the automated testing method introduces the function of software update after obtaining and storing the test results of the product. This helps the product brand to be updated without updating the main software, so that the inventory products can achieve the technical effect of quickly switching brands.

[0042] In one example, after obtaining the test result of the product, the automated testing method further includes: when the test result of the product belongs to a first type of error, a test error prompt is issued, and the first type of error is a test system error of the automated testing equipment; when the test result of the product belongs to a second type of error, a result error prompt is issued, and in response to a retest instruction, the product is retested, wherein the second type of error is a test result error of the product, or a test result feedback timeout error; when the test result of the product belongs to a third type of error, an operation error prompt is issued, and in response to a retest instruction, the product is retested, or, in response to a test pass instruction, the product is marked as passed, wherein the third type of error is an installation and connection error of the product.

[0043] In this example, after obtaining the test results of the product, the automated testing method further handles different types of error situations to ensure the smooth progress of the test process. The specific operation is as follows: When the test result of the product belongs to the first type of error, that is, the test system error of the automated testing equipment, the system will give a corresponding test error prompt. This type of error may involve problems with the test system itself, such as parameter errors, protocol errors, external test components not connected, undefined implementation methods, or manual stop of the test. For this type of error, the system does not allow retry, but directly returns an error and marks the test code for subsequent tracking and processing. When the test result of the product belongs to the second type of error, that is, the test result of the product is wrong or the test result feedback timeout error, the system will give a corresponding result error prompt. This error may involve data errors or timeout problems during the test process. In this case, the system will respond to the retest instruction and retest the product to ensure that the correct test results are obtained. When the test result of the product belongs to the third type of error, that is, the installation and connection of the product is wrong, the system will give a corresponding operation error prompt. This error may involve problems during the installation or connection of the product. In this case, the system will respond to a retest instruction and retest the product, or respond to a test pass instruction and mark the product as passed for subsequent processing.

[0044] In general, the automated testing method in this example improves the robustness and reliability of the test process by providing prompts and processing for different types of error situations. This error handling mechanism can effectively identify and handle various possible problems, ensuring the accuracy and credibility of the test results.

[0045] Reference Figure 2 In an embodiment of the present invention, an automated testing device is further provided to apply the automated testing method for the display device provided in the above embodiment. Specifically, the automated testing device includes: The interactive layer involves the login interface, setting interface, platform configuration, process editing, device connection, data viewing, voice broadcast, test interface and debugging mode, and is used for interactive operations with users.

[0046] The application layer involves functions such as network interface processing, image acquisition, sound acquisition, protocol conversion, error output, software update, remote database connection and local database processing, and is responsible for processing various application layer tasks and functions.

[0047] The signal processing layer involves image processing and sound processing, and is used to process the image and sound signals collected from the test equipment.

[0048] The process processing layer involves process editing, process encryption and decryption, process parsing, process rollback, process loop, process parameter management and process logic processing, which is used to manage and execute test processes.

[0049] The data management layer involves local key burning management, local key decryption, test result entry, test result query, local key rollback, and order content management, and is used to manage the data and information required for testing.

[0050] These layers and functions together constitute the core part of the automated testing equipment, providing the necessary functions and support for realizing automated testing of display devices.

[0051] Reference Figure 3 The present invention also provides an automated testing device, which is applicable to automated testing equipment, including: The determination unit 1 is used to determine a target order to be tested from a plurality of product production orders in response to an order selection instruction.

[0052] The first configuration unit 2 is used to perform configuration operations on the automated test equipment based on the information in the target order, wherein the configuration operations include: communication parameter and data parameter configuration, and acquisition card configuration, the communication parameters refer to parameter information for the automated test equipment to communicate with the external product to be tested, the data parameters refer to data information for the automated test equipment to test the external product to be tested, and the acquisition card is used to obtain the display screen and play sound of the external product to be tested.

[0053] The second configuration unit 3 is used to configure a test set for the product corresponding to the target order in response to the test selection instruction, and the test set includes two levels: a test subset and a test case. The test subset includes multiple test cases that are completed in cooperation with each other.

[0054] The detection unit 4 is used to detect whether the product is successfully installed and connected to the automated testing equipment, and when it is detected that the product is successfully installed and connected, the product is tested according to the test set configured for the product, and the test result of the product is obtained and stored.

[0055] In this embodiment, for the specific implementation of each unit in the above device embodiment, please refer to the above method embodiment, which will not be repeated here.

[0056] Reference Figure 4 In an embodiment of the present invention, a computer device is also provided. The computer device may be a server, and its internal structure may be as follows: Figure 4As shown. The computer device includes a processor, a memory, a display screen, an input device, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the corresponding data in this embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.

[0057] Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied.

[0058] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented. It can be understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.

[0059] The automated testing method, device, computer equipment and storage medium provided by the present invention are intended to solve the problems that may be caused by the manual processing of existing product tests. Specifically: in response to an order selection instruction, a target order to be tested is determined from multiple product production orders, and the communication parameters, data parameters and acquisition cards required by the automated testing equipment are automatically configured according to the information in the target order. This can make the subsequent testing process more convenient and accurate, avoiding the errors and time-consuming that may be caused by manual configuration. In response to the test selection instruction, a test set is configured for the product corresponding to the target order, and the test set includes two levels: a test subset and a test single case, so as to construct a complete test process and avoid omissions and incomplete situations. At the same time, considering the situation that multiple tests need to be matched with each other, the rigor and comprehensiveness of the test are guaranteed. After the product is successfully installed and connected to the automated testing equipment, the product is automatically tested according to the configured test set, and the test results of the product are obtained and stored. This improves the efficiency and accuracy of the test and avoids the misjudgment and cost increase that may occur in manual testing.

[0060] In general: by configuring the automated test equipment and configuring a test set for the product corresponding to the target order, various functional tests of the product are implemented, including display test, sound test, serial communication test, Bluetooth wireless test, infrared remote control test, audio and video signal test, input terminal test, server-side communication connection test, etc. This ensures that the product can be fully and effectively tested after production, ensuring product quality.

[0061] To sum up, this automated testing method realizes automated testing of products by configuring the automated testing equipment, configuring a test set for the product corresponding to the target order, and testing the product according to the test set configured for the product to obtain the test results, thereby improving the accuracy, efficiency and reliability of the test, thereby reducing the cost and risk of testing and ensuring product quality.

[0062] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided by the present invention and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM.

[0063] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0064] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An automated testing method, characterized in that: Applied to automated testing equipment, the automated testing method comprises: In response to the order selection instruction, determining a target order to be tested from a plurality of product production orders; Based on the information in the target order, the automated test equipment is configured, wherein the configuration operation includes: communication parameter and data parameter configuration, and acquisition card configuration, wherein the communication parameter refers to parameter information for the automated test equipment to communicate with the external product to be tested, the data parameter refers to data information for the automated test equipment to test the external product to be tested, and the acquisition card is used to obtain the display screen and play sound of the external product to be tested; In response to the test selection instruction, a test set is configured for the product corresponding to the target order, wherein the test set includes two levels: a test subset and a test case, and the test subset may include multiple test cases that are completed in cooperation with each other; Detect whether the product is successfully installed and connected to the automated testing device, and if it is detected that the product is successfully installed and connected, test the product according to the test set configured for the product, and obtain and store the test result of the product.

2. The automated testing method according to claim 1, characterized in that: After testing the product according to the test set configured for the product and obtaining and storing the test result of the product, the automated testing method further includes: In the loop test mode, the step of detecting whether the product is successfully installed and connected to the automated test equipment is re-executed until all products in the target order are tested.

3. The automated testing method according to claim 1, characterized in that: In the case where the test set includes multiple test conditions, testing the product according to the test set configured for the product, and obtaining and storing the test result of the product, includes: The product is subjected to a cyclic test under the plurality of test conditions respectively according to the test set configured for the product, and the test results of the product under the different test conditions are acquired and stored.

4. The automated testing method according to claim 1, characterized in that: When it is detected that the product is successfully installed and connected, the automated testing method further includes: In case the local mode is detected, determining a pre-stored and continuously maintained unburned key table; Allocate a key from the unburned key table to the successfully installed connected product, and burn the key to the read-only partition of the product in a serial encrypted manner; The allocated key is removed from the unburned key table, and the board serial code corresponding to the product is determined, and the burned key is recorded in the test record of the board serial code.

5. The automated testing method according to claim 1, characterized in that: After obtaining and storing the test results of the product, the automated testing method further includes: Based on the test results of the product, determine whether the product has failed the test and cannot be repaired; In the event that the product fails the test and cannot be repaired, determine the board serial code corresponding to the product, query the test record of the board serial code, determine the key burned into the product from the test record, and in response to a key adding instruction, add the key back into the unburned key table.

6. The automated testing method according to claim 1, characterized in that: After obtaining and storing the test results of the product, the automated testing method further includes: Based on the test result of the product, determining whether the product passes the test; If the product passes the test, detecting whether there is an update file for the product; In the case that an update file exists for the product, the update file is used to update the product.

7. The automated testing method according to claim 1, characterized in that: After obtaining the test result of the product, the automated testing method further includes: When the test result of the product belongs to a first type of error, a test error prompt is given, wherein the first type of error is a test system error of the automated test equipment; When the test result of the product belongs to a second type of error, a result error prompt is given, and the product is retested in response to a retest instruction, wherein the second type of error is a test result error of the product, or a test result feedback timeout error; When the test result of the product belongs to the third type of error, an operation error prompt is given, and in response to a retest instruction, the product is retested, or, in response to a test pass instruction, the product is marked as passed, wherein the third type of error is an installation and connection error of the product.

8. An automated testing device, characterized in that: Suitable for automated test equipment, including: a determination unit, configured to determine a target order to be tested from a plurality of product production orders in response to an order selection instruction; A first configuration unit is used to perform configuration operations on the automated test equipment based on the information in the target order, wherein the configuration operations include: communication parameter and data parameter configuration and acquisition card configuration, wherein the communication parameter refers to parameter information for the automated test equipment to communicate with the external product to be tested, the data parameter refers to data information for the automated test equipment to test the external product to be tested, and the acquisition card is used to obtain the display screen and play sound of the external product to be tested; A second configuration unit is used to configure a test set for the product corresponding to the target order in response to the test selection instruction, wherein the test set includes two levels: a test subset and a test case, and the test subset may include a plurality of test cases that are completed in cooperation with each other; The detection unit is used to detect whether the product is successfully installed and connected to the automated testing equipment, and if it is detected that the product is successfully installed and connected, test the product according to the test set configured for the product, and obtain and store the test result of the product.

9. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.