OTA technology-based unmanned aerial vehicle automated testing method and system

By adopting an automated testing method for drones based on OTA technology, the entire process and link of drone testing has been automated, which solves the problem of insufficient intelligence in traditional testing methods, reduces labor costs and improves testing accuracy.

WO2026097847A1PCT designated stage Publication Date: 2026-05-15ABUP TECH CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
ABUP TECH CO LTD
Filing Date
2025-05-30
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Traditional drone upgrade testing methods lack intelligence, making it difficult to meet the needs of current drone technology, and are costly in terms of manpower.

Method used

An automated testing method for drones based on OTA technology is adopted. The test is completed automatically through the entire process and the entire link system, avoiding manual intervention. By combining OTA technology with automated drone testing, end-to-end communication and control are achieved, and test reports are automatically generated.

Benefits of technology

Reduce human intervention, save labor costs, improve testing accuracy, avoid the risk of human error, and realize the fully automated process of drone OTA testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025098478_15052026_PF_FP_ABST
    Figure CN2025098478_15052026_PF_FP_ABST
Patent Text Reader

Abstract

An OTA technology-based unmanned aerial vehicle automated testing method, comprising the following steps: formulating a test task, creating a test script and associating same with the test task, and publishing the test task; acquiring the test task and the associated test script; executing the test task, and automatically running the test script, to obtain a test result; and returning the test result, and generating a test report on the basis of the test result. By combining the OTA technology with unmanned aerial vehicle automated testing, full-process and full-link automated testing is achieved by a system, eliminating manual intervention during testing, and saving labor costs; and the automated testing can avoid the risk of manual operation errors and improve the accuracy of unmanned aerial vehicle automated testing.
Need to check novelty before this filing date? Find Prior Art

Description

An automated testing method and system for unmanned aerial vehicles based on OTA technology Technical Field

[0001] This invention relates to OTA technology, and more particularly to an automated testing method and system for unmanned aerial vehicles (UAVs) based on OTA technology. Background Technology

[0002] Currently, there are numerous types and models of drones on the market, and drones are widely used in various industries and in the daily lives of ordinary people. With the development of drone technology, future drone system firmware packages will become increasingly large, and traditional upgrade testing methods can no longer meet the demands. This paper innovatively proposes an automated OTA testing method for drones, simulating OTA testing in a test environment. The automated testing process is completed through end-to-end full-link communication and control capabilities, and a test report is automatically generated upon completion. This reduces human intervention and achieves a fully automated process for drone OTA testing. Summary of the Invention

[0003] Given that current traditional drone upgrade testing methods lack intelligence, are difficult to meet the needs of existing drone technology, and have high labor costs, this invention provides an automated drone testing method based on OTA technology. By combining OTA technology with automated drone testing methods, the entire process and link are completed automatically by the system, avoiding manual intervention.

[0004] To achieve the above objectives, the embodiments of the present invention adopt the following technical solutions:

[0005] An automated testing method for drones based on OTA technology, comprising the following steps:

[0006] Define test tasks, create test scripts and associate them with test tasks, and publish test tasks;

[0007] Retrieve test tasks and associated test scripts;

[0008] Execute test tasks, automatically run test scripts, and obtain test results;

[0009] Return the test results and generate a test report based on them.

[0010] According to one aspect of the present invention, the task types of the test tasks include OTA interface test tasks and OTA upgrade test tasks, and the script types of the test scripts include interface test scripts and business test scripts.

[0011] According to one aspect of the present invention, the process of defining a test task includes: defining a test task name, selecting a test task type, and selecting the number of times the test task will be executed, the test phase, the task start time, and the task end time.

[0012] According to one aspect of the present invention, creating a test script and associating it with a test task includes:

[0013] Create a script name, select the script type for the test script, and complete the basic information of the script;

[0014] Write automated test cases;

[0015] Based on the completed automated test cases, test scripts are automatically generated;

[0016] Associate the generated test scripts with the test tasks.

[0017] According to one aspect of the present invention, the execution of the test task and the automatic running of the test script include executing the OTA interface test task and automatically running the interface test script, specifically as follows:

[0018] Obtain the OTA interface test task and its associated interface test script;

[0019] Execute OTA interface testing tasks and automatically run interface test scripts;

[0020] Obtain the execution results of each step in the interface test script's execution process;

[0021] Complete the OTA interface testing task, obtain the test results, and return the execution results of all steps.

[0022] According to one aspect of the present invention, the execution of the OTA interface testing task and the automatic running of the interface testing script includes:

