CN111263249A - Telemetry data processing method and device and readable storage medium - Google Patents

Telemetry data processing method and device and readable storage medium Download PDF

Info

Publication number
CN111263249A
CN111263249A CN201911196300.0A CN201911196300A CN111263249A CN 111263249 A CN111263249 A CN 111263249A CN 201911196300 A CN201911196300 A CN 201911196300A CN 111263249 A CN111263249 A CN 111263249A
Authority
CN
China
Prior art keywords
data
preset
processed
processing
telemetry
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.)
Granted
Application number
CN201911196300.0A
Other languages
Chinese (zh)
Other versions
CN111263249B (en
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.)
Hubei Institute Of Aerospacecraft
Original Assignee
Hubei Institute Of Aerospacecraft
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 Hubei Institute Of Aerospacecraft filed Critical Hubei Institute Of Aerospacecraft
Priority to CN201911196300.0A priority Critical patent/CN111263249B/en
Publication of CN111263249A publication Critical patent/CN111263249A/en
Application granted granted Critical
Publication of CN111263249B publication Critical patent/CN111263249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length

Abstract

The invention discloses a method and a device for processing telemetering data and a readable storage medium, and relates to the technical field of telemetering data processing. The processing method comprises the following steps: acquiring telemetry data of a telemetry system in real time; extracting first effective data in the telemetering data according to a preset first zone bit; the telemetry data comprises at least two first flag bits; and processing the first effective data to obtain data information. The processing device includes: the acquisition module is used for acquiring the telemetering data of the telemetering system in real time; the extraction module is used for extracting first effective data in the telemetering data according to a preset first zone bit; the telemetry data comprises at least two first flag bits; and the processing module is used for processing the first effective data to obtain data information. The invention is used for solving the technical problems that the existing data processing efficiency is low, the real-time processing of telemetering data cannot be realized, and data information cannot be obtained in time.

Description

