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

Telemetering data frame coding and decoding mode Download PDF

Info

Publication number
CN115208512B
CN115208512B CN202210663581.1A CN202210663581A CN115208512B CN 115208512 B CN115208512 B CN 115208512B CN 202210663581 A CN202210663581 A CN 202210663581A CN 115208512 B CN115208512 B CN 115208512B
Authority
CN
China
Prior art keywords
data
byte
telemetry
array
telemetry data
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.)
Active
Application number
CN202210663581.1A
Other languages
Chinese (zh)
Other versions
CN115208512A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Error Detection And Correction (AREA)

Abstract

The invention discloses a telemetry data frame coding and decoding mode, which particularly relates to the technical field of wireless telemetry, and comprises two parts, namely a coding part and a decoding part, wherein the coding part divides data of an original telemetry data frame after frame synchronization codes according to 26 bytes of each group, 10 coding bytes in an encoder array are initialized to 0, the divided telemetry data blocks are operated with an encoder to obtain an encoder array, and the telemetry data blocks and the corresponding encoder arrays are spliced into a coded telemetry data frame in sequence; the decoding part divides the data after encoding the frame synchronization code of the telemetry data frame according to 36 bytes, calculates the decoder syndrome of the data block, judges whether the received data has error codes, extracts the telemetry data if the received data has no error codes, corrects the error codes and marks the error code positions if the received data has error codes, and finally combines the decoded telemetry data in sequence to recover the telemetry data frame. The telemetry data frame encoding and decoding mode can reduce the telemetry data receiving error rate and can 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 encoded data is reconverted back to the original digital value within an acceptable level of error, the reconversion back being referred to as decoding.
In the wireless telemetry field, under the influence of electromagnetic environment of a test area, error codes can often appear in telemetry data reception, and a traditional telemetry data frame adopts transparent transmission without a coding checking mechanism, so that whether the error codes are received or the original tested data are abnormal can not be judged when abnormal points appear in the received data, and serious interference is caused to test result analysis. When continuous 0 or 1 appears in the data code stream of the tested system, the data synchronization and capture abnormality of the traditional telemetry data receiving end is easy to cause the received data to be lost.
Disclosure of Invention
In order to overcome the above-mentioned drawbacks of the prior art, the present invention provides a telemetry data frame encoding and decoding method, which reduces the telemetry data receiving error rate by encoding and decoding technology, judges whether the data abnormality is caused by the receiving error code, and can correct the error code in a small range to solve the problems presented in the above-mentioned background art.
In order to achieve the above purpose, the present invention provides the following technical solutions: the method comprises two parts of encoding and decoding, wherein the encoding part divides data after frame synchronization codes of an original telemetry data frame according to 26 bytes of each group, 10 encoding bytes in an encoder array are initialized to 0, the divided telemetry data blocks are operated with an encoder to obtain an encoder array, and the telemetry data blocks and the corresponding encoder arrays are spliced into the encoded telemetry data frame in sequence; the decoding part divides the data after encoding the frame synchronization code of the telemetry 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 telemetry data if the received data has no error codes, corrects errors and marks the error code positions if the received data has error codes, and finally combines the decoded telemetry data in sequence to recover the telemetry data frame.
In a preferred embodiment, the telemetry data frames are encoded as follows:
step 101, dividing an original telemetry data frame, wherein the original data frame comprises a frame header and data bytes, the synchronous code bytes of the frame header do not participate in encoding, the other bytes are divided into a group of 26 bytes according to the original sequence to obtain a plurality of groups of telemetry data blocks, and when the telemetry data blocks are 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 before each telemetry data block begins to be encoded, setting all bytes in the encoder array with the length of 10 bytes to 0 to obtain encoder array data with the length of 10 bytes;
step 103, the encoder array is calculated, 26 bytes of data in the telemetry data block are sequentially input into an encoder array calculation cycle, the encoder array is calculated, and in order to prevent continuous 0 or 1 from appearing in the final encoded telemetry data frame, logic and operation is carried out on 10 bytes of data in the encoder array calculated in the cycle and hexadecimal number 99, so that a final encoder array is obtained;
step 104, the combination of the encoded telemetry data frames is carried out, firstly, 26-byte telemetry data blocks and 10-byte encoder array data corresponding to the 26-byte telemetry data blocks are spliced into 36-byte encoded data blocks, then, the obtained 36-byte encoded data blocks are spliced according to the sequence before the segmentation of the telemetry data, and finally, the synchronous codes of the frame heads of the original telemetry data are spliced at the frame heads, so that the final encoded telemetry data frames are combined.
In a preferred embodiment, the telemetry data frame decoding method steps are as follows:
step 105, dividing the encoded telemetry data frame, firstly taking out the synchronous code bytes of the frame head, dividing the rest data according to a group of 36 bytes, and obtaining a plurality of groups of encoded data blocks;
step 106, calculating a decoder syndrome, decoding each group of encoded data blocks, initializing 10 byte data in the decoder syndrome array to 0, sequentially inputting 36 byte data in the encoded data blocks into a decoder syndrome array calculation cycle, and when the decoder syndrome array is calculated to be decoded, sequentially inputting 36 byte data in the encoded data blocks into the decoder syndrome array calculation cycle, and calculating a decoder syndrome array;
step 107, judging and correcting the error code, judging whether the reorganized coded data block has the error code according to the decoder syndrome array result, extracting the telemetry data in the group of coded data blocks if the error code does not exist, inputting the group of 36-byte data into an error correction cycle in sequence to correct the error code and mark the error code position if the error code exists, and extracting the telemetry data in the corrected coded data blocks;
and 108, framing the telemetry data, combining the telemetry data extracted from each group of coded data blocks according to the segmentation sequence, supplementing the synchronous codes of the frame heads, and combining the final telemetry data frame.
In a preferred embodiment, the encoder array calculates the loop by: inputting the 1 st byte data of the telemetry data block into an encoder array for calculation circulation, and performing logical AND operation with the 10 th byte data in the encoder array to obtain a feedback word of the circulation; 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 logically and operated, the 7 th byte data and the feedback word are assigned to the 8 th byte after being logically and operated, 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 logically and operated, the 4 th byte data and the feedback word are assigned to the 5 th byte after being logically and operated, 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, and the feedback word is assigned to the 1 st byte; after 26 cycles of calculation, an encoder array is obtained.
In a preferred embodiment, the decoder syndrome array computes a loop by: the 10 th byte data of the decoder companion type array is assigned to the feedback word; the 9 th byte data and the 1 st byte data of the input coding block are assigned to the 10 th byte of the decoder syndrome array after being logically and-operated, the feedback word and the input data are assigned to the 9 th byte after being logically and-operated and then are assigned to the 8 th byte after being logically and-operated and the 6 th byte data are assigned to the 7 th byte, the 5 th byte data and the feedback word are assigned to the 6 th byte after being logically and-operated and then are assigned to the 5 th byte after being logically and-operated and the 4 th byte data are assigned to the 5 th byte after being logically and-operated and the feedback word and the input data are assigned to the 4 th byte after being logically and-operated and the 3 rd byte data are assigned to the 3 rd byte, the 1 st byte data and the 2 nd byte after being logically and-operated and the 2 nd byte are assigned, and the feedback word and the input data are assigned to the 1 st byte of the decoder syndrome array after being logically and-operated and the 1 st byte is assigned to the decoder; after 36 cycles, all data in the set of encoded data blocks participate in one calculation pass to obtain the decoder syndrome array.
In a preferred embodiment, the method for determining the error code is: and performing logical OR operation on the 10 bytes of data in the decoder syndrome array, if the result is that the logical 0 indicates that the code block data has no error code, directly taking out the telemetry data of the first 26 bytes of the code block data as the decoded telemetry data, otherwise, indicating that the code block data has error code, and correcting errors and generating an error code position mark file.
In a preferred embodiment, the specific manner of the error correction loop operation is as follows: firstly, calculating logical OR operation of 1 st to 5 th bytes of the decoder syndrome array, if the result is that the logical 1 indicates the error code of the input coding block data but the error correction capability is exceeded, 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, indicating that the bit error of the input coding block byte is correct, performing logical AND operation on the input coding block data and the 10 th byte of the decoder syndrome array, and assigning the value to the input coding block byte; then if the logical OR operation result of the 1 st to 5 th bytes of the syndrome array of the syndrome decoder is logical 0 and the 10 th byte is logical 0, setting the feedback word in the error correction cycle to 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, performing logical AND operation on the 8 th byte data and the feedback word, assigning the 9 th byte, performing logical AND operation on the 7 th byte data and the feedback word, assigning the 8 th byte, assigning the 6 th byte data to the 7 th byte, performing logical AND operation on the 5 th byte data and the feedback word, assigning the 6 th byte, performing logical AND operation on the 4 th byte data and the feedback word, assigning the 5 th byte, performing logical AND operation on the 3 rd byte data and the feedback word, assigning the 4 th byte, 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 to the feedback word; after 36 times of cyclic calculation, the data in the coding block is error corrected; the telemetry data of the first 26 bytes in the encoded data block data is finally extracted.
The invention has the technical effects and advantages that: the invention can obviously reduce the receiving error rate of the telemetry data, accurately judge the position of the error data, avoid the continuous 0 or 1 of the telemetry data bit by encoding, be beneficial to the code speed synchronization and capture of a receiving end, judge whether the data abnormality is caused by the receiving error code, and correct the error code in a small range.
Drawings
Fig. 1 is a schematic diagram of a data frame encoding and 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 decoder companion array computation cycle according to the present invention.
FIG. 4 is a schematic diagram of decoder syndrome array computation in an error correction cycle according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Examples
The embodiment of the invention provides a telemetry data frame coding and decoding mode, which comprises two parts of coding and decoding, as shown in fig. 1, the steps of coding and decoding are as follows: original telemetry data frame segmentation, initializing an encoder array, encoder array calculation, encoding telemetry data frame combination, encoding telemetry data frame segmentation, calculating decoder companion type, error code determination and correction, and telemetry data framing.
The encoding part divides the data after frame synchronization code of the original telemetry data frame according to 26 bytes of each group, 10 encoding bytes in the encoder array are initialized to 0, the divided telemetry data blocks are operated with the encoder to obtain the encoder array, the telemetry data blocks and the corresponding encoder array are spliced into the encoded telemetry data frame in sequence, and the telemetry data frame is encoded as follows:
101, dividing an original telemetry data frame, wherein the original data frame comprises a frame header and data bytes, the synchronous code bytes of the frame header do not participate in encoding, and the other bytes are divided into a group of 26 bytes according to the original sequence to obtain a plurality of groups of telemetry data blocks;
102 initializing an encoder array, and before each telemetry data block begins to be encoded, setting all bytes in the encoder array with the length of 10 bytes to 0 to obtain encoder array data with the length of 10 bytes;
103, calculating an encoder array, namely sequentially inputting 26 bytes of data in a telemetry data block into an encoder array calculation cycle, and calculating an encoder array;
104, encoding telemetry data frame combination, firstly splicing 26-byte telemetry data blocks and corresponding 10-byte encoder array data into a 36-byte encoded data block; and splicing the obtained 36-byte coded data blocks according to the sequence before the telemetry data is segmented, and finally splicing the synchronous codes of the frame header of the original telemetry data into the frame header to combine the final coded telemetry data frame.
The decoding part divides the data after encoding the frame synchronization code of the telemetry 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 telemetry data if the received data has no error codes, corrects errors and marks the error code positions if the received data has error codes, and finally combines the decoded telemetry data in sequence to recover the telemetry data frame, wherein the telemetry data frame decoding mode is as follows:
dividing 105 coded telemetry data frames, firstly taking out the synchronous code bytes of a frame head, dividing the rest data according to a group of 36 bytes, and obtaining a plurality of groups of coded data blocks;
106, calculating decoder syndromes, namely decoding each group of encoded data blocks, and sequentially inputting 36 bytes of data in the encoded data blocks into a decoder syndrome array calculation loop to calculate a decoder syndrome array during decoding;
107 error code judgment and correction, judging whether the reorganized coded data block has error codes according to the decoder syndrome array result, extracting telemetry data in the group of coded data blocks if the error codes do not exist, inputting the group of 36-byte data into an error correction cycle in sequence for error correction and marking the error code positions if the error codes exist, and extracting telemetry data in the corrected coded data blocks;
108 telemetry data is framed, telemetry data extracted from each group of coded data blocks are combined according to the segmentation sequence, and the synchronization codes of frame heads are supplemented to form a final telemetry data frame.
Further, when the original telemetry data frame is divided at 101, if the last piece 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 the calculation of the encoder array 103, 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 telemetry data block into an encoder array for calculation circulation, and performing logical AND operation with the 10 th byte data in the encoder array to obtain a feedback word of the circulation; 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 logically and operated, the 7 th byte data and the feedback word are assigned to the 8 th byte after being logically and operated, 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 logically and operated, the 4 th byte data and the feedback word are assigned to the 5 th byte after being logically and operated, 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 times of cyclic calculation.
Further, taking the 1 st cycle as an example, as shown in fig. 3, the specific calculation method of the decoder syndrome array calculation cycle in 106 is as follows: the 10 th byte data of the decoder syndrome array is assigned to a feedback word, the 9 th byte data and the 1 st byte data of an input coding block are assigned to the 10 th byte of the decoder syndrome array after being logically and-operated, the feedback word and the input data are assigned to the 9 th byte after being logically and-operated, the 7 th byte data and the feedback word are assigned to the 8 th byte after being logically and-operated, the 6 th byte data are assigned to the 7 th byte, the 5 th byte data and the feedback word are assigned to the 6 th byte after being logically and-operated, the feedback word and the input data are assigned to the 5 th byte after being logically and-operated, the feedback word and the input data are assigned to the 4 th byte after being logically and-operated, the 2 nd byte data are assigned to the 3 rd byte after being logically and-operated, the 1 st byte data and the input data are assigned to the 2 nd byte after being logically and-operated, and the feedback word and the input data are assigned to the 1 st byte after being logically and-operated, and the decoding of the syndrome array is assigned to the 5 th byte. After 36 cycles, all data in the set of encoded data blocks participate in one calculation pass to obtain the decoder syndrome array.
Further, the error code judging method in step 107 is as follows: and performing logical OR operation on the 10 bytes of data in the decoder syndrome array, if the result is that the logical 0 indicates that the code block data has no error code, directly taking out the telemetry data of the first 26 bytes of the code block data as the decoded telemetry data, otherwise, indicating that the code block data has error code, and correcting errors and generating an error code position mark file.
Further, in step 107, the error correction loop operation is schematically shown in fig. 4, and the specific manner is as follows: firstly, calculating logical OR operation of 1 st to 5 th bytes of the decoder syndrome array, if the result is that the logical 1 indicates the error code of the input coding block data but the error correction capability is exceeded, 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, indicating that the bit error of the input coding block byte is correct, performing logical AND operation on the input coding block data and the 10 th byte of the decoder syndrome array, and assigning the value to the input coding block byte; then if the logical OR operation result of the 1 st to 5 th bytes of the syndrome array of the syndrome decoder is logical 0 and the 10 th byte is logical 0, setting the feedback word in the error correction cycle to 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, 9 th byte data is assigned to 10 th byte, 8 th byte data is assigned to 9 th byte after logical AND operation is carried out on the 8 th byte data and feedback word, 8 th byte is assigned to the 7 th byte after logical AND operation is carried out on the 7 th byte data, 6 th byte data is assigned to the 7 th byte after logical AND operation is carried out on the 5 th byte data and feedback word, 5 th byte is assigned to the 4 th byte after logical AND operation is carried out on the 4 th byte data and feedback word, 3 rd byte data is assigned to the 4 th byte after logical AND operation is carried out on the 3 rd byte data, 2 nd byte is assigned to the 1 st byte, and 1 st byte is assigned to the feedback word data. After 36 cycles of calculation, the data in the encoded block is error corrected. The telemetry data of the first 26 bytes in the encoded data block data is finally extracted.
Finally: the foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the 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 encoding part divides the data after frame synchronization code of the original telemetry data frame according to 26 bytes of each group, 10 encoding bytes in the encoder array are initialized to 0, the divided telemetry data blocks are operated with the encoder to obtain the encoder array, and the telemetry data blocks and the corresponding encoder array are spliced into the encoded telemetry data frame in sequence; the decoding part divides the data after encoding the frame synchronization code of the telemetry 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 telemetry data if the received data has no error codes, corrects errors and marks the error code positions if the received data has error codes, and finally combines the decoded telemetry data in sequence to recover the telemetry data frame.
2. The telemetry data frame codec of claim 1, wherein: the telemetry data frame is encoded as follows:
dividing an original telemetry data frame, wherein the original data frame comprises a frame header and data bytes, the synchronous code bytes of the frame header do not participate in encoding, the other bytes are divided into a group of 26 bytes according to the original sequence to obtain a plurality of groups of telemetry data blocks, and when the telemetry data blocks are divided, if the last section of data is less than 26 bytes, fixed hexadecimal data F0 is supplemented;
initializing an encoder array, and before each telemetry data block begins to be encoded, setting all bytes in the encoder array with the length of 10 bytes to 0 to obtain encoder array data with the length of 10 bytes;
the method comprises the steps of (1) calculating an encoder array, namely sequentially inputting 26 bytes of data in a telemetry data block into an encoder array calculation loop, calculating the encoder array, and carrying out logical AND operation on 10 bytes of data and hexadecimal number 99 in the encoder array calculated in the loop to obtain a final encoder array in order to prevent continuous 0 or 1 in a final encoded telemetry data frame;
and (3) encoding the telemetry data frame combination, firstly splicing 26-byte telemetry data blocks and corresponding 10-byte encoder array data into 36-byte encoded data blocks, then splicing the 36-byte encoded data blocks according to the sequence before telemetry data segmentation, and finally splicing the synchronous code of the frame head of the original telemetry data in the frame head to obtain the final encoded telemetry data frame.
3. The telemetry data frame codec of claim 1, wherein: the telemetry data frame decoding mode is as follows:
dividing the coded telemetry data frame, firstly taking out the synchronous code bytes of the frame head, dividing the rest data according to a group of 36 bytes, and obtaining a plurality of groups of coded data blocks;
calculating a decoder syndrome, respectively decoding each group of encoded data blocks, initializing 10 bytes of data in a decoder syndrome array to 0, sequentially inputting 36 bytes of data in the encoded data blocks into a decoder syndrome array calculation cycle, and calculating a decoder syndrome array;
judging and correcting the error code, judging whether the reorganized coded data block has the error code according to the decoder companion type array result, extracting telemetry data in the group of coded data blocks if the error code does not exist, inputting the group of 36-byte data into an error correction cycle in sequence for error correction and marking the error code position if the error code exists, and extracting telemetry data in the corrected coded data blocks;
and (3) framing telemetry data, combining the telemetry data extracted from each group of coded data blocks according to a segmentation sequence, supplementing the synchronous codes of frame heads, and combining the telemetry data into a final telemetry data frame.
4. A telemetry data frame codec as claimed in claim 2, wherein: the encoder array calculates the circulation, the concrete calculation mode is: inputting the 1 st byte data of the telemetry data block into an encoder array for calculation circulation, and performing logical AND operation with the 10 th byte data in the encoder array to obtain a feedback word of the circulation; 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 logically and operated, the 7 th byte data and the feedback word are assigned to the 8 th byte after being logically and operated, 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 logically and operated, the 4 th byte data and the feedback word are assigned to the 5 th byte after being logically and operated, 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, and the feedback word is assigned to the 1 st byte; after 26 cycles of calculation, an encoder array is obtained.
5. A telemetry data frame codec as claimed in claim 3, wherein: the decoder syndrome array calculation cycle comprises the following specific calculation modes: the 10 th byte data of the decoder companion type array is assigned to the feedback word; the 9 th byte data and the 1 st byte data of the input coding block are assigned to the 10 th byte of the decoder syndrome array after being logically and-operated, the feedback word and the input data are assigned to the 9 th byte after being logically and-operated and then are assigned to the 8 th byte after being logically and-operated and the 6 th byte data are assigned to the 7 th byte, the 5 th byte data and the feedback word are assigned to the 6 th byte after being logically and-operated and then are assigned to the 5 th byte after being logically and-operated and the 4 th byte data are assigned to the 5 th byte after being logically and-operated and the feedback word and the input data are assigned to the 4 th byte after being logically and-operated and the 3 rd byte data are assigned to the 3 rd byte, the 1 st byte data and the 2 nd byte after being logically and-operated and the 2 nd byte are assigned, and the feedback word and the input data are assigned to the 1 st byte of the decoder syndrome array after being logically and-operated and the 1 st byte is assigned to the decoder; after 36 cycles, all data in the set of encoded data blocks participate in one calculation pass to obtain the decoder syndrome array.
6. A telemetry data frame codec as claimed in claim 3, wherein: the error code judging method comprises the following steps: and performing logical OR operation on the 10 bytes of data in the decoder syndrome array, if the result is that the logical 0 indicates that the code block data has no error code, directly taking out the telemetry data of the first 26 bytes of the code block data as the decoded telemetry data, otherwise, indicating that the code block data has error code, and correcting errors and generating an error code position mark file.
7. A telemetry data frame codec as claimed in claim 3, wherein: the specific mode of the error correction cyclic operation is as follows: firstly, calculating logical OR operation of 1 st to 5 th bytes of the decoder syndrome array, if the result is that the logical 1 indicates the error code of the input coding block data but the error correction capability is exceeded, 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, indicating that the bit error of the input coding block byte is correct, performing logical AND operation on the input coding block data and the 10 th byte of the decoder syndrome array, and assigning the value to the input coding block byte; then if the logical OR operation result of the 1 st to 5 th bytes of the syndrome array of the syndrome decoder is logical 0 and the 10 th byte is logical 0, setting the feedback word in the error correction cycle to 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, performing logical AND operation on the 8 th byte data and the feedback word, assigning the 9 th byte, performing logical AND operation on the 7 th byte data and the feedback word, assigning the 8 th byte, assigning the 6 th byte data to the 7 th byte, performing logical AND operation on the 5 th byte data and the feedback word, assigning the 6 th byte, performing logical AND operation on the 4 th byte data and the feedback word, assigning the 5 th byte, performing logical AND operation on the 3 rd byte data and the feedback word, assigning the 4 th byte, 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 to the feedback word; after 36 times of cyclic calculation, the data in the coding block is error corrected; the telemetry data of the first 26 bytes in the encoded data block data is finally 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 CN115208512A (en) 2022-10-18
CN115208512B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN117201602B (en) * 2023-11-06 2024-03-22 北京星河动力装备科技有限公司 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
交织编码在遥测图像传输中的应用;向冰;高宇;;现代电子技术(23);全文 *

