[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112540788A - Method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps - Google Patents

Method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps Download PDF

Info

Publication number
CN112540788A
CN112540788A CN202011408564.0A CN202011408564A CN112540788A CN 112540788 A CN112540788 A CN 112540788A CN 202011408564 A CN202011408564 A CN 202011408564A CN 112540788 A CN112540788 A CN 112540788A
Authority
CN
China
Prior art keywords
flight control
unmanned aerial
aerial vehicle
sub
project
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011408564.0A
Other languages
Chinese (zh)
Inventor
王昊
吴新桥
丁国斌
李彬
蔡思航
李星
巨擘
徐立全
费媛媛
蔡宏伟
雷锦成
巫伟林
裴健华
文岐月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202011408564.0A priority Critical patent/CN112540788A/en
Publication of CN112540788A publication Critical patent/CN112540788A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps, and aims to solve the problem that daily inspection operation of a user owning an unmanned aerial vehicle of multiple manufacturers is complicated due to the fact that unmanned aerial vehicle flight control application apps developed by various manufacturers cannot be compatible.

Description

Method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps
Technical Field
The invention belongs to the technical field of unmanned aerial vehicle control, and particularly relates to a method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps.
Background
At present, the automatic driving technology of the unmanned aerial vehicle is mature day by day and is being used by more and more industries, under the general condition, in the power industry, the unmanned aerial vehicle inspection technology for the power line is gradually popularized, and meanwhile, the unmanned aerial vehicle inspection technology also meets new challenges. There is unmanned aerial vehicle flight control application app that many manufacturers researched and developed in the market at present, each manufacturer all has certain deposit in the aspect of the research and development of power line inspection function, but each manufacturer's research and development environment is relatively independent, the flight control application app between the manufacturer can not be compatible, the flight control application app that specific manufacturer researched and developed can only control the unmanned aerial vehicle that corresponds the manufacturer production promptly, this makes the daily inspection operation of the user who owns many manufacturers unmanned aerial vehicle comparatively loaded down with trivial details, can not the efficiency of full play multimachine operation. Currently developed unmanned aerial vehicle flight control application apps can be adapted to various types of unmanned aerial vehicles at the same time, but compatibility of unmanned aerial vehicles of multiple manufacturers cannot be achieved. During the multimachine operation, to the unmanned aerial vehicle of different manufacturers, need use the unmanned aerial vehicle that corresponds to fly to control application app and operate, additionally increased the operation link of operation, lead to the operating efficiency low.
Disclosure of Invention
In order to solve the defects and problems in the prior art, the inventor provides a method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps in a new concept through research, development and design, and aims at the problem that the daily inspection operation of a user owning the multi-manufacturer unmanned aerial vehicle is complicated due to the fact that the unmanned aerial vehicle flight control application apps researched and developed by various manufacturers cannot be compatible.
The invention is realized by the following steps: a method compatible with multi-vendor unmanned aerial vehicle flight control application apps comprises the following steps:
s1, independently dividing the unmanned aerial vehicle application apps of each manufacturer into a main module and sub-modules according to different manufacturers;
s2, after the unmanned aerial vehicle accesses the flight control application app, judging the manufacturer to which the unmanned aerial vehicle belongs;
s3, extracting the main module and the sub-module of the corresponding manufacturer based on the affiliated manufacturer, extracting the control flow unit corresponding to the flight control operation from the main module and the sub-module, and starting the control flow unit;
s4, connecting the unmanned aerial vehicle, and communicating real-time information and control of flight control operation.
Further, in step S1, a user login is further included, and after the user login, the user information of the local flight control application app is stored in the local file, and the user information is read from the local file when the user login jumps.
Further, in step S4, the flight record of the sub-module and the real-time status information of the flight are required to be transmitted back to the main process of the present flight control application app.
The working principle and the beneficial effects of the invention are as follows: aiming at the problem that daily inspection operation of users with unmanned aerial vehicles of multiple manufacturers is complicated due to the fact that unmanned aerial vehicle flight control application apps developed by various manufacturers are incompatible, the invention provides the method compatible with the unmanned aerial vehicle flight control application apps of the multiple manufacturers, the unmanned aerial vehicles flight control application apps are simultaneously adapted to the unmanned aerial vehicles of the multiple manufacturers, the operation links of the unmanned aerial vehicles of the multiple manufacturers for simultaneously performing power line inspection operation are greatly reduced, the operation complexity is reduced, and the operation efficiency is improved.
Drawings
Fig. 1 is a schematic flow chart of a method of compatibility with a multi-vendor drone flight control application app;
FIG. 2 is a schematic diagram illustrating a method of compatibility with a multi-vendor UAV flight control application app;
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
Example 1:
at present, unique characteristic functions or algorithms are precipitated in the inspection function aspect of a power line of unmanned aerial vehicle flight control application app developed by multiple manufacturers on the market, and the characteristic functions respectively have certain competitive advantages in different aspects.
In view of the above consideration, the compatibility of the multi-vendor unmanned aerial vehicle flight control application app is realized by adopting an aar package integration mode, the aar package is an aar file generated after src, res and lib in an android project are packaged under the android studio, and after the aar package is introduced into other android studio projects, other projects can conveniently quote source codes and resource files. The method comprises the following steps that unmanned aerial vehicle flight control application apps developed by a certain manufacturer serve as a main module, unmanned aerial vehicle flight control apps developed by other manufacturers serve as sub-modules, all the sub-modules are respectively packaged into aar packets to be integrated in the main module, data interaction is carried out between the main module and the sub-modules, and the detailed process and the method are as follows:
1. selecting a master module
The selection of the main module and the sub-module does not affect the use feeling of the user on the interface, so the selection does not relate to the competition problem among manufacturers. Considering the rapidity of the integration process, the flight control application app with the largest file should be selected as the main module in principle, and the rest should be used as the sub-modules. If there is a special need and the completion time is not the most dominant factor, other flight control application apps can be selected as the master module. According to the method, the largest flight control application app of the file is selected as a main module by taking the size of the file as a selection basis.
2. Packing the submodules into aar packs
2.1, the existing sub-module engineering is packed into aar packages according to the following steps:
2.2 opening the built of the existing runnable project, and changing the 'com.android.application' into the 'com.android.library';
2.2 delete "applicationld" in the build.gradle of the app;
2.3 opening android manifest. xml of the item, deleting "< intent-filter >" of the starting item, and deleting "icon ═ mipmap/ic _ launcher" "in the application tag;
2.4, all switch statements in the code are rewritten into if else statements;
android studio toolbar Build- > Rebuild Project.
2.5 Arr File location hit: engineering- > build- > outputs- > arr.
3. Integrating aar packets into main module
3.1 integrating the aar package of the sub-module into the main module according to the following steps to realize the reference of the aar package in the main project:
newly building a project, and copying aar files to the libs folder;
3.2 adding the annotation dependencies for the project in the package aar file all to the new project;
3.3 click on sync on the toolbar of android studio and recompile build.
3.4 after successful compilation, the ar's engineering file directory can be found in External Libraries.
4. Determining data interactions between master modules and slave modules
4.1 Overall workflow
After a user logs in a personal account, the mobile terminal is connected with the unmanned aerial vehicle, the system judges the manufacturer of the unmanned aerial vehicle when being connected with the unmanned aerial vehicle, and enters a corresponding module (project) to carry out flight control operation according to a judgment result.
4.2 data interaction between Master Module and submodule
In the whole working process, the links requiring data interaction between the main module and the sub-modules are user login and flight control operations. The user information of the main project needs to be stored in the local file, and the user information is read from the local file when the user logs in and jumps. In the process of flight control operation, the flight record of the sub-module (project) and the real-time state information of the flight need to be transmitted back to the main project.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.

Claims (5)

1. A method compatible with multi-vendor unmanned aerial vehicle flight control application apps is characterized by comprising the following steps:
s1, independently dividing the unmanned aerial vehicle application apps of each manufacturer into a main module and sub-modules according to different manufacturers;
s2, after the unmanned aerial vehicle accesses the flight control application app, judging the manufacturer to which the unmanned aerial vehicle belongs;
s3, extracting the main module and the sub-module of the corresponding manufacturer based on the affiliated manufacturer, extracting the control flow unit corresponding to the flight control operation from the main module and the sub-module, and starting the control flow unit;
s4, connecting the unmanned aerial vehicle, and communicating real-time information and control of flight control operation.
2. The method according to claim 1, further comprising a step S1 of logging in a user, and after logging in, storing user information of the present flight control app in a local file, and reading the user information from the local file when logging in jumps.
3. The method of claim 1, further comprising, in step S4, transmitting flight records of the sub-modules and real-time status information of the flight back to a main project of the present flight control app.
4. The method according to claim 1, wherein in step S1, the dividing into the main module and the sub-modules further includes selecting the largest file of the flight control app as the main module and the others as the sub-modules, and packaging the sub-modules into aar packages, and the steps include:
opening the built.gradle of the existing runnable project, and changing the 'com.android.application' into the 'com.android.library';
deleting the 'application ld' in the build.gradle of the app;
opening android manifest of the item, deleting < intent-filter > ' of the starting item, and deleting ' icon ═ mipmap/ic _ launcher ' in the application label;
fourthly, all switch statements in the code are rewritten into if else statements;
fifth, Android studio toolbar Build- > Rebuild Project;
position of the played arr file: engineering- > build- > outputs- > arr.
5. The method for being compatible with the multi-vendor drone flight control application app according to claim 4, wherein integrating the aar package into the main module comprises the following steps:
integrating the aar packages of the sub-modules into the main module according to the following steps to realize the reference of the aar packages in the main project:
firstly, a project is newly established, and aar files are copied under libs folders;
adding the replication dependencies in the project used for packaging in the aar file to the new project;
clicking the sync on the toolbar of the android studio, and recompiling the Rebuild;
after compilation is successful, the ar's project file directory can be found in External Libraries.
CN202011408564.0A 2020-12-03 2020-12-03 Method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps Pending CN112540788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011408564.0A CN112540788A (en) 2020-12-03 2020-12-03 Method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011408564.0A CN112540788A (en) 2020-12-03 2020-12-03 Method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps

Publications (1)

Publication Number Publication Date
CN112540788A true CN112540788A (en) 2021-03-23

Family

ID=75016032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011408564.0A Pending CN112540788A (en) 2020-12-03 2020-12-03 Method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps

Country Status (1)

Country Link
CN (1) CN112540788A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1868008A1 (en) * 2006-06-17 2007-12-19 Northrop Grumman Corporation Estimate of relative position between navigation units
CN106710315A (en) * 2016-12-30 2017-05-24 广州激速智能航空科技有限公司 Industrial UAV management and control system and method
CN108141446A (en) * 2015-08-28 2018-06-08 康维达无线有限责任公司 Service layer's dynamic authorization
CN109840600A (en) * 2018-12-29 2019-06-04 天津大学 The feeder channel unmanned plane of BIM auxiliary cooperates with cruising inspection system online
CN110262830A (en) * 2019-05-24 2019-09-20 北京指掌易科技有限公司 A kind of method of the mobile terminal based on application secondary development
CN111352631A (en) * 2020-02-21 2020-06-30 腾讯音乐娱乐科技(深圳)有限公司 Interface compatibility detection method and device
CN111427579A (en) * 2019-01-09 2020-07-17 北京京东尚科信息技术有限公司 Plug-in, application program implementing method and system, computer system and storage medium
CN111444065A (en) * 2020-05-18 2020-07-24 江苏电力信息技术有限公司 AspectJ-based mobile terminal performance index monitoring method
CN111459892A (en) * 2020-03-31 2020-07-28 民生科技有限责任公司 Android system-based non-invasive aar merging method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1868008A1 (en) * 2006-06-17 2007-12-19 Northrop Grumman Corporation Estimate of relative position between navigation units
CN108141446A (en) * 2015-08-28 2018-06-08 康维达无线有限责任公司 Service layer's dynamic authorization
CN106710315A (en) * 2016-12-30 2017-05-24 广州激速智能航空科技有限公司 Industrial UAV management and control system and method
CN109840600A (en) * 2018-12-29 2019-06-04 天津大学 The feeder channel unmanned plane of BIM auxiliary cooperates with cruising inspection system online
CN111427579A (en) * 2019-01-09 2020-07-17 北京京东尚科信息技术有限公司 Plug-in, application program implementing method and system, computer system and storage medium
CN110262830A (en) * 2019-05-24 2019-09-20 北京指掌易科技有限公司 A kind of method of the mobile terminal based on application secondary development
CN111352631A (en) * 2020-02-21 2020-06-30 腾讯音乐娱乐科技(深圳)有限公司 Interface compatibility detection method and device
CN111459892A (en) * 2020-03-31 2020-07-28 民生科技有限责任公司 Android system-based non-invasive aar merging method
CN111444065A (en) * 2020-05-18 2020-07-24 江苏电力信息技术有限公司 AspectJ-based mobile terminal performance index monitoring method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
M. A. MA\'SUM 等: "Autonomous quadcopter swarm robots for object localization and tracking", 《MHS2013》, pages 1 - 6 *
鲍继宇 等: "硬管式无人机AAR双目视觉导航算法研究", 《应用光学》, vol. 38, no. 06, pages 910 - 916 *

Similar Documents

Publication Publication Date Title
CN102160037B (en) Design once, deploy any where framework for heterogeneous mobile application development
CN102681893B (en) The cross-platform implementation method of executable program and mobile terminal
US9021427B2 (en) Conversion methods of applications of mobile devices and mobile devices and systems using the same
CN103677921B (en) Method and system for enabling Android system to be compatible with wifi chip
CN101763280A (en) Compilation model
CN1327341C (en) Firmware automatic configuration system and method for substrate management controller
CN102438116A (en) High-speed image recording device based on embedded Linux system
CN106843918A (en) The method for entering line program renewal to the embedded system including ARM chips, dsp chip and fpga chip
CN102981882B (en) Analytic method and device
CN103324474A (en) Cross-system ISO constructing method and module based on Linux operation system
CN111240645A (en) PaaS-based heterogeneous software integration method and system
CN115629971A (en) Application development system and method
US8265919B1 (en) Emulating a peripheral mass storage device with a portable device
CN103218227A (en) Method and device for enabling internal hard disc of Android equipment to be compatible with multiple file systems
CN115878178A (en) Method and device for transplanting CODESYS (codex system runtime) runtime software and storage medium
CN104951482A (en) Method and device for operating Sparse-format mirror image document
CN112835587A (en) Compiling integration method and device
CN112540788A (en) Method compatible with multi-manufacturer unmanned aerial vehicle flight control application apps
CN112905173B (en) Engineering multiplexing implementation method based on Eclipse and integrated development environment thereof
CN107315596A (en) A kind of code is packed dispositions method and device automatically
CN117033079A (en) Backup reduction method based on domestic platform
CN115658140A (en) SDK packaging method, device, terminal and storage medium
CN104158874A (en) Method of realizing FC (Fibre Channel) communication by POWERPC cloud storage platform adopting SCST
CN102629259A (en) Read-only file system setting up method in embedded system, device and embedded system
CN110166326B (en) Real-time automatic tracking system for communication protocol data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240621