Telemetry data processing method and device and readable storage medium
Technical Field
The invention relates to the technical field of telemetering data processing, in particular to a method and a device for processing telemetering data and a readable storage medium.
Background
A telemetry system is a system that performs measurement, transmission, and processing functions on certain parameters of a measured object at a distance. The data are coded according to a PCM-FM (Pulse code Modulation-Frequency Modulation) transmission system by a coding module through collecting the data of control systems such as missiles or rockets, modulated and up-converted through a receiving and transmitting module, and radiated outwards by a transmitting antenna. At present, data collection of ground test and flight test of weapon systems is mostly completed by a remote measuring system.
The existing telemetry data processing mode is that after data acquisition of a telemetry system is completed, the whole telemetry data is exported and then uploaded to an upper computer to process the telemetry data to obtain required data information.
However, with the continuous enrichment of weapon system data types, the data transmission system is complicated, the intelligence degree is continuously improved, the environments of flight tests and actual combat in the development stage are continuously complicated, and the data volume of telemetering data to be processed is larger and larger. The problem of long data processing time and interpretation time is caused by centralized processing of a large amount of telemetric data, so that the data processing efficiency is low, the real-time processing of the telemetric data cannot be realized, and the data information cannot be acquired in time.
Disclosure of Invention
The invention aims to provide a method and a device for processing telemetering data and a readable storage medium, which are used for solving the technical problems that the existing data processing efficiency is low, the real-time processing of the telemetering data cannot be realized, and data information cannot be obtained in time.
In order to achieve the above object, the present invention provides a method for processing telemetry data, comprising the steps of:
acquiring telemetry data of a telemetry system in real time;
extracting first effective data in the telemetering data according to a preset first zone bit; the telemetry data comprises at least two first flag bits;
and processing the first effective data to obtain data information.
In some embodiments, obtaining telemetry data of a telemetry system in real-time comprises:
and if the byte length of the received telemetering data is larger than or equal to the preset first byte length, intercepting the data with the first byte length as the data to be processed.
In some embodiments, extracting the first valid data from the telemetry data according to the preset first flag bit includes:
sequentially judging whether the interval length between two adjacent first flag bits is a preset second byte length or not from a first flag bit in the data to be processed;
if the interval length between two adjacent first zone bits is the preset second byte length, extracting data between two adjacent first zone bits as first effective data;
and if the interval length between two adjacent first zone bits is not the preset second byte length, deleting the first zone bit at the front of the two adjacent first zone bits, and splicing the next section of data to be processed.
In some embodiments, processing the first valid data to obtain the data information includes:
classifying the first effective data according to data types to form at least one type of effective data to be processed;
extracting target data of each type of effective data to be processed according to a preset zone bit corresponding to the type of data;
and analyzing the target data based on the communication protocol corresponding to each type of data to be processed to obtain data information.
In some embodiments, after classifying the first valid data according to the data type to form at least one type of valid data to be processed, and before extracting the target data of the type of data from each type of valid data to be processed according to the preset flag bit corresponding to the type of data, the method further includes:
and correspondingly deleting the filling data in each type of effective data to be processed according to the preset filling data corresponding to each type of data.
In some embodiments, extracting target data of each type of to-be-processed valid data according to a preset flag bit corresponding to the type of data includes:
when the type of the effective data to be processed is serial port data, sequentially judging whether the interval length between two adjacent serial port flag bits is a preset third byte length or not from a first preset serial port flag bit in the effective data to be processed after the padding data is deleted;
if the interval length between two adjacent serial port zone bits is the preset third byte length, extracting the data between the two adjacent serial port zone bits as the target data of the data;
and if the interval length between two adjacent serial port flag bits is not the preset third byte length, deleting the front serial port flag bit in the two adjacent serial port flag bits, and splicing the next section of the to-be-processed effective data after the padding data is deleted.
The serial port data comprises communication data of an RS422 bus, a 232 bus or a 485 bus.
In some embodiments, extracting target data of each type of to-be-processed valid data according to a preset flag bit corresponding to the type of data includes:
when the type of the effective data to be processed is CAN data, sequentially judging whether the interval length between two adjacent CAN zone bits is the preset fourth byte length or not from the first preset CAN zone bit in the effective data to be processed;
if the interval length between two adjacent CAN zone bits is the preset fourth byte length, extracting data between the two adjacent CAN zone bits as target data of the data;
if the interval length between two adjacent CAN zone bits is not the preset fourth byte length, deleting the front one of the two adjacent CAN zone bits, and splicing the next section of effective data to be processed after the padding data is deleted;
the CAN data is communication data of CAN bus communication.
In some embodiments, after the processing the first valid data to obtain the data information, the method further includes:
and displaying the data information in real time in a data display window according to the corresponding communication protocol.
The embodiment of the invention also provides a device for processing telemetering data, which comprises:
the acquisition module is used for acquiring the telemetering data of the telemetering system in real time;
the extraction module is used for extracting first effective data in the telemetering data according to a preset first zone bit; the telemetry data comprises at least two first flag bits;
and the processing module is used for processing the first effective data to obtain data information.
Yet another embodiment of the present invention is a computer-readable storage medium for storing computer instructions that, when executed on a computer, enable the computer to perform the above-described telemetry data processing method.
Compared with the prior art, the technical scheme of the invention at least has the following beneficial technical effects:
(1) the embodiment of the invention can acquire the telemetering data of the telemetering system in real time, then extract the first effective data in the telemetering data according to the preset first zone bit, and then process the first effective data to obtain the required data information. The embodiment of the invention extracts effective data for processing while receiving the telemetric data, thereby obtaining real-time data information and timely obtaining required data information, avoiding the problems of long data processing time and long interpretation time caused by centralized and simultaneous processing of a large amount of telemetric data after receiving the telemetric data for a period of time, and further improving the data processing efficiency.
(2) The embodiment of the invention can classify according to the data type to form at least one type of effective data to be processed, and then respectively process each type of effective data to be processed, thereby obtaining the data information. The embodiment of the invention can meet the requirement of generalization of telemetry data analysis, realize the processing of the telemetry data with multiple data types or complex data types, and further adapt to the data processing of various telemetry systems.
(3) The embodiment of the invention can correspondingly delete the filling data in each type of effective data to be processed according to the preset filling data corresponding to each type of data, thereby being suitable for the conditions of various channel storage capacities and various code rates.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a method of telemetry data processing according to one embodiment of the invention.
FIG. 2 is a flow chart of a method of telemetry data processing according to another embodiment of the invention.
FIG. 3 is a flow chart of a method of telemetry data processing according to yet another embodiment of the invention.
FIG. 4 is a flow chart of a method of telemetry data processing according to yet another embodiment of the invention.
FIG. 5 is a flow chart of a method of telemetry data processing according to yet another embodiment of the invention.
Fig. 6 is a block diagram showing a configuration of a telemetry data processing apparatus according to an embodiment of the present invention.
Fig. 7 is a block diagram of a processing module of a telemetry data processing apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
The following describes the technical solution of the present invention and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
An embodiment of the present invention provides a method for processing telemetry data, as shown in fig. 1, the method includes the following steps:
and S101, acquiring telemetry data of the telemetry system in real time.
Optionally, the real-time acquisition of telemetry data of the telemetry system comprises:
and when the byte length of the received telemetry data is greater than or equal to a preset first byte length, intercepting the data with the preset first byte length as data to be processed.
In practical application, the telemetering data sent by the telemetering system is generally continuously sent to an upper computer as a packet of telemetering data according to a preset byte length, and the upper computer processes the telemetering data. Telemetry systems typically transmit UDP (user datagram Protocol) data. The byte length of each packet of telemetry data may be a preset first byte length, and if the byte length of the received telemetry data is greater than or equal to the preset first byte length, the indication indicates that at least one packet of telemetry data has been received, and the packet of telemetry data is intercepted according to the preset first byte length. The telemetering data is data encoded based on Pulse Code Modulation (PCM), and the telemetering data is sequentially spliced according to a receiving sequence and cached in a database of an upper computer, wherein the upper computer can be a computer, a notebook computer or other terminal equipment capable of operating a telemetering data processing method.
The UDP protocol is a connectionless transport layer protocol in the OSI (Open System Interconnection) reference model, and provides a transaction-oriented simple unreliable information transfer service, and IETF RFC 768 is a formal specification of UDP, and a common interface form is RJ 45.
PCM is one of the encoding methods of digital communication, and is mainly performed by sampling analog signals such as voice and image at regular intervals to discretize the analog signals, rounding down the sampled values in hierarchical units to perform rounding quantization, and expressing the sampled values in a set of binary codes as the amplitude of sampled pulses. The PCM coding format may comprise a plurality of data formats such as analog quantity and digital quantity, and the transmission may be compatible with a plurality of code rates.
S102, extracting first effective data in the telemetering data according to a preset first zone bit; the telemetry data includes at least two first flag bits.
Optionally, the first flag bit is a preset frame header, and the data is intercepted according to the preset frame header of the telemetry data.
And S103, processing the first effective data to obtain data information.
In practical application, the data information includes the data of the missile or rocket operation conditions such as longitude, latitude, altitude, course angle, roll angle, pitch angle, angular velocity and acceleration.
As an example, when the first byte length is 1008 bytes, and the length of the received UDP data is greater than or equal to 1008 bytes, the 1008 bytes of UDP data is intercepted as the data to be processed. And the telemetering data and the data to be processed are cached in the database according to the receiving sequence.
The embodiment of the invention extracts the effective data for processing while receiving the telemetric data, thereby obtaining real-time data information and timely obtaining the required data information, avoiding the problems of long data processing time and long interpretation time caused by centralized and simultaneous processing of a large amount of telemetric data after receiving the telemetric data for a period of time, and further improving the data processing efficiency.
Optionally, referring to fig. 2, as an example, the processing method of the telemetry data processing method includes the following steps:
s201, acquiring telemetering data of a telemetering system in real time, and intercepting the data with the preset first byte length as data to be processed when the byte length of the received telemetering data is larger than or equal to the preset first byte length.
Furthermore, the data to be processed is a process of continuously intercepting the data to be processed with the first byte length in the process of continuously receiving the telemetering data, then storing each section of the intercepted data to be processed in the database, and continuously processing the previous data to be processed according to the receiving sequence.
S202, starting from a first flag bit in the data to be processed, sequentially judging whether the interval length between two adjacent first flag bits is a preset second byte length.
S203, if the interval length between two adjacent first zone bits is the preset second byte length, extracting data between the two adjacent first zone bits as first effective data; caching the first valid data in a database according to a receiving sequence;
and S204, if the interval length between two adjacent first flag bits is not the preset second byte length, deleting the first flag bit at the front of the two adjacent first flag bits, splicing the next section of data to be processed, and continuing the process of judging whether the interval length between the two adjacent first flag bits is the preset second byte length in the step S202.
And S205, processing the first effective data to obtain data information.
Further, step S203 and step S204 are two cases of step S202, in step S203, the first valid data is cached in the database according to the receiving sequence, so that when the first valid data is subsequently processed, the first valid data can be processed according to the receiving sequence, and the obtained data information is prevented from being inconsistent with the data received in real time. Meanwhile, the extracted multiple sections of first effective data can be spliced in sequence in the database, or splicing is not needed. And while the first effective data is extracted and cached, the first effective data is continuously analyzed and processed to obtain data information.
As an example, the preset second byte length is 508 bytes, the first flag bit is a preset first frame header, whether 508 bytes are left between two adjacent first frame headers is sequentially judged from the first frame header, if the space length is 508 bytes, the extracted first valid data is valid, the former one of the two adjacent first frame headers is deleted, and then the subsequent data to be processed is continuously and sequentially processed; if the interval length is not 508 bytes, the extracted first effective data is wrong, the first frame header which is positioned at the front of the two adjacent first frame headers is deleted, the upper section of data to be processed and the lower section of data to be processed are spliced according to the receiving sequence, the newly formed data is matched with the two adjacent first frame headers again from the first frame header, and whether the interval between the two adjacent first frame headers is 508 bytes is continuously and sequentially judged.
Optionally, referring to fig. 3, as an example, processing the first valid data to obtain data information includes:
s301, classifying the first effective data according to data types to form at least one type of effective data to be processed. And caching the effective data to be processed in a database according to the data type and the receiving sequence.
S302, extracting target data of each type of effective data to be processed according to a preset zone bit corresponding to the type of data.
And S303, analyzing the target data based on the communication protocol corresponding to each type of data to be processed to obtain data information.
Based on the embodiment shown in fig. 3, the embodiment of the present invention can classify the data according to the data type to form at least one type of valid data to be processed, and then process each type of valid data to be processed, so as to obtain the data information. The embodiment of the invention can meet the requirement of generalization of telemetry data analysis, realize the processing of the telemetry data with multiple data types or complex data types, and further adapt to the data processing of various telemetry systems.
Optionally, after step S301 and before step S302, the method further includes:
and correspondingly deleting the filling data in each type of effective data to be processed according to the preset filling data corresponding to each type of data.
In the process of data transmission, as the telemetering data is transmitted one packet by one packet according to the preset byte length, the speed of filling data with data information into each packet of telemetering data is generally lower than the transmission speed of each packet of telemetering data, each packet of telemetering data is sent out after being filled with corresponding preset filling data, the filling data is invalid data, and the data needs to be deleted when data analysis is carried out. The embodiment of the invention correspondingly deletes the filling data in each type of effective data to be processed, thereby being suitable for the conditions of various channel storage capacities and various code rates. The code rate is a data transmission rate, and has a unit of bit/s (bit/second), and represents the propagation capacity of a digital signal in a certain time.
Optionally, when the type of the valid data to be processed is serial data, starting from a first preset serial flag bit in the valid data to be processed after the padding data is deleted, sequentially judging whether the interval length between two adjacent serial flag bits is a preset third byte length.
And if the interval length between two adjacent serial port zone bits is the preset third byte length, extracting the data between the two adjacent serial port zone bits as the target data of the data.
And if the interval length between two adjacent serial port flag bits is not the preset third byte length, deleting the front serial port flag bit in the two adjacent serial port flag bits, and splicing the next section of the to-be-processed effective data after the padding data is deleted.
The serial port data comprises communication data of an RS422 bus, an RS232 bus or an RS485 bus. RS422 is a serial data transfer protocol for full duplex, differential transmission, and multicast. RS485, a serial data transmission protocol of half-duplex, differential transmission and multipoint communication. RS232 is a full-duplex, common level transport, serial data transfer protocol commonly used for single-point communications.
Optionally, in step S302, when the type of the valid data to be processed is CAN data, starting from a first preset CAN zone bit in the type of the valid data to be processed, it is sequentially determined whether an interval length between two adjacent CAN zone bits is a preset fourth byte length.
And if the interval length between two adjacent CAN zone bits is the preset fourth byte length, extracting the data between the two adjacent CAN zone bits as the target data of the data.
And if the interval length between two adjacent CAN zone bits is not the preset fourth byte length, deleting the front one of the two adjacent CAN zone bits, and splicing the next section of the effective data to be processed after the padding data is deleted.
The CAN data is communication data of CAN bus communication.
A CAN (Controller Area Network) bus is commonly used in the automotive electronics industry, and is a standard bus of an embedded Controller Area Network (CAN) and is V2.0B optional, and is an extension protocol, and identification bits of 29 bits CAN be defined.
Optionally, after the processing the first valid data to obtain the data information, the method further includes:
and displaying the data information in real time in a data display window according to the corresponding communication protocol.
Optionally, referring to fig. 4, on the basis of the embodiment shown in fig. 3, as an example, an embodiment of the present invention provides a processing method for a class of data types, which specifically includes the following steps:
s401, classifying the first effective data according to data types to form at least one type of effective data to be processed; and caching the effective data to be processed in a database according to the data type and the receiving sequence.
The specific method in this step is the same as the specific method in step S301, and is not described herein again.
S402, according to the preset filling data corresponding to each type of data, filling data in each type of effective data to be processed are correspondingly deleted.
The specific method in this step is the same as the specific method in step S302, and is not described here again.
And S403, when the type of the effective data to be processed is serial data, sequentially judging whether the interval length between two adjacent serial flag bits is a preset third byte length or not from a first preset serial flag bit in the effective data to be processed after the padding data is deleted.
S404, if the interval length between two adjacent serial port zone bits is not the preset third byte length, deleting the front serial port zone bit in the two adjacent serial port zone bits, and splicing the next section of the to-be-processed effective data after the padding data is deleted.
S405, if the interval length between two adjacent serial port zone bits is the preset third byte length, extracting the data between the two adjacent serial port zone bits as the target data of the data.
S406, analyzing the target data based on the serial port communication protocol corresponding to the serial port data to obtain data information.
And S407, storing the analyzed data information according to a serial port communication protocol, and displaying the data information in a data display window in real time.
Step S404 and step S405 are two cases of judging whether the interval length between two adjacent serial port flag bits is the preset third byte length, and in practical application, if yes, step S405 is executed; if not, the step S404 is executed, and then the step S403 is executed to continue the step of judging whether the interval length between two adjacent serial port flag bits is the preset third byte length.
Optionally, referring to fig. 5, on the basis of the embodiment shown in fig. 3, as an example, an embodiment of the present invention provides another type of data type processing method, which specifically includes the following steps:
s501, classifying the first effective data according to data types to form at least one type of effective data to be processed; and caching the effective data to be processed in a database according to the data type and the receiving sequence.
The specific method in this step is the same as the specific method in step S301, and is not described herein again.
And S502, correspondingly deleting the filling data in each type of effective data to be processed according to the preset filling data corresponding to each type of data.
The specific method in this step is the same as the specific method in step S302, and is not described here again.
S503, when the type of the effective data to be processed is CAN data, sequentially judging whether the interval length between two adjacent CAN zone bits is the preset fourth byte length or not from the first preset CAN zone bit in the effective data to be processed.
And S504, if the interval length between two adjacent CAN zone bits is not the preset fourth byte length, deleting the front one of the two adjacent CAN zone bits, and splicing the next section of the to-be-processed effective data after the padding data is deleted.
And S505, if the interval length between two adjacent CAN zone bits is the preset fourth byte length, extracting the data between the two adjacent CAN zone bits as the target data of the data.
And S506, analyzing the target data based on the CAN communication protocol corresponding to the CAN data to obtain data information.
And S507, storing the analyzed data information according to the ID, and displaying the data information in real time in a data display window.
Similarly, step S504 and step S505 are two cases of determining whether the interval length between two adjacent CAN flags is the preset fourth byte length, and in practical application, if yes, step S505 is executed; if not, the step S504 is executed, and then the step S503 is executed to continue the step of judging whether the interval length between two adjacent CAN zone bits is the preset fourth byte length.
Based on the above technical solution, those skilled in the art CAN understand that the first valid data is classified according to the data type, two types of data, namely serial port data and CAN data, CAN be formed, and various types of data CAN be processed and analyzed simultaneously according to the data type. That is, step S403, step S404, step S405, step S406, and step S407 may be executed simultaneously with step S503, step S504, step S505, step S506, and step S507.
Based on the above technical solution, as an example, the byte length of the first valid data is 508 bytes, 32 bytes are serial data, and 272 bytes are CAN data, and the serial data and the CAN data are respectively intercepted. The serial port zone bit and the CAN zone bit are respectively a preset serial port frame header and a preset CAN frame header.
For serial port data, deleting invalid serial port data filled in the serial port data, matching serial port flag bits, wherein the preset third byte length is 64 bytes. Judging whether the interval length between the first serial port flag bit and the second serial port flag bit is 64 bytes or not, if the interval length is 64 bytes, the extracted serial port data is valid, and analyzing the serial port data according to a serial port communication protocol; if the interval length is not 64 bytes, deleting the first serial port flag bit, adding serial port data received in sequence, re-matching the first serial port flag bit with the second serial port flag bit, storing the analyzed data information according to a serial port communication protocol, and displaying the data information in a data display window in real time.
And for the CAN data, deleting the CAN invalid data filled in the CAN data, matching the CAN zone bit and presetting a fourth byte with the length of 12 bytes. Judging whether the interval length between the first CAN zone bit and the second CAN zone bit is 12 bytes (for example, ID is 4 bytes, Data information Data is 8 bytes), if the interval length is 12 bytes, the extracted CAN Data is valid, and analyzing the CAN Data according to a CAN Data communication protocol; and if the interval length is not 12 bytes, deleting the first CAN zone bit, adding sequentially received CAN data, re-matching the first CAN zone bit with the second CAN zone bit, storing the analyzed data information according to the ID, and displaying the analyzed data information in a data display window in real time.
Optionally, all the flag bits are indispensable parts in the frame structure, and are mainly used for frame positioning and frame recovery, and the amount of data occupied by the flag bits and the positions of the flag bits in the frame structure can be customized by a user.
Based on the same inventive concept, the embodiment of the present invention further provides a device for processing telemetry data, and as shown in fig. 6, the device for processing telemetry data 6 includes an obtaining module 61, an extracting module 62, and a processing module 63.
The acquisition module 61 is used for acquiring telemetry data of the telemetry system in real time;
the extraction module 62 is configured to extract first valid data in the telemetry data according to a preset first flag bit; the telemetry data comprises at least two first flag bits;
the processing module 63 is configured to process the first valid data to obtain data information.
Optionally, the obtaining module 61 is specifically configured to: and when the byte length of the received telemetry data is greater than or equal to a preset first byte length, intercepting the data with the first byte length as data to be processed.
Optionally, the extracting module 62 is specifically configured to: sequentially judging whether the interval length between two adjacent first flag bits is a preset second byte length or not from a first flag bit in the data to be processed; if the interval length between two adjacent first zone bits is the preset second byte length, extracting data between two adjacent first zone bits as first effective data; caching the first valid data in a database according to a receiving sequence; and if the interval length between two adjacent first zone bits is not the preset second byte length, deleting the first zone bit at the front of the two adjacent first zone bits, and splicing the next section of data to be processed.
Alternatively, referring to fig. 7, as an example, the processing module 63 includes a classification unit 631, a classification extraction unit 632, and an analysis unit 633.
The classifying unit 631 is configured to classify the first valid data according to data types to form at least one type of valid data to be processed; and caching the effective data to be processed in a database according to the data type and the receiving sequence.
The classification extraction unit 632 is configured to extract target data of each type of valid data to be processed according to a preset flag bit corresponding to the type of data.
The analyzing unit 633 is configured to analyze the target data based on a communication protocol corresponding to each type of data to be processed, so as to obtain data information.
Optionally, the processing module 23 further includes a deleting unit, configured to correspondingly delete padding data in each type of valid data to be processed according to preset padding data corresponding to each type of data.
Optionally, the classification extracting unit 632 is specifically configured to: when the type of the effective data to be processed is serial port data, sequentially judging whether the interval length between two adjacent serial port flag bits is a preset third byte length or not from a first preset serial port flag bit in the effective data to be processed after the padding data is deleted; if the interval length between two adjacent serial port zone bits is the preset third byte length, extracting the data between the two adjacent serial port zone bits as the target data of the data; if the interval length between two adjacent serial port flag bits is not the preset third byte length, deleting the front serial port flag bit in the two adjacent serial port flag bits, and splicing the next section of the to-be-processed effective data after the padding data are deleted; the serial port data comprises communication data of an RS422 bus, a 232 bus or a 485 bus.
Optionally, the classification extracting unit 632 is specifically configured to: when the type of the to-be-processed effective data is CAN data, sequentially judging whether the interval length between two adjacent CAN zone bits is the preset fourth byte length or not from the first preset CAN zone bit in the to-be-processed effective data after the padding data is deleted; if the interval length between two adjacent CAN zone bits is the preset fourth byte length, extracting data between the two adjacent CAN zone bits as target data of the data; if the interval length between two adjacent CAN zone bits is not the preset fourth byte length, deleting the front one of the two adjacent CAN zone bits, and splicing the next section of effective data to be processed after the padding data is deleted; the CAN data is communication data of CAN bus communication.
Optionally, the parsing unit 633 is specifically configured to: analyzing the target data based on a serial port communication protocol corresponding to the serial port data to obtain data information; and analyzing the target data based on a CAN communication protocol corresponding to the CAN data to obtain data information.
Optionally, the processing apparatus according to the embodiment of the present invention may further include a receiving setting module, a state curve module, a network setting module, a data storage module, and a data display module.
The receiving setting module is used for setting receiving parameters to match with telemetering data sent by a telemetering receiver of the telemetering system; the receiving parameters comprise a receiving frequency point, a code rate, a medium frequency bandwidth, data polarity, an Automatic Frequency Control (AFC) tracking range, a synchronous word, a subframe length and a subframe length.
The state curve module is used for presenting a data change curve of the data information in real time. The state curve module is connected with the data storage module and the data display module and can dynamically display the data information at each moment.
The network setting module is used for setting the IP address and the port signal of the telemetering receiver to be connected so as to be connected with the telemetering receiver.
The data storage module is used for storing the telemetering data and the data information. The data storage module may also be configured to store the various types of extracted data in the order received. The data storage module comprises a database, and the telemetry data and the data information are stored in the database.
The data display module is used for displaying data information in real time. Optionally, the data display module displays the data information in real time in the data display window according to the corresponding communication protocol. The data information displayed by the data display module can be directly analyzed data information or data information called from the data storage module.
Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium for storing computer instructions, which, when executed on a computer, enable the computer to perform the above-mentioned telemetry data processing method.
The computer readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs, RAMs, EPROMs (Erasable Programmable Read-Only memories), EEPROMs, flash memories, magnetic cards, or optical cards. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
The terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in the orientation or positional relationship indicated in the drawings for ease of description and simplicity of description only, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting. When an element such as a layer, film, region, or substrate is referred to as being "on" or "under" another element, it can be "directly on" or "under" the other element or intervening elements may be present.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method of processing telemetry data, comprising the steps of:
acquiring telemetry data of a telemetry system in real time;
extracting first valid data in the telemetering data according to a preset first zone bit; the telemetry data comprises at least two first flag bits;
and processing the first effective data to obtain data information.
2. The telemetry data processing method of claim 1, wherein the real-time acquisition of telemetry data of the telemetry system comprises:
and when the byte length of the received telemetry data is greater than or equal to a preset first byte length, intercepting the data with the first byte length as data to be processed.
3. The method for processing the telemetry data as claimed in claim 2, wherein extracting the first valid data from the telemetry data according to the preset first flag bit comprises:
starting from a first zone bit in the data to be processed, sequentially judging whether the interval length between two adjacent first zone bits is a preset second byte length;
if the interval length between two adjacent first flag bits is the second byte length, extracting data between two adjacent first flag bits as the first effective data;
and if the interval length between two adjacent first flag bits is not the second byte length, deleting the first flag bit at the front of the two adjacent first flag bits, and splicing the next section of data to be processed.
4. A method for processing telemetry data according to any of claims 1-3, wherein the processing the first valid data to obtain data information comprises:
classifying the first effective data according to data types to form at least one type of effective data to be processed;
extracting target data of each type of effective data to be processed according to a preset zone bit corresponding to the type of data;
and analyzing the target data based on the communication protocol corresponding to each type of data to be processed to obtain data information.
5. The method for processing telemetry data as claimed in claim 4, wherein the step of classifying the first valid data according to data type to form at least one type of valid data to be processed, and before extracting the target data of each type of valid data to be processed according to the preset flag bit corresponding to the type of valid data, further comprises:
and correspondingly deleting the filling data in each type of effective data to be processed according to the preset filling data corresponding to each type of data.
6. The method for processing telemetry data as claimed in claim 5, wherein the extracting target data of each type of valid data to be processed according to the preset flag bit corresponding to the type of data comprises:
when the type of the effective data to be processed is serial port data, sequentially judging whether the interval length between two adjacent serial port flag bits is a preset third byte length or not from a first preset serial port flag bit in the effective data to be processed after the padding data are deleted;
if the interval length between two adjacent serial port zone bits is the third byte length, extracting data between two adjacent serial port zone bits as target data of the data;
if the interval length between two adjacent serial port flag bits is not the third byte length, deleting the front serial port flag bit in the two adjacent serial port flag bits, and splicing the next section of the to-be-processed effective data after the padding data is deleted;
the serial port data comprises communication data of an RS422 bus, a 232 bus or a 485 bus.
7. The method for processing telemetry data as claimed in claim 5, wherein the extracting target data of each type of valid data to be processed according to the preset flag bit corresponding to the type of data comprises:
when the type of the to-be-processed effective data is CAN data, sequentially judging whether the interval length between two adjacent CAN zone bits is a preset fourth byte length or not from a first preset CAN zone bit in the to-be-processed effective data;
if the interval length between two adjacent CAN zone bits is the preset fourth byte length, extracting data between two adjacent CAN zone bits as target data of the data;
if the interval length between two adjacent CAN zone bits is not the preset fourth byte length, deleting the front one of the two adjacent CAN zone bits, and splicing the next section of effective data to be processed after the stuffing data is deleted;
the CAN data is communication data of CAN bus communication.
8. The method of claim 4, wherein after processing the first valid data to obtain data information, the method further comprises:
and displaying the data information in real time in a data display window according to a corresponding communication protocol.
9. A telemetry data processing apparatus, comprising:
the acquisition module is used for acquiring the telemetering data of the telemetering system in real time;
the extraction module is used for extracting first effective data in the telemetering data according to a preset first zone bit; the telemetry data comprises at least two first flag bits;
and the processing module is used for processing the first effective data to obtain data information.
10. A computer-readable storage medium for storing computer instructions which, when executed on a computer, cause the computer to perform the method of processing telemetry data as claimed in any one of claims 1 to 8.
CN201911196300.0A 2019-11-29 2019-11-29 Telemetry data processing method and device and readable storage medium Active CN111263249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911196300.0A CN111263249B (en) 2019-11-29 2019-11-29 Telemetry data processing method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911196300.0A CN111263249B (en) 2019-11-29 2019-11-29 Telemetry data processing method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111263249A true CN111263249A (en) 2020-06-09
CN111263249B CN111263249B (en) 2022-04-15

