A method and system for preprocessing telemetry data based on frame integrity verification

By preprocessing telemetry data frames and using telemetry frame counting and synchronization code verification, correct telemetry data frames are generated, solving the problems of missing frames, out-of-order data and redundancy in telemetry data processing, and improving data quality and processing efficiency.

CN117131332BActive Publication Date: 2026-01-0610TH RES INST OF CETC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311147125.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-06
Publication Date
2026-01-06
Estimated Expiration
2043-09-06

AI Technical Summary

Technical Problem

Existing telemetry data processing methods fail to effectively perform telemetry frame data synchronization code verification, telemetry data missing frame verification, telemetry data out-of-order verification, and telemetry data redundancy verification, resulting in poor telemetry data processing quality, low efficiency, and difficulty in guaranteeing the accuracy of processing results.

Method used

Before processing telemetry data, the telemetry data frames are preprocessed. Correct and incorrect telemetry data are distinguished by telemetry frame counting and synchronization code verification. Incorrect telemetry data is then spliced ​​together to generate correct telemetry data frames.

Benefits of technology

It solves the problems of missing frames, out-of-order data, and redundancy in telemetry data, and significantly improves the quality, efficiency, and reliability of telemetry data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117131332B_ABST
    Figure CN117131332B_ABST
Patent Text Reader

Abstract

The application relates to the field of space ground control telemetry information processing technology, and discloses a telemetry data preprocessing method and system based on frame integrity checking, which comprises the following steps: before processing telemetry data, preprocessing telemetry data frames; using telemetry frame counting and synchronization code checking to distinguish correct and incorrect telemetry data; splicing the incorrect telemetry data frames to generate correct telemetry data frames. The application solves the problems of poor data quality, low efficiency and low accuracy in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of aerospace ground telemetry and telemetry information processing technology, specifically a telemetry data preprocessing method and system based on frame integrity verification. Background Technology

[0002] Currently, traditional telemetry data processing typically processes the acquired telemetry data directly according to the telemetry outline or data processing requirements, without performing preprocessing operations such as telemetry data synchronization code verification, missing frame verification, out-of-order verification, redundancy verification, frame splicing, and redundant channel removal. This results in a large number of telemetry data frames with incorrect formats and incomplete content during processing, leading to poor data quality, low processing efficiency, reduced continuity, and difficulty in guaranteeing the accuracy of the processed results.

[0003] In summary, current research on telemetry data preprocessing methods is insufficient, failing to meet the demands for high-quality and efficient telemetry data processing, and also unable to guarantee the accuracy of telemetry data processing results. Summary of the Invention

[0004] To overcome the shortcomings of existing technologies, this invention provides a telemetry data preprocessing method and system based on frame integrity verification, which solves the problems of poor data quality, low efficiency, and low accuracy in existing technologies.

[0005] The technical solution adopted by the present invention to solve the above problems is:

[0006] A telemetry data preprocessing method based on frame integrity verification preprocesses the telemetry data frames before processing: it uses telemetry frame counting and synchronization code verification to distinguish between correct and incorrect telemetry data, splices the incorrect telemetry data frames, and then generates correct telemetry data frames.

[0007] As a preferred technical solution, the steps include:

[0008] S1, Acquisition of full-frame telemetry data: The acquired raw full-frame telemetry data is verified according to the telemetry outline to obtain the full-frame telemetry data.

[0009] S2, Synchronization code verification: The synchronization code of each subframe of the full telemetry data frame is verified frame by frame. If the sub-synchronization code is verified correctly, the subframe is retained; otherwise, the subframe is discarded.

[0010] S3, Frame Count Verification: Verify the frame count of subframes that have passed the synchronization code verification frame by frame, and mark erroneous frame counts.

[0011] S4, splicing: splicing the subframes that have passed the frame count check.

[0012] As a preferred technical solution, in step S1, the telemetry outline includes the number of subframes and the data length.

[0013] In step S2, the synchronization code is either a subframe synchronization code or a subframe synchronization code.

[0014] As a preferred technical solution, in step S3, if the frame count starts from a predetermined starting value and is continuous, then there is no missing frame or out-of-order situation; if the frame count is not continuous and the number of subframes in the frame count is less than the number of subframes in the full telemetry frame data, then it is determined that a missing frame has occurred, and the frame count of the missing frame is marked; if the frame count is not continuous and the number of subframes in the frame count is equal to the number of subframes in the full telemetry frame data, then it is determined that an out-of-order situation has occurred, and the frame count of the out-of-order situation is marked.

[0015] As a preferred technical solution, in step S4, the following steps are performed on the telemetry data with missing frames:

[0016] S4A1, retrieve the frame count flag for missing frames;

[0017] S4A2, acquire the next full-frame telemetry data;

[0018] S4A3, starting from the first subframe, sequentially acquires each subframe in the full frame data;

[0019] S4A4, Frame count for parsing subframes;

[0020] S4A5, determine whether the frame count of the subframe is continuous with the frame count of the missing frame marker: if they are continuous, then concatenate the subframe to the missing frame data and increment the frame count marker by 1; if they are not continuous, repeat steps S4A3 to S4A5 until all subframes have been parsed.

[0021] S4A6 performs integrity verification on the spliced ​​data to determine whether it meets the format requirements of a full frame: if it does, the splicing ends; if it does not, the missing frame data is discarded and the frame count of the missing frame is cleared to zero.

[0022] As a preferred technical solution, in step S4, the following steps are performed on the out-of-order telemetry data:

[0023] S4B1, obtain the out-of-order frame count flag;

[0024] S4B2, retrieves subframe data with frame counts equal to the flag value from the entire frame;

[0025] S4B3: If a subframe with a frame count equal to the frame tag value is obtained, then the subframe is spliced ​​into a series of consecutive subframes to form a new series of consecutive subframes. The out-of-order frame count tag is incremented by 1. Steps S4B1 to S4B3 are repeated until all subframes are spliced. If no subframe is obtained, splicing is abandoned.

[0026] S4B3 performs integrity verification on the spliced ​​data to determine whether it meets the format requirements of the entire frame: if it does, the splicing ends; if it does not, the out-of-order full frame data is discarded.

[0027] As a preferred technical solution, the following steps are also included: A, route selection: route selection is performed according to the telemetry outline, channels that do not need telemetry processing are removed, and the remaining data frames are merged; step A is located before step S1 or after step S4.

[0028] As a preferred technical solution, each telemetry full frame includes 64 subframes, and each subframe is 240 bytes long.

[0029] A telemetry data preprocessing system based on frame integrity verification, used to implement the aforementioned telemetry data preprocessing method based on frame integrity verification, includes the following steps connected in sequence:

[0030] Telemetry full-frame data acquisition module: used to verify the data frames according to the telemetry outline to obtain the telemetry full-frame data;

[0031] Synchronization code verification module: Used to verify the synchronization code of subframes of the full telemetry data frame by frame. If the sub-synchronization code is verified correctly, the subframe is retained; otherwise, the subframe is discarded.

[0032] Frame count verification module: Used to verify the frame count of subframes that have passed the synchronization code verification frame by frame, and to mark frame counts that are incorrect.

[0033] The splicing module is used to splice subframes that have passed the frame count check.

[0034] Compared with the prior art, the present invention has the following advantages:

[0035] This invention solves the problems of missing frames, out-of-order and redundant telemetry data frames in telemetry and control information processing. It not only greatly improves the data quality of telemetry data processing, but also comprehensively enhances the efficiency and reliability of telemetry data processing. Attached Figure Description

[0036] Figure 1 This is a flowchart of a telemetry data preprocessing method based on frame integrity verification according to the present invention;

[0037] Figure 2This is a flowchart of telemetry data stitching based on frame integrity verification. Detailed Implementation

[0038] The present invention will be further described in detail below with reference to the embodiments and accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0039] Example 1

[0040] like Figures 1 to 2 As shown, in order to solve the problems of missing frames, out-of-order and redundant telemetry data in existing telemetry and control information processing, this invention provides a telemetry data preprocessing method based on frame integrity verification.

[0041] The technical solution adopted by this invention to solve its technical problem is as follows:

[0042] This invention preprocesses telemetry data frames before processing, using telemetry frame counts (frame counts being the sequence numbers of subframes within the entire telemetry frame), subframe synchronization codes, and subframe synchronization codes to distinguish between missing and out-of-order telemetry data. It also identifies redundant telemetry channel data based on telemetry data processing requirements. Missing and out-of-order telemetry data are then spliced ​​together, and redundant telemetry data undergoes frame routing. This process generates telemetry data frames with correct format and complete content.

[0043] The telemetry data preprocessing flow of the present invention includes the following main steps.

[0044] 1. For the acquired raw telemetry full-frame data, verify the data frames according to the number of subframes and the full frame length specified in the telemetry outline (the telemetry outline specifies the format of telemetry data, such as the length of the full telemetry frame data, the data length of each subframe, the synchronization code position and value, the frame count position, the channel and position of the telemetry data, etc.). This will yield telemetry full-frame data with the correct number of subframes and data length. The number of subframes and the full frame length can be modified through configuration.

[0045] 2. Verify the subframe synchronization code / subframe synchronization code of each subframe frame by frame. If the subframe synchronization code / subframe synchronization code is correct, retain the subframe; otherwise, discard the subframe.

[0046] 3. Verify the frame count of each subframe that has passed the subframe synchronization code / subframe synchronization code check. If the frame count starts from the specified starting value and is continuous, there are no missing or out-of-order frames. Otherwise, it is determined that there are missing or out-of-order frames, and the erroneous frame counts are marked. If the frame count starts from the specified starting value and is continuous, there are no missing or out-of-order frames. If the frame count is discontinuous and the number of subframes counted is less than the number of subframes in the full telemetry data, it is determined that there are missing frames, and the frame counts of missing frames are marked. If the frame count is discontinuous and the number of subframes counted is equal to the number of subframes in the full telemetry data, it is determined that there are out-of-order frames, and the frame counts of out-of-order frames are marked.

[0047] 4. For telemetry data with missing frames, acquire the next complete telemetry frame and compare the frame count with the marked frame count of the previous frame. If the frame counts of two data frames are consecutive, concatenate the two frames and increment the marked frame count. Repeat the above steps until the concatenated data reaches the specified number of subframes, obtaining the telemetry data after concatenation of missing frames. If the frame counts of two data frames are not consecutive, discard the previous frame and reset the marked frame count to zero, then continue judging for missing frames and out-of-order data from the current frame.

[0048] 5. For telemetry data with out-of-order frames, starting from the subframe with a specified initial frame count value, perform subframe stitching frame by frame in the current telemetry full frame to generate the processed telemetry full frame data. If the frame count is discontinuous or the number of subframes after stitching does not meet the expected value, the full frame is discarded.

[0049] 6. In telemetry data processing, often only data from certain channels is of interest, while most other data is redundant, increasing the amount of data to be processed. In this case, channel selection can be performed according to the telemetry outline, eliminating channels that do not require telemetry processing, and merging the remaining data frames to obtain the preprocessed full-frame telemetry data. (This step can be placed before step 1 or after step 5.)

[0050] 7. Repeat steps 1 to 6 to complete the entire preprocessing process.

[0051] The beneficial effects of this invention are:

[0052] This invention solves the problems of missing frames, out-of-order and redundant telemetry data frames in telemetry and control information processing. It not only greatly improves the data quality of telemetry data processing, but also comprehensively enhances the efficiency and reliability of telemetry data processing.

[0053] Example 2

[0054] like Figures 1 to 2 As shown, as a further optimization of Embodiment 1, this embodiment also includes the following technical features based on Embodiment 1:

[0055] A telemetry data preprocessing method based on frame integrity verification includes the following steps:

[0056] Step 1: Verify the acquired raw telemetry full-frame data according to the number of subframes and the full frame length specified in the telemetry outline to obtain telemetry full-frame data with the correct number of frames and data length.

[0057] Step 2: Verify the subframe synchronization code / subframe synchronization code of each subframe frame by frame. If the subframe synchronization code / subframe synchronization code is correct, retain the subframe; otherwise, discard the subframe.

[0058] Step 3: Analyze the frame count in the subframe and perform frame missing and out-of-order checks on the telemetry data.

[0059] Step 4: Perform data frame splicing on telemetry data that are determined to be missing or out of order.

[0060] Step 5: Based on the telemetry outline, select channels, remove channels that do not require telemetry processing, and merge the remaining data frames to obtain the preprocessed full-frame telemetry data.

[0061] Preferably, the method for verifying missing frames and out-of-order order of telemetry data in step 3 is as follows: the frame count of subframes that have passed the subframe synchronization code / subframe synchronization code verification is checked frame by frame. If the frame count starts from a specified starting value and is continuous, then there is no missing frame or out-of-order order. Otherwise, it is determined that there is a missing frame or out-of-order order, and the erroneous frame count is marked.

[0062] Preferably, the method for stitching telemetry data in step 4 is as follows: For telemetry data with missing frames, obtain the next complete telemetry frame data, and compare the frame count with the frame count marked in the previous frame frame by frame. If the frame counts of two data frames are consecutive, stitch the two frames together, and increment the marked frame count by one. Repeat the above steps until the stitched data reaches the specified number of subframes, obtaining the telemetry data after stitching the missing frames. If the frame counts of two data frames are not consecutive, discard the previous frame data and clear the marked frame count to zero. For telemetry data with out-of-order frames, starting from the subframe with a frame count that has a specified initial value in this complete telemetry frame, stitch the subframes downwards frame by frame to generate the processed complete telemetry frame data. If the frame count is not consecutive during stitching or the number of subframes after stitching does not meet the expected value, discard the complete frame.

[0063] Figure 1 The flowchart of a telemetry data preprocessing method based on frame integrity verification according to the present invention is shown, and the main steps include:

[0064] Step S01: Telemetry data frame length verification.

[0065] In this embodiment, the telemetry preprocessing software of an aerospace telemetry and control information system is used as an example. According to mission requirements, each telemetry full frame includes 64 subframes, each subframe is 240 bytes long, and each subframe is preceded by 8 bytes of time code. Therefore, the length of a complete telemetry full frame should be 15872 bytes. The length of the telemetry data collected by the user is checked. Since a packet of telemetry data may contain multiple telemetry full frames, the length of the telemetry data should be an integer multiple of 15872 bytes during length checking. Data that conforms to the telemetry frame length is processed further, while data that does not conform to the telemetry frame length is discarded.

[0066] Step S02: Telemetry data subframe synchronization code / subframe synchronization code verification.

[0067] The telemetry data subframe synchronization code / subframe synchronization code is verified on a per-frame basis. Different types and models of telemetry equipment use different subframe / subframe synchronization codes. In the aerospace telemetry and control information system, according to mission requirements, the telemetry subframe synchronization code is 0x9ABCB52C, and the subframe synchronization code is its inverse, 0x65434AD3. First, the content and location of the subframe / subframe synchronization code are determined from the configuration file. Then, each frame is verified sequentially. Telemetry data that conforms to the subframe / subframe synchronization code is processed further, while incompatible data is discarded.

[0068] Step S03: Telemetry data missing frame and out-of-order verification.

[0069] The verification of missing frames and out-of-order order in telemetry data is mainly done by judging the frame count in the telemetry data. In the aerospace telemetry and control information system, according to mission requirements, each telemetry full frame contains 64 subframes, with subframe numbers from 0x00 to 0x3F. If the frame count starts from the specified starting value of 0x00 and ends at 0x3F and the frame count is continuous, then there is no missing frame or out-of-order situation. Otherwise, it is judged that there is a missing frame or out-of-order situation, and the erroneous frame count is marked.

[0070] Step S04: Telemetry data stitching.

[0071] Figure 2 The flowchart of telemetry data stitching based on frame integrity verification provided by this invention mainly realizes the stitching of telemetry data that is determined to be missing frames or out of order. The specific steps are as follows:

[0072] Step 1: Obtain the frame count of the missing frame marker from the telemetry data of the missing frames.

[0073] Step 2: Obtain the next full-frame telemetry data.

[0074] Step 3: Starting from the first subframe, acquire each subframe in the full frame data one by one.

[0075] Step 4: parse the frame count of the subframe.

[0076] Step 5: Determine if the frame count and the frame count of the missing frame marker are consecutive. If consecutive, append the missing frame to the missing frame data and increment the frame count by 1. If not consecutive, repeat steps 3-5 until all subframes have been parsed.

[0077] Step 6: Perform integrity verification on the spliced ​​telemetry data to determine whether it meets the format requirements of the full frame.

[0078] Step 7: If the conditions are met, the splicing ends; otherwise, discard the missing frame data and clear the missing frame marker.

[0079] Step 8: Set the frame flag to 0 for out-of-order telemetry data.

[0080] Step 9: Analyze each frame in the entire frame to obtain the subframe data whose frame count is the marked value.

[0081] Step 10: If a subframe with a frame count equal to the frame tag value is obtained, then the subframe is concatenated and the frame count tag is incremented by 1. If no subframe is obtained, it means the frame count is discontinuous, and the concatenation is abandoned.

[0082] Step 11: Perform the verification step 6 on the spliced ​​data. If the verification is successful, the splicing ends; if the verification fails, the out-of-order full frame data is discarded.

[0083] Step S05: Telemetry data frame routing.

[0084] Based on the requirements of the telemetry data processing task, the channel numbers of the telemetry data that need to be routed are configured. The preprocessing process reads the channel configuration information that needs to be routed, removes channels that do not need telemetry processing from the full telemetry frame frame by frame, and merges the remaining data frames to obtain the preprocessed full telemetry frame data.

[0085] As described above, the present invention can be implemented well.

[0086] All features disclosed in all embodiments of this specification, or steps in all methods or processes implied in the disclosure, may be combined and / or extended or replaced in any way, except for mutually exclusive features and / or steps.

[0087] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Based on the technical essence of the present invention, any simple modifications, equivalent substitutions, and improvements made to the above embodiments within the spirit and principles of the present invention shall still fall within the protection scope of the present invention.

Claims

1. A telemetry data pre-processing method based on frame integrity check, characterized in that, Before processing telemetry data, the telemetry data frame is preprocessed: the correct and incorrect telemetry data is distinguished by using telemetry frame count and synchronization code check, the data frame of incorrect telemetry data is spliced, and then the correct telemetry data frame is generated, the method comprises the following steps: S1, telemetry full frame data acquisition: according to the telemetry outline, the original telemetry full frame data collected is checked, and the telemetry full frame data is obtained; S2, synchronization code check: the synchronization code of the sub frame of the telemetry full frame data is checked frame by frame, if the sub synchronization code check is correct, the sub frame is reserved, otherwise the sub frame is rejected; S3, frame count check: the frame count of the sub frame whose synchronization code check is passed is checked frame by frame, and the incorrect frame count is marked; S4, splicing: the sub frame which passes the frame count check is spliced; In step S4, for the telemetry data with missing frames, the following steps are performed: S4A1, acquiring the frame count mark of the missing frame; S4A2, acquiring the next telemetry full frame data; S4A3, starting from the first sub frame, each sub frame in the full frame data is acquired one by one; S4A4, analyzing the frame count of the sub frame; S4A5, judging whether the frame count of the sub frame is continuous with the frame count of the missing frame mark: if continuous, the sub frame is spliced after the missing frame data, and the frame count mark is increased by 1; if not continuous, steps S4A3 to S4A5 are repeated until all sub frames are analyzed; S4A6, the integrity of the spliced data is checked to judge whether it meets the format requirements of the full frame: if it meets, the splicing is ended; if it does not meet, the missing frame data is discarded, and the frame count mark of the missing frame is cleared; In step S4, for the telemetry data with missing frames, the following steps are performed: S4A1, acquiring the frame count mark of the missing frame; S4A2, acquiring the next telemetry full frame data; S4A3, starting from the first sub frame, each sub frame in the full frame data is acquired one by one; S4A4, analyzing the frame count of the sub frame; S4A5, judging whether the frame count of the sub frame is continuous with the frame count of the missing frame mark: if continuous, the sub frame is spliced after the missing frame data, and the frame count mark is increased by 1; if not continuous, steps S4A3 to S4A5 are repeated until all sub frames are analyzed; S4A6, the integrity of the spliced data is checked to judge whether it meets the format requirements of the full frame: if it meets, the splicing is ended; if it does not meet, the missing frame data is discarded, and the frame count mark of the missing frame is cleared; 2. The telemetry data preprocessing method based on frame integrity check according to claim 1, characterized in that, In step S1, the telemetry outline includes the number of sub frames and the data length.

3. The telemetry data preprocessing method based on frame integrity check according to claim 1, characterized in that, In step S2, the synchronization code is the sub frame synchronization code or the sub frame synchronization code.

4. The telemetry data preprocessing method based on frame integrity check according to claim 1, characterized in that, In step S3, if the frame count starts from the specified starting value and is continuous, there is no missing frame or out-of-order situation; if the frame count is not continuous and the number of sub frames of the frame count is less than the number of sub frames of the telemetry full frame data, it is determined that the missing frame appears, and the frame count of the missing frame is marked; If the frame count is not continuous and the number of sub frames of the frame count is equal to the number of sub frames of the telemetry full frame data, it is determined that the out-of-order appears, and the frame count of the out-of-order is marked.

5. The telemetry data preprocessing method based on frame integrity check according to claim 1, characterized in that, Further comprising the following steps: A, route selection: according to the telemetry outline, the channel which does not need telemetry processing is removed, and the remaining data frame is merged; step A is located before step S1 or after step S4.

6. The telemetry data preprocessing method based on frame integrity check according to claim 1, characterized in that, Each telemetry full frame includes 64 sub-frames, each of which is 240 bytes long.

7. A telemetry data pre-processing system based on frame integrity check, characterized by, The telemetry data preprocessing method based on frame integrity check comprises the following steps connected in sequence: The telemetry full frame data acquisition module is used to check the data frame according to the telemetry outline based on the collected original telemetry full frame data, and obtain the telemetry full frame data. The synchronization code check module is used to check the synchronization code of the sub-frames of the telemetry full frame data frame by frame, if the sub-synchronization code check is correct, the sub-frame is retained, otherwise the sub-frame is rejected. The frame count check module is used to check the frame count of the sub-frames whose synchronization code check is passed, and mark the wrong frame count. The splicing module is used to splice the sub-frames whose frame count check is passed.

Citation Information

Patent Citations

  • Method for uploading and processing electric load task on small satellite

    CN101969359A

  • Method for dynamically analyzing satellite telemetry data based on json

    CN110297826A