A Telemetry Data Processing Method and System Based on UDP Multicast
Through the telemetry data processing method based on UDP multicast, effective data is identified and fused, error values are eliminated, and the data processing module and real-time display module are run separately, solving the problems of low efficiency and low data quality in the prior art, and efficient and real-time data processing and display are achieved.
Patent Information
- Application Number
- CN202211725338.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-12-30
AI Technical Summary
The existing telemetry data processing methods are inefficient when facing a large amount of data, cannot achieve real-time processing, and cannot eliminate error values and data fusion, resulting in the inability to guarantee the integrity and effectiveness of the data.
Using UDP multicast-based telemetry data processing method, the valid data is identified and extracted, the error values are eliminated, and the data is fused. Run the data processing module separately from the real-time display module to improve processing efficiency and data quality.
It realizes efficient processing and real-time display of multi-source telemetry data, improves data quality and processing efficiency, and can flexibly configure hardware resources to complete telemetry and display tasks.
Smart Images

Figure CN116055430B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of telemetry real-time display, and in particular, to a method and system for processing telemetry data based on UDP multicast. Background Art
[0002] A telemetry system is a system that measures, transmits, and processes certain parameters of a measured object at a certain distance. By collecting data of control systems such as missiles or rockets, the data is encoded by an acquisition and editing module according to the transmission system of PCM-FM (Pulse Code Modulation - Frequency Modulation), modulated, up-converted by a transceiver module, and radiated outward by a transmitting antenna. Currently, most of the data collection for ground tests and flight tests of weapon systems relies on telemetry systems to complete.
[0003] Telemetry real-time display is an important link in the research, development, testing, and actual combat processes of weapon model projects. The existing processing methods for telemetry data generally receive the telemetry data sent by ground equipment through real-time display devices, extract the valid data after identifying the complete data frames, and display the valid data in real time on the same system.
[0004] With the continuous enrichment of data types of weapon systems, the complexity of data transmission systems and the degree of intelligence are constantly increasing, and the environments of flight tests and actual combat during the development stage are constantly becoming more complex. The amount of telemetry data to be processed is getting larger and larger. The centralized processing of a large amount of telemetry data will bring problems such as long data processing time and long interpretation time, resulting in low data processing efficiency, and the real-time processing of telemetry data cannot be achieved, so data information cannot be obtained in a timely manner. In the process of data processing in the existing solutions, false values and data fusion are not eliminated, and the integrity and validity of the obtained data cannot be guaranteed.
[0005] The existing technology can perform data fusion based on multi-source original telemetry data frames, and the fusion criteria directly process the original data using standards such as synchronization codes, frame counts, and time codes. Although relatively complete telemetry data can be obtained, the workload is large, and the real-time display of valid data is not considered.
[0006] Currently, there is no effective method for the above problems. Summary of the Invention
[0007] The present invention provides a method and system for processing telemetry data based on UDP multicast to solve the defects in the above-mentioned prior art. A method for fusing the error values of valid data framing is proposed. First, extract valid data from the telemetry data for framing, remove the error values from the framed data, and then perform data fusion according to a certain standard. Considering that when the transmission rates of multi-source data are high and the data volume is large, it affects the real-time display. Separating the real-time display module and the data processing module to run independently can not only ensure the performance of the two modules but also flexibly configure the hardware resources.
[0008] The present invention provides a method for processing telemetry data based on UDP multicast, including:
[0009] Obtain telemetry data sent from multiple different ports through UDP multicast;
[0010] Identify the telemetry data and extract the valid information in the telemetry data;
[0011] Remove the error values in the valid information according to the actual value ranges of various parameters in the valid information, and output the screened data frame;
[0012] Based on the types of various parameters of the valid information in the screened data frame, arrange the data frame in a preset order and output the combined frame;
[0013] Fuse the combined frames identified by each port, send the fused data through UDP multicast, and identify the fused data to extract the corresponding valid information.
[0014] According to the method for processing telemetry data based on UDP multicast provided by the present invention, identifying the telemetry data and extracting the valid information in the telemetry data includes:
[0015] Set the frame flag and keyword number as the recognition instances of the state machine byte by byte, record the recognition progress of the valid information in each frame of telemetry data through the status flag. If the complete frame flag and / or keyword are recognized, convert the status flag of the corresponding frame into a valid data frame flag;
[0016] If the complete frame flag and / or keyword number are not recognized, reset the status flag of the corresponding frame and continue to recognize the valid information of the corresponding frame.
[0017] According to the method for processing telemetry data based on UDP multicast provided by the present invention, identifying the telemetry data and extracting the valid information in the telemetry data includes:
[0018] Intercept each complete frame in the telemetry data based on preset data requirements to obtain multiple segmented data, identify the keyword numbers in each segmented data, and extract the valid information corresponding to the keyword numbers.
[0019] According to a telemetry data processing method based on UDP multicast provided by the present invention, data fusion is performed on the combined frames identified by each port, including:
[0020] Fuse each combined frame identified by the first port with each combined frame identified by the second port;
[0021] Create a new long array, compare the values of any same-type parameter in each combined frame, sort them according to the value size, select the maximum or minimum value and fill it into the long array, and output the first long array;
[0022] Fuse the first long array with the combined frames identified by the next port, and select the maximum or minimum value according to the value of the selected same-type parameter and fill it into the first long array until all the combined frames identified by all ports are fused, and output the fused data.
[0023] According to a telemetry data processing method based on UDP multicast provided by the present invention, add a frame header or frame tail for identification on the basis of the arranged data frames, and output combined frames;
[0024] The receiving end identifies the frame header or frame tail in each combined frame in the fused data, and identifies the fused data to extract the corresponding valid information.
[0025] According to a telemetry data processing method based on UDP multicast provided by the present invention, after the valid information is identified at the receiving end, the valid information is displayed as an image and / or text.
[0026] On the other hand, the present invention also provides a telemetry data processing system based on UDP multicast, including a ground device, a data processing module, and a real-time display module:
[0027] The data processing module obtains telemetry data sent from different ports of multiple ground devices through UDP multicast;
[0028] The data processing module identifies the telemetry data, extracts the valid information from the telemetry data; and eliminates the error values in the valid information according to the actual value ranges of various parameters in the valid information, and outputs a filtered data frame; based on the types of various parameters of the valid information in the filtered data frame, arranges the data frame in a preset order, adds a frame header or a frame tail for identification on the basis of the arranged data frame, and outputs a combined frame; fuses the combined frames identified by each port, and sends the fused data to the real-time display module by means of UDP multicast;
[0029] The real-time display module identifies the fused data to extract the corresponding valid information.
[0030] Among them, the data processing module adds a frame header or a frame tail for identification on the basis of the arranged data frame, and outputs a combined frame;
[0031] The real-time display module identifies the frame header or the frame tail in each combined frame in the fused data, and identifies the fused data to extract the corresponding valid information.
[0032] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the above-mentioned telemetry data processing method based on UDP multicast are implemented.
[0033] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned telemetry data processing method based on UDP multicast are implemented.
[0034] A telemetry data processing method and system based on UDP multicast provided by the present invention at least have the following technical effects:
[0035] (1) By using multiple threads to receive data from multiple data sources respectively, it can stably adapt to a relatively high data transmission rate;
[0036] (2) Through data fusion, the framed data selected from each data source is integrated and sorted, improving the data quality, and further improving the data quality displayed by the real-time display module, reflecting the advantage of receiving multi-source data simultaneously;
[0037] (3) Separating the data processing module and the real-time display module can run on different devices, reducing the pressure on system resources for a single device to run the entire software, enabling flexible configuration of hardware resources, and being able to complete the telemetry real-time display task faster and better. Description of the Drawings
[0038] To more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can also be obtained based on these drawings.
[0039] Figure 1 It is a schematic flowchart of a telemetry data processing method based on UDP multicast provided by the present invention;
[0040] Figure 2 It is a schematic structural diagram of a telemetry data processing system based on UDP multicast provided by the present invention. Detailed implementation manners
[0041] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention with reference to the accompanying drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in the present invention belong to the scope of protection of the present invention.
[0042] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above accompanying drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally further includes steps or modules not listed, or optionally further includes other steps or modules inherent to these processes, methods, products, or devices.
[0043] It should be noted that the terms "first" and "second" involved in the present invention are only used to distinguish similar objects and do not represent a specific order for the objects. Understandably, "first" and "second" can be interchanged in a specific order or sequence when permitted. It should be understood that the objects distinguished by "first" and "second" can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order other than those described or illustrated here.
[0044] In one embodiment, as Figure 1 shown, the present invention provides a telemetry data processing method based on UDP multicast, including:
[0045] Obtaining telemetry data sent from multiple different ports through UDP multicast;
[0046] Identifying the telemetry data and extracting the valid information in the telemetry data;
[0047] Eliminate the error values in the valid information according to the actual value ranges of various parameters in the valid information, and output the screened data frame;
[0048] Based on the types of various parameters of the valid information in the screened data frame, arrange the data frame in a preset order, and output the combined frame;
[0049] Perform data fusion on the combined frames identified by each port, send the fused data through UDP multicast, and identify the fused data to extract the corresponding valid information.
[0050] According to a telemetry data processing method based on UDP multicast provided by the present invention, identify the telemetry data and extract the valid information in the telemetry data, including:
[0051] Set the frame flag and keyword number as the recognition cases of the state machine byte by byte, record the recognition progress of the valid information in each frame of telemetry data through the status flag, and if a complete frame flag and / or keyword is recognized, convert the status flag of the corresponding frame into a valid data frame flag;
[0052] If a complete frame flag and / or keyword number is not recognized, reset the status flag of the corresponding frame and continue to identify the valid information of the corresponding frame.
[0053] According to a telemetry data processing method based on UDP multicast provided by the present invention, identify the telemetry data and extract the valid information in the telemetry data, including:
[0054] Based on the preset data requirements, intercept each complete frame in the telemetry data to obtain multiple segmented data, identify the keyword numbers in each segmented data, and extract the valid information corresponding to the keyword numbers.
[0055] After obtaining the valid information, eliminate the outliers according to the actual value ranges of the parameters and physical laws. As an example:
[0056] Compare non - negative variables such as time, distance, and speed with zero, eliminate the extreme values for increasing variables such as time and distance. Arrange the screened data frame in the order of the actual meanings of each parameter in the valid information according to the pre - agreed order, and add a specific and easily recognizable frame header or frame tail to complete the framing. For example, the format is: flight time - flight distance - flight altitude - flight speed - frame tail; This is only for further explanation of the embodiments of the present invention and does not limit the present invention;
[0057] According to a telemetry data processing method based on UDP multicast provided by the present invention, perform data fusion on the combined frames identified by each port, including:
[0058] Fuse each combined frame obtained by the first port with each combined frame obtained by the second port;
[0059] Create a new long array, compare the values of any same-type parameter in each combined frame, sort them according to the value size, select the maximum or minimum value and fill it into the long array, and output the first long array;
[0060] Fuse the first long array with the combined frames obtained by the next port, select the maximum or minimum value according to the value of the selected same-type parameter and fill it into the first long array until all the combined frames obtained by all ports are fused, and output the fused data.
[0061] The receiving end identifies the frame header or frame tail in each combined frame of the fused data, and identifies the fused data to extract the corresponding valid information;
[0062] In one embodiment, during the data fusion process, frame sorting is performed on these data according to the actual sorting rule of a certain parameter of the valid information. Since the previous steps have completed the operation of removing the error values in the valid frames, based on the sorting results of some parameters (such as time, distance parameters, etc.) during the framing process of a single data stream, further data fusion is performed. The example is as follows:
[0063] Create a new long array, fill the first frame of the framed data from ground device 1 (hereinafter simply referred to as framed data 1, and the framed data from ground device x is collectively referred to as framed data x) into the first element position of the long array. Compare the flight time parameter b1 of the first frame of framed data 2 with the flight time parameter a1 of the first frame of framed data 1 that has been filled into the long array. If b1 < a1, then the frame where b1 is located replaces a1 to become the first frame of the long array, and the frame where a1 is located becomes the second frame. Then take the flight time parameter b2 of the second frame of framed data 2 and compare it with a1; if b1 = a1, then skip b1 and take b2 to compare with a1; if b1 > a1, then place the frame where b1 is located after the frame where a1 is located in the long array, and then compare b1 with a2. In short, select the frame with the smallest flight time parameter from the currently unsorted frame elements and put it into the long array. Repeat this process until the integration of framed data 1 and framed data 2 is completed, and then the long array is integrated with framed data 3 to complete the data fusion process.
[0064] According to a method for processing telemetry data based on UDP multicast provided by the present invention, after the valid information is identified at the receiving end, the valid information is subjected to image display and / or text display.
[0065] On the other hand, as Figure 2As shown in the figure, the present invention also provides a telemetry data processing system based on UDP multicast. The telemetry data processing system described below can be correspondingly referred to the telemetry data processing method described above. Specifically, it includes ground equipment, a data processing module, and a real-time display module:
[0066] The data processing module obtains telemetry data sent from different ports of multiple ground equipment through UDP multicast;
[0067] The data processing module identifies the telemetry data, extracts the valid information in the telemetry data; and eliminates the error values in the valid information according to the actual value ranges of various parameters in the valid information, and outputs a filtered data frame; based on the types of various parameters of the valid information in the filtered data frame, arranges the data frame in a preset order, adds a frame header or a frame tail for identification on the basis of the arranged data frame, and outputs a combined frame; fuses the combined frames identified from each port, and sends the fused data to the real-time display module through UDP multicast;
[0068] The real-time display module identifies the fused data to extract the corresponding valid information.
[0069] Among them, the data processing module adds a frame header or a frame tail for identification on the basis of the arranged data frame, and outputs a combined frame;
[0070] The real-time display module identifies the frame header or the frame tail in each combined frame in the fused data, and identifies the fused data to extract the corresponding valid information;
[0071] Finally, the real-time display module displays the extracted valid data in the form of an image or text on the interaction interface.
[0072] The present invention also provides an electronic device, which may include: a processor, a communications interface, a memory, and a communication bus. Among them, the processor, the communications interface, and the memory complete the communication with each other through the communication bus. The processor can call the logical instructions in the memory to execute the steps of the telemetry data processing method based on UDP multicast provided by the above methods.
[0073] In addition, when the logical instructions in the above-mentioned memory can be implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.
[0074] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the steps of the method for processing telemetry data based on UDP multicast provided by the above-mentioned various methods.
[0075] On another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is configured to execute the steps of the method for processing telemetry data based on UDP multicast provided by the above-mentioned various methods.
[0076] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative labor.
[0077] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the technical solution, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disks, optical discs, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments.
[0078] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A telemetry data processing method based on UDP multicast, characterized in that, including: Obtaining telemetry data sent from multiple different ports through UDP multicast; Identifying the telemetry data and extracting the valid information in the telemetry data; Eliminating the error values in the valid information according to the actual value ranges of various parameters in the valid information, and outputting the screened data frame; Based on the types of various parameters of the valid information in the screened data frame, arranging the data frame in a preset order and outputting the combined frame; Performing data fusion on the combined frames identified by each port, sending the fused data through UDP multicast, and identifying the fused data to extract the corresponding valid information; Identifying the telemetry data and extracting the valid information in the telemetry data, including: Setting the frame flag and keyword number as the identification instances of the state machine byte by byte, recording the identification progress of the valid information in each frame of telemetry data through the status flag, and if a complete frame flag and / or keyword is identified, converting the status flag of the corresponding frame into a valid data frame flag; If a complete frame flag and / or keyword number is not identified, reset the status flag of the corresponding frame and continue to identify the valid information of the corresponding frame.
2. The method for processing telemetry data based on UDP multicast according to claim 1, wherein Identifying the telemetry data and extracting the valid information in the telemetry data, including: Intercepting each complete frame in the telemetry data based on the preset data requirements to obtain multiple segmented data, identifying the keyword numbers in each segmented data, and extracting the valid information corresponding to the keyword numbers.
3. A telemetry data processing method based on UDP multicast according to claim 1, characterized in that Performing data fusion on the combined frames identified by each port, including: Fusing each combined frame identified by the first port with each combined frame identified by the second port; Creating a new long array, comparing the values of any same-type parameters in each frame of the combined frame, sorting them by the value size, selecting the maximum or minimum value and filling it into the long array, and outputting the first long array; Fusing the first long array with the combined frame identified by the next port, and selecting the maximum or minimum value according to the value of the selected same-type parameter and filling it into the first long array until all the combined frames identified by all ports are fused, and outputting the fused data.
4. A telemetry data processing method based on UDP multicast according to claim 1, characterized in that, Adding a frame header or frame tail for identification to the arranged data frame and outputting the combined frame; The receiving end identifies the frame header or frame tail in each combined frame of the fused data, and identifies the fused data to extract the corresponding valid information.
5. A method for processing telemetry data based on UDP multicast according to any one of claims 1-4, characterized in that, After the receiving end identifies the valid information, performing image display and / or text display on the valid information.
6. A telemetry data processing system based on UDP multicast, characterized in that, including a ground device, a data processing module and a real-time display module: The data processing module obtains telemetry data sent from different ports of multiple ground devices through UDP multicast; The data processing module identifies the telemetry data, extracts the valid information in the telemetry data; and eliminates the error values in the valid information according to the actual value ranges of various parameters in the valid information, and outputs the screened data frame; Arrange the data frame according to the preset order based on the types of various parameters of the valid information in the filtered data frame, add a frame header or frame tail for identification on the basis of the arranged data frame, and output a combined frame; perform data fusion on the combined frames identified by each port, and send the fused data to the real-time display module through UDP multicast; The real-time display module identifies the fused data to extract the corresponding valid information.
7. The telemetry data processing system based on UDP multicast according to claim 6, wherein The data processing module adds a frame header or frame tail for identification on the basis of the arranged data frame, and outputs a combined frame; The real-time display module identifies the frame header or frame tail in each combined frame in the fused data, and identifies the fused data to extract the corresponding valid information.
8. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the telemetry data processing method based on UDP multicast according to any one of claims 1 to 5.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the telemetry data processing method based on UDP multicast according to any one of claims 1 to 5.
Citation Information
Patent Citations
Telemetry data processing method, device and system
CN114125082A
Method and system for transmitting data from telemetry devices to enodeb over wireless communication network
US20170223703A1