[0023] Execute OTA interface testing tasks;

[0024] Automatically run interface test scripts to test the connectivity of task interfaces between the AOT automated testing cloud platform and the OTA platform;

[0025] Test the connectivity of four types of interfaces between the OTA platform and the drone: detection, download, installation, and progress.

[0026] Returns the execution results of each step of the OTA interface test task.

[0027] According to one aspect of the present invention, the execution of test tasks and automatic running of test scripts includes executing OTA upgrade test tasks and automatically running business test scripts, specifically:

[0028] Obtain OTA upgrade test tasks and their associated business test scripts;

[0029] Execute OTA upgrade test tasks and automatically run business test scripts;

[0030] The OTA upgrade command is triggered by simulating an APP using ADB and then executed.

[0031] Obtain the execution result of each OTA upgrade command;

[0032] Complete the OTA upgrade test task, obtain the test results, and return the execution results of all steps.

[0033] According to one aspect of the present invention, the step of triggering OTA upgrade commands by simulating an APP via ADB includes:

[0034] Simulate an app triggering a detection command to detect the drone's software version;

[0035] Simulate an app triggering a download command to download the software package to the drone.

[0036] The app is simulated to trigger an installation command, which installs the software package on the drone.

[0037] According to one aspect of the present invention, the OTA-based automated testing method for unmanned aerial vehicles further includes: uploading the OTA test report to the OTA platform and making the report available for download.

[0038] An automated testing system for drones based on OTA technology includes:

[0039] Drones;

[0040] The AOT automated testing cloud platform is used to define test tasks, create test scripts and associate them with test tasks, and publish test tasks.

[0041] The industrial control computer is used to acquire test tasks and associated test scripts, execute test tasks, automatically run test scripts, obtain test results, return test results, and generate test reports based on the test results.

[0042] An OTA platform is used to provide OTA technology.

[0043] Advantages of this invention: The automated testing method for drones based on OTA technology described in this invention includes the following steps: defining a test task, creating a test script and associating it with the test task, and publishing the associated test task; receiving the test task and obtaining the test script from the test task; executing ADB commands according to the test script to perform the complete OTA upgrade process for the drone; returning the results of the complete OTA upgrade process and generating an OTA test report. By combining OTA technology with automated drone testing, the entire process and the entire link of the system are automated, avoiding manual intervention during the testing process, saving manpower costs. At the same time, automated testing can avoid the risk of operational errors when humans handle a large number of repetitive mechanical operations, improving the accuracy of automated drone testing. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 is a flowchart of the automated testing method for unmanned aerial vehicles based on OTA technology according to Embodiment 1 and Embodiment 2 of the present invention;

[0046] Figure 2 is a structural diagram of the UAV automated testing system based on OTA technology according to Embodiment 3 of the present invention;

[0047] Figure 3 is a structural diagram of the UAV automated testing equipment based on OTA technology according to Embodiment 4 of the present invention. Detailed Implementation

[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0049] In the embodiments of the present invention, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, apparatus, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules that are explicitly listed, but may include other steps or modules that are not explicitly listed or that are inherent to such processes, methods, products or devices.

[0050] The naming or numbering of steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical order indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effect can be achieved.

[0051] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0052] Example 1

[0053] As shown in Figure 1, an automated testing method for drones based on OTA technology includes the following steps:

[0054] Step S1: Define the test task, create the test script and associate it with the test task, and publish the test task;

[0055] Step S11: Define the test tasks, including:

[0056] Step S111: Define the test task name;

[0057] Step S112: Select the test task type;

[0058] The types of test tasks include OTA interface test tasks and OTA upgrade test tasks.

[0059] In this embodiment, the test task selected is the OTA interface test task, which is used to test whether the task interface between the AOT automated test cloud platform and the OTA platform is connected, and whether the detection, download, installation and progress interfaces between the OTA platform and the drone terminal or device terminal are connected.

[0060] Step S113: Select the number of times the test task will be executed, the test phase, the task start time, and the task end time.

[0061] In practical applications, mandatory termination conditions for test tasks can also be defined. For example, the test task can be stopped immediately when the number of executions reaches a preset execution limit, or the test task can be stopped immediately when the execution time reaches a preset task end time or exceeds the preset task end time for a certain period of time.

[0062] Step S12: Create a test script and associate it with the test task, including:

[0063] Step S121: Create a script name, select the script type for the test script, and complete the basic information of the script;

[0064] The available test script types include, but are not limited to, interface test scripts and business test scripts.

