A method and system for forward prediction coding of space telemetry code stream

Through the combination of packet, inter-frame forward prediction and Hoffman encoding, the aerospace telemetry code stream data is compressed, which solves the problems of low bandwidth utilization of transmission links, weak spectral estimation distortion and weak communication error resistance, and achieves more efficient data transmission and stronger error resistance.

CN116155449BActive Publication Date: 2025-04-18北京天兵科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310025571.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-12-30
Filing Date
2023-01-09
Publication Date
2025-04-18
Estimated Expiration
2043-01-09

AI Technical Summary

Technical Problem

When the aerospace telemetry data code stream is sent through the network in the original full frame mode, the bandwidth utilization rate of the transmission link is not high, the spectrum estimation is distorted, and the ability to resist communication errors is weak.

Method used

The compression encoding method combined with packetization, inter-frame forward prediction, and Hoffman coding is used to compress the aerospace telemetry code stream data. The specific steps include grouping each subframe into several subframe subunits, performing linear prediction encoding, obtaining prediction coefficients and residuals, and performing Hoffman encoding of the residuals.

Benefits of technology

It effectively reduces the data code rate, improves the bandwidth utilization of the transmission link, enhances the ability to resist communication errors, and improves the accuracy of spectrum estimation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116155449B_ABST
    Figure CN116155449B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a forward prediction coding method and system for aerospace telemetry code stream, the method comprising: grouping each sub-frame into a plurality of sub-frame sub-units containing a plurality of sampling values; taking adjacent sub-frames and calculating them by linear prediction coding to obtain the p-order prediction coefficient and residual of each sub-frame; performing Huffman coding on the residual of the first frame to obtain the Huffman coding result of the residual of the first frame and combine it with the p-order prediction coefficient of the first frame to form the first frame code; performing Huffman coding on the difference between the residual of the n-th frame and the residual of the n-1-th frame to obtain the Huffman coding result of the difference between the residual of the n-1-th frame and the residual of the n-th frame and combine it with the p-order prediction coefficient of the n-th frame to form the n-th frame code. The embodiment of the present invention provides a compression coding method combining grouping, inter-frame forward prediction and Huffman coding to solve the technical problems of low bandwidth utilization, spectral estimation distortion and weak anti-communication error capability when the telemetry data code stream is sent in full frame.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of telemetry code stream data transmission in a telemetry and control station, and is mainly applied to the aerospace telemetry and control industry, and in particular to a method and system for forward prediction coding of aerospace telemetry code streams. Background Art

[0002] In the aerospace measurement and control system, telemetry technology is needed to send various engineering parameters of the spacecraft, including position, velocity, acceleration, engine operating conditions, onboard video and audio signals, etc., to the ground measurement and control station through space-based or ground-based, wired and wireless methods.

[0003] After the aerospace telemetry code stream data is sent to the ground tracking and control station through space-based and ground-based links, the tracking and control station sends it to the data center or the launch mission undertaker for processing through the network as the main transmission link.

[0004] At present, after receiving the data, the ground measurement and control station will send the original data code stream to the receiver in the original full frame mode through network unicast or multicast, which has low bandwidth utilization of the transmission link. Summary of the invention

[0005] In view of this, the purpose of the embodiments of the present invention is to provide a method and system for forward prediction coding of aerospace telemetry code streams, which utilizes a compression coding method combining grouping, inter-frame forward prediction, and Huffman coding to solve at least one technical problem in the prior art that when aerospace telemetry data code streams are sent through the network in the original full-frame mode, the bandwidth utilization rate of the transmission link is low, the spectrum estimation is distorted, and the ability to resist communication errors is weak.

[0006] To achieve the above-mentioned object, in a first aspect, an embodiment of the present invention provides a method for forward prediction coding of a space telemetry code stream, the method comprising the following steps:

[0007] Each sub-frame is grouped and divided into a plurality of sub-frame sub-units containing a plurality of sampling values; wherein the telemetry code stream full frame data includes a plurality of said sub-frames, and each of said sub-frames includes a plurality of bit time codes and a plurality of sub-frames;