Family

ID=70950913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911196300.0A Active CN111263249B (en) 2019-11-29 2019-11-29 Telemetry data processing method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111263249B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039800A (en) * 2020-09-07 2020-12-04 北京航天自动控制研究所 Method and device for sending telemetering data

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6222440B1 (en) * 1998-02-23 2001-04-24 Freshloc Technologies, Inc. Location, identification and telemetry system using strobed signals at predetermined intervals
US20110090399A1 (en) * 2009-10-19 2011-04-21 Intergraph Technologies Company Data Search, Parser, and Synchronization of Video and Telemetry Data
CN103269388A (en) * 2013-05-24 2013-08-28 航天东方红卫星有限公司 Method for collecting high-speed real-time data through satellite data transmission channel
CN104486335A (en) * 2014-12-12 2015-04-01 北京控制工程研究所 Real-time intelligent processing system for GNC data of high-complexity spacecraft
CN105306526A (en) * 2015-09-11 2016-02-03 中国人民解放军63796部队 High thrust rocket high flow telemetry data processing method
CN109743291A (en) * 2018-12-12 2019-05-10 湖北航天技术研究院总体设计所 A kind of telemetry real time processing system and method based on round-robin queue
CN109918545A (en) * 2019-03-26 2019-06-21 珠海格力智能装备有限公司 The extracting method and device of sensing data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6222440B1 (en) * 1998-02-23 2001-04-24 Freshloc Technologies, Inc. Location, identification and telemetry system using strobed signals at predetermined intervals
US20110090399A1 (en) * 2009-10-19 2011-04-21 Intergraph Technologies Company Data Search, Parser, and Synchronization of Video and Telemetry Data
CN103269388A (en) * 2013-05-24 2013-08-28 航天东方红卫星有限公司 Method for collecting high-speed real-time data through satellite data transmission channel
CN104486335A (en) * 2014-12-12 2015-04-01 北京控制工程研究所 Real-time intelligent processing system for GNC data of high-complexity spacecraft
CN105306526A (en) * 2015-09-11 2016-02-03 中国人民解放军63796部队 High thrust rocket high flow telemetry data processing method
CN109743291A (en) * 2018-12-12 2019-05-10 湖北航天技术研究院总体设计所 A kind of telemetry real time processing system and method based on round-robin queue
CN109918545A (en) * 2019-03-26 2019-06-21 珠海格力智能装备有限公司 The extracting method and device of sensing data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜冬梅: "航天器CCSDS遥测数据包处理方法研究", 《电讯技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039800A (en) * 2020-09-07 2020-12-04 北京航天自动控制研究所 Method and device for sending telemetering data
CN112039800B (en) * 2020-09-07 2024-02-20 北京航天自动控制研究所 Method and device for sending telemetry data

Also Published As

Publication number Publication date
CN111263249B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
US7142129B2 (en) Method and system for downhole clock synchronization
US10051432B2 (en) Telematics furtherance visualization system
CN111263249B (en) Telemetry data processing method and device and readable storage medium
US8798384B2 (en) Dynamic image compression for imaging while drilling applications
CN103175566B (en) A kind of system of calibrating sensors, device and method
US20090167599A1 (en) Location Based Services Information Storage and Transport
EP2677346A1 (en) Digital seismic sensor and acquisition device adapted to be connected together via a two-conductor line.
NO340752B1 (en) Procedure, system and computer program for transmitting bit sensitive information
CN102263690B (en) Method for uploading data in measurement-while-drilling system
CN109873688A (en) A kind of data transmission method of Beidou communication and mobile communication adaptive
CN111091697B (en) Telemetry data processing system
CN107801240A (en) A kind of method and apparatus for sending, receiving Timing Advance
CN103546468A (en) Unmanned aerial vehicle flight data transmission method and system based on Beidou satellite
CN104852783A (en) GPS data transmission method and system
CN105992154A (en) Position data transmission method and device and positioning system
CN109086953A (en) Location information transmission method, equipment and the readable storage medium storing program for executing of low flyer
CN108712200A (en) A kind of moonlet intelligent radio satellited system and control method
CN111800233B (en) Method for improving data transmission success rate of navigation sonde
CN115002835A (en) Airplane position information compression transmission method based on Beidou system
CN1310531A (en) Error detection method for high speed data transmission
CN111339020A (en) Serial port data receiving and transmitting method
CN113099470B (en) Base station detection method and system, and computer readable storage medium
KR100800893B1 (en) System and method for transmitting global positioning system information to shadow area
CN115441989A (en) Universal telemetering data acquisition method and system in set time period
US20110187555A1 (en) Method and apparatus for decoding a signal sent from a measurement-while-drilling tool

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