A method for rapid deployment of drone clusters based on cloud native technology

Using cloud native technology to containerize drone functions and use microservice architecture, it solves the problems of low deployment efficiency and strong node coupling when the drone cluster is large-scale, and achieves rapid deployment and high reliability of drones. Cluster management.

CN118113311BActive Publication Date: 2024-09-13GUANGZHOU YIHUI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410238023.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-02
Publication Date
2024-09-13
Estimated Expiration
2044-03-02

AI Technical Summary

Technical Problem

When the drone cluster is large-scale, the firmware upgrade and startup process through wired connections is inefficient and the nodes are highly coupled, making it difficult to quickly deploy the system and troubleshoot problems.

Method used

A UAV cluster system based on cloud native technology is used to containerize each functional node through ECS, use the VSOA bus to achieve data interoperability, and perform remote updates and management through the ECSM container management platform to achieve loosely coupled deployment and management of microservices.

Benefits of technology

It achieves rapid deployment and management of UAV clusters, reduces node coupling, simplifies troubleshooting, and improves system reliability and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118113311B
    Figure CN118113311B
Patent Text Reader

Abstract

The present invention discloses a method for rapid deployment of a drone cluster based on cloud native technology, and relates to the technical field of drone deployment. The method proposed in the present invention can realize rapid environmental deployment of each drone in a drone cluster environment, and can conveniently manage and monitor the status of each drone. Since the functions of various microservices are relatively independent, when problems occur in airborne equipment (airborne equipment includes lidar, visual cameras, airborne computers, etc.), it is easier to troubleshoot the problem than the traditional solution of using ROS (Robot Operating System) to start multiple interdependent nodes. Due to the independence of microservices, multiple sets of stable container solutions can be reserved. During the operation of the drone cluster, if a problem occurs in the microservice application, it can be quickly replaced to achieve safer and more reliable flight of the drone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of drone deployment technology, and more specifically, to a method for rapidly deploying a drone cluster based on cloud native technology. Background Art

[0002] At present, the architecture of autonomous drones is basically composed of onboard computers + flight control units + various sensors. The onboard computer is responsible for executing algorithms such as path planning, target recognition, task allocation, and multi-machine communication, and outputs control information to the flight control unit through the Mavlink protocol. The flight control unit is responsible for processing data from sensors (GPS, IMU, barometer, gyroscope and other sensors on the flight control) and performing flight attitude calculations, and controlling the real-time operating attitude of the motor according to the optimal trajectory provided by the onboard computer.

[0003] When the algorithm of the drone needs to be updated, the current common method is to burn the flight control firmware through a wired connection. When starting the drone, the device nodes of the devices installed on the drone need to be started in sequence in the onboard computer.

[0004] This method is relatively smooth when the number of drones is small, but when the drone cluster reaches a certain scale, the workload of upgrading the firmware of each drone through wired connection is too large and inefficient. In addition, in the process of starting the drone, the coupling between the device nodes is strong. If a single node crashes, it is very likely that the entire system will not be able to run successfully, and it is difficult to troubleshoot the problem. Summary of the invention

[0005] In order to improve the deployment efficiency of drone clusters, reduce the coupling between nodes, and reduce the difficulty of troubleshooting. The present invention proposes a drone cluster system based on cloud native architecture to achieve rapid deployment of drone clusters. In this system, the functions of the drone are containerized by ECS (Edge Container Stack), and the functional nodes of each device are started in the form of microservices. The data exchange and intercommunication are realized through the VSOA (Vehicle Service Oriented Architecture) bus, and the configuration environment of each drone is managed through the ECSM (Edge Container Stack Management) container management platform, such as online remote update of flight control firmware, unification of the operating environment of each drone, and update of deployed algorithms in the form of microservices.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] The method for rapid deployment of drone clusters based on cloud native technology includes the following steps:

[0008] Step 1: Complete the construction of the cloud native environment (including ECS ​​module, VSOA module, JSRE module, etc.) for each drone;

[0009] Step 2: Connect the drone to the ECSM container management platform, and the drone and ECSM transmit data through the VSOA bus;