[0008] Taking adjacent subframes and performing calculations using linear prediction coding, to obtain a p-order prediction coefficient and a residual of each subframe;

[0009] Performing Huffman coding on the first frame residual to obtain a Huffman coding result of the first frame residual; combining the Huffman coding result of the first frame residual and the p-order prediction coefficient of the first frame to form the first frame coding;

[0010] The difference between the residual of the nth frame and the residual of the n-1th frame is Huffman encoded to obtain a Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame, and the Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame and the p-order prediction coefficient of the nth frame form the nth frame code; wherein n is an integer greater than 1.

[0011] In some possible implementations, after the step of grouping each of the sub-frames into a plurality of sub-frame sub-units including a plurality of sampling values, the step further includes:

[0012] Adding p0 sampling values ​​to the head of each sub-frame sub-unit;

[0013] The p0 sample values ​​added at the head of the first sub-frame sub-unit and the p0 sample values ​​at the tail of the last sub-frame sub-unit are all assigned to 0.

[0014] In some possible implementations, after the step of forming the nth frame code, the step of:

[0015] Take the coding table of the k-1th frame and merge it with the coding table of the kth frame;

[0016] The k-th frame residual is re-encoded with Huffman coding in the combined coding table as the k-th frame coding, and the k-1-th frame residual is re-encoded with Huffman coding in the combined coding table of the k-th frame as the k-1-th frame redundant coding;

[0017] The redundant code of the k-1th frame and the code of the kth frame are combined into a data packet; wherein k is an integer greater than 1.

[0018] In some possible implementations, the telemetry code stream full frame data includes 64 sub-frames, and each sub-frame includes 8 bit time codes plus 240 sub-frames.

[0019] In a second aspect, an embodiment of the present invention provides a space telemetry code stream forward prediction coding system, which includes:

[0020] A grouping module is used to group each sub-frame into a plurality of sub-frame sub-units containing a plurality of sampling values; wherein the telemetry code stream full frame data includes a plurality of sub-frames, and each of the sub-frames includes a plurality of bit time codes plus a plurality of sub-frames;

[0021] An inter-frame forward prediction and coding module, used for performing linear prediction coding calculation on adjacent subframes to obtain a p-order prediction coefficient and a residual of each subframe;

[0022] The inter-frame forward prediction and encoding module is also used to perform Huffman encoding on each subframe, which specifically includes:

[0023] Performing Huffman coding on the first frame residual to obtain a Huffman coding result of the first frame residual; combining the Huffman coding result of the first frame residual and the p-order prediction coefficient of the first frame to form the first frame coding;

[0024] The difference between the residual of the nth frame and the residual of the n-1th frame is Huffman encoded to obtain a Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame, and the Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame and the p-order prediction coefficient of the nth frame form the nth frame code; wherein n is an integer greater than 1.

[0025] In some possible implementations, it also includes:

[0026] The spectrum estimation distortion prevention module is used to add p0 sampling values ​​at the head of each sub-frame sub-unit; the p0 sampling values ​​added at the head of the first sub-frame sub-unit and the p0 sampling values ​​at the tail of the last sub-frame sub-unit are all assigned to 0.

[0027] In some possible implementations, it also includes:

[0028] The redundant coding module is used to take the coding table of the k-1th frame and merge it with the coding table of the kth frame; re-Huffman encode the residual of the k-1th frame in the merged coding table as the k-th frame coding, and re-Huffman encode the residual of the k-1th frame using the merged coding table of the k-th frame as the redundant coding of the k-1th frame; combine the redundant coding of the k-1th frame and the coding of the k-1th frame into a data packet; wherein k is an integer greater than 1.

[0029] In some possible implementations, the telemetry code stream full frame data includes 64 sub-frames, and each sub-frame includes 8 bit time codes plus 240 sub-frames.

[0030] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any one of the methods described in the first aspect.

[0031] In a fourth aspect, an embodiment of the present invention provides a computer device, which includes one or more processors, a communication interface, a memory, and a communication bus;

[0032] Wherein, the processor, the communication interface and the memory communicate with each other via the communication bus;

[0033] The memory is used to store computer programs;

[0034] When the processor is used to execute the program stored in the memory, any one of the methods described in the first aspect is implemented.

[0035] The above technical solution has the following beneficial effects: This application uses a compression coding method that combines grouping, inter-frame forward prediction, and Huffman coding to compress the original data of the telemetry code stream, effectively reducing the data bit rate, and increasing the redundant information of key data, thereby improving the quality of the communication link and being more resistant to communication errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only 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.

[0037] Figure 1 It is a schematic diagram of the process of the telemetry code stream forward prediction encoding method according to an embodiment of the present invention;

[0038] Figure 2 is a schematic diagram of a process of adding p0 sampling values ​​to the head of each sub-frame sub-unit according to an embodiment of the present invention;

[0039] Figure 3 is a schematic diagram of the process of redundant encoding and synthesizing data packets according to an embodiment of the present invention;

[0040] Figure 4 It is a schematic diagram of the original full-frame data format after the aerospace telemetry code stream data according to an embodiment of the present invention is sent to a ground measurement and control station through a space-based and ground-based link;

[0041] Figure 5 The embodiment of the present invention is to take the nth ( Figure 4 8th frame) and n+1th frame ( Figure 4 Schematic diagram of sampling values ​​obtained in the 9th frame of the graph;

[0042] Figure 6 A schematic diagram of a forward prediction and Huffman coding method according to an embodiment of the present invention;

[0043] Figure 7 A schematic diagram of comparing energy densities of residual differences of adjacent frames according to an embodiment of the present invention;

[0044] Figure 8 A schematic diagram of a data packet of a redundant data encoding method according to an embodiment of the present invention;

[0045] Fig. 9 A schematic diagram of the structure of a telemetry code stream forward prediction coding system provided by an embodiment of the present invention;

[0046] Fig.10This is a communication diagram of the spectrum estimation distortion prevention module according to an embodiment of the present invention;

[0047] Fig.11 A schematic diagram of redundant module communication according to an embodiment of the present invention;

[0048] Fig.12 A functional block diagram of a computer-readable storage medium provided for an embodiment of the present invention;

[0049] Fig.13 A functional block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] Embodiment 1

[0052] like Figure 1 As shown, an embodiment of the present invention provides a method for forward prediction coding of aerospace telemetry code stream, comprising the following steps:

[0053] S100, grouping step:

[0054] S110, grouping each sub-frame into a plurality of sub-frame sub-units including a plurality of sampling values; wherein the telemetry code stream full frame data includes a plurality of sub-frames, and each sub-frame includes a plurality of bit time codes and a plurality of sub-frames;

[0055] Specifically, the sampling value may be a physical quantity, such as the lateral vibration amplitude of the engine, the gravity acceleration of the rocket, etc.

[0056] S200, inter-frame forward prediction and encoding step, which includes steps S210, S220 and S230:

[0057] S210, taking adjacent subframes and performing calculations using linear prediction coding to obtain a p-order prediction coefficient and a residual of each subframe;

[0058] S220, performing Huffman coding on the first frame residual to obtain a Huffman coding result of the first frame residual; combining the Huffman coding result of the first frame residual with the p-order prediction coefficient of the first frame to form a first frame code;

[0059] S230, performing Huffman coding on the difference between the residual of the nth frame and the residual of the n-1th frame to obtain the Huffman coding result of the difference between the residual of the n-1th frame and the residual of the nth frame, and combining the Huffman coding result of the difference between the residual of the n-1th frame and the residual of the nth frame with the p-order prediction coefficient of the nth frame to form the nth frame code; wherein n is an integer greater than 1.

[0060] In this embodiment, a compression coding method combining grouping, inter-frame forward prediction, and Huffman coding is used to compress the subframe data of each sub-frame in the original data of the aerospace telemetry code stream, effectively reducing the data bit rate, transmitting more valid data on the original data link bandwidth, and improving the utilization rate of the data link.

