Method and apparatus for encoding and decoding data
A data encoding and data decoding technology, which is applied in the communication technology field of forward error correction coding and decoding, can solve the problems of reducing the performance of FEC coding and the synchronization performance of the transmission system, so as to ensure the synchronization performance and the coding gain. effect of influence
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] Embodiment 1. A data encoding method, refer to the process Figure 8 , including the steps:
[0080] a1. Perform line coding on the input data with a length of (L1-1) to generate an information block with a length of L1, where the information block includes information data and a first synchronization header of 1B. That is, the line coding used is (L1-1)B / (L1)B coding.
[0081] a2. Collect N information blocks to generate an information sequence.
[0082] a3. If an FEC (n, k) encoder is used, and N×L1<k, insert k-N×L1 stuffing bits at the set position of the information sequence, usually at the beginning or end of the information sequence. For ease of calculation, the padding bits used may be all 0 or all 1.
[0083] a4. Perform FEC encoding on the filled information sequence to generate M check blocks, and also output the filled information sequence used for encoding.
[0084] a5. Delete k-N×L1 stuffing bits at the set positions from the information sequence of the...
Embodiment 2
[0089] Embodiment 2. A data encoding device used to implement the data encoding method of Embodiment 1. Refer to the logical structure Figure 9 ,include:
[0090] The line coding unit 301 is configured to perform line coding on input data with a length of (L1-1), and output a generated information block with a length of L1. The information block includes information data and a first synchronization header of 1B.
[0091] The error correction coding unit 302 includes a collection subunit 3021, a filling subunit 3022, an encoding subunit 3023, and a deletion subunit 3024;
[0092] The collection subunit 3021 is used to collect N information blocks and output the generated information sequence; the length of the output information sequence is N×L1
[0093] The stuffing subunit 3022 inserts k-N×L1 stuffing bits at the set position of the information sequence output by the collection subunit 3021, and outputs the f...
Embodiment 3
[0098] Embodiment 3. A data decoding method, which corresponds to the data encoding method in Embodiment 1. For the process, refer to Figure 10 , including the steps:
[0099] b1. Receive a data frame carrying an initial information block and a corresponding check block. The length of the initial information block is (L1+1) with a 2B data synchronization header, which is composed of a 1B first synchronization header and a 1B second synchronization header. According to 2B The data synchronization header synchronizes the data frame and extracts the initial information block and check block.
[0100] b2. Remove the second synchronization header of the initial information block 1B to obtain an information block including the first synchronization header of 1B and information data.
[0101] b3. Obtain a coding sequence including N information blocks and corresponding M check blocks, the length of the coding sequence is N×L1+M×L2
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com