Rocket telemetry data processing method, device, electronic equipment and storage medium
By reading the telemetry data frame count list and subframe synchronization word into the buffer area, high-quality target subframes are determined and spliced, which solves the problem that high-quality rocket telemetry data cannot be accurately obtained in the prior art, and realizes splicing of high-quality data and handle.
Patent Information
- Application Number
- CN202411337333.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-09-25
AI Technical Summary
The prior art cannot accurately obtain high-quality rocket telemetry data, resulting in data loss or data errors.
By reading multiple telemetry data into the buffer area with the full frame as the smallest unit, a frame count list is obtained, and the target full frame is determined based on the frame count, combined with the synchronization word of the subframe, a high-quality target sub-is determined from the full frame to be optimized. frames, and then splicing to obtain high-quality second telemetry data.
It realizes accurate splicing of high-quality rocket telemetry data, improves data integrity and accuracy, and avoids data loss or code errors.
Smart Images

Figure CN118869056B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of telemetry data processing, and in particular to a method, device, electronic equipment and storage medium for processing rocket telemetry data. Background Art
[0002] During the actual flight of the rocket, multiple telemetry ground stations will be deployed on the ground along the rocket's flight trajectory to ensure that the rocket's entire telemetry data can be received; since each telemetry ground station is located in a different position, the size and coverage time of the telemetry data it receives are inconsistent, and the data quality varies. The first and last data of the telemetry data from adjacent ground stations will also be repeated.
[0003] In the process of processing telemetry data, it is necessary to sort and splice the telemetry data of each station to obtain a complete, non-repetitive and continuous telemetry data; in related technologies, the processing of telemetry data is generally carried out in chronological order, and the data of each station are cross-referenced and analyzed, de-duplicated, and finally the data of each station are spliced. However, this method cannot accurately find the telemetry data with the best quality during the data splicing process, which may result in data loss or data errors in the final data.
[0004] It can be seen that the rocket telemetry data processing method in the related art has the technical problem of being unable to accurately obtain high-quality telemetry data. Summary of the invention
[0005] The present invention provides a rocket telemetry data processing method, device, electronic equipment and storage medium, which are used to solve the technical problem that the rocket telemetry data processing method in the related art cannot accurately obtain high-quality telemetry data.
[0006] The present invention provides a method for processing rocket telemetry data, comprising the following steps: reading a plurality of first telemetry data into a buffer with a full frame as the minimum unit, wherein each of the plurality of first telemetry data includes a group of full frames; obtaining a frame count list, wherein the frame count list includes frame counts of all full frames in the buffer, and each frame count in the frame count list corresponds to at least one full frame in the buffer; using each frame count in the frame count list as a target frame count to perform the following steps to obtain a target full frame corresponding to the target frame count, and splicing a plurality of target full frames in the order of the frame count list to obtain second telemetry data: determining a group of full frames to be optimized, wherein each full frame to be optimized in the group of full frames to be optimized is a full frame in the buffer corresponding to the target frame count, and each full frame to be optimized in the group of full frames to be optimized includes a group of subframes; in the case where the group of full frames to be optimized includes a plurality of full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, determining a group of target subframes for constituting the target full frame from the group of full frames to be optimized.
[0007] According to a method for processing rocket telemetry data provided by the present invention, after determining a group of full frames to be optimized, it also includes: when the group of full frames to be optimized includes one full frame to be optimized, determining the one full frame to be optimized as the target full frame.
[0008] According to a method for processing rocket telemetry data provided by the present invention, when the group of full frames to be optimized includes multiple full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, a group of target subframes used to form the target full frame are determined from the group of full frames to be optimized, including: determining the target full frame to be optimized, the target full frame to be optimized is the full frame to be optimized with the most qualified subframes in the group of full frames to be optimized, and the synchronization words of the qualified subframes are equal to a preset expected value; when the number of the qualified subframes in the target full frame to be optimized is equal to a preset frame value, determining the target full frame to be optimized as the target full frame, wherein the preset frame value is obtained by subtracting a preset value from the sub-frame length of the target full frame to be optimized.
[0009] According to a method for processing rocket telemetry data provided by the present invention, after determining the target full frame to be optimized, the method further includes: when the number of the target-reaching subframes in the target full frame to be optimized is less than the preset frame value, determining a group of subframes to be reached, wherein the group of subframes to be reached are subframes in the target full frame to be optimized whose synchronization words are not equal to the preset expected value; taking each subframe to be reached in the group of subframes to be reached as a target subframe to be reached and executing the following steps to obtain a target replacement subframe corresponding to the target subframe to be reached, and replacing the group of subframes to be reached in the target full frame to be optimized with a group of target replacement subframes. , obtain the group of target subframes: traverse a group of other full frames to be optimized, and obtain a group of replacement subframes to be confirmed from the group of other full frames to be optimized, wherein the position of each replacement subframe to be confirmed in the group of replacement subframes to be confirmed in the corresponding other full frames to be optimized is the same as the position of the target subframe to be achieved in the target full frame to be optimized, and the group of other full frames to be optimized are the full frames to be optimized in the group of full frames to be optimized except the target full frame to be optimized; when there is a replacement subframe to be confirmed in the group of replacement subframes to be confirmed whose synchronization word is equal to the preset expected value, the replacement subframe to be confirmed is determined as the target replacement subframe.
[0010] According to a method for processing rocket telemetry data provided by the present invention, after traversing a group of other full frames to be optimized and obtaining a group of replacement subframes to be confirmed from the group of other full frames to be optimized, the method also includes: when there is no synchronization word of the replacement subframe to be confirmed equal to the preset expected value in the group of replacement subframes to be confirmed, calculating the bit error rates of the group of replacement subframes to be confirmed and the target subframes to be achieved; selecting the subframe with the smallest bit error rate among the group of replacement subframes to be confirmed and the target subframes to be achieved as the target replacement subframe.
[0011] According to a method for processing rocket telemetry data provided by the present invention, before reading multiple first telemetry data into a cache area with a full frame as the smallest unit, the method also includes: dividing the target telemetry data into first target telemetry data and second target telemetry data, wherein the initial multiple first telemetry data include the target telemetry data and other telemetry data, the first target telemetry data is the telemetry data before rocket ignition, and the second target telemetry data is the telemetry data after rocket ignition; merging the second target telemetry data and the other telemetry data to obtain the multiple first telemetry data.
[0012] According to a method for processing rocket telemetry data provided by the present invention, after splicing multiple target full frames in the order of the frame count list to obtain second telemetry data, the method also includes: splicing the first target telemetry data and the second telemetry data to obtain third telemetry data.
[0013] The present invention also provides a rocket telemetry data processing device, comprising the following modules: a reading module, used to read multiple first telemetry data into a buffer area with a full frame as the smallest unit, wherein each of the multiple first telemetry data includes a group of full frames; an acquisition module, used to acquire a frame count list, wherein the frame count list includes frame counts of all full frames in the buffer area, and each frame count in the frame count list corresponds to at least one full frame in the buffer area; an execution module, used to use each frame count in the frame count list as a target frame count to execute the following steps to obtain a frame count corresponding to the target frame count. A target full frame corresponding to the mark frame count, and multiple target full frames are spliced in the order of the frame count list to obtain second telemetry data: a group of full frames to be optimized is determined, wherein each full frame to be optimized in the group of full frames to be optimized is a full frame in the cache area corresponding to the target frame count, and each full frame to be optimized in the group of full frames to be optimized includes a group of subframes; when the group of full frames to be optimized includes multiple full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, a group of target subframes for constituting the target full frame are determined from the group of full frames to be optimized.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for processing rocket telemetry data as described in any one of the above is implemented.
[0015] 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 implements the method for processing rocket telemetry data as described in any one of the above.
[0016] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-described methods for processing rocket telemetry data.
[0017] The rocket telemetry data processing method, device, electronic device and storage medium provided by the present invention determine a group of high-quality target subframes from a group of full frames to be optimized based on the synchronization words of the subframes of each full frame to be optimized in a group of full frames to be optimized, obtain a high-quality target full frame composed of a group of target subframes, and splice multiple target full frames in the order of a group of frame counts to obtain high-quality second telemetry data. Through the rocket telemetry data processing method of the present invention, multiple first telemetry data can be spliced to obtain high-quality second telemetry data, thereby solving the technical problem that the rocket telemetry data processing method in the related art cannot accurately obtain high-quality telemetry data, thereby improving the data quality of the telemetry data. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 It is one of the flow charts of the method for processing rocket telemetry data provided by the present invention.
[0020] Figure 2 This is the second flow chart of the method for processing rocket telemetry data provided by the present invention.
[0021] Figure 3 This is the third flow chart of the method for processing rocket telemetry data provided by the present invention.
[0022] Figure 4 This is the fourth flow chart of the method for processing rocket telemetry data provided by the present invention.
[0023] Figure 5 It is a schematic diagram of the structure of the rocket telemetry data processing device provided by the present invention.
[0024] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 creative work are within the scope of protection of the present invention.
[0026] It should be noted that in the description of the present invention, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0027] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0028] When a rocket is tested in a laboratory or assembly plant, test personnel are generally only equipped with one telemetry station to receive the telemetry data of the entire rocket test. The telemetry data received in this way is definitely correct, unique and continuous, and there is no telemetry data splicing process. However, during the actual flight of the rocket, multiple telemetry ground stations will be deployed on the ground along the rocket's flight trajectory to ensure that the rocket's entire telemetry data can be received. Since each telemetry ground station is located in a different position, the size and coverage time of the telemetry data it receives are inconsistent, and the data quality varies. The first and last data of the telemetry data from adjacent ground stations will also be repeated.
[0029] In the process of processing telemetry data, it is necessary to sort and splice the telemetry data of each station to obtain a complete, non-repetitive and continuous telemetry data; in the related art, the processing of telemetry data is generally carried out in chronological order, and the data of each station is cross-referenced and analyzed, de-duplicated, and finally the data of each station is spliced, but this method cannot accurately find the best quality telemetry data during the data splicing process, which may cause the final data to be lost or have data errors. It can be seen that the processing method of rocket telemetry data in the related art has the technical problem of not being able to accurately obtain high-quality telemetry data.
[0030] To solve at least some of the above problems, the following Figure 1-Figure 6 The invention describes the rocket telemetry data processing method, device, electronic equipment and storage medium provided by the invention.
[0031] The method for processing rocket telemetry data provided by the present invention can be applied to the scenario of processing multiple telemetry data measured by multiple telemetry ground stations; the method for processing rocket telemetry data provided by the present invention can be executed by a server, and the server is used to receive multiple telemetry data measured by multiple telemetry ground stations, and execute the method for processing rocket telemetry data provided by the present invention on the multiple telemetry data.
[0032] Figure 1 FIG. 1 is one of the flow charts of the method for processing rocket telemetry data provided by the present invention, such as Figure 1 As shown, including but not limited to the following steps:
[0033] Step 101 : read a plurality of first telemetry data into a buffer area with a full frame as the minimum unit, wherein each of the plurality of first telemetry data includes a group of full frames.
[0034] The multiple first telemetry data are telemetry data measured respectively by multiple telemetry ground stations during the rocket launch process. The first telemetry data may include different time periods during the rocket launch process. For example, a telemetry ground station closer to the rocket launch point can measure the telemetry data in the early stage of the rocket launch, and a telemetry ground station farther away from the rocket launch point can measure the telemetry data in the later stage of the rocket launch.
[0035] Here, the buffer area is used to store multiple full frames of the first telemetry data for implementation of subsequent processing steps, and the buffer area can be set in the server.
[0036] Each of the multiple first telemetry data includes a group of full frames. Here, the full frame refers to a complete data transmission unit in telemetry technology, which includes all necessary information that the telemetry system needs to transmit.
[0037] In this embodiment, multiple first telemetry data are read into the cache area with the full frame as the smallest unit. Since the multiple first telemetry data are telemetry data measured by multiple telemetry ground stations during the rocket launch process, there may be full frames acquired at the same time between different first telemetry data, and the frame counts of the full frames acquired at the same time are the same; here, the frame count is a unique serial number used to identify the full frame.
[0038] Step 102: Obtain a frame count list, wherein the frame count list includes frame counts of all full frames in the buffer, and each frame count in the frame count list corresponds to at least one full frame in the buffer.
[0039] The frame count list includes the frame counts of all full frames in the cache. The full frames in the cache include the telemetry data of the entire rocket launch process. Therefore, the frame count list records the frame counts of the entire rocket launch process; each frame count in the frame count list corresponds to at least one full frame in the cache.
[0040] Step 103, taking each frame count in the frame count list as a target frame count and executing the following steps to obtain a target full frame corresponding to the target frame count, and splicing multiple target full frames in the order of the frame count list to obtain second telemetry data:
[0041] Step 1031, determining a group of full frames to be optimized, wherein each full frame to be optimized in the group of full frames to be optimized is a full frame corresponding to the target frame count in the buffer area, and each full frame to be optimized in the group of full frames to be optimized includes a group of subframes;
[0042] Step 1032: when a group of full frames to be optimized includes multiple full frames to be optimized, a group of target subframes for constituting a target full frame is determined from the group of full frames to be optimized based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized.
[0043] A group of full frames to be optimized includes at least one full frame to be optimized, and each full frame to be optimized includes a group of subframes. Here, the subframe is the next level time or data unit of the full frame, that is, the full frame is composed of multiple subframes.
[0044] In the case where a group of full frames to be optimized includes multiple full frames to be optimized, a group of target subframes for constituting a target full frame is determined from the group of full frames to be optimized based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized; based on the synchronization words of the subframes, it can be determined whether the subframe is a high-quality subframe, and then a group of target subframes for constituting the target full frame can be determined from the group of full frames to be optimized, where each subframe in the group of target subframes is a high-quality subframe, and a high-quality subframe means that the data quality of the subframe is better and the data accuracy of the subframe is higher.
[0045] It should be noted that the specific method of judging whether a subframe is a high-quality subframe based on the synchronization word of the subframe may be to judge whether the synchronization word of the subframe meets the preset expected value, and judge the subframe to be a high-quality subframe if the synchronization word of the subframe meets the preset expected value; it may also be to compare the synchronization word of the subframe with a preset threshold, and judge the subframe to be a high-quality subframe if the synchronization word of the subframe is greater than or equal to the preset threshold.
[0046] Exemplarily, a group of full frames to be optimized includes three full frames to be optimized, namely A, B, and C. Each full frame to be optimized includes 64 subframes. There are three subframes to choose from for each position corresponding to each subframe in a group of target subframes. For the subframe position with sequence number 1, the first subframe in A, B, and C can be identified and judged based on the synchronization word of the subframe, and the subframe with the highest quality is selected as the first subframe with sequence number 1 in a group of target subframes. And so on, traverse the 64 subframe positions, and finally obtain a group of target subframes with the best quality, and the target full frame is composed of a group of target subframes.
[0047] The target full frame is a full frame corresponding to the target frame count. Multiple target full frames are spliced in the order of the frame count list to obtain the second telemetry data, that is, high-quality telemetry data processed by the rocket telemetry data processing method of this embodiment.
[0048] Through the embodiments provided by the present application, multiple first telemetry data are read into the buffer area with full frames as the smallest unit, wherein each of the multiple first telemetry data includes a group of full frames; a frame count list is obtained, wherein the frame count list includes frame counts of all full frames in the buffer area, and each frame count in the frame count list corresponds to at least one full frame in the buffer area; each frame count in the frame count list is used as a target frame count to perform the following steps to obtain a target full frame corresponding to the target frame count, and multiple target full frames are spliced in the order of the frame count list to obtain the second telemetry data: a group of to-be-collected frames is determined Optimize the full frame, wherein each full frame to be optimized in a group of full frames to be optimized is a full frame corresponding to the target frame count in the cache area, and each full frame to be optimized in a group of full frames to be optimized includes a group of subframes; in the case that a group of full frames to be optimized includes multiple full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in a group of full frames to be optimized, a group of target subframes used to form a target full frame are determined from a group of full frames to be optimized, which can solve the technical problem of the inability to accurately obtain high-quality telemetry data in the processing method of rocket telemetry data in the related art, thereby improving the data quality of the telemetry data.
[0049] As an optional solution, after determining a group of full frames to be optimized, the following is further included:
[0050] S11, when a group of full frames to be optimized includes one full frame to be optimized, determining the one full frame to be optimized as a target full frame.
[0051] When a group of full frames to be optimized includes one full frame to be optimized, it means that the number of full frames corresponding to the target frame count in the cache is 1, that is, it means that at the time point corresponding to the target frame count, only one telemetry ground station measured the telemetry data of the rocket. Therefore, at this time, one full frame to be optimized can be directly determined as the target full frame.
[0052] Through this embodiment, when a group of full frames to be optimized includes one full frame to be optimized, the target full frame is directly determined to be obtained, thereby improving the processing efficiency of the rocket telemetry data processing method.
[0053] As an optional solution, in the case where a group of full frames to be optimized includes multiple full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, a group of target subframes for constituting a target full frame is determined from the group of full frames to be optimized, including:
[0054] S21, determining a target full frame to be optimized, where the target full frame to be optimized is a full frame to be optimized with the most qualified subframes in a group of full frames to be optimized, and the synchronization word of the qualified subframe is equal to a preset expected value;
[0055] S22, when the number of qualified subframes in the target full frame to be optimized is equal to the preset frame value, the target full frame to be optimized is determined as the target full frame, wherein the preset frame value is obtained by subtracting the preset value from the sub-frame length of the target full frame to be optimized.
[0056] In the case that a group of full frames to be optimized includes multiple full frames to be optimized, a target full frame to be optimized is determined from the group of full frames to be optimized, the target full frame to be optimized is the full frame to be optimized with the most qualified subframes in the group of full frames to be optimized, and the synchronization word of the qualified subframe is equal to the preset expected value; if the synchronization word of the subframe is equal to the preset expected value, it means that the subframe is a high-quality qualified subframe. Here, the subsequent steps of confirming the target full frame are based on the full frame to be optimized with the most qualified subframes.
[0057] When the number of qualified subframes in the target full frame to be optimized is equal to the preset frame value, the target full frame to be optimized can be directly determined as the target full frame, wherein the preset frame value is obtained by subtracting the preset value from the sub-frame length of the target full frame to be optimized; the sub-frame length is used to indicate the number of subframes in the target full frame to be optimized; it should be noted that, for the target full frame to be optimized, the synchronization word of the last subframe included therein is a specific synchronization word, therefore, when the number of qualified subframes in the target full frame to be optimized is equal to the preset frame value, it can be said that all subframes in the target full frame to be optimized meet the standards.
[0058] It should be noted that the preset value is the number of subframes in the target full frame to be optimized, regardless of whether they are qualified subframes.
[0059] Preferably, the preset value is 1.
[0060] Exemplarily, the target full frame to be optimized includes 64 subframes, and the synchronization word of the 64th subframe is a specific synchronization word. Therefore, the 64th subframe is not considered in the method of this embodiment, and the preset value is 1; when the number of qualified subframes in the target subframe to be optimized is equal to 63, it means that all subframes of the target full frame to be optimized are qualified subframes, and the target full frame to be optimized can be directly determined as the target full frame.
[0061] Through this embodiment, when the number of qualified subframes in the target full frame to be optimized is equal to the preset frame value, the target full frame to be optimized is directly determined as the target full frame, thereby improving the processing efficiency of the rocket telemetry data processing method.
[0062] As an optional solution, after determining the target full frame to be optimized, it also includes:
[0063] S31, when the number of qualified subframes in the target full frame to be optimized is less than the preset frame value, determining a group of subframes to be qualified, wherein the group of subframes to be qualified are subframes in the target full frame to be optimized whose synchronization words are not equal to the preset expected value;
[0064] S32, taking each of the subframes to be achieved in a group of subframes to be achieved as a target subframe to be achieved, and performing the following steps to obtain a target replacement subframe corresponding to the target subframe to be achieved, and replacing a group of subframes to be achieved in the target full frame to be optimized with a group of target replacement subframes to obtain a group of target subframes:
[0065] Traversing a group of other full frames to be optimized, obtaining a group of replacement subframes to be confirmed from the group of other full frames to be optimized, wherein the position of each replacement subframe to be confirmed in the group of replacement subframes to be confirmed in the corresponding other full frames to be optimized is the same as the position of the target subframe to be achieved in the target full frame to be optimized, and the group of other full frames to be optimized are the full frames to be optimized except the target full frame to be optimized in the group of full frames to be optimized;
[0066] When there is a to-be-confirmed replacement subframe in a group of to-be-confirmed replacement subframes whose synchronization word is equal to a preset expected value, the to-be-confirmed replacement subframe is determined as a target replacement subframe.
[0067] When the number of qualified subframes in the target full frame to be optimized is less than the preset frame value, it means that there are subframes that do not meet the standard in the target full frame to be optimized, and a group of subframes to be met is determined, wherein a group of subframes to be met are subframes in the target full frame to be optimized whose synchronization words are not equal to the preset expected value; the position of each to-be-confirmed replacement subframe in a group of to-be-confirmed replacement subframes in the corresponding other full frames to be optimized is the same as the position of the target to-be-confirmed subframe in the target full frame to be optimized, for example, when the sequence number of the target to-be-confirmed subframe in the target full frame to be optimized is 10, the sequence number of each to-be-confirmed replacement subframe in the corresponding other full frames to be optimized in a group of to-be-confirmed replacement subframes is also 10, and a group of to-be-confirmed replacement subframes is traversed, and when there is a to-be-confirmed replacement subframe whose synchronization word is equal to the preset expected value, the to-be-confirmed replacement subframe is determined as the target replacement subframe.
[0068] Through this embodiment, a set of target subframes can be accurately obtained, thereby improving the accuracy of the rocket telemetry data processing method.
[0069] As an optional solution, after traversing a group of other full frames to be optimized and obtaining a group of replacement subframes to be confirmed from the group of other full frames to be optimized, the method further includes:
[0070] S41, when there is no synchronization word of the to-be-confirmed replacement subframe in the group of to-be-confirmed replacement subframes equal to the preset expected value, calculating the bit error rates of the group of to-be-confirmed replacement subframes and the target to-be-confirmed subframes;
[0071] S42, selecting a subframe with the smallest bit error rate among a group of to-be-confirmed replacement subframes and target to-be-met subframes as a target replacement subframe.
[0072] In this embodiment, the Hanning weight method is a window function, which is usually used to reduce spectrum leakage in signal processing. When calculating the bit error rate of a subframe, the Hanning weight method can be used to preprocess the signal to reduce interference between adjacent subframes; after calculating the bit error rates of a group of to-be-confirmed replacement subframes and target to-be-met subframes, a subframe with the smallest bit error rate among the group of to-be-confirmed replacement subframes and target to-be-met subframes is selected as the target replacement subframe.
[0073] Through this embodiment, the target replacement subframe can be accurately obtained, thereby improving the accuracy of the rocket telemetry data processing method.
[0074] As an optional solution, before reading the plurality of first telemetry data into the buffer area with full frames as the minimum unit, the method further includes:
[0075] S51, dividing the target telemetry data into first target telemetry data and second target telemetry data, wherein the initial plurality of first telemetry data includes the target telemetry data and other telemetry data, the first target telemetry data is the telemetry data before rocket ignition, and the second target telemetry data is the telemetry data after rocket ignition;
[0076] S52, combining the second target telemetry data and other telemetry data to obtain a plurality of first telemetry data.
[0077] In this embodiment, multiple first telemetry data are obtained based on initial multiple first telemetry data, and the initial multiple first telemetry data are preprocessed to obtain multiple first telemetry data, wherein the initial multiple first telemetry data include target telemetry data, and the target telemetry data include telemetry data before rocket ignition and telemetry data after rocket ignition.
[0078] Optionally, the target telemetry data may be measured by a ground telemetry station at the rocket launch point or a ground telemetry station near the rocket launch point, and the target telemetry data may be divided into first target telemetry data and second target telemetry data, the first target telemetry data being the telemetry data before rocket ignition, and the second target telemetry data being the telemetry data after rocket ignition; since the telemetry data before rocket launch is relatively stable and accurate, the telemetry data before rocket ignition is not processed here, and the second target telemetry data and other telemetry data are merged to obtain a plurality of first telemetry data, and the subsequent rocket telemetry data processing method is executed based on the plurality of first telemetry data.
[0079] Through this embodiment, the telemetry data before rocket ignition is taken out separately, and data processing is performed on the data after rocket ignition, which can effectively reduce the calculation amount of data processing and improve the efficiency of the rocket telemetry data processing method.
[0080] As an optional solution, after splicing multiple target full frames in the order of the frame count list to obtain the second telemetry data, the method further includes:
[0081] S61, concatenating the first target telemetry data and the second telemetry data to obtain third telemetry data.
[0082] After executing the rocket telemetry data processing method based on multiple first telemetry data, the obtained second telemetry data is spliced with the first target telemetry data to obtain third telemetry data. Here, the third telemetry data refers to the telemetry data processed by the rocket telemetry data processing method, which contains complete data before and after the rocket launch.
[0083] Through this embodiment, the first target telemetry data and the second telemetry data are spliced to obtain the third telemetry data, which can improve the integrity of the rocket telemetry data finally obtained.
[0084] Figure 2 This is a second flow chart of the rocket telemetry data processing method provided by the present invention, see Figure 2 , the following describes the method for processing rocket telemetry data in the embodiment of the present application in conjunction with an optional example. In this optional example, the following steps may be included:
[0085] Place all files in the same directory.
[0086] Select a file containing data before and after ignition as data output file A, and obtain the last frame count ID, that is, divide the target telemetry data into first target telemetry data and second target telemetry data, and use the first target telemetry data as data output file A. The first target telemetry data is the telemetry data before rocket ignition, and obtain the frame count list (obtain the last frame count ID).
[0087] All files are read into the buffer queue DataCache according to the full frame, that is, the multiple first telemetry data are read into the buffer area with the full frame as the minimum unit.
[0088] Search for full-frame data with a frame count of FrmeID=FrmeID+1 in DataCache, that is, traverse each frame count in the frame count list, search for full-frame data corresponding to each frame count, and determine a group of full frames to be optimized, wherein each full frame to be optimized in a group of full frames to be optimized is a full frame corresponding to the target frame count in the cache area.
[0089] Take out the full-frame data with the most subframe synchronization words. Here, the full-frame data with the most subframe synchronization words refers to the target full-frame to be optimized. The target full-frame to be optimized is the full-frame to be optimized with the most qualified subframes in a group of full frames to be optimized. The synchronization word of the qualified subframe is equal to the preset expected value.
[0090] Determine whether SysWordNum = number of sub-frames - 1. Here, SysWordNum refers to the number of sub-frame synchronization words in the full-frame data with the most sub-frame synchronization words (the number of qualified sub-frames). The number of sub-frames (sub-frame length) refers to the number of sub-frames in the full-frame. Determine whether SysWordNum is equal to the number of sub-frames - 1.
[0091] If the judgment is yes, the full frame is taken out as the current optimal full frame data, that is, when the number of qualified subframes in the target full frame to be optimized is equal to the preset frame value, the target full frame to be optimized is determined as the target full frame.
[0092] After writing the frame data into file A, it is determined whether it is the last full frame. If it is, it means that all telemetry data have been processed.
[0093] If the judgment is no, obtain the full frame data with the best frame counting quality. For specific steps, see Figure 3 , Figure 3 This is the third flow chart of the method for processing rocket telemetry data provided by the present invention.
[0094] The subframe data with the largest number of subframe synchronizations is searched in the DataCache as the initial frame data, that is, the target full frame to be optimized is determined, and the target full frame to be optimized is the full frame to be optimized (initial frame data) with the largest number of qualified subframes in the group of full frames to be optimized.
[0095] Traverse the i-th subframe frame by frame (i++), that is, traverse each subframe in the target full frame to be optimized.
[0096] Determine whether the current subframe synchronization code is complete, that is, determine whether the number of qualified subframes in the target full frame to be optimized is equal to a preset frame value, wherein the preset frame value is obtained by subtracting 1 from the subframe length of the target full frame to be optimized.
[0097] If the judgment is no, search for subframe data with the optimal subframe synchronization code in other DataCaches, that is, traverse a group of other full frames to be optimized, and obtain a group of replacement subframes to be confirmed from the group of other full frames to be optimized.
[0098] The current subframe data is replaced with the subframe data, that is, when a synchronization word of a to-be-confirmed replacement subframe in a group of to-be-confirmed replacement subframes is equal to a preset expected value, the to-be-confirmed replacement subframe is determined as a target replacement subframe.
[0099] It is determined whether it is the last subframe data, and if it is yes, the method ends.
[0100] Wherein, if the judgment is no, searching for subframe data with the optimal subframe synchronization code in other DataCaches, specifically, the following steps may also be included: Figure 4 This is a fourth flow chart of the method for processing rocket telemetry data provided by the present invention, see Figure 4 .
[0101] The synchronization word is taken out to determine whether the synchronization code is complete, that is, to determine whether the synchronization word of the replacement subframe to be confirmed is equal to a preset expected value.
[0102] When the judgment is yes, the current frame is taken as the subframe data with the best quality.
[0103] If the judgment is no, the synchronization word bit error rate of all subframes is calculated, that is, when there is no synchronization word of the to-be-confirmed replacement subframe in a group of to-be-confirmed replacement subframes equal to the preset expected value, the bit error rate of a group of to-be-confirmed replacement subframes and the target to-be-confirmed subframes is calculated.
[0104] The subframe with the lowest bit error rate is taken out, that is, the subframe data with the best quality is selected, that is, the subframe with the lowest bit error rate in the group of to-be-confirmed replacement subframes and the target to-be-confirmed subframes is selected as the target replacement subframe.
[0105] Figure 5 Schematic diagram of the structure of the rocket telemetry data processing device provided by the present invention. Figure 5 As shown, including but not limited to the following modules:
[0106] The reading module 501 is used to read a plurality of first telemetry data into a buffer area with a full frame as the minimum unit, wherein each of the plurality of first telemetry data includes a group of full frames;
[0107] An acquisition module 502 is used to acquire a frame count list, wherein the frame count list includes frame counts of all full frames in the buffer, and each frame count in the frame count list corresponds to at least one full frame in the buffer;
[0108] The execution module 503 is used to perform the following steps using each frame count in the frame count list as a target frame count to obtain a target full frame corresponding to the target frame count, and to splice multiple target full frames in the order of the frame count list to obtain the second telemetry data:
[0109] Determine a group of full frames to be optimized, wherein each full frame to be optimized in the group of full frames to be optimized is a full frame corresponding to the target frame count in the buffer area, and each full frame to be optimized in the group of full frames to be optimized includes a group of subframes;
[0110] In the case that a group of full frames to be optimized includes multiple full frames to be optimized, a group of target subframes for constituting a target full frame are determined from the group of full frames to be optimized based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized.
[0111] Through the embodiments of the present application, multiple first telemetry data are read into the buffer area with full frames as the smallest unit, wherein each of the multiple first telemetry data includes a group of full frames; a frame count list is obtained, wherein the frame count list includes frame counts of all full frames in the buffer area, and each frame count in the frame count list corresponds to at least one full frame in the buffer area; each frame count in the frame count list is used as a target frame count to perform the following steps to obtain a target full frame corresponding to the target frame count, and multiple target full frames are spliced in the order of the frame count list to obtain the second telemetry data: determine a group of to-be-optimized The invention discloses a method for optimizing a full frame, wherein each full frame to be optimized in a group of full frames to be optimized is a full frame corresponding to the target frame count in the cache area, and each full frame to be optimized in a group of full frames to be optimized includes a group of sub-frames; in the case that a group of full frames to be optimized includes multiple full frames to be optimized, based on the synchronization words of the sub-frames of each full frame to be optimized in a group of full frames to be optimized, a group of target sub-frames used to constitute a target full frame are determined from a group of full frames to be optimized, so that the technical problem that the processing method of rocket telemetry data in the related art cannot accurately obtain high-quality telemetry data is solved, thereby improving the data quality of the telemetry data.
[0112] It should be noted that the rocket telemetry data processing device provided by the present invention can execute the rocket telemetry data processing method of any of the above-mentioned embodiments during specific operation, which will not be elaborated in this embodiment.
[0113] Figure 6 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 6As shown, the electronic device may include: a processor (processor) 610 , a communication interface (Communications Interface) 620 , a memory (memory) 630 and a communication bus 640 , wherein the processor 610 , the communication interface 620 , and the memory 630 communicate with each other through the communication bus 640 . The processor 610 can call the logic instructions in the memory 630 to execute a method for processing rocket telemetry data, which method includes: reading multiple first telemetry data into a cache with a full frame as the smallest unit, wherein each of the multiple first telemetry data includes a group of full frames; obtaining a frame count list, wherein the frame count list includes frame counts of all full frames in the cache, and each frame count in the frame count list corresponds to at least one full frame in the cache; using each frame count in the frame count list as a target frame count to perform the following steps to obtain a target full frame corresponding to the target frame count, and splicing multiple target full frames in the order of the frame count list to obtain second telemetry data: determining a group of full frames to be optimized, wherein each full frame to be optimized in a group of full frames to be optimized is a full frame in the cache corresponding to the target frame count, and each full frame to be optimized in a group of full frames to be optimized includes a group of subframes; in the case where a group of full frames to be optimized includes multiple full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in a group of full frames to be optimized, a group of target subframes used to form the target full frame are determined from a group of full frames to be optimized.
[0114] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0115] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by the computer, the computer can execute the rocket telemetry data processing method provided by the above-mentioned embodiments, and the method includes: reading multiple first telemetry data into a cache area with a full frame as the smallest unit, wherein each of the multiple first telemetry data includes a group of full frames; obtaining a frame count list, wherein the frame count list includes frame counts of all full frames in the cache area, and each frame count in the frame count list corresponds to at least one in the cache area. full frame; taking each frame count in the frame count list as the target frame count and executing the following steps to obtain a target full frame corresponding to the target frame count, and splicing multiple target full frames in the order of the frame count list to obtain the second telemetry data: determining a group of full frames to be optimized, wherein each full frame to be optimized in the group of full frames to be optimized is a full frame in the cache area corresponding to the target frame count, and each full frame to be optimized in the group of full frames to be optimized includes a group of subframes; in the case where a group of full frames to be optimized includes multiple full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, determining a group of target subframes for constituting the target full frame from the group of full frames to be optimized.
[0116] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the rocket telemetry data processing method provided in the above-mentioned embodiments, the method comprising: reading multiple first telemetry data into a cache area with a full frame as the smallest unit, wherein each of the multiple first telemetry data includes a group of full frames; obtaining a frame count list, wherein the frame count list includes frame counts of all full frames in the cache area, and each frame count in the frame count list corresponds to at least one full frame in the cache area; each frame count in the frame count list The following steps are performed as the target frame count to obtain a target full frame corresponding to the target frame count, and multiple target full frames are spliced in the order of the frame count list to obtain second telemetry data: a group of full frames to be optimized is determined, wherein each full frame to be optimized in the group of full frames to be optimized is a full frame in the cache area corresponding to the target frame count, and each full frame to be optimized in the group of full frames to be optimized includes a group of subframes; when a group of full frames to be optimized includes multiple full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, a group of target subframes used to constitute the target full frame are determined from the group of full frames to be optimized.
[0117] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0118] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for processing rocket telemetry data, characterized in that: include: Reading a plurality of first telemetry data into a buffer area with a full frame as the minimum unit, wherein each of the plurality of first telemetry data includes a group of full frames; Acquire a frame count list, wherein the frame count list includes frame counts of all full frames in the buffer area, and each frame count in the frame count list corresponds to at least one full frame in the buffer area; Each frame count in the frame count list is used as a target frame count to perform the following steps to obtain a target full frame corresponding to the target frame count, and multiple target full frames are spliced in the order of the frame count list to obtain second telemetry data: Determine a group of full frames to be optimized, wherein each full frame to be optimized in the group of full frames to be optimized is a full frame in the buffer area corresponding to the target frame count, and each full frame to be optimized in the group of full frames to be optimized includes a group of subframes; In a case where the group of full frames to be optimized includes a plurality of full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, determining a group of target subframes for constituting the target full frame from the group of full frames to be optimized; Wherein, after determining a group of full frames to be optimized, the method further includes: In a case where the group of full frames to be optimized includes one full frame to be optimized, determining the one full frame to be optimized as the target full frame; In the case where the group of full frames to be optimized includes a plurality of full frames to be optimized, determining a group of target subframes for constituting the target full frame from the group of full frames to be optimized based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, comprises: Determine a target full frame to be optimized, wherein the target full frame to be optimized is the full frame to be optimized with the most qualified subframes in the group of full frames to be optimized, and the synchronization word of the qualified subframe is equal to a preset expected value; When the number of the qualified subframes in the target full frame to be optimized is equal to a preset frame value, the target full frame to be optimized is determined as the target full frame, wherein the preset frame value is obtained by subtracting the preset value from the sub-frame length of the target full frame to be optimized; After determining the target full frame to be optimized, the method further includes: When the number of the qualified subframes in the target full frame to be optimized is less than the preset frame value, determining a group of subframes to be qualified, wherein the group of subframes to be qualified are subframes in the target full frame to be optimized whose synchronization words are not equal to the preset expected value; Perform the following steps on each of the subframes to be achieved in the group of subframes to be achieved as a target subframe to be achieved, to obtain a target replacement subframe corresponding to the target subframe to be achieved, and replace the group of subframes to be achieved in the target full frame to be optimized with a group of target replacement subframes, to obtain the group of target subframes: Traversing a group of other full frames to be optimized, obtaining a group of replacement subframes to be confirmed from the group of other full frames to be optimized, wherein the position of each replacement subframe to be confirmed in the group of replacement subframes to be confirmed in the corresponding other full frames to be optimized is the same as the position of the target subframe to be achieved in the target full frame to be optimized, and the group of other full frames to be optimized are the full frames to be optimized in the group of full frames to be optimized except the target full frame to be optimized; In the case that there is a to-be-confirmed replacement subframe in the group of to-be-confirmed replacement subframes whose synchronization word is equal to the preset expected value, the to-be-confirmed replacement subframe is determined as the target replacement subframe.
2. The method for processing rocket telemetry data according to claim 1, characterized in that: After traversing a group of other full frames to be optimized and obtaining a group of replacement subframes to be confirmed from the group of other full frames to be optimized, the method further includes: In the case that there is no sync word of the to-be-confirmed alternative subframe in the group of to-be-confirmed alternative subframes that is equal to the preset expected value, calculating the bit error rates of the group of to-be-confirmed alternative subframes and the target to-be-confirmed subframes; A subframe with the smallest bit error rate among the group of to-be-confirmed replacement subframes and the target to-be-met subframes is selected as the target replacement subframe.
3. The method for processing rocket telemetry data according to any one of claims 1 to 2, characterized in that: Before reading the plurality of first telemetry data into the buffer area with a full frame as the minimum unit, the method further includes: The target telemetry data is divided into first target telemetry data and second target telemetry data, wherein the initial plurality of first telemetry data includes the target telemetry data and other telemetry data, the first target telemetry data is the telemetry data before rocket ignition, and the second target telemetry data is the telemetry data after rocket ignition; The second target telemetry data and the other telemetry data are combined to obtain the multiple first telemetry data.
4. The method for processing rocket telemetry data according to claim 3, characterized in that: After the steps of splicing the plurality of target full frames in the order of the frame count list to obtain the second telemetry data, the method further comprises: The first target telemetry data and the second telemetry data are concatenated to obtain third telemetry data.
5. A rocket telemetry data processing device, characterized in that: include: A reading module, used for reading a plurality of first telemetry data into a buffer area with a full frame as the minimum unit, wherein each of the plurality of first telemetry data includes a group of full frames; An acquisition module, configured to acquire a frame count list, wherein the frame count list includes frame counts of all full frames in the buffer area, and each frame count in the frame count list corresponds to at least one full frame in the buffer area; An execution module is used to perform the following steps on each frame count in the frame count list as a target frame count to obtain a target full frame corresponding to the target frame count, and to splice multiple target full frames in the order of the frame count list to obtain second telemetry data: Determine a group of full frames to be optimized, wherein each full frame to be optimized in the group of full frames to be optimized is a full frame in the buffer area corresponding to the target frame count, and each full frame to be optimized in the group of full frames to be optimized includes a group of subframes; In a case where the group of full frames to be optimized includes a plurality of full frames to be optimized, based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, determining a group of target subframes for constituting the target full frame from the group of full frames to be optimized; Wherein, after determining a group of full frames to be optimized, the method further includes: In a case where the group of full frames to be optimized includes one full frame to be optimized, determining the one full frame to be optimized as the target full frame; In the case where the group of full frames to be optimized includes a plurality of full frames to be optimized, determining a group of target subframes for constituting the target full frame from the group of full frames to be optimized based on the synchronization words of the subframes of each full frame to be optimized in the group of full frames to be optimized, comprises: Determine a target full frame to be optimized, wherein the target full frame to be optimized is the full frame to be optimized with the most qualified subframes in the group of full frames to be optimized, and the synchronization word of the qualified subframe is equal to a preset expected value; When the number of the qualified subframes in the target full frame to be optimized is equal to a preset frame value, the target full frame to be optimized is determined as the target full frame, wherein the preset frame value is obtained by subtracting the preset value from the sub-frame length of the target full frame to be optimized; After determining the target full frame to be optimized, the method further includes: When the number of the qualified subframes in the target full frame to be optimized is less than the preset frame value, determining a group of subframes to be qualified, wherein the group of subframes to be qualified are subframes in the target full frame to be optimized whose synchronization words are not equal to the preset expected value; Perform the following steps on each of the subframes to be achieved in the group of subframes to be achieved as a target subframe to be achieved, to obtain a target replacement subframe corresponding to the target subframe to be achieved, and replace the group of subframes to be achieved in the target full frame to be optimized with a group of target replacement subframes, to obtain the group of target subframes: Traversing a group of other full frames to be optimized, obtaining a group of replacement subframes to be confirmed from the group of other full frames to be optimized, wherein the position of each replacement subframe to be confirmed in the group of replacement subframes to be confirmed in the corresponding other full frames to be optimized is the same as the position of the target subframe to be achieved in the target full frame to be optimized, and the group of other full frames to be optimized are the full frames to be optimized in the group of full frames to be optimized except the target full frame to be optimized; In the case that there is a to-be-confirmed replacement subframe in the group of to-be-confirmed replacement subframes whose synchronization word is equal to the preset expected value, the to-be-confirmed replacement subframe is determined as the target replacement subframe.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the method for processing rocket telemetry data as described in any one of claims 1 to 4.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the method for processing rocket telemetry data as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Processing system for data after telemetering
CN110827443A
Rocket telemetry data processing method and device, electronic equipment and storage medium
CN112994804A