A general analysis system and method for radar recorded data
Through the general analysis system of radar admission data, the radar admission data is analyzed using C language specifications, xml files are generated, and data screening and conversion are solved, which solves the problems of slow post-processing and analysis of radar data and poor scalability, and realizes efficient radar data processing and reduces software development and maintenance costs.
Patent Information
- Application Number
- CN202211546283.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-05
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2042-12-05
AI Technical Summary
The existing radar data post-processing and analysis methods have problems such as slow processing speed, difficult to expand, large software development workload, and high maintenance costs, especially when facing a variety of radar projects, they cannot meet the processing time requirements.
A general analysis system that adopts radar admission data, including a header file module, header file analysis module, frame header index generation module, admission file analysis module and field extraction module, uses C language specification to parse radar admission data, generate xml files and perform data filtering, waveform display and mat format conversion, supporting visual display and data filtering.
It improves the reuse and processing efficiency of radar admission data analysis, reduces the workload and maintenance costs of software development, and supports unified analysis of multiple radar projects.
Smart Images

Figure CN116166845B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the analysis of admission data. More specifically, it relates to a general analysis system and method for radar admission data. Background Art
[0002] In the prior art, the post-processing analysis of radar data is the main means of radar debugging, and its main function is to process and analyze the control data and echo data files recorded in real time by the radar. In the traditional method of post-processing analysis of radar data, since the admission data structures of each radar project are not unified, it is necessary to separately design and develop a post-processing analysis program based on Matlab. The advantage is that it is convenient for direct development and does not require the design of complex data parsing and cleaning logics. However, the disadvantages are also obvious. Matlab is slow in processing binary files and must re-change the program code to adapt to different radar projects, and it does not have good scalability.
[0003] In addition, with the continuous increase in the types, sampling rates, number of channels, etc. of radar admission data, the amount of data for post-processing analysis of radar data is increasing rapidly, and the traditional method of post-processing analysis of radar data cannot meet the requirements of processing time. Moreover, when performing post-processing analysis of radar data, it is necessary to first screen the admission data files according to radar waveforms, target numbers, etc. and extract valid data, all of which require updating the code according to the admission data structures of different radar projects, greatly increasing the later software development workload and maintenance cost. Summary of the Invention
[0004] To solve at least one of the above problems, the present invention provides a general analysis system for radar admission data. This method formulates a general admission data structure specification for radar admission data, provides general modules such as data parsing, frame header indexing, data screening, field extraction, waveform display, and Mat format conversion, solves the problems of slow processing speed and difficult expansion in the traditional method of post-processing analysis of radar data, and ultimately improves the reuse degree and processing efficiency of radar admission data analysis and reduces the software development workload and maintenance cost.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A general analysis system for radar admission data, comprising:
[0007] A defined header file module, configured to write or reference an existing admission data structure.h header file for radar admission data according to the C language programming specification and the radar admission data structure;
[0008] A header file parsing module, configured to read and parse the written admission data structure body.h header file to generate an xml file;
[0009] The frame header index generation module is used to read the radar binary recording file according to the parameter configuration file, correct each frame of data, and generate a frame index file;
[0010] The recording file parsing module is used to extract the current frame data from the radar binary recording file based on the information of the frame index file according to the parameter configuration file;
[0011] The field extraction module is used to extract each field of the current frame data transmitted by the analysis data structure configuration file and the file parsing module frame by frame, and save it as a text file for subsequent data analysis and processing.
[0012] Preferably, the xml file includes: a configuration file for mat format conversion, a recording data structure configuration file for treeview display, and an analysis data structure configuration file for viewing fields frame by frame.
[0013] Preferably, the system further includes a treeview display module for reading and parsing the xml file, enabling visual display of the recording data structure, and supporting selection in a drag-and-drop manner.
[0014] Preferably, the system further includes a binary viewing module for viewing the original recording file in binary format based on the current frame data extracted by the file parsing module, facilitating positioning and analysis of problems in the original data in cooperation with the field extraction module.
[0015] Preferably, the system further includes a waveform drawing module for obtaining waveform data format, data width, length, and step parameters according to the waveform drawing parameter configuration file and based on the current frame data extracted by the file parsing module, and performing curve drawing.
[0016] Preferably, the system further includes a data screening module for comparing frame by frame in the radar recording data according to the value range of multiple fields, retrieving data frames that meet the screening conditions, and separately saving them as binary files for subsequent data processing and analysis.
[0017] Preferably, the system further includes a mat format conversion module for converting each field and waveform data into mat format and separately saving them as matlab files for subsequent data analysis and processing.
[0018] A general analysis method for radar recording data uses the above-mentioned general analysis system for radar recording data, including:
[0019] Transmitting the radar-recorded data to the general analysis system for radar recording data;
[0020] The general analysis system parses and processes the radar data and outputs files for subsequent data analysis and processing.
[0021] Preferably, the output files include matlab files converted by a mat format conversion module, binary files retrieved by a data screening module that meet the screening conditions, and text files obtained by extraction and analysis by a field extraction module.
[0022] The beneficial effects of the present invention are as follows:
[0023] The present invention uses the parsing of data structure header files to solve the problem of unified analysis of various radar acquisition data and supports the processing and analysis of custom data structures. Using C language processing, it solves the problem of slow data parsing and cleaning speed in Matlab. It provides data screening by waveform and target number, solving the problem of processing multiple mixed waveforms. The waveform drawing parameters are configurable, solving the problem of unified drawing of various waveform data. Description of the Drawings
[0024] The following further elaborates on the specific embodiments of the present invention with reference to the accompanying drawings.
[0025] Figure 1 Shows the schematic design diagram of the general acquisition data analysis framework of the present invention.
[0026] Figure 2 Shows the waveform drawing parameter configuration template of the present invention.
[0027] Figure 3 Shows the acquisition data structure template of the present invention. Detailed Description of the Invention
[0028] To more clearly illustrate the present invention, the following further describes the present invention with reference to preferred embodiments and the attached Figures 1-3 drawings. Similar components in the drawings are denoted by the same reference numerals. Those skilled in the art should understand that the content specifically described below is illustrative rather than restrictive and should not be used to limit the protection scope of the present invention.
[0029] A general analysis system and method for radar acquisition data
[0030] Define a header file module for writing or referencing existing acquisition data structure.h header files for radar acquisition data according to C language programming specifications and radar acquisition data structures;
[0031] A header file parsing module for reading and parsing the written acquisition data structure body.h header file to generate an xml file;
[0032] A frame header index generation module for reading radar binary acquisition files according to a parameter configuration file, correcting each frame of data, and generating a frame index file;
[0033] An admission file parsing module, configured to extract current frame data from a radar binary admission file based on information in a frame index file according to a parameter configuration file;
[0034] A field extraction module, configured to extract each field of the current frame data transmitted by the analysis data structure configuration file and the file parsing module frame by frame, and save it as a text file for subsequent data analysis and processing;
[0035] Preferably, the xml file includes: a configuration file for mat format conversion, an admission data structure configuration file for treeview display, and an analysis data structure configuration file for viewing fields frame by frame.
[0036] Preferably, the general analysis system for radar admission data further includes a treeview display module, configured to read and parse the xml file, enabling visual display of the admission data structure, and supporting selection in a drag-and-drop manner.
[0037] Preferably, the system further includes a binary viewing module, configured to view the original admission file in binary format based on the current frame data extracted by the file parsing module, facilitating positioning and analysis of problems in the original data in cooperation with the field extraction module.
[0038] Preferably, the system further includes a waveform plotting module, configured to obtain waveform data format, data width, length, and step parameters according to a waveform plotting parameter configuration file and based on the current frame data extracted by the file parsing module, and perform curve plotting.
[0039] Preferably, the system further includes a data screening module, configured to compare frame by frame in the radar admission data according to the value range of multiple fields, retrieve data frames that meet the screening conditions, and save them separately as binary files for subsequent data processing and analysis.
[0040] Preferably, the system further includes a mat format conversion module, configured to convert each field and waveform data into mat format and save them separately as matlab files for subsequent data analysis and processing.
[0041] Preferably, the input files include:
[0042] (1) A *.h header file defining the admission data structure, which defines the structures of different radar admission data and specifies information such as the name, position, data type, and length of each field in the admission file;
[0043] (2) A parameter configuration file main.ini, which specifies information such as the frame header flag, initial parameters, intermediate process files, and storage paths;
[0044] (3) The radar binary acquisition file *.dat is the original radar acquisition data file to be analyzed;
[0045] (4) The waveform drawing parameter configuration file plotset.xml specifies the drawing method of waveform data in the radar original acquisition data file, such as information like data type, number of channels, number of drawing windows, decimation factor, etc.
[0046] Preferably, the output files include:
[0047] (1) The *.mat file (matlab format) generated after format conversion of the binary file, which can be directly opened and processed by matlab for analysis;
[0048] (2) The *.dat file (binary file) generated after screening according to the numerical range of fields in the acquisition file, which splits files under different waveforms and radar states for convenient subsequent unified processing and analysis;
[0049] (3) The *.dat file (text file) generated after parsing the acquisition file and extracting each field by frame, which is used to analyze the numerical values of each field in each frame of data and can be opened by excel for data analysis and curve drawing.
[0050] Preferably, the intermediate process files include:
[0051] (1) The *.head index file (binary file) generated after the first opening of the radar acquisition data file, parsing the acquisition file and extracting the frame header by frame, which is used to locate the offset position of each frame of data in the file and the length of each frame of data. Since it is automatically generated only when the radar acquisition data file is opened for the first time, the processing and analysis speed is improved;
[0052] (2) disp.xml generated after parsing the header file (*.h) of the acquisition data structure, which is used to extract the field names and numerical values in each frame during mat format conversion;
[0053] (3) The *.xml acquisition data structure configuration file generated after parsing the header file (*.h) of the acquisition data structure, which is used for the treeview tree diagram display of the custom acquisition data structure;
[0054] (4) The *.xml analysis data structure configuration file generated after parsing the header file (*.h) of the acquisition data structure, which is used to extract the names and numerical values of each field in each frame of data.
[0055] Further preferably, referring to Table 1, which is the general acquisition data structure specification of the present invention, various radar acquisition data files must follow this data structure specification for acquisition in order to be parsed, processed and analyzed by the general acquisition data analysis framework.
[0056] A specific embodiment
[0057] A method for radar acquisition data, comprising:
[0058] Step 1, construct an acquisition data frame header, and according to the general acquisition data structure specification in Table 1 and the acquisition frame header structure specification in Table 2, fill 16 - word frame header information for each frame of acquisition data, including frame header flag, frame length, UTC time, waveform type and length;
[0059] Step 2, copy the control word or processing result, and according to the general acquisition data structure specification in Table 1, copy and fill fields such as the control word or processing result behind the 16 - word frame header;
[0060] Step 3, copy the waveform data, and according to the general acquisition data structure specification in Table 1, fill the waveform data at the end of each frame of data.
[0061] In a specific embodiment, the implementation manner of general analysis of radar acquisition data includes the following specific steps:
[0062] Step 1, define the acquisition data structure header file.
[0063] Write or reference the existing acquisition data structure.h header file according to the C - language programming specification and the acquisition data structure.
[0064] Step 2, implement the header file parsing module.
[0065] Write the specific implementation of the header file parsing module, which mainly completes reading and parsing the acquisition data structure definition header file written in Step 1, extracts the name, position, type, and length information of each field or data, and then saves it in xml format (generating 3 types of xml files, a configuration file for mat format conversion, an acquisition data structure configuration file for treeview display, and an analysis data structure configuration file for viewing fields frame - by - frame), facilitating the extraction of information of each field from the acquired binary file.
[0066] Step 3, implement the treeview display module.
[0067] Write the specific implementation of the treeview display module, which mainly completes reading and parsing the xml file and displaying the treeview structure tree. Realize the visual display of the acquisition data structure and support selection by dragging.
[0068] Step 4, implement the frame header index generation module.
[0069] Write the specific implementation of the frame header index generation module. This module mainly reads the radar binary recording file, automatically traverses and searches for the frame header flags of each data frame in the entire binary file, and then obtains the frame length and frame end position according to the information in the frame header. When an error occurs where the length information in the frame header is inconsistent with the actual frame length in the recording file, the error data is removed, the frame length is corrected to achieve data cleaning, and at the same time, the position and frame number of the error frame in the recording file are recorded, which is convenient for further analyzing the reason for the error in the recorded data in binary mode. At the same time, it can avoid subsequent multiple processing and analysis modules from producing incorrect results due to using incorrect data. At the same time, the frame header index generation module saves the starting offset position and frame data length of each frame of data after correction in the recording file in a separate *head frame index file for subsequent processing and analysis. The frame header index generation module only processes when the radar binary recording file is opened for the first time. When a *head frame index file already exists, it will not repeat the processing and generation of the frame header index file.
[0070] Step 5, implement the recording file parsing module.
[0071] Write the specific implementation of the recording file parsing module. This module mainly extracts the current frame data in the radar recording file according to the information in the frame index file.
[0072] Step 6, implement the field extraction module.
[0073] Write the specific implementation of the field extraction module. This module mainly extracts each field frame by frame according to the xml format recording data structure configuration file and the current frame data extracted by the file parsing module, and saves it as a text file for easy viewing and analysis of the recorded data;
[0074] Step 7, implement the binary viewing module.
[0075] Write the specific implementation of the binary viewing module. This module mainly views the original recording file in binary format according to the current frame data extracted by the file parsing module, which is convenient for positioning and analyzing problems in the original data in cooperation with the field extraction module.
[0076] Step 8, implement the waveform plotting module.
[0077] Write the specific implementation of the waveform plotting. This module mainly obtains parameters such as the format, data width, length, and step size of the waveform data according to the current frame data extracted by the file parsing module, the waveform format in the frame header, and the waveform plotting parameter configuration file, and then performs curve plotting, and supports functions such as waveform zooming, restoration, and translation.
[0078] Step 9, implement the data screening module.
[0079] Write the specific implementation of the data screening module, which mainly completes the comparison frame by frame in the admission file according to the value range of multiple fields, retrieves the data frames that meet the screening conditions, and saves them separately as files for subsequent data processing and analysis.
[0080] Step 10, implement the mat format conversion module.
[0081] Write the specific implementation of the mat format conversion module, which mainly completes the conversion of each field and waveform data into the mat format by calling the engine of matlab and saves them separately as files for subsequent data analysis and processing.
[0082] Table 1
[0083]
[0084] Table 2
[0085]
[0086] Obviously, the above-mentioned embodiments of the present invention are only examples for clearly explaining the present invention, rather than limitations on the implementation manners of the present invention. For those of ordinary skill in the art, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation manners here. Any obvious changes or modifications derived from the technical solutions of the present invention still fall within the protection scope of the present invention.
Claims
1. A general analysis system for radar recorded data, characterized in that Including: A defined header file module for writing or referencing an existing recorded data structure.h header file for radar recorded data in accordance with the C language programming specifications and the radar recorded data structure; A header file parsing module for reading and parsing the written recorded data structure.h header file to generate an xml file; A frame header index generation module for reading a radar binary recorded file according to a parameter configuration file, correcting each frame of data, and generating a frame index file; A recorded file parsing module for extracting the current frame of data from the radar binary recorded file based on the information in the frame index file according to the parameter configuration file; A field extraction module for extracting each field of the current frame of data transmitted by the analysis data structure configuration file and the file parsing module frame by frame and saving it as a text file for subsequent data analysis and processing; The xml file includes: a configuration file for mat format conversion, a recorded data structure configuration file for treeview display, and an analysis data structure configuration file for viewing fields frame by frame; The recorded data structure.h header file defines the structures of different radar recorded data, and specifies the name, position, data type, and length of each field in the recorded file; The parameter configuration file specifies the frame header flag, initial parameters, intermediate process files, and storage paths.
2. The general analysis system for radar recorded data according to claim 1, wherein The system further includes a treeview display module for reading and parsing the xml file to enable visual display of the recorded data structure and support selection by dragging.
3. The general analysis system for radar recorded data according to claim 1, characterized in that The system further includes a binary viewing module for viewing the original recorded file in binary format based on the current frame of data extracted by the file parsing module, facilitating the positioning and analysis of problems in the original data in cooperation with the field extraction module.
4. The general analysis system for radar acquisition data according to claim 1, wherein The system further includes a waveform plotting module for obtaining the format, data width, length, and step parameters of waveform data according to a waveform plotting parameter configuration file and based on the current frame of data extracted by the file parsing module, and performing curve plotting.
5. The general analysis system for radar acquisition data according to claim 1, characterized in that, The system further includes a data screening module for comparing frame by frame in the radar recorded data according to the value range of multiple fields, retrieving the data frames that meet the screening conditions, and separately saving them as binary files for subsequent data processing and analysis.
6. The general analysis system for radar acquisition data according to claim 1, wherein The system further includes a mat format conversion module for converting each field and waveform data into mat format and separately saving them as matlab files for subsequent data analysis and processing.
7. A general analysis method for radar recorded data, using the general analysis system for radar recorded data according to any one of claims 1-6, characterized in that, Including: Transmitting the radar recorded data to a general analysis system for radar recorded data; The general analysis system parses and processes the radar data and outputs files for subsequent data analysis and processing.
8. The general analysis method for radar acquisition data according to claim 7, characterized in that, The output files include matlab files converted by the mat format conversion module, binary files retrieved by the data screening module that meet the screening conditions, and text files extracted and analyzed by the field extraction module.
Citation Information
Patent Citations
Radar data analyzing method based on cloud calculation
CN103425795A
System and method for analyzing data
US20040172409A1