Also Published As

Publication number Publication date
CN115208512A (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN115208512B (en) Telemetering data frame coding and decoding mode
JP2000183758A (en) Decoding device, decoding method, encoding device and encoding method
CN104008078B (en) Method for high-speed transmission between data transmission boards based on FPGA
WO2001082487A1 (en) Encoding/decoding device and encoding/decoding method
KR19990044097A (en) Data transmission method, data transmission system and transmitter and receiver
CN106817197B (en) Communication coding and decoding method based on duty ratio modulation
KR20070095970A (en) Video error detection technique using a crc parity code
US8230308B2 (en) Decoding apparatus and decoding method using an additional add-compare-select operation on decoded data in the event of an error in the decoded data
CN114374470A (en) Data transmission method, system and computer readable storage medium
CN104158624A (en) Redundancy two-out-of-two decoding control device for BTM (Balise Transmission Module) system and redundancy two-out-of-two decoding method
CN1901430A (en) System and method for blind transport format detection with cyclic redundancy check
CN107231213A (en) Implementation method of the algorithms of CRC 32 in USB3.0 packets
CN101232347B (en) Method of speech transmission and AMR system
CN104716965A (en) BCH soft decoding algorithm and implementation circuit thereof
CN103795499A (en) Satellite load high-speed serial port error detection and correction method
CN114647532A (en) Data transmission method for self-error-correction absolute value encoder
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
CN101107864A (en) Video error detection technique using a CRC parity code
CN112769436A (en) Encoder, decoder, encoding method, and decoding method
CN101656594B (en) Method and equipment for branch path synchronization of deletion type convolution code
CN113922924A (en) Spi-based absolute value encoder communication method and system
CN111934693B (en) Polarization code coding and decoding method based on segmented double CRC (cyclic redundancy check)
JPS59228440A (en) Data transmission system
CN113595687B (en) Error correction system and method for communication data

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