CN112883691A - Unmanned aerial vehicle telemetry data protocol conversion method and system and data use method - Google Patents
Unmanned aerial vehicle telemetry data protocol conversion method and system and data use method Download PDFInfo
- Publication number
- CN112883691A CN112883691A CN202110188526.7A CN202110188526A CN112883691A CN 112883691 A CN112883691 A CN 112883691A CN 202110188526 A CN202110188526 A CN 202110188526A CN 112883691 A CN112883691 A CN 112883691A
- Authority
- CN
- China
- Prior art keywords
- protocol
- data
- telemetry
- file
- protocol conversion
- 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
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 81
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 7
- 238000013507 mapping Methods 0.000 claims description 13
- 230000015572 biosynthetic process Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 10
- 238000003786 synthesis reaction Methods 0.000 claims description 10
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/116—Details of conversion of file system types or formats
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
Abstract
The invention discloses a method and a system for converting a telemetry data protocol of an unmanned aerial vehicle and a data using method, and the method comprises the following steps: s1, generating a telemetry protocol interpretation file according to the telemetry protocol; s2, generating a protocol conversion file according to the telemetry protocol interpretation file and the demand protocol; s3, synthesizing the required data output according to the protocol conversion file; the invention can directly acquire the data in the required protocol format without knowing the source telemetering protocol format, thereby reducing the workload of protocol conversion, and reducing the risk and hidden danger brought in the process of converting the telemetering protocol and the required protocol.
Description
Technical Field
The invention relates to the field of unmanned aerial vehicle telemetering data processing, in particular to an unmanned aerial vehicle telemetering data protocol conversion method and system and a data using method.
Background
The unmanned aerial vehicle telemetry data protocol is usually written and solidified in telemetry data issuing software of the unmanned aerial vehicle, the format of the data protocol is basically fixed, and when a user needs to change the protocol, the user often needs to re-analyze a source telemetry protocol format compiling program.
In the process of research and development, upgrading, use scene and the like of the unmanned aerial vehicle, the demand protocol is changed frequently, and user software needs to analyze the telemetry protocol again frequently to adapt to the demand protocol, so that the workload is increased, the exposure risk of the format of the telemetry protocol is increased, and hidden dangers are easily brought.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides a method and a system for converting a telemetry data protocol of an unmanned aerial vehicle and a data using method, can directly acquire data in a required protocol format, does not need to know the source telemetry protocol format, reduces the workload of protocol conversion, and reduces the risk and hidden danger brought in the process of converting the telemetry protocol and the required protocol.
The purpose of the invention is realized by the following scheme:
the method for converting the telemetry data protocol of the unmanned aerial vehicle comprises the following steps:
s1, generating a telemetry protocol interpretation file according to the telemetry protocol;
s2, generating a protocol conversion file according to the telemetry protocol interpretation file and the demand protocol;
and S3, synthesizing the required data according to the protocol conversion file and outputting the required data.
Further, in step S1, the telemetry data protocol content items are tabulated, and each item in the list is bound with an ID, so as to generate a telemetry protocol interpretation file.
Further, in step S2, the telemetry protocol interpretation file is loaded, the required protocol frame structure is edited according to the required protocol and the telemetry protocol ID list, and the frame structure is stored in the protocol conversion file.
Further, in step S3, a protocol conversion file is loaded, the data parsed from the requirement protocol frame structure is associated with the ID list, and the data is converted into requirement protocol data by the protocol conversion file and output.
Unmanned aerial vehicle telemetry data protocol conversion system includes:
the telemetering protocol interpretation file generation module is used for generating a telemetering protocol interpretation file according to a telemetering protocol;
the protocol conversion file generation module is used for generating a protocol conversion file according to the telemetry protocol interpretation file and the requirement protocol;
and the demand data synthesis module is used for synthesizing demand data according to the protocol conversion file and outputting the demand data.
Furthermore, the telemetry protocol interpretation file generation module comprises a first calling module, a telemetry protocol interpretation library and a listing processing module;
the calling module is used for calling the telemetry protocol interpretation library according to the telemetry protocol, the listing processing module is used for editing and processing the content item information of the telemetry protocol to carry out listing, each item in the list is bound with an ID, and a telemetry protocol interpretation file is generated.
Further, the protocol conversion file generation module comprises a second calling module and a protocol conversion library; and the second calling module is used for calling the protocol conversion library, loading the telemetry protocol interpretation file, editing the frame structure of the required protocol according to the required protocol and the telemetry protocol ID list and storing the frame structure in the protocol conversion file.
Further, the demand data synthesis module comprises a correlation module and a mapping module; the association module is used for associating the data analyzed from the requirement protocol frame structure with the ID list; and the mapping module is used for carrying out content mapping according to the protocol conversion file information, carrying out required protocol data synthesis according to the mapping data according to the protocol conversion file information and outputting the required protocol data.
The method for using the telemetering data of the unmanned aerial vehicle adopts any one of the above methods for converting the telemetering data protocol of the unmanned aerial vehicle; or adopt unmanned aerial vehicle telemetering data protocol conversion system as any above.
The invention has the beneficial effects that:
(1) after the method is used, the data in the required protocol format can be directly acquired without knowing the source telemetering protocol format, so that the risk and hidden danger brought in the process of converting the telemetering protocol and the required protocol are reduced, and the workload of protocol conversion is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flow chart of the steps of the unmanned aerial vehicle telemetry data protocol conversion method of the present invention;
FIG. 2 is a flow chart of telemetry protocol conversion according to an embodiment of the present invention.
Detailed Description
All features disclosed in all embodiments in this specification, or all methods or process steps implicitly disclosed, may be combined and/or expanded, or substituted, in any way, except for mutually exclusive features and/or steps.
As shown in fig. 1 and 2, the method for converting the telemetry data protocol of the unmanned aerial vehicle comprises the following steps:
s1, generating a telemetry protocol interpretation file according to the telemetry protocol;
s2, generating a protocol conversion file according to the telemetry protocol interpretation file and the demand protocol;
and S3, synthesizing the required data according to the protocol conversion file and outputting the required data.
Further, in step S1, the telemetry data protocol content items are tabulated, and each item in the list is bound with an ID, so as to generate a telemetry protocol interpretation file.
Further, in step S2, the telemetry protocol interpretation file is loaded, the required protocol frame structure is edited according to the required protocol and the telemetry protocol ID list, and the frame structure is stored in the protocol conversion file.
Further, in step S3, a protocol conversion file is loaded, the data parsed from the requirement protocol frame structure is associated with the ID list, and the data is converted into requirement protocol data by the protocol conversion file and output.
Unmanned aerial vehicle telemetry data protocol conversion system includes:
the telemetering protocol interpretation file generation module is used for generating a telemetering protocol interpretation file according to a telemetering protocol;
the protocol conversion file generation module is used for generating a protocol conversion file according to the telemetry protocol interpretation file and the requirement protocol;
and the demand data synthesis module is used for synthesizing demand data according to the protocol conversion file and outputting the demand data.
Furthermore, the telemetry protocol interpretation file generation module comprises a first calling module, a telemetry protocol interpretation library and a listing processing module;
the calling module is used for calling the telemetry protocol interpretation library according to the telemetry protocol, the listing processing module is used for editing and processing the content item information of the telemetry protocol to carry out listing, each item in the list is bound with an ID, and a telemetry protocol interpretation file is generated.
Further, the protocol conversion file generation module comprises a second calling module and a protocol conversion library; and the second calling module is used for calling the protocol conversion library, loading the telemetry protocol interpretation file, editing the frame structure of the required protocol according to the required protocol and the telemetry protocol ID list and storing the frame structure in the protocol conversion file.
Further, the demand data synthesis module comprises a correlation module and a mapping module; the association module is used for associating the data analyzed from the requirement protocol frame structure with the ID list; and the mapping module is used for carrying out content mapping according to the protocol conversion file information, carrying out required protocol data synthesis according to the mapping data according to the protocol conversion file information and outputting the required protocol data.
The method for using the telemetering data of the unmanned aerial vehicle adopts any one of the above methods for converting the telemetering data protocol of the unmanned aerial vehicle; or adopt unmanned aerial vehicle telemetering data protocol conversion system as any above.
In other embodiments of the present invention, the process flow is as shown in figure 1,
and listing the telemetry data protocol content items, binding an ID to each item in the list, and generating a telemetry protocol interpretation file.
And the user loads the telemetry protocol interpretation file, edits a required protocol frame structure according to the required protocol and the telemetry protocol ID list and stores the required protocol frame structure in the protocol conversion file.
And after the protocol conversion end is started, loading a protocol conversion file, correlating data analyzed by a telemetering data protocol frame structure with the ID list, and converting the data into required protocol data through the protocol conversion file for outputting.
As shown in fig. 1, in an embodiment of the present invention, there is provided a method for telemetry data protocol conversion of a drone, including a telemetry protocol is used as an input source of the protocol conversion; the requirement protocol data is used as an output item of the protocol conversion; the protocol conversion file is used as a conversion item from the telemetry protocol data to the required protocol conversion data; the telemetry protocol interpretation library interprets a telemetry protocol to generate a telemetry protocol interpretation file; the protocol conversion library is used as a conversion tool for protocol conversion.
And the telemetry protocol provider provides a telemetry protocol, calls a telemetry protocol interpretation library according to the telemetry protocol, edits the information of the telemetry protocol item and generates a telemetry protocol interpretation file.
The remote measuring protocol provider provides a remote measuring protocol interpretation file and a protocol conversion library, the user calls the protocol conversion library, the remote measuring protocol interpretation file is loaded, the information of the requirement protocol and the remote measuring protocol is edited according to the information after the requirement protocol and the remote measuring protocol are interpreted, and the protocol conversion file is generated.
And the user loads the protocol conversion file, receives the telemetering protocol data, performs content mapping on the telemetering protocol data according to the protocol conversion file information, performs required protocol data synthesis on the mapped data according to the protocol conversion file information, and finally outputs the required protocol data.
The functionality of the present invention, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium, and all or part of the steps of the method according to the embodiments of the present invention are executed in a computer device (which may be a personal computer, a server, or a network device) and corresponding software. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, or an optical disk, exist in a read-only Memory (RAM), a Random Access Memory (RAM), and the like, for performing a test or actual data in a program implementation.
Claims (9)
1. The method for converting the telemetry data protocol of the unmanned aerial vehicle is characterized by comprising the following steps:
s1, generating a telemetry protocol interpretation file according to the telemetry protocol;
s2, generating a protocol conversion file according to the telemetry protocol interpretation file and the demand protocol;
and S3, synthesizing the required data according to the protocol conversion file and outputting the required data.
2. The drone telemetry data protocol conversion method of claim 1, wherein in step S1, the telemetry data protocol content items are tabulated, each item of the tabulated list is bound with an ID, and a telemetry protocol interpretation file is generated.
3. The method of claim 2, wherein in step S2, the telemetry protocol interpretation file is loaded, the required protocol frame structure is edited according to the required protocol and the list of telemetry protocol IDs, and the frame structure is stored in the protocol conversion file.
4. The method of claim 3, wherein in step S3, a protocol conversion file is loaded, the data parsed from the required protocol frame structure is associated with the ID list, and the data is converted into the required protocol data by the protocol conversion file and output.
5. Unmanned aerial vehicle telemetering data protocol conversion system, its characterized in that includes:
the telemetering protocol interpretation file generation module is used for generating a telemetering protocol interpretation file according to a telemetering protocol;
the protocol conversion file generation module is used for generating a protocol conversion file according to the telemetry protocol interpretation file and the requirement protocol;
and the demand data synthesis module is used for synthesizing demand data according to the protocol conversion file and outputting the demand data.
6. The unmanned aerial vehicle telemetry data protocol conversion system of claim 5, wherein the telemetry protocol interpretation file generation module comprises a first calling module, a telemetry protocol interpretation library and a tabulation processing module;
the calling module is used for calling the telemetry protocol interpretation library according to the telemetry protocol, the listing processing module is used for editing and processing the content item information of the telemetry protocol to carry out listing, each item in the list is bound with an ID, and a telemetry protocol interpretation file is generated.
7. The telemetry data protocol conversion system for unmanned aerial vehicles of claim 5, wherein the protocol conversion file generation module includes a second calling module and a protocol conversion library; and the second calling module is used for calling the protocol conversion library, loading the telemetry protocol interpretation file, editing the frame structure of the required protocol according to the required protocol and the telemetry protocol ID list and storing the frame structure in the protocol conversion file.
8. The drone telemetry data protocol conversion system of claim 5, wherein the demand data synthesis module includes an association module and a mapping module; the association module is used for associating the data analyzed from the requirement protocol frame structure with the ID list; and the mapping module is used for carrying out content mapping according to the protocol conversion file information, carrying out required protocol data synthesis according to the mapping data according to the protocol conversion file information and outputting the required protocol data.
9. The method for using the telemetering data of the unmanned aerial vehicle is characterized in that any one of the methods for converting the telemetering data protocol of the unmanned aerial vehicle is adopted; or adopt unmanned aerial vehicle telemetering data protocol conversion system as any above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110188526.7A CN112883691A (en) | 2021-02-19 | 2021-02-19 | Unmanned aerial vehicle telemetry data protocol conversion method and system and data use method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110188526.7A CN112883691A (en) | 2021-02-19 | 2021-02-19 | Unmanned aerial vehicle telemetry data protocol conversion method and system and data use method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112883691A true CN112883691A (en) | 2021-06-01 |
Family
ID=76056534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110188526.7A Pending CN112883691A (en) | 2021-02-19 | 2021-02-19 | Unmanned aerial vehicle telemetry data protocol conversion method and system and data use method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112883691A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247160A (en) * | 2008-02-22 | 2008-08-20 | 北京航空航天大学 | Method for real-time conveying DGPS data through unmanned aerial vehicle control periodic line |
CN106231245A (en) * | 2016-07-21 | 2016-12-14 | 国家海洋技术中心 | Unmanned plane telemetry generalization real-time processing method and system |
CN110190887A (en) * | 2018-02-23 | 2019-08-30 | 北京京东尚科信息技术有限公司 | Earth station, Unmanned Aerial Vehicle Data Transmission system and method and storage medium |
CN110337801A (en) * | 2017-02-27 | 2019-10-15 | 美敦力公司 | Promote the trusted pairing of implanted equipment and external equipment |
CN110708297A (en) * | 2019-09-19 | 2020-01-17 | 中国航空无线电电子研究所 | Unmanned aerial vehicle protocol conversion method |
CN111107059A (en) * | 2019-11-29 | 2020-05-05 | 彩虹无人机科技有限公司 | Unmanned aerial vehicle multi-protocol transmission data analysis method |
CN111224709A (en) * | 2019-12-27 | 2020-06-02 | 航天神舟飞行器有限公司 | Cluster unmanned aerial vehicle measurement and control system |
CN111385292A (en) * | 2020-03-04 | 2020-07-07 | 西安旌旗电子股份有限公司 | Descriptor-based protocol message and data interaction method and system |
CN112039850A (en) * | 2020-08-07 | 2020-12-04 | 西安羚控电子科技有限公司 | Communication protocol configuration method of intelligent display control terminal test equipment |
-
2021
- 2021-02-19 CN CN202110188526.7A patent/CN112883691A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247160A (en) * | 2008-02-22 | 2008-08-20 | 北京航空航天大学 | Method for real-time conveying DGPS data through unmanned aerial vehicle control periodic line |
CN106231245A (en) * | 2016-07-21 | 2016-12-14 | 国家海洋技术中心 | Unmanned plane telemetry generalization real-time processing method and system |
CN110337801A (en) * | 2017-02-27 | 2019-10-15 | 美敦力公司 | Promote the trusted pairing of implanted equipment and external equipment |
CN110190887A (en) * | 2018-02-23 | 2019-08-30 | 北京京东尚科信息技术有限公司 | Earth station, Unmanned Aerial Vehicle Data Transmission system and method and storage medium |
CN110708297A (en) * | 2019-09-19 | 2020-01-17 | 中国航空无线电电子研究所 | Unmanned aerial vehicle protocol conversion method |
CN111107059A (en) * | 2019-11-29 | 2020-05-05 | 彩虹无人机科技有限公司 | Unmanned aerial vehicle multi-protocol transmission data analysis method |
CN111224709A (en) * | 2019-12-27 | 2020-06-02 | 航天神舟飞行器有限公司 | Cluster unmanned aerial vehicle measurement and control system |
CN111385292A (en) * | 2020-03-04 | 2020-07-07 | 西安旌旗电子股份有限公司 | Descriptor-based protocol message and data interaction method and system |
CN112039850A (en) * | 2020-08-07 | 2020-12-04 | 西安羚控电子科技有限公司 | Communication protocol configuration method of intelligent display control terminal test equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109086199B (en) | Method, terminal and storage medium for automatically generating test script | |
CN101122899B (en) | Report generation method and device | |
US20070282866A1 (en) | Application integration using xml | |
CN107168695B (en) | Excel data analysis method and system | |
JP2007293838A (en) | Content transformation system | |
US11003635B2 (en) | Database scheme for storing generic data | |
CN105573967A (en) | Multi-format file online browsing method and system | |
CN109766085A (en) | A kind of method and device handling enumeration type code | |
CN113672204A (en) | Interface document generation method, system, electronic equipment and storage medium | |
CN115136256A (en) | Information processing method, information processing apparatus, information processing program, and recording medium | |
CN106776779B (en) | Method for generating entity file by JSON data based on Mac platform | |
CN110569230A (en) | Method, system and equipment for interconversion between database design model and design document | |
CN112883691A (en) | Unmanned aerial vehicle telemetry data protocol conversion method and system and data use method | |
CN115841095A (en) | Document establishing method, system, medium and equipment | |
CN113110829B (en) | Multi-UI component library data processing method and device | |
CN110619185B (en) | Data processing method and device and electronic equipment | |
CN114661298A (en) | Automatic public method generation method, system, device and medium | |
CN114282895A (en) | Data processing method and device, electronic equipment and storage medium | |
CN107918542B (en) | Character string generation method and device | |
CN101639836A (en) | Data processing device and data processing method | |
CN111259634A (en) | XSD format file analyzing method and generating method | |
CN110532526A (en) | Data method for transformation, electronic device and computer readable storage medium | |
CN116074412B (en) | Data high-speed reading and writing method, system, equipment and readable storage medium | |
CN116776031B (en) | Method and device for checking accessory content in open format document OFD | |
CN113986850B (en) | Storage method, device, equipment and computer readable storage medium of electronic volume |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210601 |
|
RJ01 | Rejection of invention patent application after publication |