[0061] Further, in an optional embodiment, if Figure 2 As shown, after the step of grouping each sub-frame into a plurality of sub-frame sub-units including a plurality of sampling values, the method further includes the steps of:

[0062] S120, adding p0 sampling values ​​to the head of each sub-frame sub-unit;

[0063] S130 , assigning all p0 sample values ​​added to the head of the first sub-frame sub-unit and p0 sample values ​​at the tail of the last sub-frame sub-unit to 0.

[0064] In this embodiment, after the p0 sampling values ​​added to the head of the first sub-frame sub-unit are all assigned to 0, the p0 sampling values ​​at the head of each sub-frame sub-unit are all the p0 sampling values ​​at the tail of the previous sub-frame sub-unit, and the p0 sampling values ​​at the tail of the last sub-frame sub-unit are all assigned to 0 for completion, so that the packet data can be prevented from causing spectrum estimation distortion during the analysis process. Computer processing requires alignment of two-dimensional table data, and different compilation systems have different implementation methods for missing several data at the end. Some will automatically fill in with 0, and some will fill in random numbers. Different automatic filling methods will cause estimation distortion in the calculation results, so it is specified in this embodiment to fill in 0.

[0065] Further, in an optional embodiment, as Figure 3 As shown, after the step of forming the n-th frame encoding, the following steps are also included:

[0066] S300, redundant encoding, synthesizing data packets, which includes steps S310, S320 and S330:

[0067] S310, taking the coding table of the k-1th frame and merging it with the coding table of the kth frame;

[0068] S320, re-encoding the residual of the kth frame with Huffman coding in the combined coding table as the kth frame coding, and re-encoding the residual of the k-1th frame with Huffman coding in the combined coding table of the kth frame as the k-1th frame redundant coding;

[0069] S330, combining the redundant code of the k-1th frame and the code of the kth frame into a data packet; wherein k is an integer greater than 1.

[0070] In this embodiment, by saving the kth frame code and the k-1th frame redundant code in one data packet, it is possible to achieve local data loss during the communication process, and still restore the kth frame through the data of the k+1th frame or the k-1th frame. On the original data link bandwidth, the ability to resist communication errors is stronger, and the link utilization rate is effectively improved.

[0071] It should be noted that the method of merging code tables is to appropriately expand the code table length in Huffman coding. For example, after the code tables of frame k and frame k+1 are combined, the encoding results of frame k and frame k+1 data are not the optimal code tables, but are smaller than the size of the code books (code tables) encoded by two frames independently, that is, the two frames are encoded together to form one code book.

[0072] Further, in an optional implementation, the full frame data of the telemetry code stream includes 64 sub-frames, and each sub-frame includes 8 bit time codes plus 240 sub-frames. Figure 4 The following is a schematic diagram of the original full-frame data format of aerospace telemetry code stream data after it is sent to the ground tracking and control station through space-based and ground-based links. Each sub-frame contains 240 bytes of content, and a telemetry code stream full-frame data contains 64 sub-frames. A sub-frame contains 8-bit time code + 240 bytes (sub-frame) data. The meaning of the data represented by each byte (sub-frame) can be set by the undertaker of the aerospace launch mission. 64 sub-frames, 240 sub-frames, and 8-bit time code, these three values ​​are more in line with the data format of the current aerospace telemetry system. The 8-bit time is the year, month, day, hour, minute, second, and millisecond values ​​encoded in BCD (Binary-Coded Decimal), which is a time code automatically generated by the ground receiving end. It should also be noted that Figure 4 In the example, the subframe synchronization code is 0xEB90, and the subframe synchronization code is 0x146F. From the examples of the subframe synchronization code and the subframe synchronization code, we can see that Figure 4 The sub-frame synchronization code is actually the full-frame synchronization code, indicating the end of a full frame.

[0073] In order to better illustrate the implementation of the present application, a specific example of a preferred telemetry code stream forward prediction coding method is now given. When forward coding is calculated, Figure 5 The embodiment of the present invention is to take the nth ( Figure 4 8th frame) and n+1th frame ( Figure 4 Schematic diagram of the sampling values ​​obtained in the 9th frame of the image, where n is 8. Figure 5 In the data waveform, the vibration value shows regular vibration changes within a short period of time (such as 1 / 32 second); the amplitude of the waveform is relatively stable, and the vibration period shows regularity. Figure 5 The horizontal axis is the sampling value in the sub-frame unit, and the vertical axis represents the specific value of the sampling value. The physical meaning is related to the physical meaning of the sampling. For example, if the specific value of the sampling is acceleration, the unit is m / s 2 If the data collected is the battery voltage, the unit is volt v. If the data collected is the fuel tank pressure, the unit is MPa.

[0074] There is a correlation between the sampling points of consecutive frames. The sample values ​​of the nth frame are used to predict the sample values ​​of the n+1th frame. Linear Predictive Coding is used to calculate the 1st frame, the 2nd frame, ... the nth frame, and the n+1th frame, where n is an integer greater than 1, and so on. The prediction coefficients and residuals of each subframe can be obtained. Figure 6 As shown, it is explained how to perform Huffman coding, but it should be understood that this embodiment is not limited to the use of Huffman coding, and other lossless compression coding methods can also be used.

[0075] Performing Huffman coding on the first frame residual to obtain a Huffman coding result of the first frame residual, and combining the Huffman coding result of the first frame residual and a p-order prediction coefficient of the first frame to form a first frame code;

[0076] Performing Huffman coding on the difference between the residual of the second frame and the residual of the first frame to obtain a Huffman coding result of the difference between the residual of the first frame and the residual of the second frame, and combining the Huffman coding result of the difference between the residual of the first frame and the residual of the second frame with the p-order prediction coefficient of the second frame to form a second frame code;

[0077] Performing Huffman coding on the difference between the residual of the nth frame and the residual of the n-1th frame to obtain a Huffman coding result of the difference between the residual of the n-1th frame and the residual of the nth frame; combining the Huffman coding result of the difference between the residual of the n-1th frame and the residual of the nth frame with the p-order prediction coefficient of the nth frame to form the nth frame code;

[0078] The difference between the residual of the n+1th frame and the residual of the nth frame is Huffman encoded to obtain the Huffman encoding result of the difference between the residual of the nth frame and the residual of the n+1th frame; the Huffman encoding result of the difference between the residual of the nth frame and the residual of the n+1th frame and the p-order prediction coefficient of the n+1th frame form the n+1th frame code.

[0079] Therefore, the encoding of the n+mth frame (n is any integer greater than 1, and m is an integer greater than or equal to 0), and so on, can all be encoded using the difference between its own residual and the residual of the previous frame (n+m-1th frame). Only the data of the first frame is encoded using the residual of this frame, and subsequent frames are encoded using the difference between the residual of the previous frame and their own residual. This is a forward prediction coding method.

[0080] During the encoding process, the code length of Huffman coding depends on the information entropy of the data before encoding, that is, the energy density of the information. Figure 7 It is the energy density comparison of the difference of residuals of adjacent frames. Figure 7 The data energy density of the residual signal of two consecutive frames of data is 10 4 The energy density of Huffman coding of the residual difference between two adjacent frames is 10 3 , the code stream length of Huffman coding using the residual difference between two adjacent frames can be reduced to 60% of the original, which can save transmission bandwidth. Figure 7 The horizontal axis is the sampling value in the sub-frame unit, and the vertical axis represents the specific value of the sampling value. The physical meaning is related to the physical meaning of the sampling. For example, if the specific value of the sampling is acceleration, the unit is m / s 2 If the data collected is the battery voltage, the unit is volt v. If the data collected is the fuel tank pressure, the unit is MPa.

[0081] Figure 8 An example of a data packet with a redundant data encoding method is given. Figure 8 In the embodiment, the first data packet includes the k code table, k-1 code table, k frame code, and k-1 frame redundant code. The second data packet includes the k+1 code table, k code table, k+1 frame code, and k frame redundant code. By analogy, the j+1th data packet includes the k+j code table, k+j-1 code table, k+j frame code, and k+j-1 frame redundant code. If there is local data loss during the communication process, the kth frame data can still be restored through the data of the k+1th frame or the k-1th frame.

[0082] Among them, the code table is a part of the coded content formed after Huffman coding. The redundant code table of the k-1 frame is the code table of the k-1 frame stored in the package of the k frame content, which is used to prevent the previous k-1 frame content from being missing and causing the k frame content to be unable to be decoded. If the k-1 frame code table has been obtained in the previously received information, then the k-1 frame code table in the k frame content can be ignored, so it is redundant information.

[0083] Embodiment 2

[0084] Based on the first embodiment, Fig. 9As shown, an embodiment of the present invention provides a space telemetry code stream forward prediction coding system, which includes a grouping module 10 and an inter-frame forward prediction and coding module 20. The grouping module 10 is used to group each sub-frame of the telemetry code stream full frame data into a plurality of sub-frame sub-units containing a plurality of sampling values; the inter-frame forward prediction and coding module 20 is used to perform linear prediction coding calculations on adjacent sub-frames to obtain the p-order prediction coefficient and residual of each sub-frame, and the inter-frame forward prediction and coding module 20 is also used to perform Huffman coding on each sub-frame, which specifically includes:

[0085] Performing Huffman coding on the first frame residual to obtain a Huffman coding result of the first frame residual; combining the Huffman coding result of the first frame residual and the first frame p-order prediction coefficient to form a first frame code;

[0086] The difference between the residual of the nth frame and the residual of the n-1th frame is Huffman encoded to obtain a Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame; the Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame and the p-order prediction coefficient of the nth frame form the nth frame code; wherein n is an integer greater than 1.

[0087] In this implementation, the sampling value may be a physical quantity, such as the lateral vibration amplitude of the engine, the gravity acceleration of the rocket, etc. By setting the grouping module 10 to group each sub-frame of the telemetry code stream, setting the inter-frame forward prediction and coding module 20 to perform linear prediction coding calculations on adjacent sub-frames to obtain the p-order prediction coefficient and residual of each sub-frame, and then performing Huffman coding on each sub-frame, the sub-frame data of each sub-frame in the original data of the telemetry code stream is compressed, the data bit rate is effectively reduced, more effective data is transmitted on the original data link bandwidth, and the utilization rate of the data link is improved.

[0088] Further, in an optional embodiment, as Fig.10 As shown, the system also includes a spectrum estimation distortion prevention module 30. The spectrum estimation distortion prevention module 30 is used to add p0 sampling values ​​to the head of each sub-frame sub-unit; the p0 sampling values ​​added to the head of the first sub-frame sub-unit and the p0 sampling values ​​at the end of the last sub-frame sub-unit are all assigned to 0, then starting from the second sub-frame sub-unit, the p0 sampling values ​​at the head of each sub-frame sub-unit are the p0 sampling values ​​at the end of the previous sub-frame sub-unit, and the p0 sampling values ​​at the end of the last sub-frame sub-unit are all assigned to 0 to complete, so the packet data can be prevented from causing spectrum estimation distortion during the analysis process. Computer processing requires alignment of two-dimensional table data, and different compilation systems have different implementation methods for missing several data at the end. Some will automatically fill in with 0, and some will fill in random numbers. Different automatic filling methods will cause estimation distortion in the calculation results, so it is stipulated in this embodiment to fill in 0.

[0089] Further, in an optional embodiment, as Fig.11 As shown, the system also includes a redundant coding module 40. The redundant coding module 40 is used to take the coding table of the k-1th frame and merge it with the coding table of the kth frame; re-Huffman encode the residual of the k-1th frame in the merged coding table as the k-th frame coding, and re-Huffman encode the residual of the k-1th frame using the merged coding table of the k-1th frame as the k-1th frame redundant coding; the k-1th frame redundant coding and the k-th frame coding are combined into a data packet (k is an integer greater than 1), so that in the event of local data loss during the communication process, the current k-th frame data can still be restored through the data of the k-1th frame or the k+1th frame, and the communication error resistance capability is stronger on the original data link bandwidth, effectively improving the link utilization rate.

[0090] Specifically, the method of merging code tables is to appropriately expand the code length of the code table in Huffman coding. For example, after the code tables of frame k and frame k+1 are combined, the encoding results of frame k and frame k+1 data are not the optimal code tables, but are smaller than the size of the code books (code tables) encoded by two frames independently, that is, the two frames are encoded together to form one code book.

[0091] Further, in an optional implementation, the full frame data of the telemetry code stream includes 64 sub-frames, and each sub-frame includes 8 bit time codes plus 240 sub-frames. Figure 4 The following is a schematic diagram of the original full-frame data format of aerospace telemetry code stream data after it is sent to the ground tracking and control station through space-based and ground-based links. Each sub-frame contains 240 bytes of content, and a telemetry code stream full-frame data contains 64 sub-frames. A sub-frame contains 8-bit time code + 240 bytes (sub-frame) data. The meaning of the data represented by each byte (sub-frame) can be set by the undertaker of the aerospace launch mission. 64 sub-frames, 240 sub-frames, and 8-bit time code, these three values ​​are more in line with the data format of the current aerospace telemetry system. The 8-bit time is the year, month, day, hour, minute, second, and millisecond values ​​encoded in BCD (Binary-Coded Decimal), which is a time code automatically generated by the ground receiving end. It should also be noted that Figure 4 In the example, the subframe synchronization code is 0xEB90, and the subframe synchronization code is 0x146F. From the examples of the subframe synchronization code and the subframe synchronization code, we can see that Figure 4 The sub-frame synchronization code is actually the full-frame synchronization code, indicating the end of a full frame.

[0092] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0093] Embodiment 3

