General track file management method based on template

Through the general track archive management method based on templates, the problem of difficult reuse of track archives in traditional radar display software is solved, and the rapid development and efficient code reuse of radar display software is realized to meet the needs of multi-radar display.

CN120542399APending Publication Date: 2025-08-26NANJING RES INST OF ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510617047.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2025-08-26

AI Technical Summary

Technical Problem

The aerial track files in traditional radar display software are difficult to reuse, and the internal attribute structure needs to be frequently modified, resulting in low development efficiency and many repetitive work, and the aerial track files of different radar display software are difficult to reuse.

Method used

Adopt a general track archive management method based on templates. By configuring track template files, creating track archives, analyzing external track data, writing track archives and updating display signs, the internal track interface is unified, and track archives are supported to create track archives from configuration files, providing attribute value interpretation set configuration and quick access interface.

Benefits of technology

It improves the development efficiency and code reuse rate of radar display software, reduces repetitive work, shortens the development cycle, and supports track data management under multi-radar situation display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120542399A_ABST
    Figure CN120542399A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of radar data processing, in particular to a template-based general track file management method. Comprising the following steps of configuring a track template file, creating a track file, analyzing external track data, writing the track file, traversing the track file and updating a display label. According to the method, the creation mode of the track internal interface is unified, and rapid development and iteration of radar display software are facilitated; for different track interface requirements of any radar, the method supports the creation of the track file from the configuration file, and improves the development efficiency and the code reuse rate. According to the method, a method for configuring an attribute value interpretation set of an integer data type is provided, a quick access interface is provided, and repeated attribute value interpretation work is reduced; according to the method, independent creation and respective management of multiple track files are supported, and track data management in a multi-radar situation display scene is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of radar data processing, and in particular to a template-based universal track file management method. Background Art

[0002] Radar display software carries radar information display and human-computer interaction functions, and is an important component of modern radar. Radar track data management and display are the core functions of radar display software.

[0003] In traditional radar display software, track files are mostly defined by internally defining track attribute structures. External track data is then parsed and converted into internal track structures. When drawing track signs, each internal attribute is manually read to organize the sign display content. However, facing the ever-changing radar display requirements, this method has the following shortcomings:

[0004] 1) When track attributes are added or modified, the previously defined internal track attribute structure must be modified accordingly. All related codes must be modified and the software needs to be recompiled, which takes a long time to adapt to such changes.

[0005] 2) During the development of new radars, due to the different requirements of different radar display software for track display, the track files of existing radar display software are difficult to reuse. Either new development is required or a large number of modifications are made to the original track file code.

[0006] In summary, when faced with different radar display requirements, the problem is that track files are difficult to reuse, and the track attribute structure defined in the software needs to be frequently modified, resulting in a large amount of repetitive work and low development efficiency. Summary of the Invention

[0007] This embodiment overcomes the shortcomings of the existing technology and provides a template-based universal track file management method, which solves the problem that track files in traditional radar display software are difficult to reuse. This method can reduce a large amount of repetitive work in the radar display software development process, improve software development efficiency, reduce development costs, and shorten the development cycle.

[0008] A template-based general track file management method includes the following steps:

[0009] S1: Configuring a track template file: The track template file stores the attribute configuration of each attribute of the track point, and the attribute configuration includes a data type;

[0010] S2: Create track file: Based on the maximum number of track targets C given by the user, the maximum number of track points for each track target m, and the data type of the attribute of each track point in the track template file, allocate memory space for the attribute value of each track point and generate a mapping relationship table; the mapping relationship table records the memory offset and attribute byte length of each attribute of the track point;

[0011] S3: Parsing external track data: Receive external track data, allocate temporary memory space, and write the values ​​of various attributes of each track point of the external track data into the temporary memory space according to the track template file;

[0012] S4: Writing to the track file: Verify the data structure in the temporary memory space. After the verification is passed, determine whether the track target corresponding to the external track data exists in the track file. If it does, update the data of the corresponding track target in the track file according to the data in the temporary memory space; if it does not exist, use the idle track target storage space to store it, and update the current real-time track target number n;

[0013] S5: traverse all real-time track targets in the track file;

[0014] S6: Update the display sign: Based on the result of traversing the track archive, update the attributes of the latest track point of each track target to the display sign.

[0015] Preferably, in step S1, the attribute configuration further includes an ID number, a data name, a prefix, a suffix, and an open display flag.

[0016] Preferably, in step S1, the attribute whose data type is integer is also provided with an attribute value interpretation set as needed;

[0017] In step S2, if an attribute in the track template file has an attribute value interpretation set, the corresponding attribute in the mapping relationship table also stores the attribute value interpretation set;

[0018] In step S6, the method for updating the attributes of each track point to display the sign is:

[0019] If the attribute is configured with an attribute value interpretation set, the attribute interpretation corresponding to the attribute value in the attribute value interpretation set of the attribute is updated to the display sign;

[0020] If the attribute does not have a configured attribute value interpretation set, the attribute value of the attribute is directly updated to the display label.

[0021] Preferably, in step S5, all real-time track targets in the track file are traversed by:

[0022] when When , use the sequence number count to traverse;

[0023] when When traversing, use the position index.

[0024] Beneficial effects:

[0025] 1. This method unifies the creation of internal track interfaces, which facilitates the rapid development and iteration of radar display software;

