Encoding method, decoding method, communication node and storage medium

Flexible forward error correction FEC coding is used to encode and decode according to different channel qualities, which solves the bandwidth overhead problem caused by unified FEC coding in passive optical network systems and improves bandwidth utilization.

WO2024198674A1PCT designated stage expired Publication Date: 2024-10-03ZTE CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/073469
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-28
Filing Date
2024-01-22
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

In the existing passive optical network system, all optical network units receive exactly the same data in the downlink direction and cannot flexibly allocate bandwidth according to specific channel quality. This results in unified FEC coding causing bandwidth overhead and affecting the system's bandwidth utilization.

Method used

The flexible forward error correction FEC coding method is adopted. According to the different channel quality from each optical line terminal to the optical network unit, different FEC coding types are used for encoding and decoding to optimize bandwidth allocation.

Benefits of technology

It improves the system's FEC coding flexibility and real-time performance, improves bandwidth utilization, and reduces unnecessary bandwidth overhead.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024073469_03102024_PF_FP_ABST
    Figure CN2024073469_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are an encoding method, a decoding method, a communication node and a storage medium. The encoding method comprises: acquiring a physical frame, wherein the physical frame comprises a first data block and a second data block, and the first data block comprises a code type of flexible forward error correction (FEC) encoding; and encoding the second data block on the basis of the code type of the flexible FEC encoding.
Need to check novelty before this filing date? Find Prior Art

Description

Coding and decoding methods, communication nodes and storage media Technical Field

[0001] The present application relates to the field of communication technology, for example, to a coding and decoding method, a communication node and a storage medium. Background Art

[0002] Current standards stipulate that passive optical network (PON) systems transmit data in the downstream direction via broadcast, multicast, or unicast. Because the optical distribution network (ODN) topology is point-to-multipoint (P2MP), all optical network units (ONUs) receive the same downstream data. To meet bit error rate requirements, forward error correction (FEC) coding is typically used in the downstream direction to reduce the bit error rate (BER) at the receiving end. Although the channel quality from each optical line terminal (OLT) to the ONU varies, the data received by the ONUs is identical. Before decoding and extracting the frame header, it is unclear which data is destined for which ONU. Therefore, even if the OLT-ONU channel quality is excellent and the high-performance but bandwidth-consuming FEC coding is not necessary to reduce the BER of the receiving ONU, the only solution is to use the same FEC coding for all user data to ensure that even the worst ONU meets the standard requirements. Therefore, how to allocate bandwidth more reasonably and reduce the bandwidth overhead caused by unified FEC coding has become an urgent problem that needs to be solved.

[0003] Summary of the Invention

[0004] This embodiment of the present application provides an encoding method, applied to a first communication node, the method comprising:

[0005] Acquire a physical frame, where the physical frame includes a first data block and a second data block, and the first data block includes a flexible forward error correction (FEC) encoded code pattern;

[0006] The second data block is encoded according to the flexible FEC encoding code pattern.

[0007] This embodiment of the present application provides a decoding method, applied to a second communication node, the method comprising:

[0008] Determine the code pattern of flexible forward error correction FEC encoding;

[0009] The second codeword of the encoded data is decoded according to the flexible FEC encoding code pattern to obtain a second data block.

[0010] An embodiment of the present application provides a first communication node, comprising: a processor; the processor is configured to implement the encoding method of any of the above embodiments when executing a computer program.

[0011] An embodiment of the present application provides a second communication node, comprising: a processor; the processor is configured to implement the decoding method of any of the above embodiments when executing a computer program.

[0012] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, which implements the method of any of the above embodiments when the computer program is executed by a processor.

[0013] With respect to the above embodiments and other aspects of the present application and their implementation, further description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] FIG1 is a schematic diagram of a PON system network provided by an embodiment;

[0015] FIG2 is a schematic flow chart of an encoding method provided by an embodiment;

[0016] FIG3 is a schematic flow chart of a decoding method provided by an embodiment;

[0017] FIG4 is an interactive diagram of data transmission between an OLT and an ONU provided by an embodiment;

[0018] FIG5 is a schematic diagram of the structure of a physical frame provided by an embodiment;

[0019] FIG6 is a schematic diagram of the structure of another physical frame provided by an embodiment;

[0020] FIG7 is a schematic structural diagram of a PSBd provided by an embodiment;

[0021] FIG8 is a schematic diagram of the structure of an OC body field provided by an embodiment;

[0022] FIG9 is an interaction diagram of data transmission between another OLT and ONU provided by an embodiment;

[0023] FIG10 is a schematic diagram of the structure of another physical frame provided by an embodiment;

[0024] FIG11 is another interactive diagram of data transmission between an OLT and an ONU provided in one embodiment;

[0025] FIG12 is a schematic structural diagram of another physical frame provided by an embodiment;

[0026] FIG13 is a schematic diagram of the structure of a framing sublayer (FS) frame provided by an embodiment;

[0027] FIG14 is a schematic structural diagram of a newly defined downlink physical frame header provided by an embodiment;

[0028] FIG15 is a coding flow chart provided by an embodiment;

[0029] FIG16 is a decoding flowchart provided by an embodiment;

[0030] FIG17 is a schematic structural diagram of another newly defined downlink physical frame header provided by an embodiment;

[0031] FIG18 is a schematic diagram of a downlink burst transmission provided by an embodiment;

[0032] FIG19 is a schematic structural diagram of a downlink burst structure provided by an embodiment;

[0033] FIG20 is a schematic structural diagram of a downlink FS burst structure without a framing sublayer tailer (FS tailer) provided by an embodiment;

[0034] FIG21 is a schematic structural diagram of a downlink FS burst structure with an FS tailer provided by an embodiment;

[0035] FIG22 is a schematic structural diagram of an encoding device provided by an embodiment;

[0036] FIG23 is a schematic structural diagram of another encoding device provided by an embodiment;

[0037] FIG24 is a schematic structural diagram of a decoding device provided by an embodiment;

[0038] FIG25 is a schematic structural diagram of another decoding device provided by an embodiment;

[0039] FIG26 is a schematic structural diagram of a communication node provided by an embodiment. DETAILED DESCRIPTION

[0040] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0041] The encoding method and decoding method provided in this application can be applied to various wireless communication systems, such as PON systems and new communication systems that will emerge in future communication developments. Figure 1 is a networking diagram of a PON system provided by one embodiment. As shown in Figure 1, the PON system includes an OLT 110 and ONUs 120, with the number of ONUs 120 in Figure 1 being M. The OLT 110 communicates with multiple ONUs 120 respectively via an optical splitter. The PON system may also include other network devices, such as user terminals, servers, mobile base stations, etc. In the topology shown in Figure 1, the communication nodes can be divided into "user side" and "network side" based on the connection relationship between the communication nodes. In a PON system, the communication direction from OLT 110 to ONU 120 is called downstream encoding and decoding, that is, OLT 110 sends encoded data blocks to ONU 120, which are then decoded by ONU 120; the communication direction from ONU 120 to OLT 110 is called upstream encoding and decoding, that is, ONU 120 sends encoded data blocks to OLT 110, which are then decoded by OLT 110.

[0042] In an embodiment of the present application, a coding and decoding method, a communication node, and a storage medium that can be operated in the above-mentioned wireless communication system are provided. The method can use different FEC coding code types for encoding and decoding according to the channel quality of each OLT to ONU, reasonably allocate and optimize the bandwidth of each OLT to ONU channel, improve the flexibility and real-time performance of the system FEC, and thus improve the bandwidth utilization of the system.

[0043] The following describes the encoding method, decoding method, communication node and their technical effects.

[0044] FIG2 is a flow chart of an encoding method provided by an embodiment. As shown in FIG2 , the method provided by this embodiment is applicable to a first communication node. In this example, the first communication node (also referred to as a first communication node device) may be an OLT. The method includes the following steps.

[0045] S110 , obtaining a physical frame, where the physical frame includes a first data block and a second data block, and the first data block includes a flexible FEC coded code pattern.

[0046] S120: Encode the second data block according to the flexible FEC encoding code pattern.

[0047] In one embodiment, after encoding the second data block, encoded data may be sent to the second communication node, where the encoded data includes the first data block and a second codeword, and the second codeword is the encoded second data block.

[0048] In one embodiment, in addition to encoding the second data block, the present application can also encode the first data block according to the code type of the dedicated FEC encoding; accordingly, after encoding the first data block and the second data block, the encoded data can also be sent to the second communication node, and the encoded data includes a first codeword and a second codeword, the first codeword is the encoded first data block, and the second codeword is the encoded second data block.

[0049] When encoding the first data block and the second data block, the dedicated FEC encoding code type used to encode the first data block and the flexible FEC encoding code type used to encode the second data block may be the same or different.

[0050] In one embodiment, the physical frame is a physical frame in a continuous transmission mode or a physical frame in a downlink burst mode, that is, the present application can be applied to the continuous transmission mode or the downlink burst mode.

[0051] If the physical frame is a physical frame in continuous transmission mode, the structures of the first data block and the second data block are any of the following:

[0052] Case 1.1: The first data block includes at least a downlink physical synchronization block (PSBd), and the second data block includes at least a portion of a framing sublayer FS frame.

[0053] The code type of flexible FEC coding is indicated by the physical synchronization sequence (PSync) of PSBd, and different PSync sequences indicate different FEC coding; or, the code type of flexible FEC coding is jointly indicated by the downstream forward error correction (DS FEC) flag bit and the reserved bit bit in the operation & control body (OC body) field of PSBd.

[0054] Case 1.2: The first data block includes at least the PSBd and the FS frame header, and the second data block includes the FS frame payload.

[0055] The flexible FEC coding pattern is indicated in the HLend field in the FS frame header.

[0056] Case 1.3: The first data block includes an extended downlink physical synchronization block (ePSBd) and a forward error correction map (FECmap) structure, and the second data block includes an FS frame.

[0057] The flexible FEC coding pattern is indicated by the forward error correction type (FEC type) field in the ePSBd and the FECmap structure. Optionally, the number of flexible FEC codes is additionally indicated by the forward error correction count (FEC count) field in the ePSBd.

[0058] If the physical frame is a physical frame in downlink burst mode, the structures of the first data block and the second data block are any of the following:

[0059] Case 2.1: The first data block includes at least PSBd, and the second data block includes at least a portion of a downlink physical burst structure.

[0060] The flexible FEC coding pattern is indicated by the PSync sequence of the PSBd; or, the flexible FEC coding pattern is indicated by both the DS FEC flag bit and the reserved bit in the OC body field of the PSBd.

[0061] Case 2.2: The first data block includes at least the PSBd and the FS frame header in the downlink physical burst structure, and the second data block includes at least the FS frame payload in the downlink physical burst structure.

[0062] The flexible FEC coding pattern is indicated by the HLend field in the FS frame header.

[0063] Case 2.3: The first data block includes the ePSBd and FECmap structures, and the second data block includes the downlink physical burst structure.

[0064] The flexible FEC coding pattern is indicated by the FEC type field in the ePSBd and the FECmap structure. Optionally, the flexible FEC coding pattern is additionally indicated by the FEC count field in the ePSBd.

[0065] FIG3 is a flow chart of a decoding method provided by an embodiment. As shown in FIG3 , the method provided by this embodiment is applicable to a second communication node. In this example, the second communication node (also referred to as a second communication node device) may be an ONU. The method includes the following steps.

[0066] S210: Determine a flexible forward error correction (FEC) encoding code type.

[0067] In one embodiment, before determining the code type of the flexible forward error correction FEC encoding, it is first necessary to receive the encoded data sent by the first communication node, the encoded data including the first data block and the second codeword, or the encoded data including the first codeword and the second codeword.

[0068] If the coded data includes a first data block and a second codeword, the method for determining the flexible forward error correction (FEC) coding pattern may be: determining the flexible FEC coding pattern according to the first data block.

[0069] If the encoded data includes a first codeword and a second codeword, the method for determining the code type of the flexible forward error correction (FEC) encoding may be: first, according to the code type of the dedicated FEC encoding, the first codeword is decoded to obtain a first data block; and then the code type of the flexible FEC encoding is determined based on the first data block.

[0070] In one embodiment, the dedicated FEC encoding code type used to decode the first data block and the flexible FEC encoding code type used to decode the second data block may be the same or different.

[0071] S220 . Decode the second codeword of the encoded data according to the flexible FEC encoding code pattern to obtain a second data block.

[0072] In one embodiment, the coded data is coded data in a continuous transmission mode or coded data in a downlink burst mode, that is, the present application can be applied to the continuous transmission mode or the downlink burst mode.