[0065] In this embodiment, an interface test script corresponding to the selected OTA interface test task is selected.

[0066] In addition to the script name and script type, the basic information of a script also includes the module to which the script belongs and comments.

[0067] Interface test scripts refer to end-to-end interface testing. The purpose is to test the software interface from the cloud to the drone or device. After the test task is created in the cloud, the script is published and run. The script performs automated testing according to the task start time specified by the test task. Only by completing end-to-end interface testing can end-to-end network communication and data interaction be fully established, that is, the data interaction of application messages and the data interaction of software entities can be realized.

[0068] Step S122: Write automated test cases;

[0069] Write corresponding automated test cases in the AOT automated testing platform based on the script name, script type, and other basic information.

[0070] Step S123: Automatically generate test scripts based on the completed automated test cases;

[0071] Step S124: Associate the generated test script with the test task.

[0072] Specifically, when executing OTA interface testing tasks, the interface testing script needs to be run automatically, and when executing OTA upgrade testing tasks, the business testing script needs to be run.

[0073] Step S2: Obtain the test task and associated test script;

[0074] The test task is distributed to the industrial control computer that can execute the test task through the AOT automated test platform. After the industrial control computer is powered on, it launches the test agent program, which detects the automated test task and obtains the test script associated with the test task.

[0075] Step S3: Execute the test task, automatically run the test script, and obtain the test results;

[0076] Step S31: Obtain the OTA interface test task and its associated interface test script;

[0077] In practical applications, after the industrial control computer is powered on, the test agent may detect multiple different test tasks. However, each test task has its own defined start time, and the test agent needs to execute the corresponding test tasks in sequence according to the order of their start times.

[0078] In this embodiment, the test task is an OTA interface test task, which is associated with an interface test script.

[0079] Step S32: Execute the OTA interface test task and automatically run the interface test script;

[0080] Execute OTA interface test tasks using the test agent;

[0081] Automatically run interface test scripts to test the connectivity of task interfaces between the AOT automated testing cloud platform and the OTA platform;

[0082] After the previous step is completed, automatically test the connectivity between the OTA platform and the drone or device, including but not limited to testing the detection interface, download interface, installation interface and progress interface;

[0083] Returns the execution results of each step of the OTA interface test task.

[0084] Step S33: Obtain the execution results of each step in the interface test script execution process;

[0085] Step S34: Complete the OTA interface test task, obtain the test results, and return the execution results of all steps.

[0086] Step S4: Return the test results and generate a test report based on the test results.

[0087] In step S3, after each interface test is completed, the test results need to be returned to the test agent immediately. After the entire test task is completed, the final task test results are generated. The test agent generates a test report based on the test results of each interface and the final task test results, and uploads the generated test report to the AOT automated testing cloud platform.

[0088] The automated test results report is displayed through the AOT automated testing cloud platform, and users can also download the automated test report to their local machine.

[0089] This embodiment provides an automated testing method for drones based on OTA technology. By executing created test tasks and test scripts, it realizes interface testing between the AOT automated testing cloud platform and the OTA platform, and between the OTA platform and the drone or device. This prepares the drone or device for OTA upgrades. By combining OTA technology with automated drone testing, it achieves full-process, end-to-end system automation, avoiding manual intervention during testing, saving manpower costs. At the same time, automated testing can avoid the risk of operational errors when humans handle a large number of repetitive mechanical operations, improving the accuracy of automated drone testing.

[0090] Example 2

[0091] As shown in Figure 1, an automated testing method for drones based on OTA technology includes the following steps:

[0092] Step S1: Define the test task, create the test script and associate it with the test task, and publish the test task;

[0093] Step S11: Define the test tasks, including:

[0094] Step S111: Define the test task name;

[0095] Step S112: Select the test task type;

[0096] The types of test tasks include OTA interface test tasks and OTA upgrade test tasks.

[0097] In this embodiment, the test task selected is the OTA upgrade test task. This task needs to be carried out on the premise that the interface test task has been completed in Embodiment 1 and all interfaces are used normally in the test report. It is used to test whether the drone or device can execute the complete OTA upgrade process normally.

[0098] Step S113: Select the number of times the test task will be executed, the test phase, the task start time, and the task end time.

[0099] In practical applications, mandatory termination conditions for test tasks can also be defined. For example, the test task can be stopped immediately when the number of executions reaches a preset execution limit, or the test task can be stopped immediately when the execution time reaches a preset task end time or exceeds the preset task end time for a certain period of time.

[0100] Step S12: Create a test script and associate it with the test task, including:

[0101] Step S121: Create a script name, select the script type for the test script, and complete the basic information of the script;

[0102] The available test script types include, but are not limited to, interface test scripts and business test scripts.

[0103] In this embodiment, a business test script corresponding to the selected OTA upgrade test task is selected.

[0104] In addition to the script name and script type, the basic information of a script also includes the module to which the script belongs and comments.

[0105] The business test script refers to the script that the industrial control computer executes for OTA testing. After the AOT automated testing platform creates the test task, it sends the script to the industrial control computer. The test agent in the industrial control computer runs the script to complete the OTA testing process of the drone. The final test report is automatically generated and uploaded to the cloud for storage.

[0106] Step S122: Write automated test cases;

[0107] Write corresponding automated test cases in the AOT automated testing platform based on the script name, script type, and other basic information.

[0108] Step S123: Automatically generate test scripts based on the completed automated test cases;

[0109] Step S124: Associate the generated test script with the test task.

[0110] Specifically, when executing OTA interface testing tasks, the interface testing script needs to be run automatically, and when executing OTA upgrade testing tasks, the business testing script needs to be run.

[0111] Step S2: Obtain the test task and associated test script;

[0112] The test task is distributed to the industrial control computer that can execute the test task through the AOT automated test platform. After the industrial control computer is powered on, it launches the test agent program, which detects the automated test task and obtains the test script associated with the test task.

[0113] Step S3: Execute the test task, automatically run the test script, and obtain the test results;

[0114] Step S31: Obtain the OTA upgrade test task and its associated business test script;

[0115] In practical applications, after the industrial control computer is powered on, the test agent may detect multiple different test tasks. However, each test task has its own defined start time, and the test agent needs to execute the corresponding test tasks in sequence according to the order of their start times.

[0116] In this embodiment, the test task is an OTA upgrade test task, and the associated test script is a business test script.

[0117] Step S32: Execute the OTA upgrade test task and automatically run the business test script;

[0118] The test agent executes OTA upgrade test tasks, automatically runs business test scripts, and performs the complete OTA upgrade process.

[0119] Step S33: Simulate the APP via ADB to trigger the OTA upgrade command and execute the OTA upgrade command;

[0120] In practical applications, executing OTA upgrade testing tasks requires the test agent to execute ADB commands to simulate the operation process of a mobile app, as follows:

[0121] The test agent simulates triggering the detection of a new version, the APP returns a detection command, and the drone software version is detected.

[0122] The test agent simulates triggering a click download command, the APP returns a download command, and the software package is downloaded to the drone.

[0123] The test agent simulates triggering an installation command, and the APP returns an installation command to install the software package on the drone.

[0124] Steps S32 and S33 constitute the complete OTA upgrade process, as follows:

[0125] The test agent executes a business script to initiate a command to detect the latest version of the drone or device and determines whether it meets the version requirements of the current OTA upgrade process. The OTA master receives the command and iterates through the software versions of the entire terminal device.

[0126] The test agent simulates triggering a click-to-download command, returning to the vehicle's OTA upgrade main program, OTA master; OTA master obtains the upgrade package from the OTA platform and downloads it to the controller storage of the drone or device.

[0127] The test agent simulates triggering the installation command and returns the vehicle's OTA upgrade main program, OTA master. OTA master then executes the installation process on the drone or device.

[0128] Step S34: Obtain the execution result of each OTA upgrade command;

[0129] After each step is completed, the OTA master returns the result of that step to the test agent.

[0130] Step S35: Complete the OTA upgrade test task, obtain the test results, and return the execution results of all steps.

[0131] Step S4: Return the test results and generate a test report based on the test results.

[0132] In step S3, after each step of the complete OTA upgrade is executed, the test results need to be returned to the test agent immediately. After the entire test task is completed, the final test results are generated. The test agent determines whether the complete OTA upgrade process has been successfully executed based on the execution results of each step, and generates a test report based on the final results, which is then uploaded to the AOT automated testing cloud platform.

[0133] In practical applications, the OTA master will also return the execution results to the OTA cloud after each step of the OTA upgrade task is completed.

[0134] The automated test results report is displayed through the AOT automated testing cloud platform, and users can also download the automated test report to their local machine.

[0135] In practical applications, OTA test reports can also be uploaded to the OTA platform and made available for download.