[0026] 2. For different track interface requirements of any radar, this method supports creating track files from configuration files, which improves development efficiency and code reuse rate;

[0027] 3. This method provides a method for configuring the attribute value interpretation set of integer data types and provides a quick access interface to reduce repeated attribute value interpretation work;

[0028] 4. This method supports the independent creation and management of multiple track files, which is helpful for track data management in multi-radar situation display scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is the overall flow chart of the method of this embodiment;

[0030] Figure 2 This is a diagram showing the contents of the track template configuration file of this embodiment;

[0031] Figure 3 This is a diagram of the track file data structure of this embodiment;

[0032] Figure 4 This is a flow chart of track file traversal and sign content update in this embodiment. DETAILED DESCRIPTION

[0033] In order to make the purposes, features, and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0034] like Figure 1 As shown, a template-based general track file management method includes the following steps:

[0035] S1: Configuring the track template file: The track template file stores the attribute configuration of each attribute of the track point, including the ID number, data type, data name, prefix, suffix, and open display flag. For attributes with an integer data type, an attribute value interpretation set is also provided as needed.

[0036] like Figure 2 As shown in the figure, the track point includes 5 attributes, each of which includes an ID number, data type, data name, prefix, suffix, and open display flag; the attribute with ID number "99999" and data name "track type" has an unsigned integer data type, and this attribute also has an attribute value interpretation set to interpret the value of this attribute: when the value of this attribute is 0, it means "primary radar track", and when the value of this attribute is 1, it means "secondary radar track".

[0037] S2: Create a track file: Based on the maximum number of track targets C given by the user, the maximum number of track points for each track target m, and the memory usage of each track point in the track template file (which can be obtained based on the data type), memory space is allocated for the attribute value of each track point, and a mapping relationship table is generated; the mapping relationship table records the memory offset and attribute byte length of each attribute of each track point. If an attribute in the track template file has an attribute value interpretation set, the corresponding attribute in the mapping relationship table also stores the attribute value interpretation set.

[0038] like Figure 3 As shown, the memory space required to store the attribute values ​​of the track file is L:

[0039] .

[0040] S3: Parsing external track data: Receive external track data, allocate temporary memory space, and write the values ​​of various attributes of each track point of the external track data into the temporary memory space according to the track template file;

[0041] S4: Writing to the track file: Verify the data structure in the temporary memory space. After the verification is passed, determine whether the track target corresponding to the external track data exists in the track file. If it does, update the data of the corresponding track target in the track file according to the data in the temporary memory space; if it does not exist, use the idle track target storage space to store it, and update the current real-time track target number n;

[0042] S5: If Figure 4 Displays the real-time track targets in the track file:

[0043] when When , use the sequence number count to traverse;

[0044] when When traversing, use the position index;

[0045] S6: As Figure 4 Update the display sign: According to all the track targets traversed, the attributes of the latest track point of each track target are:

[0046] If the attribute is configured with an attribute value interpretation set, the attribute interpretation corresponding to the attribute value in the attribute value interpretation set of the attribute is updated to the display sign;

[0047] If the attribute does not have a configured attribute value interpretation set, the attribute value of the attribute is directly updated to the display label.

[0048] The above is only a preferred implementation of this embodiment. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of this embodiment. These improvements and modifications should also be regarded as within the scope of protection of this embodiment.

Claims

1. A template-based general track file management method, characterized in that: The following steps are involved: S1: Configuring a track template file: The track template file stores the attribute configuration of each attribute of the track point, and the attribute configuration includes a data type; S2: Create track file: Based on the maximum number of track targets C given by the user, the maximum number of track points for each track target m, and the data type of the attribute of each track point in the track template file, allocate memory space for the attribute value of each track point and generate a mapping relationship table; the mapping relationship table records the memory offset and attribute byte length of each attribute of the track point; S3: Parsing external track data: Receive external track data, allocate temporary memory space, and write the values ​​of various attributes of each track point of the external track data into the temporary memory space according to the track template file; S4: Writing to the track file: Verify the data structure in the temporary memory space. After the verification is passed, determine whether the track target corresponding to the external track data exists in the track file. If it does, update the data of the corresponding track target in the track file according to the data in the temporary memory space; if it does not exist, use the idle track target storage space to store it, and update the current real-time track target number n; S5: traverse all real-time track targets in the track file; S6: Update the display sign: Based on the result of traversing the track archive, update the attributes of the latest track point of each track target to the display sign.

2. A template-based general track file management method according to claim 1, characterized in that: In step S1, the attribute configuration further includes an ID number, a data name, a prefix, a suffix, and an open display flag.

3. A template-based general track file management method according to claim 1, characterized in that: In step S1, the attribute whose data type is integer is also provided with an attribute value interpretation set as needed; In step S2, if an attribute in the track template file has an attribute value interpretation set, the corresponding attribute in the mapping relationship table also stores the attribute value interpretation set; In step S6, the method for updating the attributes of each track point to display the sign is: If the attribute is configured with an attribute value interpretation set, the attribute interpretation corresponding to the attribute value in the attribute value interpretation set of the attribute is updated to the display sign; If the attribute does not have a configured attribute value interpretation set, the attribute value of the attribute is directly updated to the display label.

4. A template-based general track file management method according to claim 1, characterized in that: In step S5, all real-time track targets in the track file are traversed by: when When , use the sequence number count to traverse; when When traversing, use the position index.