[0073] If the coded data is coded data in a continuous transmission mode, the structures of the first data block and the second data block are any of the following:

[0074] Case 3.1: The first data block includes at least a downlink physical synchronization block PSBd, and the second data block includes at least a portion of a framing sublayer FS frame.

[0075] The flexible FEC coding pattern is indicated by the PSync sequence of the PSBd; or, the flexible FEC coding pattern is indicated by both the DS FEC flag bit and the reserved bit in the OC body field of the PSBd.

[0076] Case 3.2: The first data block includes at least the PSBd and the FS frame header, and the second data block includes the FS frame payload.

[0077] The flexible FEC coding pattern is indicated by the HLend field in the FS frame header.

[0078] Case 3.3: The first data block includes an extended downlink physical synchronization block ePSBd and an FECmap structure, and the second data block includes an FS frame.

[0079] The flexible FEC coding type is indicated by the FEC type field in the ePSBd and the FECmap structure. Optionally, the number of flexible FEC codes is additionally indicated by the FEC count field in the ePSBd.

[0080] If the coded data is coded data in a downlink burst mode, the structures of the first data block and the second data block are any of the following:

[0081] Case 4.1: The first data block includes at least PSBd, and the second data block includes at least a portion of a downlink physical burst structure.

[0082] The flexible FEC coding pattern is indicated by the PSync sequence of the PSBd; or, the flexible FEC coding pattern is indicated by both the DS FEC flag bit and the reserved bit in the OC body field of the PSBd.

[0083] Case 4.2: The first data block includes at least the PSBd and the FS frame header in the downlink physical burst structure, and the second data block includes at least the FS frame payload in the downlink physical burst structure.

[0084] The flexible FEC coding pattern is indicated by the HLend field in the FS frame header.

[0085] Case 4.3: The first data block includes the ePSBd and FECmap structures, and the second data block includes the downlink physical burst structure.

[0086] The flexible FEC coding type is indicated by the FEC type field in the ePSBd and the FECmap structure. Optionally, the number of flexible FEC codes is additionally indicated by the FEC count field in the ePSBd.

[0087] Below, some specific implementation methods are provided to explain the encoding method and decoding method provided in the embodiments of the present application.

[0088] In a first possible implementation, FIG. 4 is an interaction diagram of data transmission between an OLT and an ONU provided by an embodiment. As shown in FIG. 4 , the following steps are included.

[0089] S310: The OLT obtains a physical frame, where the physical frame includes a first data block and a second data block. The first data block includes a flexible FEC coded pattern.

[0090] In this embodiment, the structure of the physical frame can reuse the current standard continuous physical frame structure in the downlink direction. The OLT periodically sends encoded data (for example, period T = 125us) and modifies the first data block of the physical frame so that the first data block includes a flexible FEC encoding code type, so that the downlink direction supports variable FEC encoding code types for encoding and decoding.

[0091] FIG5 is a schematic diagram of the structure of a physical frame provided by an embodiment; FIG6 is a schematic diagram of the structure of another physical frame provided by an embodiment. As shown in FIG5 and FIG6, the downlink physical frame corresponding to a period T includes a PSBd and an FS frame. When the OLT performs encoding, the OLT can encode the PSBd and the first segment of the FS frame as the first data block as shown in FIG5 to form a codeword, namely, FEC0, and encode the remaining data of the FS frame as the second data block to form multiple codewords, namely, multiple FEC1s; or, as shown in FIG6, encode the PSBd as the first data block to form a codeword, namely, FEC0, and encode the FS frame as the second data block to form multiple codewords, namely, multiple FEC2s. In FIG5 and FIG6, physical frame 1 indicates that the FEC encoding code types used by FEC0 and FEC1 are different; in FIG5 and FIG6, physical frame 2 indicates that the FEC encoding code types used by FEC0 and FEC2 are the same.

[0092] S320: The OLT encodes the first data block according to the dedicated FEC encoding pattern; and encodes the second data block according to the flexible FEC encoding pattern.

[0093] The dedicated FEC coding pattern is an FEC coding pattern that can be recognized by all ONUs, such as a default FEC coding pattern and a specific FEC coding pattern (such as a Reed-solomon Forward Error Correction (RS FEC) pattern).

[0094] The flexible FEC coding code type is indicated in the first data block.

[0095] Figure 7 is a schematic diagram of the structure of a PSBd provided by an embodiment. As shown in Figure 7, the PSBd includes a PSync sequence, a superframe counter structure (SFC structure), and an operation and control structure (OC structure). The SFC structure includes a superframe counter field and a hybrid error correction coding (HEC) field, and the OC structure includes an OC body field and a HEC field.

[0096] In one example, the flexible FEC encoding pattern is indicated by the PSync sequence in the PSBd. The PSync sequence is used for synchronization after receiving the ONU. By constructing different PSync sequences, different PSync sequences correspond to different FEC encoding patterns. The OLT network management system pre-configures a table that maps PSync sequences to flexible FEC encoding patterns, which is used by both the OLT and the ONU.

[0097] In another example, Figure 8 is a schematic diagram of the structure of an OC body field provided by an embodiment. As shown in Figure 8, the flexible FEC encoding code type is indicated by the DS FEC flag and the reserved bit R in the OC body field of the PSBd. This means that the meaning of the DS FEC flag and R in the standard OC body field are modified, and these two bits are used to achieve flexible switching between three different FEC encoding code types.

[0098] For example, setting the DS FEC flag to 1 indicates that a dedicated FEC encoding pattern is used, and the meaning of the R value is ignored by the ONU. Setting the DS FEC flag to 0 indicates that a flexible FEC encoding pattern is used, and the value of R represents a different FEC encoding pattern. For example, if R = 0, the OLT uses pattern 1 for encoding and the ONU uses pattern 1 for decoding; if R = 1, the OLT uses pattern 2 for encoding and the ONU uses pattern 2 for decoding.

[0099] S330 : The OLT sends coded data to the ONU. The coded data includes a first codeword and a second codeword. The first codeword is the coded first data block, and the second codeword is the coded second data block.

[0100] S340: The ONU receives the encoded data sent by the OLT.

[0101] S350. The ONU decodes the first codeword according to the dedicated FEC coding code type to obtain a first data block.

[0102] S360: The ONU determines a flexible FEC coding code type according to the first data block.