[0136] This embodiment provides an automated testing method for drones based on OTA technology. By executing created test tasks and test scripts, it tests whether the drone can normally perform the complete OTA upgrade process. By combining OTA technology with automated drone testing, it achieves full-process, end-to-end system automation, avoiding manual intervention during the testing process, saving manpower costs. At the same time, automated testing can avoid the risk of operational errors when humans handle a large number of mechanical repetitive operations, thus improving the accuracy of automated drone testing.

[0137] Example 3

[0138] As shown in Figure 2, an automated testing system for drones based on OTA technology includes:

[0139] The drone or device is pre-installed with an OTA master, which serves as an upgrade component for the main OTA service.

[0140] The AOT automated testing cloud platform is used to define test tasks, create test scripts and associate them with test tasks, and publish test tasks.

[0141] The industrial control computer is used to acquire test tasks and associated test scripts, execute test tasks, automatically run test scripts, obtain test results, generate test reports based on test results, and return test results. Specifically, the industrial control computer uses its pre-installed test agent as the main business control component for executing OTA automation scripts on the vehicle side to perform the above steps.

[0142] The OTA-based automated testing system for drones also includes an OTA platform. The OTA platform is used to provide OTA technology, that is, to issue OTA upgrade packages to the drone or device, and to assist the drone in performing OTA upgrade tasks.

[0143] When an OTA-based automated testing system for drones executes OTA interface testing tasks, it uses the AOT automated testing cloud platform to define test tasks and create test scripts. These tasks are then distributed to an industrial control computer (ICC). A pre-installed test agent on the ICC executes the OTA interface testing tasks and runs the interface test scripts, testing the task interface between the AOT automated testing cloud platform and the OTA platform. Upon completion, it tests the interfaces between the OTA platform and the drone or device, including detection, download, installation, and progress tracking. Finally, the test agent generates a test report based on the results returned at each step of the task execution and uploads it to the AOT automated testing cloud platform.

[0144] When executing OTA upgrade testing tasks, the UAV automated testing system based on OTA technology uses the AOT automated testing cloud platform to define test tasks, create test scripts, and distribute the test tasks to the industrial control computer. The pre-installed test agent in the industrial control computer executes the OTA interface test tasks and runs the interface test scripts. It uses ADB technology to simulate the various instructions triggered by a mobile APP in the complete OTA upgrade task process. The test agent transmits the instructions to the OTA master on the UAV or device side for execution. Specifically, the OTA master receives detection instructions, traverses the entire software version of the UAV or device side, receives download instructions, interacts with the OTA platform to obtain the OAT upgrade package, receives installation instructions, and installs the OTA upgrade package on the UAV or device side. The OTA master returns the instructions for each step to the test agent and the OTA platform. Finally, the test agent generates a test report based on the return results of each step in the task execution process and uploads it to the AOT automated testing cloud platform.

[0145] Example 4

[0146] As shown in Figure 3, an automated testing device for drones based on OTA technology includes:

[0147] Memory 100 is used to store computer programs;

[0148] The processor 200 is used to execute the computer program to implement the steps of the OTA-based automated testing method for unmanned aerial vehicles as described in Embodiment 1 and Embodiment 2.

[0149] Example 5

[0150] A readable storage medium for automated testing of unmanned aerial vehicles (UAVs) based on OTA (Over-The-Air) technology is provided. The readable storage medium stores a computer program, which, when executed, implements the steps of the automated UAV testing method based on OTA technology as described in Embodiments 1 and 2.

[0151] The present invention can be a system, method, and / or computer program product. The computer program product may comprise a computer-readable storage medium (or medium) having computer-readable program instructions thereon for causing a processor to perform aspects of the invention.

[0152] A computer-readable storage medium is a tangible device capable of retaining and storing instructions for use by an instruction execution device. A computer-readable storage medium can be, for example, but not limited to, electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital universal disc (DVD), memory sticks, floppy disks, mechanical encoding devices (such as punched cards or raised structures in grooves having instructions recorded thereon), and any suitable combination of the foregoing.

[0153] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a suitable computing / processing device or via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network) to an external computer or external storage device. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to a computer-readable storage medium within the suitable computing / processing device.

[0154] The computer program described herein is a computer-readable program instruction that can be downloaded from a computer-readable storage medium to a corresponding computing / processing device or via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network) to an external computer or external storage device. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instruction from the network and forwards it to a computer-readable storage medium within the corresponding computing / processing device.

[0155] The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter case, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet through an Internet service provider). In some embodiments, electronic circuitry (including, for example, programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs)) may execute the computer-readable program instructions by utilizing state information of the computer-readable program instructions to personalize the electronic circuitry in order to perform aspects of the invention.

