Telemetry data elastic transmission method, device, electronic equipment and storage medium
By compressing and formatting in units of telemetry data frames and optimizing telemetry data transmission with identification code, the problems of compression rate and error diffusion in telemetry data transmission are solved, efficient telemetry data transmission is achieved, and communication links are guaranteed. reliability.
Patent Information
- Application Number
- CN202210532326.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-09
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2042-05-09
AI Technical Summary
The existing telemetry data compression algorithms are difficult to further improve the compression rate and are prone to error diffusion. The elastic transmission method of telemetry data is defective, making it difficult to ensure the level margin of the communication link under the condition of limited transmission bandwidth.
By compressing in units of telemetry data frames, discarding repeated bytes, and generating new data frames based on the remaining bytes, and formatting processing with the identification code, a multi-objective optimization model is established to improve compression rate and transmission efficiency and prevent code error diffusion.
It effectively improves the elastic transmission efficiency of telemetry data, ensures the level margin of the communication link, saves communication resources, and avoids the spread of errors.
Smart Images

Figure CN114978425B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device, electronic device and storage medium for elastic transmission of telemetry data. Background Art
[0002] Telemetry data is an important representation of the satellite's on-orbit operating status, with the characteristics of many types of parameters, different change characteristics, and periodic collection. At the same time, most telemetry parameters change slowly, and the amount of new information added each time is limited, which makes satellite telemetry data highly redundant.
[0003] The high reliability of satellite telemetry data transmission links is the key to the success of satellite missions, and the high redundancy of telemetry data provides the possibility for elastic transmission of telemetry data. Under the condition of limited transmission bandwidth, in order to eliminate the waste of data transmission and processing costs and ensure the level margin of the communication link, the transmission rate of telemetry data should be reduced, so it is necessary to compress and elastically transmit telemetry data.
[0004] In terms of telemetry data compression, lossless compression is usually used, including Huffman coding, run-length coding, arithmetic coding, and LZ series coding. In recent years, domestic and foreign scholars have also used clustering, machine learning, and other methods to compress telemetry data in combination with its own characteristics. The existing algorithms have two disadvantages. First, it is difficult to further improve the compression rate of lossless compression, and second, it is easy to cause error diffusion. It is necessary to combine these two points to improve the telemetry data compression method.
[0005] In the related art, the elastic transmission method of telemetry data has some defects, and it is necessary to find an improved elastic transmission method of telemetry data. Summary of the invention
[0006] The present application provides a method, device, electronic device and computer-readable storage medium for elastic transmission of telemetry data, which effectively improves the elastic transmission efficiency, prevents the propagation of errors during the elastic transmission process, and achieves the purpose of ensuring the communication link level margin and saving communication resources under the condition of limited transmission bandwidth.
[0007] The first aspect of the present application provides a method for elastic transmission of telemetry data, comprising the following steps: acquiring telemetry data to be transmitted; compressing repeated bytes of at least one data frame in the telemetry data, and generating a new data frame based on the remaining uncompressed bytes and corresponding positions in the at least one data frame; generating compressed telemetry data based on the new data frame and the uncompressed data frame, and sending the compressed telemetry data to a receiving end, so that the receiving end obtains the telemetry data after decompressing the compressed telemetry data.
[0008] In an embodiment of the present application, compressing the repeated bytes of at least one data frame in the telemetry data and generating a new data frame based on the remaining uncompressed bytes and corresponding positions in the at least one data frame includes: identifying at least one reference data frame and a data frame to be compressed in the telemetry data according to a target compression interval; discarding the repeated bytes of the data frame to be compressed and the at least one reference data frame, identifying the positions of the remaining bytes in the data frame to be compressed, and composing the new data frame according to the remaining bytes and the corresponding positions.
[0009] In an embodiment of the present application, before discarding the repeated bytes of the data frame to be compressed and the at least one reference data frame, it also includes: judging whether the total length of the repeated bytes is greater than the discarding length; if the total length of the repeated bytes is greater than the discarding length, discarding the repeated bytes, otherwise not compressing the data frame to be compressed.
[0010] In an embodiment of the present application, before discarding the repeated bytes of the data frame to be compressed and the at least one reference data frame, it also includes: determining whether the data of the data frame to be compressed is the same as the data of the at least one reference data frame; if they are the same, discarding the data frame to be compressed and recording the frame header of the data frame to be compressed, otherwise, determining whether the total length of the repeated bytes is greater than the discarding length.
[0011] In an embodiment of the present application, before sending the compressed telemetry data to the receiving end, it also includes: formatting the compressed telemetry data according to an identification code so that the compressed telemetry data meets the target transmission conditions, wherein the identification code is used to identify the byte length of each data frame.
[0012] The second aspect of the present application provides a telemetry data elastic transmission device, including: an acquisition module, used to acquire telemetry data to be transmitted; a compression module, used to compress repeated bytes of at least one data frame in the telemetry data, and generate a new data frame based on the remaining uncompressed bytes and corresponding positions in the at least one data frame; a transmission module, used to generate compressed telemetry data based on the new data frame and the uncompressed data frame, and send the compressed telemetry data to a receiving end, so that the receiving end decompresses the compressed telemetry data to obtain the telemetry data.
[0013] In an embodiment of the present application, the compression module is used to: identify at least one reference data frame and a data frame to be compressed in the telemetry data according to a target compression interval; discard repeated bytes of the data frame to be compressed and the at least one reference data frame, and identify the positions of the remaining bytes in the data frame to be compressed, and compose the new data frame according to the remaining bytes and the corresponding positions.
[0014] In an embodiment of the present application, it also includes: a first judgment module, which is used to judge whether the total length of the repeated bytes is greater than the discarding length before discarding the repeated bytes of the data frame to be compressed and the at least one reference data frame; if the total length of the repeated bytes is greater than the discarding length, the repeated bytes are discarded, otherwise the data frame to be compressed is not compressed.
[0015] In an embodiment of the present application, it also includes: a second judgment module, which is used to judge whether the data of the data frame to be compressed and the at least one reference data frame are the same before discarding the repeated bytes of the data frame to be compressed and the at least one reference data frame; if they are the same, discard the data frame to be compressed and record the frame header of the data frame to be compressed, otherwise, judge whether the total length of the repeated bytes is greater than the discarding length.
[0016] In an embodiment of the present application, it also includes: a processing module, which is used to format the compressed telemetry data according to an identification code before sending the compressed telemetry data to a receiving end, so that the compressed telemetry data meets the target transmission conditions, wherein the identification code is used to identify the byte length of each data frame.
[0017] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for elastic transmission of telemetry data as described in the above embodiment.
[0018] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to implement the method for elastic transmission of telemetry data as described in the above embodiment.
[0019] Therefore, this application has at least the following beneficial effects:
[0020] Compression is performed in units of telemetry data frames. Multiple desired objectives such as compression rate, identification line occupancy ratio, error synchronization probability, frame loss rate, etc. are comprehensively considered, and a multi-objective optimization model is established to obtain the optimal compression and data processing spacing parameters that meet the constraints. Highly redundant satellite telemetry data can be compressed and transmitted elastically, ensuring the level margin of the communication link and effectively improving the elastic transmission efficiency. Therefore, the telemetry data can be compressed without relying on the physical characteristics of the telemetry data and expert experience, and the error propagation in the elastic transmission process can be prevented, so as to achieve the purpose of ensuring the level margin of the communication link and saving communication resources under the condition of limited transmission bandwidth.
[0021] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0023] Figure 1 A flowchart of a telemetry data elastic transmission method provided according to an embodiment of the present application;
[0024] Figure 2 A satellite adjacent telemetry data frame format and data composition diagram provided according to an embodiment of the present application;
[0025] Figure 3 A graph showing a change trend of a ratio of the number of bytes occupied by a logo row according to an embodiment of the present application;
[0026] Figure 4 A graph showing a change trend (logarithm) of the probability of error synchronization with n according to an embodiment of the present application;
[0027] Figure 5 A trend diagram of data accuracy changing with n under different frame loss rates provided in an embodiment of the present application;
[0028] Figure 6 A flowchart of elastic transmission of telemetry data provided according to an embodiment of the present application;
[0029] Figure 7 This is an example diagram of a telemetry data elastic transmission result provided according to an embodiment of the present application;
[0030] Figure 8 This is an example diagram of a telemetry data elastic transmission device provided according to an embodiment of the present application;
[0031] Fig. 9 It is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0033] In the related technology, there are many types of satellite telemetry parameters, high data generation rate, and huge total data volume, which brings tremendous pressure to the limited bandwidth channel transmission and limited storage media. In order to ensure the level margin of the communication link and eliminate the waste of data transmission and processing costs, it is necessary to compress and elastically transmit the telemetry data, and the highly redundant characteristics of satellite telemetry data provide feasibility for the elastic transmission of telemetry data. To this end, the embodiment of the present application provides an elastic compression processing and transmission scheme for telemetry data based on the local characteristics of satellite telemetry data, that is, a method, device, electronic device and computer-readable storage medium for elastic transmission of telemetry data are proposed.
[0034] The following will describe a telemetry data elastic transmission method, device, electronic device and computer-readable storage medium according to an embodiment of the present application with reference to the accompanying drawings. Specifically, Figure 1 A flowchart of a method for elastic transmission of telemetry data provided in an embodiment of the present application.
[0035] like Figure 1 As shown, the telemetry data elastic transmission method includes the following steps:
[0036] In step S101, telemetry data to be transmitted is obtained.
[0037] In step S102, repeated bytes of at least one data frame in the telemetry data are compressed, and a new data frame is generated according to remaining uncompressed bytes and corresponding positions in the at least one data frame.
[0038] It can be understood that the present application can compress and process in real time in units of telemetry data frames, can perform feature analysis on telemetry quantities according to the telemetry data frame format, can compress in units of telemetry data frames, can reorganize telemetry data frames, can retain changed bytes, can discard unchanged bytes, and can record the position and content of changed bytes in a storage area in a "position + data" manner, thereby limiting the propagation of bit errors to within two bytes, effectively suppressing the propagation of transmission bit errors.
[0039] by Figure 2 For example, the dashed box represents the first and second frames of telemetry data, the light-colored squares represent that the corresponding data of the first and second frames have changed, and the dark-colored squares represent that the corresponding data of the first and second frames have not changed. In other words, the light-colored squares represent valid data and the gray-colored squares represent redundant data. The gray-colored squares only need to be recorded once, and only the light-colored squares need to be paid attention to.
[0040] In an embodiment of the present application, repeated bytes of at least one data frame in telemetry data are compressed, and a new data frame is generated based on the remaining uncompressed bytes and corresponding positions in at least one data frame, including: identifying at least one reference data frame and a data frame to be compressed in the telemetry data according to a target compression interval; discarding repeated bytes of the data frame to be compressed and at least one reference data frame, and identifying the positions of the remaining bytes in the data frame to be compressed, and forming a new data frame based on the remaining bytes and the corresponding positions.
[0041] It can be understood that the embodiments of the present application can perform compression in units of telemetry data frames, comprehensively consider multiple desired goals such as compression rate, identification line occupancy ratio, error synchronization probability, frame loss rate, etc., establish a multi-objective optimization model, and obtain the optimal compression and data processing spacing parameters that meet the constraints, thereby providing compression and processing spacing based on multi-objective optimization conditions, effectively improving the elastic transmission efficiency.
[0042] In an embodiment of the present application, before discarding the repeated bytes of the data frame to be compressed and at least one reference data frame, it also includes: determining whether the data of the data frame to be compressed is the same as the data of the at least one reference data frame; if they are the same, discarding the data frame to be compressed and recording the frame header of the data frame to be compressed, otherwise, determining whether the total length of the repeated bytes is greater than the discarding length; if the total length of the repeated bytes is greater than the discarding length, discarding the repeated bytes, otherwise the data frame to be compressed is not compressed.
[0043] It can be understood that the embodiment of the present application can record the frame header of the updated telemetry data frame in the storage area to record its position when the data in the updated telemetry data frame changes, so that the frame header can be retained during compression to identify the position of the telemetry frame; if the data in the updated telemetry data frame changes and the length of the changed data is small, the data is recorded in the form of "position + data", and when the length of the changed data is large, no operation is performed and the entire updated telemetry data frame is recorded in the storage area.
[0044] For example, for a set of telemetry data a*b (a frames, each frame has b bytes), each k a The frame is compressed once, and the 1st, kth a +1,2k a +1,.......,i*k a +1(i,k a ∈N +) frame telemetry data is stored in the buffer. After receiving the updated telemetry data frame, it is compared with the adjacent telemetry data frame in the buffer. If the data in the updated telemetry data frame has not changed, the frame header of the updated telemetry data frame is recorded in the storage area to record its position; if the data in the updated telemetry data frame has changed, and the length of the changed data is less than 1 / 2 of the length of the telemetry data frame, the unchanged bytes are discarded, and the position and content of the changed bytes are recorded in the storage area in the form of "position + data"; if the data in the updated telemetry data frame has changed, but the length of the changed data is not less than 1 / 2 of the length of the telemetry data frame, no operation is performed, and the entire updated telemetry data frame is recorded in the storage area. The data in the storage area is transmitted to the ground station, and the above steps are repeated until all the telemetry data are processed. Therefore, the compressed telemetry data is a*x (a frame, the number of bytes in each frame is x), where x≤b.
[0045] It should be noted that when compression is performed, the compression ratio is CR when the sub-packet compression method is not used, that is, when k a = a, the actual compression ratio CR is the smallest and the compression effect is the best. In order to reduce the loss caused by frame loss, it is necessary to adopt a packet compression method and select a certain compression interval k. a Then, the compression ratio is obtained It can be seen that the telemetry data compression rate increases with k a The value of k decreases with the increase of k. a The value of is determined by the required compression ratio R com Decide.
[0046] In step S103, compressed telemetry data is generated according to the new data frame and the uncompressed data frame, and the compressed telemetry data is sent to the receiving end, so that the receiving end decompresses the compressed telemetry data to obtain the telemetry data.
[0047] In the embodiment of the present application, before the compressed telemetry data is sent to the receiving end, the method further includes: formatting the compressed telemetry data according to the identification code so that the compressed telemetry data meets the target transmission condition, wherein the identification code is used to identify the byte length of each data frame.
[0048] It is understandable that in order to meet the requirements of telemetry data transmission format, it is necessary to process the compressed data in a format and select the best compression and processing parameters under multi-objective optimization conditions. After the compressed and processed telemetry data is transmitted through the channel, the data format is restored at the receiving end through the identification code, and then decompressed in units of telemetry data packets to complete the entire telemetry data elastic transmission process. Through the above-mentioned telemetry data elastic transmission method, highly redundant satellite telemetry data can be compressed and elastically transmitted, ensuring the level margin of the communication link.
[0049] Specifically, data processing, data recovery, and telemetry data decompression are described below as follows:
[0050] 1. Data processing
[0051] The number of bytes per frame of the telemetry data after packet compression is different, which does not meet the requirements of the telemetry data transmission format. It is necessary to use the identification code to process the format. The method includes: for a group of telemetry data m*k a *p(m*k a Frames, the number of bytes in each frame is p), first determine the number of bytes in each frame, and then every n*k a Insert a segment of identification code with a code length of l, followed by the number of bytes per frame, as the identification line (1st, kth a +1,2k a +1, ..., i*k a +1(i,k a ∈N + ) frames are not compressed, and their bytes are uploaded only once), and then the telemetry data is transmitted. The purpose of introducing the identification code is to achieve frame synchronization by inserting a special code group, usually using a coherent insertion method. Therefore, the selection of the identification code has the following requirements:
[0052] 1) The identification code should be easy to generate and identify, and be distinguished from the data code element;
[0053] 2) The length of the identification code needs to be considered comprehensively. If the length is too long, the system communication efficiency will be reduced, and if the length is too short, the probability of incorrect synchronization will be increased.
[0054] Based on the above requirements, a frame synchronization code with advantages such as easy recognition and low error probability can be selected as the identification code. At the same time, for telemetry data frames that are not encoded or use convolutional encoding, the frame synchronization code can be set to 1ACFFC1D, which can be directly used as the identification code.
[0055] In data processing, the value of n affects the elastic transmission efficiency from three perspectives: the proportion of bytes occupied by the identification line, the probability of error synchronization, and the loss caused by frame loss. It is necessary to establish a multi-objective optimization model to calculate the appropriate value of n. The methods include:
[0056] 1) The proportion of bytes occupied by the identification line should be as small as possible. The length of the identification line L = I + n * (k a -1), compressed n*k a The number of bytes in is N = n*k a +n*p+n*(k a -1)*q, where q≤p, then the occupancy ratio of the identification row is When q = 0, the lower bound is reached, N min =n*k a+n*p; when q=p, the upper bound is reached, N max =n*k a +n*p+n*(k a -1)*p=n*k a *(p+1), so we have Right now In k a When , l, and p are determined, R changes with n as follows Figure 3 As shown, it is found that in order to make R as small as possible, the larger n is, the better. Since q≤p has an uncertain value, the upper bound is used as the objective function, that is,
[0057] 2) The probability of false synchronization is as small as possible. According to the Bernoulli independent experiment, in the process of byte-by-byte sliding search of n bytes, the probability of forging the local r-byte frame synchronization code by random data is The specific background of this issue is Where a is the probability of success in each experiment, b is the probability of failure (i.e. b = 1-a), and x is the equation s = 1 + b a l s l+1 The smallest positive root of can be solved by iterative approximation. The error probability changes with n as follows Figure 4 As shown, it is found that in order to minimize the error probability, the larger n is, the better.
[0058] 3) The loss caused by frame loss should be minimized. The effect of frame loss rate on decompression effect is reflected as follows: The accuracy rate changes with n as follows Figure 5 It is found that when the frame loss rate is constant, in order to minimize the loss caused by frame loss, the smaller n is, the better.
[0059] Thus, the following multi-objective optimization problem can be formed:
[0060]
[0061]
[0062]
[0063] st1<n≤m,n∈N
[0064] Among them, the function f i(n){i=1,2,3} is the objective function, 1<n≤m, n∈N is the constraint function, and the value of n is the feasible domain of the above formula. In this multi-objective optimization problem, there are 3 objective functions (2 minimization objective functions and 1 maximization objective function) and 2 constraint functions. Minimize the objective function of the above multi-objective optimization problem formula The standard multi-objective optimization model in the above context is obtained: min F(x) = [f 1 (n), f 2 (n), f' 3 (n)] T , st1<n≤m, n∈N.
[0065] The solution methods for multi-objective optimization problems include traditional transformation methods based on linear weighting method, constraint method, target programming method and other algorithms, and intelligent solution methods including genetic algorithm, ant colony algorithm and particle swarm algorithm. This problem adopts the traditional weighted method, which includes: setting the weight ω = [ω 1 ,ω 2 ,ω 3 ] T , we have F(x)=ω T [f 1 (n), f 2 (n), f' 3 (n)] T =ω 1 f 1 (n)+ω 2 f 2 (n)+ω 3 f 3 (n), and obtain the final multi-objective optimization model min F(x), st1<n≤m, n∈N, ω 1 +ω 2 +ω 3 =1.
[0066] 2. Data recovery: After the telemetry data transmission is completed, data recovery is required, that is, the data is cut by reading the identification code and the number of bytes in each row to restore it to the format before the data format processing to complete the decompression process. The specific method is: for the sequence received by the receiving end, the identification code is searched by bit matching. If the identification code is completely corresponding, the data sequence is cut according to the number of bytes per frame after the identification code to restore it to the form before the format processing; if the identification code corresponds incorrectly, continue to match and find the next identification code until the data sequence cutting is completed. In this way, the telemetry data can be restored to its previous format.
[0067] 3. Decompression of telemetry data: After the telemetry data format is restored, the decompression process needs to be completed to obtain the original telemetry data. The specific method of the decompression process is: for the compressed telemetry data a*x, the 1st, kth a +1,2k a +1,.......,i*k a +1(i,k a ∈N + ) frame telemetry data is stored in the buffer, and the data length of each remaining frame is determined in sequence. If the data length x in the telemetry data frame is the same as the original telemetry data frame length b, no operation is performed, and the telemetry data frame is recorded in its entirety; if the data length x in the telemetry data frame is x=1 (only the position frame header), then except for the position frame header, it is padded with the adjacent telemetry frames in the buffer to obtain a telemetry frame with a data length of b; if the data length x in the telemetry data frame is x<b and x≠1, the changed data is padded by the "position+data" method, and the unchanged data is padded with the adjacent telemetry frames in the buffer to obtain a telemetry frame with a data length of b. Repeat the above steps until all the telemetry data has been processed, that is, the decompression process is completed.
[0068] It should be noted that the embodiments of the present application can be applied to various satellite telemetry data, and are not limited to the real-time telemetry data in the embodiments of the present application. The following will take the real-time telemetry data of a satellite mission as an example to further illustrate the elastic transmission method of telemetry data. Figure 6 As shown, the details are as follows:
[0069] First, select Figure 2 The telemetry data of a part of the telemetry data frame shown in the figure implements the complete telemetry data elastic transmission process of the embodiment of the present application in an ideal channel with a frame loss rate of 0. The parameters are set as follows: the telemetry data volume is 6*10 (6 frames, each frame has 10 bytes), the compression interval k a =3, data processing interval n*k a =1*3=3, using frame synchronization code 1ACFFC1D as identification code. This allows flexible transmission of telemetry data, with a compression rate of CR 0 =0.7333, the accuracy of the decompressed data is 100%, and the relevant results are as follows Figure 7 For easy viewing, the bytes and identifiers that have changed in the telemetry data are highlighted with underlines.
[0070] Select a satellite telemetry data set and perform elastic transmission based on the telemetry characteristics. For a certain set of satellite telemetry data sets, the amount of telemetry data is 455*121 (m*k a=455, the number of bytes per frame p = 121), the compression rate when not using the packet compression method is CR = 0.5168, the required compression rate of the channel R com = 0.6130 .Depend on Calculate k a =5, we get m=91. Using the frame synchronization code 1ACFFC1D as the identification code, I=4. Take ω 1 =0.5,ω 2 =0.1,ω 3 =0.4, frame loss rate x r =0.01, success rate a=0.01, b=0.99. Thus, the multi-objective optimization model is obtained as follows:
[0071]
[0072] st1<n≤91,n∈N
[0073] Calculated n = 2. Therefore, for the satellite telemetry data, k a =5 for compression, the compression ratio is CR 1 =0.6135>R com =0.6130, which is consistent with the theoretical result. After compression, n*k a =2*5=10 for format processing, and simulate the channel transmission and subsequent format recovery and decompression process. If the frame loss rate during channel transmission is 0, the decompression accuracy is 100.0% compared with the original telemetry data; if the frame loss rate during channel transmission is 0.2%, the decompression accuracy is 96.26% compared with the original telemetry data.
[0074] It can be seen that the embodiments of the present application can effectively solve the transmission pressure brought by satellite telemetry data with many parameter types, high data generation rate and huge total data volume to the channel transmission with limited bandwidth and limited storage media, and proposes a telemetry data elastic transmission scheme that does not rely on expert experience and the physical characteristics of telemetry data. It subpackets, compresses and elastically transmits highly redundant telemetry data, which reduces the waste of data transmission costs and saves communication resources while providing the possibility of ensuring the high reliability of communication links.
[0075] According to the elastic transmission method of telemetry data proposed in the embodiment of the present application, compression is performed in units of telemetry data frames, and multiple desired objectives such as compression rate, identification line occupancy ratio, error synchronization probability, frame loss rate, etc. are comprehensively considered to establish a multi-objective optimization model to obtain the optimal compression and data processing spacing parameters that meet the constraints. Highly redundant satellite telemetry data can be compressed and elastically transmitted, thereby ensuring the level margin of the communication link and effectively improving the elastic transmission efficiency. Therefore, the telemetry data can be compressed without relying on the physical characteristics of the telemetry data and expert experience, and the propagation of errors in the elastic transmission process can be prevented, thereby achieving the purpose of ensuring the level margin of the communication link and saving communication resources under the condition of limited transmission bandwidth.
[0076] Next, the telemetry data elastic transmission device proposed according to the embodiment of the present application is described with reference to the accompanying drawings.
[0077] Figure 8 It is a block diagram of a telemetry data elastic transmission device according to an embodiment of the present application.
[0078] like Figure 8 As shown, the telemetry data elastic transmission device 10 includes: an acquisition module 100, a compression module 200 and a transmission module 300.
[0079] Among them, the acquisition module 100 is used to acquire the telemetry data to be transmitted; the compression module 200 is used to compress the repeated bytes of at least one data frame in the telemetry data, and generate a new data frame according to the remaining uncompressed bytes and corresponding positions in the at least one data frame; the transmission module 300 is used to generate compressed telemetry data according to the new data frame and the uncompressed data frame, and send the compressed telemetry data to the receiving end, so that the receiving end decompresses the compressed telemetry data to obtain the telemetry data.
[0080] In an embodiment of the present application, the compression module 200 is used to: identify at least one reference data frame and a data frame to be compressed in the telemetry data according to a target compression interval; discard duplicate bytes of the data frame to be compressed and at least one reference data frame, and identify the positions of the remaining bytes in the data frame to be compressed, and compose a new data frame according to the remaining bytes and the corresponding positions.
[0081] In the embodiment of the present application, the device 10 of the embodiment of the present application further includes: a first judgment module. The first judgment module is used to judge whether the total length of repeated bytes is greater than the discarding length before discarding the repeated bytes of the data frame to be compressed and at least one reference data frame; if the total length of repeated bytes is greater than the discarding length, the repeated bytes are discarded, otherwise the data frame to be compressed is not compressed.
[0082] In the embodiment of the present application, the device 10 of the embodiment of the present application further includes: a second judgment module. The second judgment module is used to judge whether the data of the data frame to be compressed and the at least one reference data frame are the same before discarding the repeated bytes of the data frame to be compressed and the at least one reference data frame; if they are the same, discard the data frame to be compressed and record the frame header of the data frame to be compressed; otherwise, judge whether the total length of the repeated bytes is greater than the discard length.
[0083] In the embodiment of the present application, the device 10 of the embodiment of the present application further includes: a processing module. The processing module is used to format the compressed telemetry data according to the identification code before sending the compressed telemetry data to the receiving end, so that the compressed telemetry data meets the target transmission condition, wherein the identification code is used to identify the byte length of each data frame.
[0084] It should be noted that the aforementioned explanation of the embodiment of the telemetry data elastic transmission method is also applicable to the telemetry data elastic transmission device of this embodiment, and will not be repeated here.
[0085] According to the telemetry data elastic transmission device proposed in the embodiment of the present application, compression is performed in units of telemetry data frames, and multiple desired objectives such as compression rate, identification line occupancy ratio, error synchronization probability, frame loss rate, etc. are comprehensively considered to establish a multi-objective optimization model to obtain the optimal compression and data processing spacing parameters that meet the constraints. Highly redundant satellite telemetry data can be compressed and elastically transmitted, thereby ensuring the level margin of the communication link and effectively improving the elastic transmission efficiency. Therefore, the telemetry data can be compressed without relying on the physical characteristics of the telemetry data and expert experience, and the propagation of errors during the elastic transmission process can be prevented, thereby achieving the purpose of ensuring the level margin of the communication link and saving communication resources under the condition of limited transmission bandwidth.
[0086] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0087] A memory 901 , a processor 902 , and a computer program stored in the memory 901 and executable on the processor 902 .
[0088] When the processor 902 executes the program, the telemetry data elastic transmission method provided in the above embodiment is implemented.
[0089] Furthermore, the electronic device further comprises:
[0090] The communication interface 903 is used for communication between the memory 901 and the processor 902 .
[0091] The memory 901 is used to store computer programs that can be executed on the processor 902 .
[0092] The memory 901 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0093] If the memory 901, the processor 902 and the communication interface 903 are implemented independently, the communication interface 903, the memory 901 and the processor 902 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0094] Optionally, in a specific implementation, if the memory 901, the processor 902 and the communication interface 903 are integrated on a chip, the memory 901, the processor 902 and the communication interface 903 can communicate with each other through an internal interface.
[0095] The processor 902 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0096] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned telemetry data elastic transmission method is implemented.
[0097] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0098] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0099] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0100] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0101] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
Claims
1. A telemetry data elastic transmission method, characterized in that: The following steps are involved: Obtain telemetry data to be transmitted; compressing repeated bytes of at least one data frame in the telemetry data, and generating a new data frame according to remaining uncompressed bytes and corresponding positions in the at least one data frame; The method of compressing repeated bytes of at least one data frame in the telemetry data and generating a new data frame according to the remaining uncompressed bytes and corresponding positions in the at least one data frame comprises: identifying at least one reference data frame and a data frame to be compressed in the telemetry data according to a target compression interval; discarding repeated bytes of the data frame to be compressed and the at least one reference data frame, identifying the positions of the remaining bytes in the data frame to be compressed, and forming the new data frame according to the remaining bytes and the corresponding positions. When performing compression, a packet compression method is adopted, and a certain target compression interval k is selected. a Then, the compression ratio is obtained CR is the compression ratio when the packet compression method is not used. The telemetry data compression ratio decreases as the target compression interval value increases; and Generate compressed telemetry data according to the new data frame and the uncompressed data frame, and send the compressed telemetry data to a receiving end, so that the receiving end decompresses the compressed telemetry data to obtain the telemetry data; Before discarding the repeated bytes of the data frame to be compressed and the at least one reference data frame, the method further includes: judging whether the total length of the repeated bytes is greater than the discarding length; if the total length of the repeated bytes is greater than the discarding length, discarding the repeated bytes, otherwise not compressing the data frame to be compressed; before discarding the repeated bytes of the data frame to be compressed and the at least one reference data frame, the method further includes: judging whether the data of the data frame to be compressed is the same as that of the at least one reference data frame; if they are the same, discarding the data frame to be compressed and recording the frame header of the data frame to be compressed, otherwise, judging whether the total length of the repeated bytes is greater than the discarding length; Before sending the compressed telemetry data to the receiving end, the method further includes: formatting the compressed telemetry data according to the identification code so that the compressed telemetry data meets the target transmission condition, wherein the identification code is used to identify the byte length of each data frame, and the formatting process is as follows: for a group of telemetry data m*k a *p,m*k a Frame, the number of bytes in each frame is p, determine the number of bytes in each frame, every n*k a Insert a segment of identification code with a code length of I, followed by the number of bytes per frame as the identification line, the 1st, kth a +1,2k a +1, ..., i*k a +1,i,k a ∈N + The frame is not compressed, and the bytes are uploaded only once. The value of n affects the elastic transmission efficiency from three perspectives: the proportion of bytes occupied by the identification line, the probability of error synchronization, and the loss caused by frame loss. A multi-objective optimization model is established to calculate the appropriate n value. The solution method of the multi-objective optimization model includes traditional transformation methods based on linear weighted method, constraint method, and target programming algorithm, and intelligent solution methods including genetic algorithm, ant colony algorithm, and particle swarm algorithm. The traditional weighted method is used. The method includes: setting weights have The final multi-objective optimization model min F(x) is obtained, st 1<n≤m, n∈N, ω1+ω2+ω3=1, where the function f i (n){i=1,2,3} is the objective function, 1<n≤m, n∈N is the constraint function, and the value of n is the feasible domain of the above formula.
2. A telemetry data elastic transmission device, characterized in that: The following steps are involved: An acquisition module, used for acquiring telemetry data to be transmitted; a compression module, configured to compress repeated bytes of at least one data frame in the telemetry data, and generate a new data frame according to remaining uncompressed bytes and corresponding positions in the at least one data frame; The compression module is used to: identify at least one reference data frame and a data frame to be compressed in the telemetry data according to a target compression interval; Discard the repeated bytes of the data frame to be compressed and the at least one reference data frame, identify the position of the remaining bytes in the data frame to be compressed, and form the new data frame according to the remaining bytes and the corresponding positions. When compressing, use the packet compression method and select a certain target compression interval k. a Then, the compression ratio is obtained CR is the compression ratio when the packet compression method is not used. The telemetry data compression ratio decreases as the target compression interval value increases; as well as A transmission module, configured to generate compressed telemetry data according to the new data frame and the uncompressed data frame, and send the compressed telemetry data to a receiving end, so that the receiving end decompresses the compressed telemetry data to obtain the telemetry data; A first judgment module is used to judge whether the total length of the repeated bytes of the to-be-compressed data frame and the at least one reference data frame is greater than a discarding length before discarding the repeated bytes of the to-be-compressed data frame; if the total length of the repeated bytes is greater than the discarding length, discard the repeated bytes, otherwise, do not compress the to-be-compressed data frame; A second judgment module is used to judge whether the data of the data frame to be compressed is the same as the data of the at least one reference data frame before discarding the repeated bytes of the data frame to be compressed and the at least one reference data frame; if they are the same, discard the data frame to be compressed and record the frame header of the data frame to be compressed; otherwise, judge whether the total length of the repeated bytes is greater than the discarding length; The processing module is used to format the compressed telemetry data according to the identification code before sending the compressed telemetry data to the receiving end, so that the compressed telemetry data meets the target transmission condition, wherein the identification code is used to identify the byte length of each data frame, and the format processing process is as follows: for a group of telemetry data m*k a *p,m*k a Frame, the number of bytes in each frame is p, determine the number of bytes in each frame, every n*k a Insert a segment of identification code with a length of l, followed by the number of bytes per frame as the identification line, the 1st, kth a +1,2k a +1, ..., i*k a +1,i,k a ∈N + The frame is not compressed, and the bytes are uploaded only once. The value of n affects the elastic transmission efficiency from three perspectives: the proportion of bytes occupied by the identification line, the probability of error synchronization, and the loss caused by frame loss. A multi-objective optimization model is established to calculate the appropriate n value. The solution method of the multi-objective optimization model includes traditional transformation methods based on linear weighted method, constraint method, and target programming algorithm, and intelligent solution methods including genetic algorithm, ant colony algorithm, and particle swarm algorithm. The traditional weighted method is used. The method includes: setting weights have The final multi-objective optimization model min F(x) is obtained, stl<n≤m, n∈N, ω1+ω2+ω3=1, where the function f i (n){i=1,2,3} is the objective function, 1<n≤m, n∈N is the constraint function, and the value of n is the feasible domain of the above formula.
3. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the telemetry data elastic transmission method as claimed in claim 1.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the telemetry data elastic transmission method as claimed in claim 1.