[0094] Based on the above embodiment 1, Fig.12 As shown, an embodiment of the present invention provides a computer-readable storage medium 50 on which a computer program 51 is stored. When the program is executed by a processor, any one of the methods in the first embodiment is implemented.

[0095] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium 50. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium 50. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium 50 may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. Of course, there are other forms of readable storage media, such as quantum memory, graphene memory, etc. It should be noted that the content contained in the computer-readable medium 50 can be appropriately increased or decreased according to the requirements of legislation and patent practices in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practices, the computer-readable medium 50 does not include electrical carrier signals and telecommunication signals.

[0096] Embodiment 4

[0097] Based on the first embodiment, Fig.13 As shown, an embodiment of the present invention provides a computer device 60, which includes: one or more processors 61, a communication interface 62, a memory 63 and a communication bus 64, wherein the processor 61, the communication interface 62, and the memory 63 communicate with each other through the communication bus 64.

[0098] Memory 63, used for storing computer programs;

[0099] The processor 61 is used to implement the steps of the telemetry code stream forward prediction encoding method in the above-mentioned embodiment 1 when executing the program stored in the memory 63.

[0100] In one possible design, the processor 61 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPTB2022050) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0101] The memory 63 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 63 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 63 may include a removable or non-removable (or fixed) medium. In a particular embodiment, the memory 63 is a non-volatile solid-state memory. In a particular embodiment, the memory 63 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0102] Communication bus 64 includes hardware, software or both, for coupling the above-mentioned components to each other.For example, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations.In suitable cases, bus may include one or more buses.Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0103] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0104] Although the present application provides method operation steps such as embodiments or flow charts, more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the actual device or client product is executed, it can be executed in the order of the method shown in the embodiments or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment).

[0105] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0108] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for forward prediction coding of aerospace telemetry code stream, characterized in that: The following steps are involved: Each sub-frame is grouped and divided into a plurality of sub-frame sub-units containing a plurality of sampling values; wherein the telemetry code stream full frame data includes a plurality of said sub-frames, and each of said sub-frames includes a plurality of bit time codes and a plurality of sub-frames; Taking adjacent subframes and performing calculations using linear prediction coding, to obtain a p-order prediction coefficient and a residual of each subframe; Performing Huffman coding on the first frame residual to obtain a Huffman coding result of the first frame residual, and combining the Huffman coding result of the first frame residual and a p-order prediction coefficient of the first frame to form a first frame code; The difference between the residual of the nth frame and the residual of the n-1th frame is Huffman encoded to obtain a Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame, and the Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame and the p-order prediction coefficient of the nth frame form the nth frame code; wherein n is an integer greater than 1.

2. The method according to claim 1, characterized in that After the step of grouping each sub-frame into a plurality of sub-frame sub-units including a plurality of sampling values, the method further includes the steps of: Adding p0 sampling values ​​to the head of each sub-frame sub-unit; The p0 sample values ​​added at the head of the first sub-frame sub-unit and the p0 sample values ​​at the tail of the last sub-frame sub-unit are all assigned to 0.

