Unmanned aerial vehicle ground station software plug-in design method and management system
By using a plug-in design and an event-driven mechanism, the problems of scalability and customizability of traditional UAV ground station software are solved, enabling flexible functional module management and efficient software adaptation to meet the needs of different UAV models and users.
Patent Information
- Application Number
- CN202410953032.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-15
AI Technical Summary
Traditional UAV ground station software design adopts a centralized design, which makes it difficult to expand and customize functional modules, and cannot adapt to the needs of different UAV models and users.
It adopts a plug-in design, encapsulating functional modules into independent dynamic link libraries. It achieves loose coupling and flexible communication between plug-ins through an event-driven mechanism. It combines QT and C++ languages to design the front-end and back-end, and provides a plug-in management system to support the installation, upgrade and uninstallation of plug-ins.
It achieves flexibility and customizability of ground station software, supports diverse application scenarios, reduces development and maintenance costs, and improves code reusability and development efficiency.
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of unmanned aerial vehicle ground station software design, and in particular relates to a plug-in design method and management system for unmanned aerial vehicle ground station software. Background Art
[0002] The ground station software of drones provides support for the control, monitoring and data interaction of drones, and usually includes functions such as data analysis, data transmission management, flight path planning, etc. Traditional ground station software design usually adopts a centralized design approach, where all functional modules are integrated into one software, which is difficult to expand and customize.
[0003] The current drone ground station software has functional limitations, different models of aircraft correspond to different ground station software versions, and the version management is difficult. The ground station software is not flexible, customizable, and scalable enough to meet the needs of different users and application scenarios. Summary of the invention
[0004] In view of the above-mentioned problems, the present invention discloses a plug-in design method and management system for UAV ground station software.
[0005] The present invention adopts the following technical solution:
[0006] A method for designing a software plug-in for an unmanned aerial vehicle ground station, wherein each functional module is encapsulated into an independent dynamic link library, and a plurality of the dynamic link libraries are combined to form a software plug-in. The ground station software dynamically loads and unloads the software plug-in during operation. The design method adapts to different unmanned aerial vehicle controls by switching different plug-ins loaded by the current software, and the overall framework of the software remains consistent. The data of the unmanned aerial vehicle is parsed according to the corresponding data according to different versions of the plug-in.
[0007] Furthermore, the front-end interface data display of the functional module is designed using QT language, and the back-end is developed using C++ language.
[0008] Furthermore, the encapsulation of the functional modules defines an interface specification, and the interface specification is used for interaction and communication between plug-ins.
[0009] Furthermore, the interface specification includes input and output parameters, data format and message format of each functional module.
[0010] Furthermore, the ground station software includes an event-driven mechanism.
[0011] Furthermore, the communication between the software plug-ins is achieved through the event-driven mechanism.
[0012] Furthermore, the ground station software defines a series of events. When an event is triggered, the relevant plug-in receives the event and performs corresponding processing.
[0013] Furthermore, the plug-in design of the UAV ground station software realizes loose coupling and flexible message passing between plug-ins.
[0014] A plug-in management system, the plug-in management system comprising:
[0015] An installation module, the installation module is used to manage the installation of the plug-in;
[0016] An upgrade module, which is used to manage the upgrade of the plug-in;
[0017] An uninstallation module, wherein the uninstallation module is used to manage the uninstallation of the plug-in.
[0018] Furthermore, the plug-in management system provides a user interface or a command line interface.
[0019] Beneficial effects:
[0020] The plug-in design method of the UAV ground station software described in the present invention has significant cost advantages and effect advantages. Specifically, the plug-in design method can realize the modularization and decoupling of the ground station software, and can select the required functional modules according to user needs and application scenarios, and flexibly configure and customize them, thereby improving flexibility and customizability, and reducing the modification cost of the underlying code; the plug-in design method can realize the dynamic loading and unloading of the ground station software, and the expansion and updating of functional modules are easier and faster, and do not affect the stability of the entire ground station software; the plug-in design method can improve code reusability, while reducing development time and cost, shortening the software development cycle, and reducing maintenance costs, and can be easily upgraded and updated; the plug-in design method can select and customize functional modules according to different needs, can support diversified application scenarios, and realize ground station software that adapts to different user needs and usage environments.
[0021] The present invention improves the flexibility, customizability and scalability of ground station software, making it more adaptable to the needs of different users and application scenarios. Specifically, it includes:
[0022] 1. Flexibility and customizability: Through the plug-in design method, the ground station software can independently encapsulate different functional modules and present them in the form of plug-ins. This can achieve modular design, and users can select and customize the required functional modules according to their needs without using the entire ground station software.
[0023] 2. Scalability: The plug-in design method allows the functional modules of the ground station software to be dynamically loaded and unloaded, and is convenient for addition, modification and upgrade. When users need to add new functions or improve existing functions, they can do so by adding or replacing the corresponding plug-ins without modifying the entire ground station software.
[0024] 3. Adapt to diverse needs: Different users and application scenarios have different requirements for ground station software. Through the plug-in design method, users can select and customize functional modules according to their needs to meet specific application requirements. For example, some users may pay more attention to data analysis and processing functions, while others may pay more attention to flight path planning and control functions.
[0025] 4. Improve development efficiency and code reuse: The plug-in design method can promote independent development and testing of the functional modules of the ground station software, reducing the coupling between different modules. This can improve development efficiency and enable better code reuse, thereby reducing development costs and time. DETAILED DESCRIPTION
[0026] It should be clear that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] Example 1
[0028] A method for designing a software plug-in for an unmanned aerial vehicle ground station, wherein each functional module is encapsulated into an independent dynamic link library, and a plurality of the dynamic link libraries are combined to form a software plug-in. The ground station software dynamically loads and unloads the software plug-in during operation. The design method adapts to different unmanned aerial vehicle controls by switching different plug-ins loaded by the current software, and the overall framework of the software remains consistent. The data of the unmanned aerial vehicle is parsed according to the corresponding data according to different versions of the plug-in.
[0029] Furthermore, the front-end interface data display of the functional module is designed using QT language, and the back-end is developed using C++ language.
[0030] Furthermore, the encapsulation of the functional modules defines an interface specification, and the interface specification is used for interaction and communication between plug-ins.
[0031] Furthermore, the interface specification includes input and output parameters, data format and message format of each functional module.
[0032] Furthermore, the ground station software includes an event-driven mechanism.
[0033] Furthermore, the communication between the software plug-ins is achieved through the event-driven mechanism.
[0034] Furthermore, the ground station software defines a series of events. When an event is triggered, the relevant plug-in receives the event and performs corresponding processing.
[0035] Furthermore, the plug-in design of the UAV ground station software realizes loose coupling and flexible message passing between plug-ins.
[0036] A plug-in management system, the plug-in management system comprising:
[0037] An installation module, the installation module is used to manage the installation of the plug-in;
[0038] An upgrade module, which is used to manage the upgrade of the plug-in;
[0039] An uninstallation module, wherein the uninstallation module is used to manage the uninstallation of the plug-in.
[0040] Furthermore, the plug-in management system provides a user interface or a command line interface.
[0041] Example 2
[0042] The plug-in design method of the unmanned aerial vehicle ground station software described in the present invention is to encapsulate each functional module into an independent dynamic link library, and the module in which multiple dynamic leveling libraries are combined together is a plug-in. Installing one of the plug-ins has a function, and the ground station software can dynamically load and unload these plug-ins at runtime. The data display of the front-end interface is designed using the QT language, and the back-end is developed using the C++ language. The encapsulation of each functional module defines a clear interface specification, which ensures that the plug-ins can interact and communicate with each other. The interface definition should include the input and output parameters, data format, message format, etc. of various functional modules to ensure the consistency of data transfer and interaction between plug-ins. In addition, an event-driven mechanism is added, and communication between plug-ins can be achieved through an event-driven mechanism. The ground station software can define a series of events. When an event is triggered, the relevant plug-in can receive the event and perform corresponding processing. This design method can achieve loose coupling and flexible message transmission between plug-ins.
[0043] Dynamic Link Library (DLL) is a common file type in Windows operating systems. It contains the code and data required by a program at runtime and can be shared and reused by multiple programs. DLL usually contains some functions, variables or resources that can be dynamically loaded and called by programs to provide specific functions or services.
[0044] In software development, using DLL has the following main advantages:
[0045] Code reuse and sharing: multiple programs can share the code and functions in the same DLL to avoid duplicate development; modular design: different functional modules are stored separately in DLL for easy management and maintenance; dynamic loading: the program dynamically loads DLL as needed during runtime to reduce memory usage and startup time; version management: functions can be improved or repaired by updating DLL without modifying the entire program. Dynamic link library is an important component on the Windows platform, used to achieve code reuse, modular design and improve program performance.
[0046] In addition, the present invention designs a plug-in management system for managing the installation, upgrade, uninstallation, etc. of the plug-in. The management system can provide a user interface or command line interface, so that the user can conveniently manage and configure the plug-in.
[0047] Working principle part:
[0048] As mentioned above, the plug-in design method of the drone ground station software can adapt to different drone controls by switching different plug-ins loaded in the current software. The overall framework of the software remains consistent, and the drone data can be parsed according to different versions of plug-ins. The parsed data is sent to the corresponding window module through an event-driven mechanism to display the part on the front end. The overall software design has a high degree of decoupling and strong adaptability.
[0049] The embodiments of the present invention are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A plug-in design method for UAV ground station software, characterized in that: The method encapsulates each functional module into an independent dynamic link library, and a plurality of the dynamic link libraries are combined to form a software plug-in. The ground station software dynamically loads and unloads the software plug-in during operation. The design method adapts to different UAV controls by switching different plug-ins loaded by the current software. The overall framework of the software remains consistent, and the UAV data is parsed according to the corresponding data according to different versions of the plug-in.
2. The method for designing the UAV ground station software plug-in according to claim 1, characterized in that: The front-end interface data display of the functional module is designed using QT language, and the back-end is developed using C++ language.
3. The method for designing UAV ground station software plug-in according to claim 2, characterized in that: The encapsulation of the functional modules defines an interface specification, and the interface specification is used for interaction and communication between plug-ins.
4. The method for designing UAV ground station software plug-in according to claim 3, characterized in that: The interface specification includes input and output parameters, data format and message format of each functional module.
5. The method for designing UAV ground station software plug-in according to claim 4, characterized in that: The ground station software includes an event-driven mechanism.
6. The method for designing UAV ground station software plug-in according to claim 5, characterized in that: The communication between the software plug-ins is achieved through the event-driven mechanism.
7. The method for designing UAV ground station software plug-in according to claim 6, characterized in that: The ground station software defines a series of events. When an event is triggered, the relevant plug-in receives the event and performs corresponding processing.
8. The method for designing UAV ground station software plug-in according to claim 7, characterized in that: The plug-in design of the UAV ground station software realizes loose coupling and flexible message transmission between plug-ins.
9. A plug-in management system, the system being used to manage the software plug-in according to any one of claims 1 to 8, characterized in that: The plug-in management system includes: An installation module, the installation module is used to manage the installation of the plug-in; An upgrade module, which is used to manage the upgrade of the plug-in; An uninstallation module, wherein the uninstallation module is used to manage the uninstallation of the plug-in.
10. The plug-in management system according to claim 9, characterized in that: The plug-in management system provides a user interface or a command line interface.