[0103] Correspondingly, when the ONU decodes the first codeword according to the dedicated FEC encoding code type to obtain the first data block, it can determine the flexible FEC encoding code type indicated by it according to the PSync sequence in the PSBd, or determine the flexible FEC encoding code type indicated by it according to the DS FEC flag and reserved bit in the OC body field of the PSBd.

[0104] S370. The ONU decodes the second codeword of the encoded data according to the flexible FEC encoding code type to obtain a second data block.

[0105] In a second possible implementation, FIG9 is another interactive diagram of data transmission between an OLT and an ONU provided by an embodiment. As shown in FIG9 , the following steps are included.

[0106] S410: The OLT obtains a physical frame, where the physical frame includes a first data block and a second data block. The first data block includes a flexible FEC coded pattern.

[0107] In this embodiment, the current standard's FEC protection for the downstream PSBd is modified, making the PSBd, similar to the upstream Physical Synchronization Block (PSBu) frame header in the current standard, unprotected by FEC. The OLT periodically sends coded data (e.g., with a period of T = 125 μs) and modifies the first data block of the physical frame to include a flexible FEC coding pattern, enabling encoding and decoding in the downstream direction using a variable FEC coding pattern.

[0108] FIG10 is a schematic diagram of the structure of another physical frame provided by an embodiment. As shown in FIG10 , a downlink physical frame corresponding to a period T includes a PSBd and an FS frame. The PSBd serves as the first data block, and the FS frame serves as the second data block. When the OLT performs encoding, the OLT no longer encodes the first data block, but only encodes the second data block to form multiple codewords, i.e., multiple FEC1s or multiple FEC2s. Physical frame 1 in FIG10 indicates that the FEC encoding code pattern used by FEC1 is not a dedicated FEC encoding code pattern; physical frame 2 in FIG10 indicates that the FEC encoding code pattern used by FEC2 is a dedicated FEC encoding code pattern.

[0109] S420: The OLT encodes the second data block according to the flexible FEC encoding code type.

[0110] The flexible FEC coding pattern is indicated in the first data block. Specifically, the method for indicating the flexible FEC coding pattern is the same as the method for indicating the flexible FEC coding pattern in the first possible implementation manner, and is not described here for brevity.

[0111] S430 : The OLT sends coded data to the ONU. The coded data includes a first data block and a second codeword, where the second codeword is the coded second data block.

[0112] S440: The ONU receives the encoded data sent by the OLT.

[0113] S450: The ONU determines a flexible FEC coding pattern according to the first data block.

[0114] S460: The ONU decodes the second codeword of the encoded data according to the flexible FEC encoding code type to obtain a second data block.

[0115] In a third possible implementation, FIG11 is another interaction diagram of data transmission between an OLT and an ONU provided by an embodiment. As shown in FIG11 , the following steps are included.

[0116] S510: The OLT obtains a physical frame, where the physical frame includes a first data block and a second data block. The first data block includes a flexible FEC coded pattern.

[0117] In this embodiment, the structure of the physical frame can reuse the current standard continuous physical frame structure in the downlink direction. The OLT periodically sends encoded data (for example, period T = 125us) and modifies the first data block of the physical frame so that the first data block includes a flexible FEC encoding code type, so that the downlink direction supports variable FEC encoding code types for encoding and decoding.

[0118] FIG12 is a schematic diagram of the structure of another physical frame provided by an embodiment. As shown in FIG12 , a downlink physical frame corresponding to a period T includes a PSBd and an FS frame, and the FS frame includes an FS frame header and an FS frame payload. When the OLT performs encoding, the OLT can encode the PSBd and the FS frame header as the first data block to form a codeword, namely, FEC0, and encode the FS frame payload as the second data block to form multiple codewords, namely, multiple FEC1s or multiple FEC2s. Physical frame 1 in FIG12 indicates that the FEC encoding code types used by FEC0 and FEC1 are different; physical frame 2 in FIG12 indicates that the FEC encoding code types used by FEC0 and FEC2 are the same.

[0119] It should be noted that when the PSBd and FS frame headers are encoded as the first data block, if the data length of the PSBd and FS frame headers is less than the information bit length of the first codeword, they can be padded with specific data.

[0120] S520: The OLT encodes the first data block according to the dedicated FEC encoding pattern; and encodes the second data block according to the flexible FEC encoding pattern.

[0121] The dedicated FEC coding pattern is an FEC coding pattern that can be recognized by all ONUs, such as a default FEC coding pattern or a specific FEC coding pattern (such as an RS FEC pattern).

[0122] The flexible FEC coding code type is indicated in the first data block.

[0123] Figure 13 is a schematic diagram of the structure of an FS frame provided by an embodiment. As shown in Figure 13, the FS frame includes an FS frame header and an FS frame payload. The FS frame header includes an HLend field, a bandwidth map (BWmap) field, and a downlink physical layer operations, administration, and maintenance (PLOAMd) message. The HLend field includes a bandwidth map length (BWmap length) field, a physical layer operations, administration, and maintenance count (PLOAM count) field, and a HEC field.

[0124] The flexible FEC coding type is indicated by the HLend field in the FS frame header. Exemplarily, the HLend field indicates the flexible FEC coding type used by the current physical frame.

[0125] For example, the HLend field in the existing standard can be kept at 4 bytes, and the number of bits in the BWmap length data block and the PLOAM count data block can be adjusted to free up 2 bits to indicate the downlink flexible FEC coding pattern of the current frame. For another example, the length of the HLend field can be increased so that 2 bits can indicate up to 4 different flexible FEC coding patterns.

[0126] S530 : The OLT sends coded data to the ONU. The coded data includes a first codeword and a second codeword. The first codeword is the coded first data block, and the second codeword is the coded second data block.

[0127] S540: The ONU receives the encoded data sent by the OLT.

[0128] S550: The ONU decodes the first codeword according to the dedicated FEC coding code type to obtain a first data block.

[0129] After receiving the downlink physical frame, all ONUs first decode the first codeword of the downlink frame using a dedicated FEC coding pattern to obtain a first data block.

[0130] S560: The ONU determines a flexible FEC coding code type according to the first data block.

[0131] Correspondingly, when the ONU decodes the first codeword according to the dedicated FEC coding pattern to obtain the first data block, it determines the flexible FEC coding pattern indicated by the HLend field in the FS frame header.

