CN107895391B - Flight parameter data packet processing method - Google Patents
Flight parameter data packet processing method Download PDFInfo
- Publication number
- CN107895391B CN107895391B CN201710764051.5A CN201710764051A CN107895391B CN 107895391 B CN107895391 B CN 107895391B CN 201710764051 A CN201710764051 A CN 201710764051A CN 107895391 B CN107895391 B CN 107895391B
- Authority
- CN
- China
- Prior art keywords
- data packet
- data
- word
- packet
- words
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a flight parameter data packet processing method. The method comprises the following steps of (1) distinguishing different data packets according to each packet header word, classifying all the data packets according to the data packet identification words to obtain an analog quantity data packet group, a frequency quantity data packet group, a switching quantity data packet group and a bus semaphore data packet group, and sequencing; step (2), for any group of data packets, sequentially reading all data words of each data packet, calculating the cumulative sum of all data words according to byte values, if the cumulative sum is zero, keeping the data packet, and denying to discard the data packet; step (3), sorting the data packets in each group of data packets from small to large according to the time mark information words; and (4) sequencing and combining the groups of data packets obtained in the step (3) into a large data packet according to the identifier words. The invention solves the problems of low efficiency, low response speed and the like of the flying parameter data processing and curve display of the type.
Description
Technical Field
The invention belongs to the technical field of avionics, and particularly relates to a flight parameter data packet processing method.
Background
With the large data volume of flight parameter data, each data packet has a complete and independent data format, and the current data processing software needs to search a data stream corresponding to a data packet identifier in the original flight parameter data when a curve is displayed, extract parameter values according to calculation configuration, calculate and draw one by one, so that the software efficiency is low, the curve display is unsmooth, and the maintainability of the software is poor.
Disclosure of Invention
The purpose of the invention is as follows: the invention aims to provide a method for processing a flight parameter data packet, which solves the problems of low efficiency, low response speed and the like of the flight parameter data processing and curve display.
The technical scheme is as follows: the method comprises the steps that data packets are recorded in a recorder, and each data packet comprises time scale information, identification information and different flight parameters corresponding to the time scale information; the time mark information is positioned at the position of the packet head of the data packet;
the data packet format is packet head words, data packet identification words, data packet length words, time mark information words, flight parameter data words and verification and information words; the flight parameter data word is divided into a plurality of sections, and each section corresponds to one type of flight parameter data; the data packet identification word identifies the type of the data packet, and the type of the data packet comprises an analog quantity data packet, a frequency quantity data packet, a switching quantity data packet or a bus signal data packet; the recorder is provided with the acquisition frequency of an analog quantity data packet, a frequency quantity data packet, a switching value data packet or a bus signal data packet;
wrapping a head word: the data packet synchronization word consists of two fixed codes and judges a data packet initial mark;
packet identifier word: the device is used for identifying the type of the data packet, and the type of the data packet comprises an analog quantity, a frequency quantity, a switching quantity or a bus semaphore;
packet length word: the length of each data packet is indicated, and the end position of the data packet is judged by combining the packet head word;
time stamp information word: relative time when the data packet is generated;
flight parameter data word: recording the flying parameter data volume, wherein the flying parameter data word is divided into a plurality of sections, each section corresponds to one type of flying parameter data, and each type of flying parameter data volume has a specified storage position in the flying parameter data word;
checksum information word: and the accumulation and complementation codes of all data (before the header word and the checksum information word, the checksum information word is not contained) of the data packet are used for verifying whether the data packet is correctly recorded or not, the accumulation sum of all data words of the read data packet is zero, and the data packet is correctly verified.
The data processing process of the invention comprises the following steps:
the method comprises the following steps that (1) different data packets are distinguished according to each packet header word, and all the data packets are classified according to data packet identification words to obtain an analog quantity data packet group, a frequency quantity data packet group, a switching quantity data packet group and a bus semaphore data packet group; and the data packet groups are sorted according to the size of the data packet identification words;
step (2), for any group of data packets, sequentially reading all data words of each data packet, wherein packet header words, data packet identification words, data packet length words, time mark information words, flight reference data words and checksum information all belong to one of the data words, calculating the cumulative sum of all the data words according to byte values, if the cumulative sum is zero, keeping the data packet, and denying and discarding the data packet;
step (3), sorting the data packets in each group of data packets from small to large according to the time mark information words;
and (4) sequencing the groups of data packets obtained in the step (3) from small to large according to the identification words and combining the data packets into a large data packet.
The rearranged big data packet can quickly read all flight parameter data in unit time in secondary application, and the data packets are arranged according to the sequence of the identification words of the data packets.
Has the advantages that: the method for rapidly displaying the flight parameter data curve can process the flight parameter data into a time-sequential fixed-format engineering value file, can rapidly draw the flight parameter data curve under the condition of accurately reflecting the characteristics of the flight parameter, and plays an important role in the aspects of daily maintenance of an airplane, secondary open application of data and the like.
Detailed Description
The present invention is described in further detail below.
The scheme adopted by the invention is as follows: the method is characterized in that data packets are recorded in a recorder, and each data packet comprises time scale information, identification information and different flight parameters corresponding to the time scale information; the time mark information is positioned at the position of the packet head of the data packet;
the data packet format is packet head words, data packet identification words, data packet length words, time mark information words, flight parameter data words and verification and information words; the flight parameter data word is divided into a plurality of sections, and each section corresponds to one type of flight parameter data; the data packet identification word identifies the type of the data packet, and the type of the data packet comprises an analog quantity data packet, a frequency quantity data packet, a switching quantity data packet or a bus signal data packet; the recorder is provided with the acquisition frequency of an analog quantity data packet, a frequency quantity data packet, a switching value data packet or a bus signal data packet;
wrapping a head word: the data packet synchronization word consists of two fixed codes and judges a data packet initial mark;
packet identifier word: the device is used for identifying the type of the data packet, and the type of the data packet comprises an analog quantity, a frequency quantity, a switching quantity or a bus semaphore;
packet length word: the length of each data packet is indicated, and the end position of the data packet is judged by combining the packet head word;
time stamp information word: relative time when the data packet is generated;
flight parameter data word: recording the flying parameter data volume, wherein the flying parameter data word is divided into a plurality of sections, each section corresponds to one type of flying parameter data, and each type of flying parameter data volume has a specified storage position in the flying parameter data word;
checksum information word: the accumulated and complemented code of all data (before the header word and the checksum information word, the checksum information word is not contained) of the data packet is used for verifying whether the data packet is correctly recorded or not, the accumulated sum of all data words of the read data packet is zero, and the data packet is correctly verified;
the data processing process of the invention comprises the following steps:
the method comprises the following steps that (1) different data packets are distinguished according to each packet header word, and all the data packets are classified according to data packet identification words to obtain an analog quantity data packet group, a frequency quantity data packet group, a switching quantity data packet group and a bus semaphore data packet group; and the data packet groups are sorted according to the size of the data packet identification words;
step (2), for any group of data packets, sequentially reading all data words of each data packet, wherein packet header words, data packet identification words, data packet length words, time mark information words, flight reference data words and checksum information all belong to one of the data words, calculating the cumulative sum of all the data words according to byte values, if the cumulative sum is zero, keeping the data packet, and denying and discarding the data packet;
step (3), sorting the data packets in each group of data packets from small to large according to the time mark information words;
and (4) sequencing the groups of data packets obtained in the step (3) from small to large according to the identification words and combining the data packets into a large data packet.
The rearranged big data packet can quickly read all flight parameter data in unit time in secondary application, and the data packets are arranged according to the sequence of the identification words of the data packets.
The method for rapidly displaying the flight parameter data curve can process the flight parameter data into the fixed format engineering value files of the time sequence, can rapidly draw the flight parameter data curve under the condition of accurately reflecting the characteristics of the flight parameter, and plays an important role in the aspects of daily maintenance of the airplane, secondary open application of the data and the like.
Claims (2)
1. A flight parameter data packet processing method is characterized in that a plurality of data packets are recorded in a recorder, and each data packet comprises time scale information, identification information and different flight parameters corresponding to the time scale information; the time mark information is positioned at the position of the packet head of the data packet;
the data packet format is a packet head word, a data packet identification word, a data packet length word, a time mark information word, a flight parameter data word and a check sum information word; the flight parameter data word is divided into a plurality of sections, and each section corresponds to one type of flight parameter data; the data packet identification word identifies the type of the data packet, and the type of the data packet comprises an analog quantity data packet, a frequency quantity data packet, a switching value data packet or a bus signal data packet; the recorder is provided with the acquisition frequency of an analog quantity data packet, a frequency quantity data packet, a switching value data packet or a bus signal data packet;
wrapping a head word: the data packet synchronization word consists of two fixed codes and judges a data packet initial mark;
packet identifier word: the device is used for identifying the type of the data packet, and the type of the data packet comprises an analog quantity, a frequency quantity, a switching quantity or a bus semaphore;
packet length word: the length of each data packet is indicated, and the end position of the data packet is judged by combining the packet head word;
time stamp information word: relative time when the data packet is generated;
flight parameter data word: recording the flying parameter data volume, wherein the flying parameter data word is divided into a plurality of sections, each section corresponds to one type of flying parameter data, and each type of flying parameter data volume has a specified storage position in the flying parameter data word;
checksum information word: the accumulated sum complementing code of all data of the data packet is used for verifying whether the data packet records correctly or not, reading all data words of the data packet to calculate the accumulated sum to be zero, and verifying the data packet correctly;
and (3) data processing:
the method comprises the following steps that (1) different data packets are distinguished according to each packet header word, and all the data packets are classified according to data packet identification words to obtain an analog quantity data packet group, a frequency quantity data packet group, a switching quantity data packet group and a bus signal quantity data packet group; and the data packet groups are sorted according to the size of the data packet identification words;
step (2), for any group of data packets, sequentially reading all data words of each data packet, wherein packet header words, data packet identification words, data packet length words, time mark information words, flight reference data words and checksum information all belong to one of the data words, calculating the cumulative sum of all the data words according to byte values, if the cumulative sum is zero, retaining the data packet, and otherwise, discarding the data packet;
step (3), sorting the data packets in each group of data packets from small to large according to the time mark information words;
and (4) sequencing the groups of data packets obtained in the step (3) from small to large according to the identification words and combining the data packets into a large data packet.
2. The flight parameter data packet processing method according to claim 1, characterized in that: checksum information word: and accumulating and complementing all data of the data packet, wherein all data of the data packet is from a packet header word to a front of a checksum information word and does not contain the checksum information word.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710764051.5A CN107895391B (en) | 2017-08-30 | 2017-08-30 | Flight parameter data packet processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710764051.5A CN107895391B (en) | 2017-08-30 | 2017-08-30 | Flight parameter data packet processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107895391A CN107895391A (en) | 2018-04-10 |
CN107895391B true CN107895391B (en) | 2021-07-16 |
Family
ID=61803141
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710764051.5A Active CN107895391B (en) | 2017-08-30 | 2017-08-30 | Flight parameter data packet processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107895391B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457764A (en) * | 2019-07-17 | 2019-11-15 | 陕西千山航空电子有限责任公司 | A kind of helicopter flight data processing method and data processing platform (DPP) framework |
CN112131182A (en) * | 2020-08-14 | 2020-12-25 | 陕西千山航空电子有限责任公司 | Rapid alignment processing method for packet mining type flight parameter data |
CN112667676B (en) * | 2020-11-04 | 2022-08-30 | 中国人民解放军海军航空大学青岛校区 | Flight parameter data packing method based on time scale |
CN116933143B (en) * | 2023-09-15 | 2023-11-21 | 成都旋极历通信息技术有限公司 | Flight parameter data classification method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316232A (en) * | 2008-07-09 | 2008-12-03 | 南京邮电大学 | Fragmentation and reassembly method based on network protocol version six |
US8397286B2 (en) * | 2007-10-23 | 2013-03-12 | Sagem Defense Securite | Bidirectional gateway with enhanced security level |
CN105450288A (en) * | 2015-11-04 | 2016-03-30 | 中国人民解放军63680部队 | Simulated verification method of uplink data of multiple platform satellites |
CN105760579A (en) * | 2016-01-28 | 2016-07-13 | 中国人民解放军空军装备研究院航空装备研究所 | Method for automatically completing flight parameter calibration through similarity |
CN106791534A (en) * | 2016-11-24 | 2017-05-31 | 陕西千山航空电子有限责任公司 | A kind of multi-channel synchronous storage back method of cockpit video-with-audio recording device |
-
2017
- 2017-08-30 CN CN201710764051.5A patent/CN107895391B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8397286B2 (en) * | 2007-10-23 | 2013-03-12 | Sagem Defense Securite | Bidirectional gateway with enhanced security level |
CN101316232A (en) * | 2008-07-09 | 2008-12-03 | 南京邮电大学 | Fragmentation and reassembly method based on network protocol version six |
CN105450288A (en) * | 2015-11-04 | 2016-03-30 | 中国人民解放军63680部队 | Simulated verification method of uplink data of multiple platform satellites |
CN105760579A (en) * | 2016-01-28 | 2016-07-13 | 中国人民解放军空军装备研究院航空装备研究所 | Method for automatically completing flight parameter calibration through similarity |
CN106791534A (en) * | 2016-11-24 | 2017-05-31 | 陕西千山航空电子有限责任公司 | A kind of multi-channel synchronous storage back method of cockpit video-with-audio recording device |
Non-Patent Citations (1)
Title |
---|
飞行参数数据文件通用I/O接口设计;潜继成等;《System Simulation Technology & Application》;20121231;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN107895391A (en) | 2018-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107895391B (en) | Flight parameter data packet processing method | |
CN101821734B (en) | Detection and classification of matches between time-based media | |
CA2414927A1 (en) | Method and system for re-identifying broadcast segments using statistical profiles | |
CN102314916B (en) | Video processing method and system | |
US20220343047A1 (en) | Method and system for processing simulation data | |
CN113239979B (en) | Method and device for acquiring data of sensor of Internet of things | |
CN103049379B (en) | A kind of method of system testing | |
CN109800279A (en) | A kind of algorithm based on space-time trajectory Fast Collision | |
CN110430480A (en) | A kind of system and method that Streaming Media cloud storage is synchronous | |
CN107393308A (en) | A kind of method, apparatus and managing system of car parking for identifying car plate | |
CN116187285A (en) | Telemetry data processing method, device, equipment and storage medium | |
CN113627132B (en) | Data deduplication marking code generation method, system, electronic equipment and storage medium | |
CN108021540B (en) | Hadoop-oriented general text format analysis method and tool | |
CN106095808B (en) | A kind of method and apparatus that MDB file fragmentation restores | |
CN106791534B (en) | Multichannel synchronous storage and playback method of cockpit audio and video recorder | |
CN103532779A (en) | Method and system for rapidly positioning packet loss of distribution equipment | |
CN109508244B (en) | Data processing method and computer readable medium | |
CN110427282A (en) | The method, apparatus and computer-readable medium restored for log fragment | |
CN115510330A (en) | Intelligent information processing method and system based on data mining | |
CN115440028A (en) | Traffic road scene classification method based on labeling | |
CN103269289A (en) | Air traffic control radar information test method and equipment | |
CN104008101B (en) | The freight classification method of inspection and verifying attachment | |
CN110322704B (en) | Queuing length real-time estimation method based on number plate identification and GPS data | |
CN110287699B (en) | Application program feature extraction method and device | |
CN113434869A (en) | Data processing method and AI system based on threat perception big data and artificial intelligence |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |