CN-121985116-A - Terminal system and resolution compatible automatic test method and equipment based on AI
Abstract
The invention discloses an automatic test method and equipment for terminal system and resolution compatibility based on AI, which relate to the technical field of terminal application test and comprise the steps of receiving test tasks issued by a test control end, intelligently distributing the tasks to a preset single terminal device test and/or virtual frame test through the AI, dynamically simulating multiple versions and resolutions on one physical television device by utilizing the AI to modify system parameters through single device dynamic simulation, checking resolution compatibility through a visual identification technology, constructing a hardware characteristic model by utilizing the AI through virtual frame simulation, simulating multiple hardware characteristics in a virtual environment to cover multiple scenes, and cooperatively working two test paths of the single terminal device dynamic simulation and the virtual frame simulation through dual-path cooperation and cross-validation, and generating a final report containing all test results and cross-validation conclusions. The invention realizes the multi-scene compatible test through single-equipment dynamic simulation and virtual framework simulation, and has high test efficiency and high reliability.
Inventors
- WANG ZHIGUO
- LIU HAI
- YUAN DI
- HUANG HONG
Assignees
- 深圳市酷开网络科技股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260128
Claims (10)
- 1. An AI-based terminal system and resolution compatible automated test method, comprising: Receiving a test task issued by a test control end, and intelligently distributing the task to a preset single terminal device test and/or virtual framework test through an AI according to the task requirement and risk assessment of the test task; When the task is distributed to a single terminal device for testing, the system parameters are dynamically modified through AI, and the dynamic simulation operation of a plurality of different system versions and resolutions on the single terminal device is controlled; When tasks are distributed to a virtual framework for testing, deploying a virtual framework on a server cluster according to a hardware characteristic model through AI, loading a system mirror image and a virtual hardware abstraction layer through the virtual framework, simulating various hardware characteristics in a virtual environment, covering multiple scenes, and performing cross verification with entity equipment to generate a virtual test report; The method comprises the steps of enabling a single terminal device to dynamically simulate and simulate two test paths through a dual-path cooperative and cross-validation mechanism to cooperatively work, and integrating a single terminal device test report and a virtual test report; and cross-verifying the risk problems found in any path, and generating a final report containing all test results and cross-verification conclusions.
- 2. The automatic test method for terminal system and resolution compatibility based on AI according to claim 1, wherein the steps of receiving the test task issued by the test control end, and intelligently distributing the task to a preset single terminal device test and/or virtual frame test through AI according to the task requirement and risk assessment of the test task include: A single terminal device test for testing a part of test tasks whose hardware performance requirements exceed a first predetermined requirement is preset, and a virtual frame test for testing a conventional test task is preset.
- 3. The AI-based terminal system and resolution-compatible automated test method according to claim 1, wherein the step of receiving a test task issued by a test control terminal and intelligently distributing the task to a preset single terminal device test and/or virtual frame test through AI according to task requirements and risk assessment of the test task comprises: acquiring a test task for performing multi-version and multi-resolution compatibility tests on newly developed terminal applications; And performing intelligent allocation on the test tasks through AI, allocating part of the test tasks with the hardware performance requirements exceeding the first preset requirements to a single terminal device for testing, performing verification in a real hardware environment, and allocating other parts of conventional compatibility test tasks to a virtual framework for testing.
- 4. The automatic test method for compatibility of terminal system and resolution based on AI according to claim 1, wherein when the task is allocated to a single terminal device for testing, the system parameters are dynamically modified by AI to control the dynamic simulation running of a plurality of different system versions and resolutions on the single terminal device, and during the simulation process, the steps of controlling the execution of a preset test case, collecting test data for automatic analysis and checking the compatibility of the resolution are performed, and when the allocated task is completed for combining the test, the step of generating a test report of the single terminal device comprises: When a task is distributed to a single terminal device for testing, dynamically modifying system parameters of the single terminal device through AI, and controlling the single terminal device to simulate and operate different android versions and resolutions; in the simulation process, controlling and executing a preset test case, and collecting a user interface, a log and performance data; Automatically analyzing the acquired data through a preset AI visual identification module and a performance monitoring module, judging whether display, function or performance problems exist or not, and automatically judging resolution compatibility problems; and when the distributed task combination test is completed, generating a test report of the single terminal equipment.
- 5. The AI-based terminal system and resolution compatible automated test method of claim 1, wherein the step of deploying a virtual framework on a server cluster according to a hardware characteristics model by AI when tasks are assigned to virtual framework testing, loading a system image and a virtual hardware abstraction layer by the virtual framework, simulating a plurality of hardware characteristics in a virtual environment, covering multiple scenarios, and cross-verifying with a physical device, and generating a virtual test report comprises: When tasks are distributed to the virtual framework test, deploying a preset virtual framework on the server cluster according to the hardware characteristic model through AI; Loading an android mirror image and a virtual hardware abstraction layer through the virtual framework to restore real hardware characteristics; Distributing parallel test tasks through the virtual framework, simulating user operation and collecting data; detecting abnormality through AI and grading; and (3) carrying out entity television verification on the detected problems, and generating a virtual test report.
- 6. The AI-based terminal system and resolution-compatible automated test method of claim 1, wherein the step of combining the two test paths, i.e., the dynamic simulation of a single terminal device and the simulation of a virtual framework, and integrating the test report and the virtual test report of the single terminal device by a dual-path combining and cross-validation mechanism, cross-validating risk problems found in any path, and generating a final report including all test results and cross-validation conclusions, comprises: controlling a single terminal device to dynamically simulate and simulate two test paths to cooperatively work through a preset dual-path cooperation and cross-validation mechanism, and integrating a single terminal device test report and a virtual test report; The method comprises the steps of controlling to carry out cross verification on risk problems found in any path, sending the potential problems found in a virtual environment to a single terminal device for reproduction and confirmation or otherwise balancing the test efficiency and accuracy in a cooperative working mode; A final report is ultimately generated containing all test results and cross-validation conclusions.
- 7. The AI-based end system and resolution compatible automated test method of claim 4, wherein deploying a virtual framework on a server cluster via AI according to a hardware characterization model further comprises: acquiring performance logs of a specified amount of real terminal equipment; Taking the performance log of the specified real terminal equipment as training data, inputting a hardware characteristic model constructed through AI (advanced technology attachment) for training, and obtaining a trained virtual frame; and deploying the virtual framework on a server cluster.
- 8. An AI-based terminal system and resolution compatible automated test apparatus, the apparatus comprising: the test task receiving and distributing module is used for receiving the test task issued by the test control end, and intelligently distributing the task to a preset single terminal device test and/or virtual frame test through an AI according to the task requirement and risk assessment of the test task; The system comprises a single-equipment dynamic simulation test module, a single-terminal equipment test report generation module, a single-equipment dynamic simulation test module, a test report generation module and a test report generation module, wherein the single-equipment dynamic simulation test module is used for dynamically simulating and running a plurality of different system versions and resolutions on single terminal equipment through AI when tasks are distributed to the single terminal equipment for testing and dynamically modifying system parameters; The virtual framework simulation test module is used for deploying a virtual framework on the server cluster according to the hardware characteristic model through AI when tasks are distributed to the virtual framework test, loading a system mirror image and a virtual hardware abstraction layer through the virtual framework, simulating various hardware characteristics in the virtual environment, covering multiple scenes, and performing cross verification with entity equipment to generate a virtual test report; the double-path collaborative and cross-validation module is used for collaborative working of two test paths, namely a single terminal device dynamic simulation test path and a virtual frame simulation test path, and integrating a single terminal device test report and a virtual test report, cross-validating risk problems found in any path, and generating a final report containing all test results and cross-validation conclusions.
- 9. A terminal device comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising steps for performing the method of any of claims 1-7.
- 10. A computer readable storage medium, on which a computer program is stored which, when being executed by a processor, enables an electronic device to perform the steps of the method according to any one of claims 1-7.
Description
Terminal system and resolution compatible automatic test method and equipment based on AI Technical Field The invention relates to the technical field of terminal application testing, in particular to an automatic test method, an automatic test device, terminal equipment and a storage medium for terminal system and resolution compatibility based on AI. Background The existing intelligent television compatibility test mainly depends on two schemes, namely entity equipment cluster test and traditional simulator test. The physical device cluster test needs to purchase a plurality of televisions with different Android versions (Android 9-14) and different resolutions (720P-4K) for manual or simple script test, so that the hardware cost is high (single batch exceeds 10 ten thousand yuan), the maintenance is complex, the test efficiency is low, the total combined test needs 3-5 days, the development period of quick iteration is difficult to adapt, and the detection rate of hidden problems (such as instant katon) is low due to high dependence on manual judgment. Although the traditional simulator test (based on an android simulator) has lower cost, the traditional simulator test cannot restore the real hardware characteristics (such as chip decoding and interface delay), so that the simulator has large difference from the physical equipment and the test reliability is insufficient. Furthermore, whether it be a physical device or a simulator, when a new android version or resolution is present, it is necessary to wait for the device to purchase or the simulator to update, resulting in a test lag. Therefore, the prior art has the technical problems of strong hardware dependence, low efficiency and insufficient reliability, and the prior art needs to be improved and developed. Disclosure of Invention In order to solve the technical problems of strong hardware dependence, low efficiency and insufficient reliability in the prior art, the invention provides an automatic test method, an automatic test device, terminal equipment and a storage medium for terminal system and resolution compatibility based on AI. The technical scheme of the application is as follows: An AI-based terminal system and resolution compatible automated test method, comprising: Receiving a test task issued by a test control end, and intelligently distributing the task to a preset single terminal device test and/or virtual framework test through an AI according to the task requirement and risk assessment of the test task; When the task is distributed to a single terminal device for testing, the system parameters are dynamically modified through AI, and the dynamic simulation operation of a plurality of different system versions and resolutions on the single terminal device is controlled; When tasks are distributed to a virtual framework for testing, deploying a virtual framework on a server cluster according to a hardware characteristic model through AI, loading a system mirror image and a virtual hardware abstraction layer through the virtual framework, simulating various hardware characteristics in a virtual environment, covering multiple scenes, and performing cross verification with entity equipment to generate a virtual test report; The method comprises the steps of enabling a single terminal device to dynamically simulate and simulate two test paths through a dual-path cooperative and cross-validation mechanism to cooperatively work, and integrating a single terminal device test report and a virtual test report; and cross-verifying the risk problems found in any path, and generating a final report containing all test results and cross-verification conclusions. The terminal system based on AI and the automatic testing method compatible with resolution, wherein, the steps of receiving the testing task issued by the testing control end, intelligently distributing the task to a preset single terminal device for testing and/or virtual frame for testing through AI according to the task requirement and risk assessment of the testing task comprise: A single terminal device test for testing a part of test tasks whose hardware performance requirements exceed a first predetermined requirement is preset, and a virtual frame test for testing a conventional test task is preset. The terminal system based on AI and the automatic testing method compatible with resolution, wherein, the steps of receiving the testing task issued by the testing control end, intelligently distributing the task to a preset single terminal device test and/or virtual frame test through AI according to the task requirement and risk assessment of the testing task comprise: acquiring a test task for performing multi-version and multi-resolution compatibility tests on newly developed terminal applications; And performing intelligent allocation on the test tasks through AI, allocating part of the test tasks with the hardware performance requirements exceeding the first preset requirements