[0132] S570: The ONU decodes the second codeword of the encoded data according to the flexible FEC encoding code type to obtain a second data block.

[0133] In a fourth possible implementation, the current standard OLT can be reused to periodically send coded data (e.g., period T = 125us), and the PSBd can be modified to an extended downlink physical synchronization block ePSBd, and an FECmap structure can be added. The ePSBd and FECmap structure are located in the first data block, and the flexible FEC coding code type is jointly indicated by the FEC type field in the ePSBd and the FECmap structure. Optionally, the flexible FEC coding code type is supplemented by the FEC count field in the ePSBd.

[0134] Figure 14 is a schematic diagram of the structure of a newly defined downlink physical frame header provided by one embodiment. As shown in Figure 14, the ePSBd can apply independent FEC protection, or it can apply FEC protection to the FECmap structure independently. The dedicated FEC coding pattern used should be recognizable by all ONUs and can be the same dedicated FEC coding pattern or different dedicated FEC coding patterns. In addition, the ePSBd and FECmap structures can be combined and protected using a fixed FEC coding pattern, such as the Low Density Parity Check (LDPC) code, LDPC (17280, 14592), which is compatible with legacy ONUs.

[0135] The FEC type field in the ePSBd and the FECmap structure together indicate the flexible FEC coding code type as follows:

[0136] When FEC type = 0, it means that the current frame is encoded with a dedicated FEC coding pattern except for the frame header. In this case, the value of FEC count is ignored by the ONU (the default value can be 1), and the length of the first codeword of the current physical frame is 0.

[0137] When FEC type = 1, it indicates that the current frame, except for the frame header, is encoded using flexible FEC coding type 1. In this case, the FEC count value is ignored by the ONU (the default value may be 1), and the length of the first codeword of the current physical frame is 0.

[0138] When FEC type = 2, it indicates that the current frame, except for the frame header, is encoded using flexible FEC coding type 2. In this case, the FEC count value is ignored by the ONU (the default value may be 1), and the length of the first codeword of the current physical frame is 0.

[0139] When FEC type = 3, it indicates that the current frame, in addition to the frame header, is encoded using multiple FEC coding patterns. In this case, the FEC count value cannot be ignored by the ONU, and the length of the first codeword of the current physical frame is not 0, which is determined by the number of codewords actually encoded. The FECmap structure indicates the different FEC codetypes (FEC flag), the number of codewords (code numb), and the relative starting position (start) of the current frame after FEC encoding. The FECmap structure completely corresponds to the encoded codewords (codewords) and is determined by the OLT.

[0140] Flexible FEC coding pattern 1 and flexible FEC coding pattern 2 may be high-throughput or high-margin FEC patterns with better performance than the dedicated FEC coding pattern, respectively.

[0141] This embodiment also provides a possible encoding method. Figure 15 is a coding flow chart provided by one embodiment. As shown in Figure 15, the service data units (SDUs) of each ONU are grouped into framing modules and classified into different SDU categories based on the FEC encoding code type configured for the ONU. FS frames are then formed according to the XGEM (10-Gigabit-capable PON Encapsulation Method) framing method and the FS framing method in existing standards. The packet information corresponding to the FS frames is then sent to the encoding controller. It should be noted that although the SDUs are divided into different groups based on the FEC type configured for the ONU, during the FS framing process, the OLT can place SDUs from different groups into the same FS frame based on the current user SDU load. This is achieved by simply specifying the relative positions of the XGEM frames corresponding to the different SDU groups within the FS frame payload in the packet information. For example, the starting position of the XGEM frames for different groups within the FS payload can be specified.

[0142] The encoding controller uses the grouping information to control FEC encoder 3, ensuring that XGEM frames of the same category are encoded with the same FEC code pattern, and outputs the encoding structure of FEC encoder 3, which is the FECmap structure. The FECmap structure is then encoded with a default FEC code pattern of a dedicated default encoder 2.

[0143] ePSBd is encoded by the default FEC pattern of another dedicated default encoder 1, which may be the same as or different from the default FEC pattern of default encoder 2.

[0144] The default encoder 1, the default encoder 2 and the FEC encoder 3 are reassembled into downlink physical frames by the codeword reassembly module to form a physical (PHY) frame bit stream protected by FEC.

[0145] This embodiment also provides a possible decoding method. Figure 16 is a decoding flow chart provided by one embodiment. As shown in Figure 16, after receiving the PHY frame bit stream, each ONU decodes it in three stages. First, the default decoder 1 is used to decode the dedicated FEC-protected ePSBd. All ONUs can correctly decode it.

[0146] Based on the FEC type carried in the ePSBd, ONU sub-controller 12 controls default decoder 2 to decode the FECmap portion of the remaining data in the PHY frame bitstream, excluding the ePSBd portion. Note that if the FEC type result indicates that the FECmap data length is 0, this step will not process the remaining data in the PHY frame bitstream, excluding the ePSBd portion. Sub-controller 12 notifies sub-controller 3 to decode the remaining data.

[0147] The ONU sub-controller 3 controls the FEC decoder 3 to decode the remaining data of the PHY frame bit stream except the ePSBd and FECmap codewords. The decoding is performed according to the FEC structure in the FECmap to obtain the data of each ONU in the FS frame data.

[0148] Specific implementation methods include:

[0149] 1. FEC decoding during ONU activation and registration phase.

[0150] Method 1: During the activation and registration phase, the physical frame header of the PSBd structure is used, and the standard default process is used for encoding and decoding.

[0151] Method 2: During the activation and registration phase, the physical frame header of the ePSBd structure is used. The ONU needs to translate the ePSBd first. As shown in Figure 14, if FEC type = 0, it means the default code type is used for the entire physical frame, and the FEC count is ignored (it can have a default value, such as 1). At this time, the length of codeword#1* is length = 0, and there is no FECmap. Assuming that this PHY frame has a total of C D FEC, the first is the first codeword of ePSBd, from the second to the last codeword, are FEC encoding for FS frame. D -1 codewords are all of the same length (L), and the C D The length of each frame is no greater than L, ensuring that the entire PHY frame is T, which is the number of bits at the corresponding rate (for example, T = 125us). Alternatively, decoding can be performed in the original manner, with the ePSBd and partial FS frame data protected by one FEC. In this case, the decoded data will have an additional FEC structure and HEC.

[0152] 2. How to decode the ONU working status.

[0153] Step 1: After the ONU leaves the factory or has its firmware upgraded, the FEC type it supports can be known to the OLT. This can be known through configuration or message inquiry, and this application does not limit this.

[0154] Step 2: When the ONU is in working state, the frame header of the ePSBd structure is used throughout. The first codeword #1 has two possible construction methods: one is shown in Figure 14, and the other is shown in Figure 17.

[0155] Method 1: ePSBd and FECmap together construct codeword #1.

[0156] This method requires a fixed codeword length and specific FEC protection, such as the standard's default code pattern. Otherwise, different ONUs cannot decode the codeword. The FECmap length can be 0 or another value (fixed or variable). This method may also require padding with specific data (such as idle data) to ensure the information bit length of codeword #1.

[0157] Method 2: ePSBd constructs codeword #1 independently, and FECmap constructs codeword #1* independently. Both are protected using the default code pattern. The default FEC for codeword #1 and codeword #1* can be the same or different, but both must be code patterns supported by all ONUs by default and configurable through methods such as the OLT and network management system. This method may also require padding with specific data (such as idle data) to ensure the information bit length of codeword #1 and codeword #1*.

[0158] In addition to ePSBd, the remaining data can be protected by FEC in two ways:

[0159] i) If the remainder of the entire physical frame (PHY) is protected by only one FEC, then FEC type = 0 can be used to indicate only FEC0. In this case, FEC count is ignored (it can have a default value, such as 1). In method 1, the FECmap length is 0, and in method 2, codeword#1* does not exist and has length = 0. Similarly, FEC type = 1 can be used to indicate only FEC1, and FEC type = 2 can be used to indicate only FEC2.

[0160] ii) If the rest of the entire PHY frame is protected by more than one FEC, then FEC type = 3 can be set to indicate multiple FECs. In this case, codeword #1* must exist and has a fixed (or configurable) length to ensure that all ONUs can decode it.

[0161] Step 3: The ONU decodes codeword #1 using the default FEC (method 1), or decodes codeword #1 and codeword #1* separately (method 2). The ONU then determines the FEC structure, the FEC used for the remaining data in the physical frame, the number of segments in the FECmap, the FEC type, the starting point, and the number of FEC codewords (if any).

[0162] Step 4: The ONU decodes the remaining portion of the physical frame using the FEC type and FECmap (if any).

[0163] While the first through fourth possible implementations described above are all for continuous transmission mode, the method provided herein can also be used for downlink burst mode. Figure 18 is a schematic diagram of a downlink burst transmission according to an embodiment; Figure 19 is a schematic diagram of a downlink burst structure according to an embodiment; Figure 20 is a schematic diagram of a downlink FS burst structure without an FS tailor according to an embodiment; and Figure 21 is a schematic diagram of a downlink FS burst structure with an FS tailor according to an embodiment.

[0164] As shown in Figures 18-21, when transmitting data in burst mode in the downlink, the FS burst framing process is identical to the FS frame framing process in the current Common Transmission Convergence Layer (ComTC) standard. If the downlink FS burst structure does not include an FS tailor, the multi-FEC framing method described above for continuous transmission mode is fully applicable. If the downlink FS burst structure includes an FS tailor, the FS payload and FS tailor can be treated as the payload of the downlink PHY burst and the multi-FEC framing method described above for continuous transmission mode is applicable. For the sake of brevity, this is not further described here.

[0165] FIG22 is a schematic structural diagram of an encoding device provided by an embodiment. The device may be configured in a first communication node. As shown in FIG22 , the device includes: an acquisition module 10 and an encoding module 11 .

[0166] An acquisition module 10 is configured to acquire a physical frame, the physical frame including a first data block and a second data block, the first data block including a flexible forward error correction (FEC) encoded code pattern;

[0167] The encoding module 11 is configured to encode the second data block according to a flexible FEC encoding code pattern.

[0168] The encoding device provided in this embodiment is used to implement the encoding method of the above embodiment. The implementation principle and technical effects of the encoding device provided in this embodiment are similar to those of the above embodiment and will not be repeated here.

[0169] In one embodiment, the encoding module 11 is further configured to encode the first data block according to a dedicated FEC encoding code pattern.

[0170] In one embodiment, in combination with FIG. 22 , FIG. 23 is a schematic structural diagram of another encoding device provided by one embodiment, and the encoding device further includes: a communication module 12 .

[0171] The communication module 12 is configured to send encoded data to the second communication node, where the encoded data includes a first data block and a second codeword, or includes a first codeword and a second codeword, where the first codeword is the encoded first data block and the second codeword is the encoded second data block.

[0172] In one embodiment, the code pattern of the dedicated FEC encoding is the same as the code pattern of the flexible FEC encoding, or the code pattern of the dedicated FEC encoding is different from the code pattern of the flexible FEC encoding.

[0173] In one embodiment, the physical frame is a physical frame in a continuous transmission mode or a physical frame in a downlink burst mode.

[0174] In one embodiment, the physical frame is a physical frame in a continuous transmission mode, the first data block includes at least a downlink physical synchronization block PSBd, and the second data block includes at least a portion of a framing sublayer FS frame;

[0175] The physical frame is a physical frame in a downlink burst mode, the first data block includes at least PSBd, and the second data block includes at least a portion of a downlink physical burst structure.

[0176] In one embodiment, the flexible FEC coding code type is indicated by the PSync sequence of the PSBd; or, the flexible FEC coding code type is indicated by both the DS FEC flag bit and the reserved bit bit in the OC body field of the PSBd.

[0177] In one embodiment, the physical frame is a physical frame in a continuous transmission mode, the first data block includes at least a PSBd and a FS frame header, and the second data block includes a FS frame payload;

[0178] The physical frame is a physical frame in a downlink burst mode. The first data block includes at least a PSBd and an FS frame header in a downlink physical burst structure. The second data block includes at least a FS frame payload in the downlink physical burst structure.

[0179] In one embodiment, the flexible FEC coding code type is indicated by the HLend field in the FS frame header.

[0180] In one embodiment, the physical frame is a physical frame in a continuous transmission mode, the first data block includes an extended downlink physical synchronization block ePSBd and an FECmap structure, and the second data block includes an FS frame;

[0181] The physical frame is a physical frame in a downlink burst mode, the first data block includes an ePSBd and an FECmap structure, and the second data block includes a downlink physical burst structure.

[0182] In one embodiment, the flexible FEC coding code type is indicated by both the FEC type field in the ePSBd and the FECmap structure.

[0183] In one embodiment, the flexible FEC coding code type is supplementally indicated by the FEC count field in the ePSBd.

[0184] FIG24 is a schematic structural diagram of a decoding device provided by an embodiment. The device may be configured in a second communication node. As shown in FIG24 , the device includes: a determination module 20 and a decoding module 21 .

[0185] A determination module 20 is configured to determine a code pattern for flexible forward error correction (FEC) encoding;

[0186] The decoding module 21 is configured to decode the second codeword of the encoded data according to the flexible FEC encoding code pattern to obtain a second data block.

[0187] The decoding device provided in this embodiment is used to implement the decoding method of the above embodiment. The implementation principle and technical effects of the decoding device provided in this embodiment are similar to those of the above embodiment and will not be repeated here.

[0188] In one embodiment, in combination with FIG. 24 , FIG. 25 is a schematic structural diagram of another decoding device provided by one embodiment, and the decoding device further includes: a communication module 22 .

[0189] The communication module 22 is configured to receive coded data sent by the first communication node, where the coded data includes a first data block and a second codeword, or includes a first codeword and a second codeword.

[0190] In one embodiment, the determination module 20 is configured to determine the flexible FEC encoding code type based on the first data block; or, according to the dedicated FEC encoding code type, decode the first codeword to obtain the first data block; and determine the flexible FEC encoding code type based on the first data block.

[0191] In one embodiment, the code pattern of the dedicated FEC encoding is the same as the code pattern of the flexible FEC encoding, or the code pattern of the dedicated FEC encoding is different from the code pattern of the flexible FEC encoding.

[0192] In one embodiment, the coded data is coded data in a continuous transmission mode or coded data in a downlink burst mode.

[0193] In one embodiment, the coded data is coded data in a continuous transmission mode, the first data block includes at least a downlink physical synchronization block PSBd, and the second data block includes at least a portion of a framing sublayer FS frame;

[0194] The coded data is coded data in a downlink burst mode, the first data block includes at least PSBd, and the second data block includes at least a portion of a downlink physical burst structure.

[0195] In one embodiment, the flexible FEC coding code type is indicated by the PSync sequence of the PSBd; or, the flexible FEC coding code type is indicated by both the DS FEC flag bit and the reserved bit bit in the OC body field of the PSBd.

[0196] In one embodiment, the coded data is coded data in a continuous transmission mode, the first data block includes at least a PSBd and an FS frame header, and the second data block includes an FS frame payload;

[0197] The coded data is coded data in downlink burst mode, the first data block includes at least PSBd and the FS frame header in the downlink physical burst structure, and the second data block includes at least the FS frame payload in the downlink physical burst structure.

[0198] In one embodiment, the flexible FEC coding code type is indicated by the HLend field in the FS frame header.

[0199] In one embodiment, the coded data is coded data in a continuous transmission mode, the first data block includes an extended downlink physical synchronization block ePSBd and an FECmap structure, and the second data block includes an FS frame;

[0200] The coded data is coded data in a downlink burst mode, the first data block includes an ePSBd and an FECmap structure, and the second data block includes a downlink physical burst structure.

[0201] In one embodiment, the flexible FEC coding code type is indicated by both the FEC type field in the ePSBd and the FECmap structure.

[0202] In one embodiment, the flexible FEC coding code type is supplementally indicated by the FEC count field in the ePSBd.

[0203] An embodiment of the present application further provides a communication node, comprising: a processor, the processor being configured to implement the method provided in any embodiment of the present application when executing a computer program. Specifically, the communication node may be a first communication node or a second communication node. The first communication node comprises: a processor, the processor being configured to implement the encoding method provided in any embodiment of the present application when executing a computer program; the second communication node comprises: a processor, the processor being configured to implement the decoding method provided in any embodiment of the present application when executing a computer program. Exemplarily, the first communication node may be the OLT provided in any embodiment of the present application, and the second communication node may be the ONU provided in any embodiment of the present application.

[0204] FIG26 is a schematic diagram of the structure of a communication node provided by an embodiment. As shown in FIG26 , the communication node includes a processor 60, a memory 61, and a communication interface 62. The communication node may contain one or more processors 60, with FIG26 using one processor 60 as an example. The processor 60, memory 61, and communication interface 62 in the communication node may be connected via a bus or other means, with FIG26 using a bus as an example. The term "bus" refers to one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures.

[0205] The memory 61, as a computer-readable storage medium, can be configured to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the methods in the embodiments of the present application. The processor 60 executes the software programs, instructions, and modules stored in the memory 61 to execute at least one functional application and data processing of the communication node, thereby implementing the above-mentioned method.

[0206] The memory 61 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the terminal. Furthermore, the memory 61 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some instances, the memory 61 may include memory remotely located relative to the processor 60, and such remote memory may be connected to a communication node via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a network, a mobile communication network, and combinations thereof.

[0207] The communication interface 62 can be configured to receive and send data.

[0208] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method provided in any embodiment of the present application is implemented.

[0209] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. Computer-readable storage media include (non-exhaustive list): an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0210] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, the data signal carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0211] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.

[0212] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination of multiple programming languages, including object-oriented programming languages ​​(such as Java, Smalltalk, C++, Ruby, Go), and conventional procedural programming languages ​​(such as "C" or similar programming languages). The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0213] It will be appreciated by those skilled in the art that the term user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a vehicle-mounted mobile station.

[0214] In general, various embodiments of the present application may be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device, although the present application is not limited thereto.

[0215] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example, in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.

[0216] The block diagram of any logical flow in the drawings of this application may represent program steps, or may represent interconnected logical circuits, modules and functions, or may represent a combination of program steps and logical circuits, modules and functions. A computer program may be stored on a memory. The memory may be of any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, read-only memory (ROM), random access memory (RAM), optical memory devices and systems (digital versatile discs (DVD) or compact disks (CD)), etc. Computer-readable media may include non-transitory storage media. The data processor may be of any type suitable for the local technical environment, such as, but not limited to, a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FPGA), and a processor based on a multi-core processor architecture.

Claims

1. A coding method, applied to a first communication node, the method comprising: Acquire a physical frame, wherein the physical frame includes a first data block and a second data block, wherein the first data block includes a code pattern encoded by flexible forward error correction (FEC); The second data block is encoded according to the code type of the flexible FEC encoding.

2. The method according to claim 1, further comprising: The first data block is encoded according to a dedicated FEC encoding code pattern.

3. The method according to claim 1 or 2, further comprising: Sending encoded data to a second communication node, the encoded data including the first data block and a second codeword, or including a first codeword and a second codeword, the first codeword being the encoded first data block, and the second codeword being the encoded second data block.

4. The method according to claim 2, wherein: The code pattern of the dedicated FEC encoding is the same as the code pattern of the flexible FEC encoding, or the code pattern of the dedicated FEC encoding is different from the code pattern of the flexible FEC encoding.

5. The method according to claim 1, wherein: The physical frame is a physical frame in a continuous transmission mode or a physical frame in a downlink burst mode.

6. The method according to claim 5, wherein: The physical frame is a physical frame in a continuous transmission mode, the first data block includes at least a downlink physical synchronization block PSBd, and the second data block includes at least a part of a framing sublayer FS frame; The physical frame is a physical frame in a downlink burst mode, the first data block includes at least a PSBd, and the second data block includes at least a portion of a downlink physical burst structure.

7. The method according to claim 6, wherein: The flexible FEC coding code type is indicated by the physical synchronization PSync sequence of the PSBd; or, the flexible FEC coding code type is jointly indicated by the downlink forward error correction DS FEC flag bit and the reserved bit bit in the operation control body OC body field of the PSBd.

8. The method according to claim 5, wherein: The physical frame is a physical frame in a continuous transmission mode, the first data block includes at least a PSBd and a FS frame header, and the second data block includes a FS frame payload; The physical frame is a physical frame in a downlink burst mode, the first data block includes at least a PSBd and a FS frame header in a downlink physical burst structure, and the second data block includes at least a FS frame payload in the downlink physical burst structure.

9. The method according to claim 8, wherein: The code type of the flexible FEC encoding is indicated by the HLend field in the FS frame header.

10. The method according to claim 5, wherein: The physical frame is a physical frame in a continuous transmission mode, the first data block includes an extended downlink physical synchronization block ePSBd and a forward error correction map FECmap structure, and the second data block includes a FS frame; The physical frame is a physical frame in a downlink burst mode, the first data block includes an ePSBd and an FECmap structure, and the second data block includes a downlink physical burst structure.

11. The method according to claim 10, wherein: The code type of the flexible FEC encoding is jointly indicated by the forward error correction type FEC type field in the ePSBd and the FECmap structure.

12. The method according to claim 11, wherein: The code type of the flexible FEC encoding is supplemented by the forward error correction count FEC count field in the ePSBd.

13. A decoding method, applied to a second communication node, the method comprising: Determine the code pattern of flexible forward error correction FEC encoding; According to the code type of the flexible FEC encoding, the second codeword of the encoded data is decoded to obtain a second data block.

14. The method according to claim 13, further comprising: The encoded data sent by the first communication node is received, where the encoded data includes a first data block and the second codeword, or includes a first codeword and the second codeword.

15. The method according to claim 14, wherein: The determining of the flexible FEC coding code type includes: Determine the flexible FEC coding code type according to the first data block; or, The first codeword is decoded according to the code type of the dedicated FEC encoding to obtain a first data block; and the code type of the flexible FEC encoding is determined according to the first data block.

16. The method according to claim 15, wherein: The code pattern of the dedicated FEC encoding is the same as the code pattern of the flexible FEC encoding, or the code pattern of the dedicated FEC encoding is different from the code pattern of the flexible FEC encoding.

17. The method according to claim 14, wherein: The coded data is coded data in a continuous transmission mode or coded data in a downlink burst mode.

18. The method according to claim 17, wherein: The coded data is coded data in a continuous transmission mode, the first data block includes at least a downlink physical synchronization block PSBd, and the second data block includes at least a part of a framing sublayer FS frame; The coded data is coded data in a downlink burst mode, the first data block includes at least a PSBd, and the second data block includes at least a portion of a downlink physical burst structure.

19. The method according to claim 18, wherein: The flexible FEC coding code type is indicated by the physical synchronization PSync sequence of the PSBd; or, the flexible FEC coding code type is jointly indicated by the downlink forward error correction DS FEC flag bit and the reserved bit bit in the operation control body OC body field of the PSBd.

20. The method according to claim 17, wherein: The coded data is coded data in a continuous transmission mode, the first data block includes at least a PSBd and a FS frame header, and the second data block includes a FS frame payload; The coded data is coded data in a downlink burst mode, the first data block includes at least PSBd and a FS frame header in a downlink physical burst structure, and the second data block includes at least a FS frame payload in the downlink physical burst structure.

21. The method according to claim 20, wherein: The code type of the flexible FEC encoding is indicated by the HLend field in the FS frame header.

22. The method according to claim 17, wherein: The coded data is coded data in a continuous transmission mode, the first data block includes an extended downlink physical synchronization block ePSBd and a forward error correction map FECmap structure, and the second data block includes a FS frame; The coded data is coded data in a downlink burst mode, the first data block includes an ePSBd and an FECmap structure, and the second data block includes a downlink physical burst structure.

23. The method according to claim 22, wherein: The code type of the flexible FEC encoding is jointly indicated by the forward error correction type FEC type field in the ePSBd and the FECmap structure.

24. The method according to claim 23, wherein: The code type of the flexible FEC encoding is supplemented by the forward error correction count FEC count field in the ePSBd.

25. A first communication node, comprising: processor; The processor is configured to implement the encoding method according to any one of claims 1 to 12 when executing a computer program.

26. A second communication node, comprising: a processor; the processor is configured to implement the decoding method according to any one of claims 13 to 24 when executing a computer program.

27. A computer-readable storage medium storing a computer program, wherein: When the computer program is executed by a processor, it implements the encoding method as described in any one of claims 1 to 12, or implements the decoding method as described in any one of claims 13 to 24.

Citation Information

Patent Citations

  • Data transmission method,optical line terminal and system

    CN102239652A

  • Coding and decoding method, device and system

    CN105122656A

  • Passive optical network transmission method, device and system

    CN115209243A

  • System and method for implementing multiple FEC encoding profiles

    US20140181616A1

  • Communication method and apparatus for ethernet passive optical network

    WO2018035857A1