[0156] Aspects of the invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, systems, apparatuses, and computer program products according to embodiments of the invention. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0157] These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine, which executes via the processor of the computer or other programmable data processing apparatus, creating means for implementing the functions / actions specified in one or more blocks of a flowchart and / or block diagram. These computer-readable program instructions may also be stored in a computer-readable storage medium capable of instructing a computer, a programmable data processing apparatus, and / or other devices that function in a particular manner, such that the computer-readable storage medium having the instructions stored therein includes an article of writing comprising instructions for implementing aspects of the functions / actions specified in one or more blocks of a flowchart and / or block diagram.

[0158] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. An automated testing method for unmanned aerial vehicles (UAVs) based on OTA (Over-The-Air) technology, characterized in that, The automated testing method for drones based on OTA technology includes the following steps: Define test tasks, create test scripts and associate them with test tasks, and publish test tasks. The task types of the test tasks include OTA interface test tasks and OTA upgrade test tasks. The script types of the test scripts include interface test scripts and business test scripts. Retrieve test tasks and associated test scripts; Execute test tasks, automatically run test scripts, and obtain test results; Return the test results and generate a test report based on them.

2. The automated testing method for unmanned aerial vehicles based on OTA technology according to claim 1, characterized in that, The process of defining a test task includes: defining a test task name, selecting a test task type, and choosing the number of times the test task will be executed, the test phase, the task start time, and the task end time.

3. The automated testing method for unmanned aerial vehicles based on OTA technology according to claim 1, characterized in that, The creation of test scripts and their association with test tasks includes: Create a script name, select the script type for the test script, and complete the basic information of the script; Write automated test cases; Based on the completed automated test cases, test scripts are automatically generated; Associate the generated test scripts with the test tasks.

4. The automated testing method for unmanned aerial vehicles based on OTA technology according to claim 1, characterized in that, The execution of test tasks and automatic running of test scripts includes executing OTA interface test tasks and automatically running interface test scripts, specifically as follows: Obtain the OTA interface test task and its associated interface test script; Execute OTA interface testing tasks and automatically run interface test scripts; Obtain the execution results of each step in the interface test script's execution process; Complete the OTA interface testing task, obtain the test results, and return the execution results of all steps.

5. The automated testing method for unmanned aerial vehicles based on OTA technology according to claim 4, characterized in that, The execution of the OTA interface testing task and the automatic running of the interface testing script include: Execute OTA interface testing tasks; Automatically run interface test scripts to test the connectivity of task interfaces between the AOT automated testing cloud platform and the OTA platform; Test the connectivity of four types of interfaces between the OTA platform and the drone: detection, download, installation, and progress. Returns the execution results of each step of the OTA interface test task.

6. The automated testing method for unmanned aerial vehicles based on OTA technology according to claim 1, characterized in that, The execution of test tasks and automatic running of test scripts include executing OTA upgrade test tasks and automatically running business test scripts, specifically: Obtain the OTA upgrade test task and its associated business test scripts; Execute OTA upgrade test tasks and automatically run business test scripts; The OTA upgrade command is triggered by simulating an APP using ADB and then executed. Obtain the execution result of each OTA upgrade command; Complete the OTA upgrade test task, obtain the test results, and return the execution results of all steps.

7. The automated testing method for unmanned aerial vehicles based on OTA technology according to claim 6, characterized in that, The method of triggering OTA upgrade commands by simulating an APP via ADB includes: Simulate an app triggering a detection command to detect the drone's software version; Simulate an app triggering a download command to download the software package to the drone. The app is simulated to trigger an installation command, which installs the software package on the drone.

8. The automated testing method for unmanned aerial vehicles based on OTA technology according to claim 1, characterized in that, The OTA-based automated testing method for drones also includes uploading the test report to the AOT automated testing cloud platform and providing a report download method.

9. An automated testing system for unmanned aerial vehicles (UAVs) based on OTA (Over-The-Air) technology, characterized in that: The OTA-based automated drone testing system includes: Unmanned aerial vehicles (UAVs); an AOT (Automated Test over Time) cloud platform for defining test tasks, creating test scripts and associating them with test tasks, and publishing test tasks. The test tasks include OTA interface test tasks and OTA upgrade test tasks, and the test scripts include interface test scripts and business test scripts. The industrial control computer is used to acquire test tasks and associated test scripts, execute test tasks, automatically run test scripts, obtain test results, return test results, and generate test reports based on the test results. An OTA platform is used to provide OTA technology.