3. The method according to claim 1, characterized in that After the step of forming the nth frame code, the step further includes: Take the coding table of the k-1th frame and merge it with the coding table of the kth frame; The k-th frame residual is re-encoded with Huffman coding in the combined coding table as the k-th frame coding, and the k-1-th frame residual is re-encoded with Huffman coding in the combined coding table of the k-th frame as the k-1-th frame redundant coding; The redundant code of the k-1th frame and the code of the kth frame are combined into a data packet; wherein k is an integer greater than 1.

4. The method according to claim 1, characterized in that The full frame data of the telemetry code stream includes 64 sub-frames, and each sub-frame includes 8 bit time codes plus 240 sub-frames.

5. A space telemetry code stream forward prediction coding system, characterized in that: It includes: A grouping module is used to group each sub-frame into a plurality of sub-frame sub-units containing a plurality of sampling values; wherein the telemetry code stream full frame data includes a plurality of sub-frames, and each of the sub-frames includes a plurality of bit time codes plus a plurality of sub-frames; An inter-frame forward prediction and coding module, used for performing linear prediction coding calculation on adjacent subframes to obtain a p-order prediction coefficient and a residual of each subframe; The inter-frame forward prediction and encoding module is also used to perform Huffman encoding on each subframe, which specifically includes: Performing Huffman coding on the first frame residual to obtain a Huffman coding result of the first frame residual; combining the Huffman coding result of the first frame residual and the p-order prediction coefficient of the first frame to form the first frame coding; The difference between the residual of the nth frame and the residual of the n-1th frame is Huffman encoded to obtain a Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame, and the Huffman encoding result of the difference between the residual of the n-1th frame and the residual of the nth frame and the p-order prediction coefficient of the nth frame form the nth frame code; wherein n is an integer greater than 1.

6. The system according to claim 5, characterized in that It also includes: The spectrum estimation distortion prevention module is used to add p0 sampling values ​​at the head of each sub-frame sub-unit; the p0 sampling values ​​added at the head of the first sub-frame sub-unit and the p0 sampling values ​​at the tail of the last sub-frame sub-unit are all assigned to 0.

7. The system according to claim 6, characterized in that It also includes: The redundant coding module is used to take the coding table of the k-1th frame and merge it with the coding table of the kth frame; re-Huffman encode the residual of the k-1th frame in the merged coding table as the k-th frame coding, and re-Huffman encode the residual of the k-1th frame using the merged coding table of the k-th frame as the redundant coding of the k-1th frame; combine the redundant coding of the k-1th frame and the coding of the k-1th frame into a data packet; wherein k is an integer greater than 1.

8. The system according to claim 7, characterized in that The full frame data of the telemetry code stream includes 64 sub-frames, and each sub-frame includes 8 bit time codes plus 240 sub-frames.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the forward prediction coding method for aerospace telemetry code stream as described in any one of claims 1 to 4 is implemented.

10. A computer device, characterized in that: It includes one or more processors, communication interfaces, memory and communication buses; Wherein, the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; When the processor is used to execute the program stored in the memory, it implements the aerospace telemetry code stream forward prediction encoding method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Lossless compression method for bridge health monitoring sensor data

    CN111836045A

  • Apparatus and method for generating a coded video sequence and for decoding a coded video sequence by using an intermediate layer residual value prediction

    US20060083308A1