[0010] Step 3: Subdivide the functions of the drone cluster and write corresponding microservice applications based on the VSOA microservice architecture, such as communication interface microservice, flight control interface microservice, camera interface microservice, positioning and navigation microservice, path planning microservice, cluster planning microservice...;

[0011] Step 4: Use ECS to package the microservice application into a container image;

[0012] Step 5: Deploy the microservices that make up the drone cluster-related functions to each drone through the ECSM container management platform;

[0013] Step 6: When the algorithm is updated, the new algorithm implementation is packaged and compiled through ECS to generate a new container image;

[0014] Step 7: Deploy the updated image to the corresponding drone through the ECSM container management platform.

[0015] Drone cluster startup process:

[0016] 1. Use ECSM to orchestrate the container, and then automatically deploy the container according to the configuration status defined in the configuration file (YAML or JSON file);

[0017] A) The configuration file needs to be written according to different requirements;

[0018] B) The logic of automatic deployment is to match the drone's task items with the corresponding containers defined in the configuration file, and then deploy the containers. After the deployment is completed, ECSM starts to manage the life cycle of the container nodes;

[0019] C) UAV task items: calculated by the task allocation algorithm based on the state of the UAV, the equipment carried by the UAV, the cluster to which the UAV belongs, and other attributes, and sent to each UAV;

[0020] 2. Start various microservices of the drone cluster through the management platform;

[0021] 3. If all microservices are normal, the drone cluster is started successfully;

[0022] 4. If a microservice fails to run:

[0023] a) If the drone is in the startup phase, the microservice can be quickly replaced and the problem can be investigated due to the loose coupling characteristics of microservices;

[0024] b) If the drone is in flight at this time, if the data collection and processing service crashes, an attempt will be made to restart the service. Since ECSM has timed out and has not received any information return from the corresponding service, the disaster recovery plan will be started simultaneously. ECSM will search for drones with the mission requirements, deploy mission-related containers for them, and execute the tasks synchronously to ensure the completion of the tasks.

[0025] Compared with the prior art, the present invention has the following beneficial effects:

[0026] The system proposed by the present invention can realize rapid environmental deployment of each drone in a drone cluster environment, can conveniently manage each drone, and monitor the status of each drone. Since the functions of each microservice are relatively independent, when problems occur in external devices, it is easier to troubleshoot the problem than the traditional solution of starting multiple interdependent nodes. During the operation of the drone cluster, if a problem occurs, it can be quickly replaced to achieve safer and more reliable flight of the drone. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a principle block diagram of the present invention;

[0028] Figure 2 This is a block diagram of the cloud native architecture of the present invention;

[0029] Figure 3 This is a microservice architecture diagram of a single drone of the present invention. DETAILED DESCRIPTION

[0030] Reference Figures 1 to 3

[0031] The method for rapid deployment of drone clusters based on cloud native technology includes the following steps:

[0032] Step 1: Complete the construction of the cloud native environment for each drone;

[0033] Step 2: Connect the drone to the ECSM container management platform, and the drone and ECSM transmit data through the VSOA bus;

[0034] Step 3: Subdivide the functions of the drone cluster and write corresponding microservice applications based on the VSOA microservice architecture, such as communication interface microservice, flight control interface microservice, camera interface microservice, positioning and navigation microservice, path planning microservice, cluster planning microservice...;

[0035] Step 4: Use ECS to package the microservice application into a container image;

[0036] Step 5: Deploy the microservices that make up the drone cluster-related functions to each drone through the ECSM container management platform;

[0037] Step 6: When the algorithm is updated, the new algorithm implementation is packaged and compiled through ECS to generate a new container image;

[0038] Step 7: Deploy the updated image to the corresponding drone through the ECSM container management platform.

[0039] Drone cluster startup process:

[0040] 1. Use ECSM to orchestrate the container, and then automatically deploy the container according to the configuration status defined in the configuration file (YAML or JSON file);

[0041] A) The configuration file needs to be written according to different requirements;

[0042] B) The logic of automatic deployment is to match the drone's task items with the corresponding containers defined in the configuration file, and then deploy the containers. After the deployment is completed, ECSM starts to manage the life cycle of the container nodes;

[0043] C) UAV task items: calculated by the task allocation algorithm based on the state of the UAV, the equipment carried by the UAV, the cluster to which the UAV belongs, and other attributes, and sent to each UAV;

[0044] 2. Start various microservices of the drone cluster through the management platform;

[0045] 3. If all microservices are normal, the drone cluster is started successfully;

[0046] 4. If a microservice fails to run:

[0047] a) If the drone is in the startup phase, the microservice can be quickly replaced and the problem can be investigated due to the loose coupling characteristics of microservices;

[0048] b) If the drone is in flight at this time, if the data collection and processing service crashes, an attempt will be made to restart the service. Since ECSM has timed out and has not received any information return from the corresponding service, the disaster recovery plan will be started simultaneously. ECSM will search for drones with the mission requirements, deploy mission-related containers for them, and execute the tasks synchronously to ensure the completion of the tasks.

[0049] Glossary:

[0050] ECSM (Edge Container Stack Management) is a container management platform. ECSM adopts a lightweight design, removes unnecessary control units and virtual tunnel network agents, and uses a lighter database, so that its overall resource requirements can be applied to various resource-constrained ultra-edge computing environments.

[0051] VSOA (Vehicle SOA) is a lightweight microservice communication architecture that facilitates developers to build large-scale distributed loosely coupled software systems and supports parallel development. In the VSOA microservice communication architecture, there are three roles: (1) Server: refers to the service provider, which provides resources to the outside world. (2) Client: refers to the user of the service, which uses the resources of the server. (3) Location service: Similar to DNS, the client does not need to know the actual network address of the service provider to establish a connection with it.

[0052] ECS (Edge Container Stack) is a lightweight real-time container technology that fully considers many problems of ordinary container technology (such as insufficient real-time performance, excessive resource consumption, large images, difficult development, insufficient security, etc.), supports a variety of CPU architectures and processors, and the applications in the container support POSIX API. The developed applications can run in the container without modification, which can greatly reduce the migration cost of users. At the same time, by importing VSOA components into the application container, the application can be microserviced immediately.

[0053] The drone cluster system consists of the ECSM container management platform, the VSOA microservice communication architecture, the ECS real-time container technology, and microservice applications written based on the VSOA microservice communication architecture.

[0054] Onboard equipment includes lidar, visual cameras, onboard computers, etc.

[0055] The above is only a preferred embodiment of the present invention. The protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of this template.

[0056] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A method for rapid deployment of drone clusters based on cloud native technology, characterized in that: The steps include: Step 1: Complete the construction of the cloud native environment for each drone; Step 2: Connect the drone to the ECSM container management platform through the network, and the drone and the ECSM container management platform transmit data through the VSOA bus; Step 3: Subdivide the functions of the drone cluster and write corresponding microservice applications based on the VSOA microservice architecture; Step 4: Use ECS to package the microservice application into a container image; Step 5: Deploy the microservices that make up the drone cluster-related functions to each drone through the ECSM container management platform; Deployment process for subsequent algorithm updates: Step 1: When the optimized algorithm needs to be updated, the new algorithm implementation is packaged and compiled through ECS to generate a new container image; Step 2: Deploy the updated container image to the corresponding drone through the ECSM container management platform; Drone cluster startup process: Use the ECSM container management platform to orchestrate containers, and then automatically deploy containers according to the configuration status defined in the configuration file; A) Configuration files need to be written according to different requirements; B) The logic of automatic deployment is to match the drone's task items with the corresponding containers defined in the configuration file and then deploy the containers. After the deployment is completed, the ECSM container management platform begins to manage the lifecycle of the container nodes; C) UAV task items: calculated by the task allocation algorithm based on the status of the UAV, the equipment carried by the UAV, and the cluster to which the UAV belongs, and sent to each UAV; Start various microservices of the drone cluster through the ECSM container management platform; If all microservices are normal, the drone cluster is started successfully; If a microservice fails to run: a) If the drone is in the startup phase, replace the microservice and troubleshoot the problem; b) If the drone is in the flight phase at this time, an attempt will be made to restart the service. Since the ECSM container management platform has timed out and has not received any information return from the corresponding service, the disaster recovery plan will be started simultaneously. The ECSM container management platform will search for drones with the mission requirements, deploy mission-related containers for them, and execute the tasks synchronously to ensure the completion of the tasks.