CN115208512A - Telemetering data frame coding and decoding mode - Google Patents

Telemetering data frame coding and decoding mode Download PDF

Info

Publication number
CN115208512A
CN115208512A CN202210663581.1A CN202210663581A CN115208512A CN 115208512 A CN115208512 A CN 115208512A CN 202210663581 A CN202210663581 A CN 202210663581A CN 115208512 A CN115208512 A CN 115208512A
Authority
CN
China
Prior art keywords
data
byte
array
telemetering
bytes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210663581.1A
Other languages
Chinese (zh)
Other versions
CN115208512B (en
Inventor
郭晓佳
陶友
田勇
千军虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China North Communication Technology Co ltd
Original Assignee
China North Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China North Communication Technology Co ltd filed Critical China North Communication Technology Co ltd
Priority to CN202210663581.1A priority Critical patent/CN115208512B/en
Publication of CN115208512A publication Critical patent/CN115208512A/en
Application granted granted Critical
Publication of CN115208512B publication Critical patent/CN115208512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/009Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location arrangements specific to transmitters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0091Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location arrangements specific to receivers, e.g. format detection

Abstract

The invention discloses a telemetry data frame coding and decoding mode, and particularly relates to the technical field of wireless telemetry, which comprises a coding part and a decoding part, wherein the coding part divides data after frame synchronization coding of an original telemetry data frame according to 26 bytes of each group, 10 coding bytes in a coder array are initialized to be 0, a partitioned telemetry data block is operated with a coder to obtain a coder array, and the telemetry data block and the corresponding coder array are spliced into a coding telemetry data frame in sequence; the decoding part divides the data after the frame synchronization code of the coded telemetering data frame according to 36 bytes, calculates the decoder syndrome of the data block, judges whether the received data has error codes, extracts the telemetering data if no error codes exist, corrects the error and marks the error code position if the error codes exist, and finally combines the decoded telemetering data in sequence to recover the telemetering data frame. The telemetry data frame coding and decoding mode can reduce the receiving error rate of the telemetry data and correct the error code in a small range.

Description

Telemetering data frame coding and decoding mode
Technical Field
The invention relates to the technical field of wireless telemetry, in particular to a telemetry data frame coding and decoding mode.
Background
Encoding refers to converting digital values according to a method such that the encoded data is reconverted back to the original digital values within an acceptable error level, reconversion back being referred to as decoding.
In the field of wireless remote measurement, under the influence of the electromagnetic environment of a test area, errors can often occur in remote measurement data receiving, and a traditional remote measurement data frame adopts transparent transmission and has no coding verification mechanism, so that when abnormal points occur in received data, whether the received errors or original measured data are abnormal cannot be judged, and serious interference is caused to test result analysis. When continuous 0 or 1 appears in the data code stream of the system to be tested, the data synchronization and capture abnormality of the traditional telemetering data receiving end is easily caused, and the received data is lost.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a telemetry data frame coding and decoding mode, which reduces the receiving error rate of telemetry data through a coding and decoding technology, judges whether data abnormity is caused by receiving error codes, and can correct a small-range error code so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: the encoding part divides data after frame synchronization codes of an original telemetering data frame into 26 bytes according to each group, 10 encoding bytes in an encoder array are initialized to 0, the divided telemetering data blocks are operated with an encoder to obtain an encoder array, and the telemetering data blocks and the corresponding encoder array are spliced into encoding telemetering data frames in sequence; the decoding part divides the data after the frame synchronization code of the coded telemetering data frame according to 36 bytes, calculates the decoder syndrome of each data block, judges whether the received data has error codes according to the syndrome, extracts the telemetering data if no error codes exist, corrects the error and marks the error code position if the error codes exist, and finally combines the decoded telemetering data in sequence to recover the telemetering data frame.
In a preferred embodiment, the telemetry data frame is encoded as follows:
step 101, dividing an original telemetering data frame, wherein the original telemetering data frame comprises a frame header and data bytes, synchronous code bytes of the frame header do not participate in encoding, the rest bytes are divided into 26 bytes according to the original sequence to obtain a plurality of groups of telemetering data blocks, and when the data is divided, if the last section of data is less than 26 bytes, fixed hexadecimal data F0 is supplemented;
step 102, initializing an encoder array, and setting all bytes in the encoder array with the length of 10 bytes to be 0 before each telemetering data block starts encoding to obtain encoder array data with the length of 10 bytes;
103, calculating an encoder array, sequentially inputting 26 bytes of data in the telemetering data block into an encoder array calculation cycle, calculating the encoder array, and performing logical AND operation on 10 bytes of data in the encoder array calculated in the cycle and hexadecimal numbers 99 to obtain a final encoder array in order to prevent continuous 0 or 1 from appearing in the final encoded telemetering data frame;
and step 104, encoding telemetry data frame combination, namely splicing each group of 26-byte telemetry data blocks and corresponding 10-byte encoder array data into a group of 36-byte encoded data blocks, splicing the obtained groups of 36-byte encoded data blocks according to the sequence before telemetry data segmentation, and finally splicing the synchronization code of the frame header of the original telemetry data into the frame header to combine the final encoded telemetry data frame.
In a preferred embodiment, the telemetry data frame decoding mode steps are as follows:
105, dividing the coded telemetry data frame, taking out synchronous code bytes of the frame header, and dividing the residual data according to 36 bytes in one group to obtain a plurality of groups of coded data blocks;
106, calculating a syndrome of the decoder, decoding each group of coded data blocks respectively, initializing 10 bytes of data in the syndrome array of the decoder to 0, sequentially inputting 36 bytes of data in the coded data blocks into syndrome array calculation cycles of the decoder, and when the syndrome array of the decoder is decoded, sequentially inputting 36 bytes of data in the coded data blocks into syndrome array calculation cycles of the decoder to calculate the syndrome array of the decoder;
step 107, judging and correcting error codes, namely judging whether error codes exist in the reorganized coded data block according to the syndrome array result of the decoder, extracting telemetering data in the group of coded data blocks if no error codes exist, sequentially inputting the group of 36-byte data into an error correction cycle for error correction and marking the error code position if the error codes exist, and then extracting the telemetering data in the coded data block after error correction;
and 108, framing the telemetric data, combining the telemetric data extracted from each group of coded data blocks according to a segmentation sequence, supplementing the synchronous codes of the frame headers, and combining into a final telemetric data frame.
In a preferred embodiment, the encoder array calculates the loop by: inputting the 1 st byte data of the telemetering data block into an encoder array calculation cycle, and performing logical AND operation with the 10 th byte data in the encoder array to obtain a feedback word of the cycle; assigning 9 th byte data in an encoder array to a 10 th byte, assigning 8 th byte data and a feedback word to the 9 th byte after logical AND operation, assigning 7 th byte data and the feedback word to the 8 th byte after logical AND operation, assigning 6 th byte data to the 7 th byte, assigning 5 th byte data and the feedback word to the 6 th byte after logical AND operation, assigning 4 th byte data and the feedback word to the 5 th byte after logical AND operation, assigning 3 rd byte data to the 4 th byte, assigning 2 nd byte data to the 3 rd byte, assigning 1 st byte data to the 2 nd byte, and assigning the feedback word to the 1 st byte; after 26 times of loop calculation, an encoder array is obtained.
In a preferred embodiment, the decoder syndrome array calculates a loop by: assigning the 10 th byte data of the syndrome array of the decoder to a feedback word; the 9 th byte data and the input coding block carry out logic and operation on the 1 st byte data and then are assigned to the 10 th byte of the syndrome array of the decoder, the feedback word and the input data carry out logic and operation on the feedback word and the input data and then carry out logic and operation on the 8 th byte data and then are assigned to the 9 th byte, the 7 th byte data and the feedback word carry out logic and operation on the 7 th byte, the 6 th byte data are assigned to the 7 th byte, the 5 th byte data and the feedback word carry out logic and operation on the 5 th byte data and the feedback word and then are assigned to the 6 th byte, the feedback word and the input data carry out logic and operation on the 4 th byte data and then are assigned to the 5 th byte, the feedback word and the input data carry out logic and operation on the 3 rd byte data and then are assigned to the 4 th byte, the 2 nd byte data are assigned to the 3 rd byte, the 1 st byte data and the input data carry out logic and operation on the input data and then are assigned to the 2 nd byte, the feedback word and the input data and the 1 st byte data are assigned to the syndrome array of the 1 th byte after carrying out logic and operation; after 36 cycles, all data in the set of encoded data blocks participate in the calculation, and a syndrome array of the decoder is obtained.
In a preferred embodiment, the method for determining the error code includes: and performing logic OR operation on the 10 bytes of data in the syndrome array of the decoder, directly taking the telemetering data of the first 26 bytes as the decoded telemetering data if the result is logic 0, which indicates that no error code occurs in the coding block data, and otherwise, correcting errors and generating an error code position marking file.
In a preferred embodiment, the error correction loop operation is specifically performed by: firstly, calculating the logical OR operation of the 1 st byte to the 5 th byte of the syndrome array of the decoder, and if the result is that the logical 1 indicates the error code of the input coding block data but exceeds the error correction capability, keeping the input coding block byte data unchanged; if the result is logic 0 and the cycle number is less than or equal to 26, the error code of the input coding block byte is represented but the error can be corrected, the input coding block data and the 10 th byte of the syndrome array of the decoder are subjected to logic AND operation and then are assigned to the input coding block byte; then if the logical OR operation result of the 1 st byte to the 5 th byte of the syndrome array of the syndrome decoder is logical 0 and the 10 th byte thereof is logical 0, setting the feedback word in the error correction cycle to be 0, otherwise, assigning the 10 th byte data of the syndrome array of the decoder to the feedback word; then calculating a new decoder syndrome array, assigning the 9 th byte data to the 10 th byte, assigning the 8 th byte data to the 9 th byte after carrying out logic and operation on the 8 th byte data and a feedback word, assigning the 7 th byte data to the 8 th byte after carrying out logic and operation on the 7 th byte data and the feedback word, assigning the 6 th byte data to the 7 th byte, assigning the 6 th byte after carrying out logic and operation on the 5 th byte data and the feedback word, assigning the 4 th byte data to the 5 th byte after carrying out logic and operation on the 4 th byte data and the feedback word, assigning the 4 th byte after carrying out logic and operation on the 3 rd byte data and the feedback word, assigning the 2 nd byte data to the 3 rd byte, assigning the 1 st byte data to the 2 nd byte, and assigning the 1 st byte data; after 36 times of cyclic calculation, completing error correction of data in the coding block; finally, the first 26 bytes of telemetry data in the encoded data block data are extracted.
The invention has the technical effects and advantages that: the invention can obviously reduce the receiving error rate of the telemetering data, accurately judge the position of the error code data, avoid the occurrence of continuous 0 or 1 of the telemetering data through coding, is beneficial to the code speed synchronization and capture of a receiving end, can judge whether the data abnormity is caused by the receiving error code, and can correct the error code in a small range.
Drawings
FIG. 1 is a schematic diagram of a data frame encoding/decoding method according to the present invention.
FIG. 2 is a schematic diagram of an encoder array calculation cycle according to the present invention.
FIG. 3 is a schematic diagram of a syndrome calculation loop according to the present invention.
FIG. 4 is a schematic diagram of the syndrome array calculation of the decoder in the error correction loop according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Examples
The embodiment of the invention provides a telemetry data frame coding and decoding mode, which comprises a coding part and a decoding part, and as shown in figure 1, the coding and decoding steps comprise: the method comprises the steps of original telemetering data frame segmentation, encoder array initialization, encoder array calculation, encoding telemetering data frame combination, encoding telemetering data frame segmentation, decoder syndrome calculation, error code judgment and correction and telemetering data framing.
The coding part divides data after frame synchronization codes of an original telemetering data frame according to 26 bytes of each group, 10 coding bytes in an encoder array are initialized to 0, the divided telemetering data blocks are operated with an encoder to obtain an encoder array, the telemetering data blocks and the corresponding encoder array are spliced into coding telemetering data frames in sequence, and the coding mode of the telemetering data frames is as follows:
101, dividing an original telemetering data frame, wherein the original telemetering data frame comprises a frame header and data bytes, synchronous code bytes of the frame header do not participate in encoding, and the rest bytes are divided into 26 bytes in a group according to the original sequence to obtain a plurality of groups of telemetering data blocks;
102, initializing an encoder array, and setting all bytes in the encoder array with the length of 10 bytes to be 0 before each telemetering data block starts to encode to obtain encoder array data with the length of 10 bytes;
103, calculating an encoder array, sequentially inputting 26 bytes of data in the telemetry data block into an encoder array calculation cycle, and calculating the encoder array;
104 coding the telemetry data frame combination, firstly splicing each group of 26-byte telemetry data blocks and corresponding 10-byte coder array data into a group of 36-byte coded data blocks; and finally, splicing the synchronization codes of the frame head of the original telemetering data to the frame head to combine a final coding telemetering data frame.
The decoding part divides the data after the frame synchronization code of the coded telemetering data frame according to 36 bytes, calculates the decoder syndrome of each data block, judges whether the received data has error codes according to the syndrome, extracts the telemetering data if no error codes exist, corrects the error and marks the error code position if the error codes exist, and finally combines the decoded telemetering data in sequence to recover the telemetering data frame, wherein the telemetering data frame decoding mode is as follows:
105, dividing the coded telemetry data frame, taking out synchronous code bytes of the frame header, and dividing the residual data according to 36 bytes in one group to obtain a plurality of groups of coded data blocks;
106, calculating a decoder syndrome, decoding each group of coded data blocks respectively, and when decoding, inputting 36 bytes of data in the coded data blocks into a decoder syndrome array calculation cycle in sequence to calculate a decoder syndrome array;
judging and correcting 107 bit errors, namely judging whether the error code exists in the shuffled coded data block according to the syndrome array result of the decoder, if the error code does not exist, extracting the telemetering data in the coded data block, if the error code exists, sequentially inputting the 36-byte data into error correction cycle for error correction and marking the position of the error code, and then extracting the telemetering data in the coded data block after error correction;
and 108, framing the telemetric data, combining the telemetric data extracted from each group of coded data blocks according to a segmentation sequence, supplementing a synchronous code of a frame header, and combining into a final telemetric data frame.
Furthermore, when the original telemetry data frame is divided 101, if the last section of data is less than 26 bytes, fixed hexadecimal data F0 is supplemented, and a plurality of groups of telemetry data blocks are obtained.
Further, in 103 encoder array calculation, the encoder array calculates a loop, taking the 1 st time of the loop as an example, as shown in fig. 2, and the specific calculation method is as follows: inputting the 1 st byte data of the telemetering data block into an encoder array to calculate a cycle, and performing logical AND operation on the 10 th byte data in the encoder array to obtain a feedback word of the cycle; the 9 th byte data in the encoder array is assigned to the 10 th byte, the 8 th byte data and the feedback word are assigned to the 9 th byte after being subjected to logic and operation, the 7 th byte data and the feedback word are assigned to the 8 th byte after being subjected to logic and operation, the 6 th byte data is assigned to the 7 th byte, the 5 th byte data and the feedback word are assigned to the 6 th byte after being subjected to logic and operation, the 4 th byte data and the feedback word are assigned to the 5 th byte after being subjected to logic and operation, the 3 rd byte data is assigned to the 4 th byte, the 2 nd byte data is assigned to the 3 rd byte, the 1 st byte data is assigned to the 2 nd byte, the feedback word is assigned to the 1 st byte, and the encoder array is obtained after 26-cycle calculation.
Further, the decoder syndrome calculation loop in 106, taking the 1 st time of the loop as an example, as shown in fig. 3, the specific calculation method of the decoder syndrome calculation loop is: assigning the 10 th byte data of the decoder adjoint array to a feedback word, assigning the 9 th byte data and the 1 st byte data of an input coding block to the 10 th byte of the decoder adjoint array after carrying out logic and operation, assigning the 9 th byte after carrying out logic and operation with the 8 th byte data after the feedback word and the input data, assigning the 8 th byte after the 7 th byte data and the feedback word are subjected to logic and operation, assigning the 7 th byte data to the 7 th byte, assigning the 5 th byte data and the feedback word after carrying out logic and operation to the 6 th byte, assigning the 5 th byte data and the input data after carrying out logic and operation with the 4 th byte data and assigning the 5 th byte after the feedback word and the input data are subjected to logic and operation with the 3 rd byte data, assigning the 2 nd byte data to the 3 rd byte, assigning the 1 st byte data and the input data after the feedback word and operation, and assigning the 1 st byte data to the 1 st byte data after the feedback word and the input data. After 36 cycles, all data in the set of encoded data blocks participate in the calculation, and a syndrome array of the decoder is obtained.
Further, the error code determination method in step 107 is: and performing logic OR operation on the 10 bytes of data in the syndrome array of the decoder, directly taking the telemetering data of the first 26 bytes as the decoded telemetering data if the result is logic 0, which indicates that no error code occurs in the coding block data, and otherwise, correcting errors and generating an error code position marking file.
Further, the schematic diagram of the error correction loop operation in step 107 is as shown in fig. 4, and the specific manner is as follows: firstly, calculating the logical OR operation of the 1 st byte to the 5 th byte of the syndrome array of the decoder, and if the result is that the logical 1 indicates the error code of the input coding block data but exceeds the error correction capability, keeping the input coding block byte data unchanged; if the result is logic 0 and the cycle number is less than or equal to 26, the error code of the input coding block byte is represented but the error can be corrected, the input coding block data and the 10 th byte of the syndrome array of the decoder are subjected to logic AND operation and then are assigned to the input coding block byte; then if the logical OR operation result of the 1 st byte to the 5 th byte of the syndrome array of the syndrome decoder is logical 0 and the 10 th byte thereof is logical 0, setting the feedback word in the error correction cycle to be 0, otherwise, assigning the 10 th byte data of the syndrome array of the decoder to the feedback word; then, a new decoder syndrome array is calculated, the 9 th byte data of the new decoder syndrome array is assigned to the 10 th byte, the 8 th byte data and the feedback word are assigned to the 9 th byte after being subjected to logic and operation, the 7 th byte data and the feedback word are assigned to the 8 th byte after being subjected to logic and operation, the 6 th byte data is assigned to the 7 th byte, the 5 th byte data and the feedback word are assigned to the 6 th byte after being subjected to logic and operation, the 4 th byte data and the feedback word are assigned to the 5 th byte after being subjected to logic and operation, the 3 rd byte data and the feedback word are assigned to the 4 th byte after being subjected to logic and operation, the 2 nd byte data is assigned to the 3 rd byte, the 1 st byte data is assigned to the 2 nd byte, and the feedback word data is assigned to the 1 st byte. After 36 times of loop calculation, the data in the coding block completes error correction. Finally, the first 26 bytes of telemetry data in the encoded data block data are extracted.
And finally: the above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that are within the spirit and principle of the present invention are intended to be included in the scope of the present invention.

Claims (7)

1. A telemetry data frame coding and decoding mode comprises two parts of coding and decoding, and is characterized in that: the coding part divides the data after the frame synchronization code of the original telemetering data frame according to 26 bytes of each group, 10 coding bytes in a coder array are initialized to 0, the divided telemetering data block is operated with a coder to obtain a coder array, and the telemetering data block and the corresponding coder array are spliced into a coding telemetering data frame in sequence; the decoding part divides the data after the frame synchronization code of the telemetering data frame according to 36 bytes, calculates the decoder syndrome of each data block, judges whether the received data has error codes according to the syndrome, extracts the telemetering data if no error codes exist, corrects errors and marks the error code position if the error codes exist, and finally combines the decoded telemetering data in sequence to recover the telemetering data frame.
2. A telemetry data frame codec as claimed in claim 1, wherein: the telemetry data frame coding mode is as follows:
dividing an original telemetering data frame, wherein the original telemetering data frame comprises a frame header and data bytes, the synchronous code bytes of the frame header do not participate in encoding, the rest bytes are divided into a group of 26 bytes according to the original sequence to obtain a plurality of groups of telemetering data blocks, and when the division is carried out, if the last section of data is less than 26 bytes, fixed hexadecimal data F0 is supplemented;
initializing an encoder array, and setting all bytes in the encoder array with the length of 10 bytes to be 0 before each telemetering data block starts encoding to obtain encoder array data with the length of 10 bytes;
calculating an encoder array, sequentially inputting 26 bytes of data in the telemetering data block into an encoder array calculation cycle, calculating the encoder array, and performing logical AND operation on 10 bytes of data in the encoder array calculated in the cycle and hexadecimal numbers 99 to obtain a final encoder array in order to prevent continuous 0 or 1 from appearing in the final encoded telemetering data frame;
the method comprises the steps of coding telemetering data frame combination, splicing each group of 26-byte telemetering data blocks and corresponding 10-byte encoder array data into a group of 36-byte coded data blocks, splicing the obtained 36-byte coded data blocks according to the sequence before telemetering data segmentation, finally splicing a synchronization code of a frame header of original telemetering data at the frame header, and combining a final coding telemetering data frame.
3. A telemetry data frame codec as claimed in claim 1, wherein: the telemetry data frame decoding mode is as follows:
dividing the coded telemetry data frame, taking out synchronous code bytes of the frame header, and dividing the residual data according to 36 bytes in one group to obtain a plurality of groups of coded data blocks;
calculating the syndrome of the decoder, decoding each group of coded data blocks respectively, initializing 10 bytes of data in the syndrome array of the decoder to 0, inputting 36 bytes of data in the coded data blocks into the syndrome array calculation cycle of the decoder in sequence, and when the syndrome array of the decoder is decoded, inputting 36 bytes of data in the coded data blocks into the syndrome array calculation cycle of the decoder in sequence to calculate the syndrome array of the decoder;
judging and correcting the error code, namely judging whether the error code exists in the shuffled coded data block according to the syndrome array result of the decoder, if the error code does not exist, extracting the telemetering data in the coded data block, if the error code exists, sequentially inputting the 36-byte data into an error correction cycle for error correction and marking the position of the error code, and then extracting the telemetering data in the coded data block after error correction;
and framing the telemetering data, combining the telemetering data extracted from each group of coded data blocks according to a segmentation sequence, supplementing a synchronous code of a frame header, and combining into a final telemetering data frame.
4. A telemetry data frame codec as claimed in claim 2, wherein: the encoder array calculates the loop in a specific calculation mode: inputting the 1 st byte data of the telemetering data block into an encoder array to calculate a cycle, and performing logical AND operation on the 10 th byte data in the encoder array to obtain a feedback word of the cycle; assigning 9 th byte data in an encoder array to a 10 th byte, assigning 8 th byte data and a feedback word to the 9 th byte after logical AND operation, assigning 7 th byte data and the feedback word to the 8 th byte after logical AND operation, assigning 6 th byte data to the 7 th byte, assigning 5 th byte data and the feedback word to the 6 th byte after logical AND operation, assigning 4 th byte data and the feedback word to the 5 th byte after logical AND operation, assigning 3 rd byte data to the 4 th byte, assigning 2 nd byte data to the 3 rd byte, assigning 1 st byte data to the 2 nd byte, and assigning the feedback word to the 1 st byte; after 26 times of loop calculation, an encoder array is obtained.
5. A telemetry data frame codec as claimed in claim 3, wherein: the syndrome array calculation loop of the decoder comprises the following specific calculation modes: assigning the 10 th byte data of the syndrome array of the decoder to a feedback word; the 9 th byte data and the input coding block carry out logic and operation on the 1 st byte data and then are assigned to the 10 th byte of the syndrome array of the decoder, the feedback word and the input data carry out logic and operation on the feedback word and the input data and then carry out logic and operation on the 8 th byte data and then are assigned to the 9 th byte, the 7 th byte data and the feedback word carry out logic and operation on the 7 th byte, the 6 th byte data are assigned to the 7 th byte, the 5 th byte data and the feedback word carry out logic and operation on the 5 th byte data and the feedback word and then are assigned to the 6 th byte, the feedback word and the input data carry out logic and operation on the 4 th byte data and then are assigned to the 5 th byte, the feedback word and the input data carry out logic and operation on the 3 rd byte data and then are assigned to the 4 th byte, the 2 nd byte data are assigned to the 3 rd byte, the 1 st byte data and the input data carry out logic and operation on the input data and then are assigned to the 2 nd byte, the feedback word and the input data and the 1 st byte data are assigned to the syndrome array of the 1 th byte after carrying out logic and operation; after 36 cycles, all data in the set of encoded data blocks participate in the calculation, and a syndrome array of the decoder is obtained.
6. A telemetry data frame codec as claimed in claim 3, wherein: the method for judging the error code comprises the following steps: and performing logic OR operation on the 10 bytes of data in the syndrome array of the decoder, directly taking the telemetering data of the first 26 bytes as the decoded telemetering data if the result is logic 0, which indicates that no error code occurs in the coding block data, and otherwise, correcting errors and generating an error code position marking file.
7. A telemetry data frame codec as claimed in claim 3, wherein: the specific mode of the error correction loop operation is as follows: firstly, calculating the logical OR operation of the 1 st byte to the 5 th byte of the syndrome array of the decoder, and if the result is that the logical 1 indicates the error code of the input coding block data but exceeds the error correction capability, keeping the input coding block byte data unchanged; if the result is logic 0 and the cycle number is less than or equal to 26, the error code of the input coding block byte is represented but the error can be corrected, the input coding block data and the 10 th byte of the syndrome array of the decoder are subjected to logic AND operation and then are assigned to the input coding block byte; then if the logical OR operation result of the 1 st byte to the 5 th byte of the syndrome array of the syndrome decoder is logical 0 and the 10 th byte thereof is logical 0, setting the feedback word in the error correction cycle to be 0, otherwise, assigning the 10 th byte data of the syndrome array of the decoder to the feedback word; then calculating a new decoder syndrome array, assigning the 9 th byte data to the 10 th byte, assigning the 8 th byte data to the 9 th byte after carrying out logic and operation on the 8 th byte data and a feedback word, assigning the 7 th byte data to the 8 th byte after carrying out logic and operation on the 7 th byte data and the feedback word, assigning the 6 th byte data to the 7 th byte, assigning the 6 th byte after carrying out logic and operation on the 5 th byte data and the feedback word, assigning the 4 th byte data to the 5 th byte after carrying out logic and operation on the 4 th byte data and the feedback word, assigning the 4 th byte after carrying out logic and operation on the 3 rd byte data and the feedback word, assigning the 2 nd byte data to the 3 rd byte, assigning the 1 st byte data to the 2 nd byte, and assigning the 1 st byte data; after 36 times of cyclic calculation, completing error correction of data in the coding block; finally, the first 26 bytes of telemetry data in the encoded data block data are extracted.
CN202210663581.1A 2022-06-13 2022-06-13 Telemetering data frame coding and decoding mode Active CN115208512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210663581.1A CN115208512B (en) 2022-06-13 2022-06-13 Telemetering data frame coding and decoding mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210663581.1A CN115208512B (en) 2022-06-13 2022-06-13 Telemetering data frame coding and decoding mode

Publications (2)

Publication Number Publication Date
CN115208512A true CN115208512A (en) 2022-10-18
CN115208512B CN115208512B (en) 2023-09-05

Family

ID=83575514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210663581.1A Active CN115208512B (en) 2022-06-13 2022-06-13 Telemetering data frame coding and decoding mode

Country Status (1)

Country Link
CN (1) CN115208512B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116910107A (en) * 2023-09-13 2023-10-20 北京航天驭星科技有限公司 Track data extraction method, track calculation method, track data extraction device, track data storage medium and track calculation device
CN117201602A (en) * 2023-11-06 2023-12-08 北京星河动力装备科技有限公司 Target telemetry data processing method, device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001093265A2 (en) * 2000-06-01 2001-12-06 Macrovision Corporation Secure digital video disk and player
CN102801495A (en) * 2012-06-18 2012-11-28 北京遥测技术研究所 Fountain-code-based telemetry data frame synchronization method
CN103873071A (en) * 2012-12-10 2014-06-18 华为技术有限公司 Method and device for forward error correction encoding, method and device for forward error correction decoding, and communication device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001093265A2 (en) * 2000-06-01 2001-12-06 Macrovision Corporation Secure digital video disk and player
CN102801495A (en) * 2012-06-18 2012-11-28 北京遥测技术研究所 Fountain-code-based telemetry data frame synchronization method
CN103873071A (en) * 2012-12-10 2014-06-18 华为技术有限公司 Method and device for forward error correction encoding, method and device for forward error correction decoding, and communication device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
向冰;高宇;: "交织编码在遥测图像传输中的应用", 现代电子技术, no. 23 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116910107A (en) * 2023-09-13 2023-10-20 北京航天驭星科技有限公司 Track data extraction method, track calculation method, track data extraction device, track data storage medium and track calculation device
CN116910107B (en) * 2023-09-13 2023-12-15 北京航天驭星科技有限公司 Track data extraction method, track calculation method, track data extraction device, track data storage medium and track calculation device
CN117201602A (en) * 2023-11-06 2023-12-08 北京星河动力装备科技有限公司 Target telemetry data processing method, device, electronic equipment and storage medium
CN117201602B (en) * 2023-11-06 2024-03-22 北京星河动力装备科技有限公司 Target telemetry data processing method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115208512B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN115208512B (en) Telemetering data frame coding and decoding mode
KR101050830B1 (en) Video error detection technology using the RC parity code
JP5314757B2 (en) Method and apparatus for synchronizing highly compressed enhancement layer data
CN103380585A (en) Input bit-error-rate estimation method and input bit-error-rate estimation device
JP2000183758A (en) Decoding device, decoding method, encoding device and encoding method
WO1998016016A3 (en) Error correction with two block codes and error correction with transmission repetition
WO2001082487A1 (en) Encoding/decoding device and encoding/decoding method
CN108599896B (en) CRC (Cyclic redundancy check) system and method based on redundant coding system
CN114374470A (en) Data transmission method, system and computer readable storage medium
CN103795499B (en) Satellite load high-speed serial port error detection and correction method
CN1901430A (en) System and method for blind transport format detection with cyclic redundancy check
CN101232347B (en) Method of speech transmission and AMR system
CN104639294A (en) Improved CRC (Cyclic Redundancy Check) realization method
CN1044757C (en) Method of and circuit for detecting synchronism in viterbi decoder
CN111183748B (en) Error code resisting method based on cyclic redundancy check and erasure correction coding
CN112769436A (en) Encoder, decoder, encoding method, and decoding method
CN103929265A (en) Communication forward error correction method and device
CN113922924A (en) Spi-based absolute value encoder communication method and system
EP3526901A1 (en) Recording and playback devices with avoidance of missynchronisation by scrambling a payload with a modified payload checksum
CN107077402B (en) Code word generating method, error bit determining method and circuit thereof
CN109286533B (en) Error checking method and device for voice data packet, storage medium and terminal
CN111934693A (en) Polarization code encoding and decoding method based on segmented double CRC (cyclic redundancy check)
CN101656594A (en) Method and equipment for branch path synchronization of deletion type convolution code
EP2285003B1 (en) Correction of errors in a codeword
JP2001308711A (en) Encoding method and decoding method of control information, and transmitter and receiver of control information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant