Communication method, communication device, and storage medium
By using pattern indication information to switch FEC patterns in passive optical network systems, the problem of difficulty in FEC pattern switching in the downlink direction is solved, the accuracy and bandwidth efficiency of data transmission are improved, and the data transmission is adapted to different link qualities.
Patent Information
- Application Number
- PCT/CN2024/073665
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-26
- Filing Date
- 2024-01-23
- Publication Date
- 2024-10-31
AI Technical Summary
In passive optical network systems, it is difficult to switch the FEC code pattern in the downlink direction. It is difficult for the existing technology to flexibly switch to adapt to changes in link quality, which affects the accuracy and bandwidth efficiency of data transmission.
By receiving the code type indication information in the downlink direction, the first communication device performs FEC decoding according to the code type indication information, and the second communication device generates and sends the code type indication information to indicate the applicable FEC code type, thereby realizing partial or complete downlink correlation. FEC pattern switching for slots.
It realizes flexible FEC code switching in the downlink direction, improves the accuracy and bandwidth efficiency of data transmission, adapts to different link quality conditions, and simplifies ONU data reception and processing.
Smart Images

Figure CN2024073665_31102024_PF_FP_ABST
Abstract
Description
Communication method, communication device and storage medium Technical Field
[0001] The present application relates to the field of communication technology, and more particularly to communication methods, communication equipment, and storage media. Background Art
[0002] In a Passive Optical Network (PON) system, the Optical Line Terminal (OLT) connects to one or more Optical Network Units (ONUs) via the Optical Distribution Network (ODN). The downstream direction is a natural broadcast, meaning all ONUs receive data frames sent by the OLT. The ONUs filter and process these frames based on their identity and link identifiers. The upstream direction uses time-division multiplexing (TDM) access, with the ONUs sending burst data frames within the upstream bandwidth allocated by the OLT. To improve data transmission accuracy, the sender in a PON system typically uses Forward Error Correction (FEC) to encode data frames. This involves inserting a checksum into portions of the data frame to form an FEC code block. The receiver decodes the data frame and performs FEC decoding based on the checksum in the FEC code block, correcting any errors that occurred during data frame transmission. In higher-speed passive optical networks (HSP) systems based on the International Telecommunication Union Telecommunication Standardization Sector (ITU-T) G.9804.2 standard, different forward error correction (FEC) patterns can be flexibly selected in the uplink direction to accommodate different link conditions. Generally, HSP systems use the Default (DE) pattern by default. Under good link conditions, the High Throughput (HT) pattern can be used for better bandwidth efficiency. Under poor link conditions, the High Margin (HM) pattern can be used for better error correction capabilities. In the HSP system, the uplink uses a burst transmission mode. Each burst data frame is sent by a single ONU. Different FEC code types can be selected based on the burst data frame or the bandwidth allocation corresponding to the ONU according to the link quality, which is relatively easy to implement. The downlink uses a continuous transmission mode. If a different FEC code type switching mechanism is adopted based on link quality, the ONU must distinguish between its own data and information when receiving downlink data frames and identify the FEC code type switching situation. This is quite difficult. HSP defines a related mechanism.
[0003] Summary of the Invention
[0004] In view of this, embodiments of the present application provide a communication method, a communication device, and a storage medium, which achieve the effect of flexibly switching FEC code types in the downlink direction.
[0005] An embodiment of the present application provides a communication method, applied to a first communication device, including:
[0006] FEC decoding is performed on part or all of the downlink associated time slots using the corresponding FEC code type according to the code type indication information; wherein the code type indication information is received from the second communication device; the code type indication information is used to indicate the FEC code type used in at least one downlink associated time slot.
[0007] An embodiment of the present application provides a communication method, applied to a second communication device, including:
[0008] Determine an FEC code type corresponding to an FEC code block in at least one associated time slot; generate corresponding code type indication information based on part or all of the associated time slots and using the FEC code type; wherein the code type indication information is used to indicate the FEC code type used in at least one of the associated downlink time slots; generate an FEC code block using the corresponding FEC code type in the associated time slot; and send the code type indication information and the FEC code block to a first communication device.
[0009] An embodiment of the present application provides a communication apparatus, applied to a first communication device, including:
[0010] A decoder is configured to perform FEC decoding using a corresponding FEC code type in part or all of the associated time slots in the downlink according to code type indication information; wherein the code type indication information is received from the second communication device; the code type indication information is used to indicate the FEC code type used in at least one associated time slot in the downlink.
[0011] An embodiment of the present application provides a communication apparatus, applied to a second communication device, including:
[0012] A determination module is configured to determine an FEC code type corresponding to an FEC code block in at least one associated time slot; a first generator is configured to generate corresponding code type indication information based on part or all of the associated time slots and using the FEC code type; wherein the code type indication information is used to indicate the FEC code type used in at least one associated downlink time slot; a second generator is configured to generate an FEC code block using the corresponding FEC code type in the associated time slot; and a transmitter is configured to send the code type indication information and the FEC code block to a first communication device.
[0013] An embodiment of the present application provides a communication device, comprising: a memory, and one or more processors; the memory is configured to store one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the communication method described in any of the above embodiments.
[0014] An embodiment of the present application provides a storage medium storing a computer program. When the computer program is executed by a processor, the communication method described in any of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] FIG1 is a schematic diagram of a configuration of a downlink protocol frame provided in an embodiment of the present application;
[0016] FIG2 is a schematic diagram of a configuration of a downlink synchronization block provided in an embodiment of the present application;
[0017] FIG3 is a schematic diagram of the structure of a physical frame in the downlink direction provided in an embodiment of the present application;
[0018] FIG4 is a flow chart of a communication method provided in an embodiment of the present application;
[0019] FIG5 is a flow chart of another communication method provided in an embodiment of the present application;
[0020] FIG6 is a schematic diagram of an implementation of downlink timeslot allocation provided in an embodiment of the present application;
[0021] FIG7 is a schematic diagram of a configuration of code type indication information provided in an embodiment of the present application;
[0022] FIG8 is a schematic diagram of another configuration of code type indication information provided in an embodiment of the present application;
[0023] FIG9 is a schematic diagram of another configuration of code type indication information provided in an embodiment of the present application;
[0024] FIG10 is a schematic diagram of another configuration of code type indication information provided in an embodiment of the present application;
[0025] FIG11 is a structural block diagram of a communication device provided in an embodiment of the present application;
[0026] FIG12 is a structural block diagram of another communication device provided in an embodiment of the present application;
[0027] FIG13 is a schematic structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following describes the embodiments of the present application in conjunction with the accompanying drawings. The following describes the present application in conjunction with the accompanying drawings, and the examples are only used to explain the present application.
[0029] Figure 1 is a schematic diagram of the configuration of a downstream protocol frame provided by an embodiment of the present application; Figure 2 is a schematic diagram of the configuration of a downstream synchronization block provided by an embodiment of the present application; and Figure 3 is a schematic diagram of the structure of a downstream physical frame provided by an embodiment of the present application. In the ITU-T G.9804.2 standard, in the downstream direction, the OLT device first forms a protocol frame (abbreviated as FS frame) as shown in Figure 1, and then adds a downstream synchronization block (Physical Synchronization Block for downstream, PSBd) as shown in Figure 2. After inserting the FEC checksum as shown in Figure 3, the resulting physical frame (abbreviated as PHY frame) is transmitted. The physical frame is transmitted every 125 microseconds and carries multiple data frames. Therefore, in the embodiments of the present application, the physical frame can also be referred to as a superframe or a downstream superframe. The protocol frame consists of a protocol frame header (abbreviated as FS header) and a protocol frame payload. The protocol frame header includes an upstream bandwidth map partition (BWmap) and a downstream PLOAM message partition (abbreviated as PLOAMd), the lengths of which are indicated by HLend. From the perspective of content, for the convenience of description in the embodiments of the present application, the protocol frame header can be called a management information partition. The management information partition will be expanded later and the sending location will also be adjusted.
[0030] In a PON system, similar to the upstream direction, three FEC code types can be configured in the downstream direction to meet different link conditions: HT code type, DE code type, and HM code type. The DE code type can be used by default, or any supported FEC code type (referred to as code type) can be used. The code type used in the downstream direction is related to the downlink conditions. When the link quality is good, the HT code type is used to achieve better bandwidth efficiency; when the link quality is poor, the HM code type is used to achieve better error correction capabilities. The code type used in the downstream direction can be switched for each ONU or uniformly for all ONUs.
[0031] The FEC code block (referred to as code block for short) in the embodiment of the present application can also be referred to as an FEC codeword (referred to as codeword for short). The FEC code block consists of two parts: data and check. The FEC code type is represented by the FEC code block length and the data length. Different FEC code types are all derived from a common FEC code type, which is called the mother code. Each FEC code type is either derived from the mother code by reducing the data part, or from the mother code by reducing the check part, or from the mother code by reducing the data and check parts. In comparison, the mother code block is a complete code block, and the FEC code type code block derived from the mother code is an incomplete code block. In comparison, based on these FEC code type code blocks derived from the mother code, the data and / or check part can also be reduced, and the relationship between them is also a complete FEC code block and an incomplete code block.
[0032] In one embodiment, FIG4 is a flowchart of a communication method provided by an embodiment of the present application. This embodiment is applicable to a scenario where FEC code types in the downlink direction are flexibly switched. This embodiment can be performed by a first communication device. For example, the first communication device can be an ONU device. As shown in FIG4 , this embodiment includes: S110.
[0033] S110 , performing FEC decoding using a corresponding FEC code type in part or all of the associated downlink time slots according to the code type indication information.
[0034] The code type indication information is received from the second communication device; the code type indication information is used to indicate the FEC code type used in at least one associated time slot in the downlink. In an embodiment, the second communication device establishes a communication connection with the first communication device. In a PON system, the second communication device may be an optical line terminal (OLT) device. The OLT device and the ONU device may be connected and communicate with each other through an intermediate optical distribution network (ODN). In an embodiment, the associated time slot refers to one or more time slots in the downlink direction indicated by the code type indication information. The code type indication information may indicate the FEC code type used in one or more associated time slots in the downlink direction. Exemplarily, the code type indication information may indicate the FEC code type of one or more time slots at the front of the downlink superframe, or may indicate the FEC code type at other specified time slot positions in the downlink superframe.
[0035] The corresponding FEC code type is used to perform FEC decoding on the corresponding time slot according to the code type indication information.
[0036] In an embodiment, after receiving the code type indication information sent by the second communication device, the first communication device can know the FEC code type used in at least one associated time slot in the downlink direction based on the code type indication information, and then perform FEC decoding on the corresponding FEC code block based on the FEC code type used in part or all of the associated time slots in the downlink. The corresponding FEC code block can be an FEC code block with a code type consistent with itself, or it can be an FEC code block that belongs to itself in the corresponding time slot.
[0037] In one embodiment, a communication method applied to a first communication device further includes: performing FEC decoding using a corresponding FEC code type in some or all associated downlink time slots based on default configuration information; wherein the default configuration information is used to indicate the FEC code type used in at least one associated downlink time slot. The associated time slots of the default configuration information are determined by the corresponding FEC code type length and the corresponding FEC block position. In this embodiment, the first communication node can directly perform FEC decoding based on the default configuration information without requiring code type indication information, that is, the first communication node can directly perform FEC decoding based on the FEC code type used in some or all associated downlink time slots indicated by the default configuration information.
[0038] In one embodiment, the pattern indication information includes at least one of the following: a downlink synchronization header; and a downlink time slot mapping partition. In this embodiment, the pattern indication information can be represented by a downlink synchronization header or a downlink time slot mapping partition. The downlink time slot mapping partition can be newly added to the management information partition.
[0039] In one embodiment, the code pattern indication information is a downlink synchronization header, which is used to indicate the FEC code pattern of one or more associated time slots. The downlink synchronization header can be located within or outside of its associated time slot. The associated time slot of the downlink synchronization header is determined by the corresponding FEC code pattern length and the corresponding FEC block position. When the downlink synchronization header is located within its associated time slot, the first communications device can identify the downlink synchronization header independently of the FEC code pattern decoding of the associated time slot. However, the FEC code pattern decoding of the associated time slot can be used to confirm the identification of the downlink synchronization header. In this embodiment, the associated time slot refers to one or more time slots in the downlink direction, and the location of the time slot is not limited. The downlink synchronization header can variably indicate the FEC code pattern of one or more time slots. In one embodiment, the downlink synchronization header can indicate the FEC code pattern of one or more associated time slots at the beginning of a downlink superframe. In one embodiment, when the downlink synchronization header is used only to indicate the FEC code pattern of the associated time slot, the downlink synchronization header can indicate the FEC code pattern used for the entire downlink superframe.
[0040] In one embodiment, the code pattern indication information is a downlink synchronization header, and the associated time slots of the downlink synchronization header include: the time slot corresponding to at least one FEC code block at the beginning of the downlink superframe, or the time slot corresponding to the entire downlink superframe; based on the downlink synchronization header, the code blocks in the at least one FEC code block at the beginning of the downlink superframe whose code pattern matches the first code block are decoded, or the corresponding code pattern is used to decode the entire downlink superframe. In this embodiment, when the code pattern indication information is a downlink synchronization header, the downlink synchronization header can indicate the FEC code pattern used in the time slot corresponding to the at least one FEC code block at the beginning of the downlink superframe, or can indicate the FEC code pattern used in the time slot corresponding to the entire downlink superframe. When the associated time slot of the downlink synchronization header is the time slot corresponding to the at least one FEC code block at the beginning of the downlink superframe, the first communication node decodes the code blocks in the at least one FEC code block at the beginning of the downlink superframe whose code pattern matches the first code block according to the downlink synchronization header. When the associated time slot of the downlink synchronization header is the time slot corresponding to the entire downlink superframe, the first communication node decodes the FEC code pattern used for the entire downlink superframe according to the downlink synchronization header.
[0041] In one embodiment, the associated time slot of the downlink synchronization header includes one of the following: the time slot corresponding to the entire downlink superframe; the time slot corresponding to the first FEC code block of the downlink superframe; the time slot corresponding to each FEC code block in the first multiple FEC code blocks of the downlink superframe; the time slot corresponding to an FEC code block associated with each downlink synchronization header of multiple downlink synchronization headers in the downlink superframe.
[0042] In one embodiment, in the case where the downlink synchronization header is used to indicate the FEC code type of the time slot corresponding to the entire downlink superframe, the FEC code type in the downlink direction is uniformly switched based on the downlink synchronization header.
[0043] In one embodiment, the downlink synchronization header is used to indicate the FEC code type of the time slot corresponding to the first FEC code block of the downlink superframe. The FEC code type of the time slot corresponding to the first FEC code block is an FEC code type commonly supported by all first communication devices. Based on the downlink synchronization header, the FEC code type commonly supported by all first communication devices, and the downlink time slot mapping partition in the first FEC code block, the FEC code type in the downlink direction is flexibly switched.
[0044] In one embodiment, the downlink synchronization header is used to indicate the FEC code type of the time slot corresponding to each FEC code block in the first multiple FEC code blocks of the downlink superframe. The FEC code types corresponding to the first multiple FEC code blocks of the downlink superframe are all FEC code types specified in the passive optical network system, or several FEC code types supported by the first communication device. The FEC code type in the downlink direction is flexibly switched based on the downlink synchronization header and the downlink time slot mapping partition in each code block in the first multiple FEC code blocks of the downlink superframe.
[0045] In one embodiment, the downlink synchronization header is used to indicate the FEC code type of the time slot corresponding to an FEC code block associated with each downlink synchronization header in a downlink superframe. The FEC code type of the time slot corresponding to an FEC code block associated with each downlink synchronization header in the downlink superframe is any FEC code type specified in the passive optical network system, or multiple FEC code types supported by the first communication device. The downlink FEC code type is flexibly switched based on the downlink time slot mapping partition in the downlink synchronization header and an FEC code block associated with each downlink synchronization header. The FEC code block associated with each downlink synchronization header can be the FEC code block immediately following each downlink synchronization header or the FEC code block including each downlink synchronization header.
[0046] In one embodiment, the associated time slot of the default configuration information is the time slot corresponding to at least one FEC code block at the front of a downlink superframe; based on the default configuration information, the code block in the at least one FEC code block at the front of the downlink superframe whose code type matches the first communication node's own code type is decoded. In an embodiment, when the default configuration information indicates the FEC code type of the time slot corresponding to one or more FEC code blocks at the front of the downlink superframe, the first communication node can decode the code block in the one or more FEC code blocks at the front of the downlink superframe whose code type matches the code type supported by the first communication node based on the default configuration information. The FEC code type corresponding to the at least one FEC code block at the front of the downlink superframe is all FEC code types specified in the passive optical network system, or several FEC code types supported by the first communication device. The FEC code type in the downlink direction is flexibly switched based on the default configuration information and the downlink time slot mapping partition in each code block in the at least one FEC code block at the front of the downlink superframe.
[0047] In one embodiment, the code pattern indication information is a downlink timeslot mapping partition, and the associated timeslots of the downlink timeslot mapping partition are designated associated timeslots in a downlink superframe. Based on the downlink timeslot mapping partition, the FEC code blocks in the associated timeslots associated with the host are decoded using the corresponding code pattern. The associated timeslots associated with the host may be timeslots whose adopted FEC code pattern is consistent with an FEC code pattern supported by the host, or the associated timeslots may belong to the host.
[0048] In an embodiment, when only downlink time slot mapping partitions are used to carry code type indication information, the FEC code types used in the associated time slots corresponding to one or more code blocks at the beginning of the downlink superframe are set by default, and the downlink time slot mapping partitions are carried in these FEC code types.
[0049] In one embodiment, the downlink timeslot mapping partition includes at least one code pattern timeslot entry; the code pattern timeslot entry is used to indicate the FEC code pattern used in a specified associated timeslot; if the FEC code pattern indicated by the code pattern timeslot entry is consistent with an FEC code pattern supported by the first communication node, the corresponding code pattern is used for decoding in the associated timeslot corresponding to the code pattern timeslot entry. In an embodiment, the code pattern timeslot entry can be used to indicate the FEC code pattern used in one or more specified timeslots; if the FEC code pattern indicated by the code pattern timeslot entry is consistent with an FEC code pattern supported by the first communication node, the first communication node can use the corresponding FEC code pattern for decoding in the associated timeslot corresponding to the code pattern timeslot entry.
[0050] In one embodiment, the downlink time slot mapping partition further includes at least one ONU time slot entry; the ONU time slot entry is used to indicate the first communication device to which the designated associated time slot belongs; if the ONU time slot entry belongs to the ONU itself, the corresponding code pattern is used for decoding in the associated time slot corresponding to the code pattern time slot entry associated with the ONU time slot entry, or the corresponding code pattern is used for decoding in the time slot corresponding to the ONU time slot entry. In one embodiment, the ONU time slot entry is associated with the code pattern time slot entry such that one code pattern time slot entry can correspond to multiple ONU time slot entries, i.e., the time slots corresponding to multiple ONU time slot entries exactly constitute the time slot corresponding to the code pattern time slot entry, or one code pattern time slot entry contains multiple ONU time slot entries, i.e., the time slots corresponding to multiple ONU time slot entries are included in the time slot corresponding to the code pattern time slot entry. In one embodiment, the time slots occupied by multiple ONU time slot entries are equivalent to the time slot occupied by one code pattern time slot entry, or the time slots occupied by multiple ONU time slot entries are included in the time slot occupied by one code pattern time slot entry. In an embodiment, an ONU time slot entry may be used to indicate to which first communication device (i.e., ONU device) the specified one or more time slots belong. When the ONU time slot entry indicates that the ONU device to which the associated time slot belongs is itself, the first communication device may use the corresponding code pattern for decoding in the associated time slot corresponding to the code pattern time slot entry associated with the ONU time slot entry, or use the corresponding code pattern for decoding in the time slot corresponding to the ONU time slot entry.
[0051] In one embodiment, the designated associated time slot of the downlink time slot mapping partition consists of a start time and a time slot length, or consists of a start time and an end time.
[0052] In one embodiment, when the code type indication information is a downlink synchronization header, it is used to indicate the FEC code type used in the time slot corresponding to the entire downlink superframe; according to the code type indication information, the entire downlink superframe is decoded using the corresponding code type.
[0053] In one embodiment, the downlink time slot mapping partition is carried in at least one associated time slot indicated by the default configuration information or the downlink synchronization header; after decoding the FEC code block consistent with the code type supported by itself in the default configuration information or at least one associated time slot indicated by the downlink synchronization header, the downlink time slot mapping partition is parsed.
[0054] In one embodiment, the default configuration information or the downlink synchronization header is used to indicate the code type in the time slot corresponding to the first FEC code block of the downlink superframe; based on the default configuration information or the downlink synchronization header, the first FEC code block is decoded to parse out the downlink time slot mapping partition. In an embodiment, when the downlink synchronization header is used to indicate the code type of the time slot corresponding to the first FEC code block, the first FEC code block can be a complete code block and includes a management information partition in the code block, and the management information partition is expanded to add a downlink time slot mapping partition. When the downlink synchronization header is used to indicate the code type of the time slot corresponding to the first FEC code block, the downlink time slot mapping partition can be directly parsed out in the first FEC code block.
[0055] In one embodiment, when the code type indication information is a downlink synchronization header, it is used to indicate the code type of the time slot corresponding to the entire downlink superframe, and all first communication devices associated with the second communication device support the same FEC code type. In an embodiment, when the downlink synchronization header is used to indicate the code type of the time slot corresponding to the entire downlink superframe, different downlink synchronization headers can be used to indicate different FEC code types for the time slot corresponding to the entire downlink superframe. For example, it is assumed that downlink synchronization header 1 indicates that the time slot corresponding to the entire downlink superframe adopts the HT code type; downlink synchronization header 2 indicates that the time slot corresponding to the entire downlink superframe adopts the DE code type; downlink synchronization header 3 indicates that the time slot corresponding to the entire downlink superframe adopts the HM code type. In an embodiment, after obtaining the downlink synchronization header sent by the second communication device, the first communication device determines the type of the indicated FEC code type (for example, HT code type, DE code type or HM code type) based on the downlink synchronization header, and decodes according to the indicated corresponding FEC code type.
[0056] In one embodiment, when the FEC code type used by one or more FEC code blocks at the beginning of the downlink superframe is jointly indicated by the downlink synchronization header (or default configuration information) and the downlink time slot mapping partition, the FEC code type used by the one or more FEC code blocks at the beginning of the downlink superframe indicated by the downlink synchronization header (or default configuration information) shall prevail. In one embodiment, when the downlink synchronization header (or default configuration information) is used to indicate the FEC code type used by the time slots corresponding to one or more FEC code blocks at the beginning of the downlink superframe, the downlink time slot mapping partition may be used to indicate the FEC code type used by the time slots corresponding to other FEC code blocks.
[0057] In one embodiment, the default configuration information or the downlink synchronization header is used to indicate the code type of the time slot corresponding to the at least two FEC code blocks at the beginning of the downlink superframe. The communication method applied to the first communication device also includes: according to the default configuration information or the downlink synchronization header, in the at least two FEC code blocks at the beginning of the downlink superframe, performing FEC decoding on the FEC code blocks corresponding to the FEC code type supported by the first communication device, and parsing out the downlink time slot mapping partition. In this embodiment, in order to be compatible with not all first communication devices supporting the same FEC code type, the default configuration information or the downlink synchronization header can be used to indicate the code type of the time slot corresponding to the multiple FEC code blocks at the beginning of the downlink superframe. After the first communication device receives the code type indication information sent by the second communication device, the first communication device parses the code type indication information, or directly parses according to the default configuration information, and knows the code type of the time slot corresponding to the multiple FEC code blocks at the beginning of the downlink superframe. Then, the first communication device needs to parse the FEC code blocks corresponding to the FEC code type supported by the first communication device. Furthermore, each FEC code block includes a management information partition, and the first communication device then obtains the corresponding downlink time slot mapping partition from the management information partition included in the FEC code block corresponding to the FEC code type supported by the first communication device. For example, assume that the downlink synchronization header 4 indicates the code type of the time slots corresponding to the first three FEC code blocks (for example, the first FEC code block uses code type 1, the second FEC code block uses code type 2, and the third FEC code block uses code type 3), and the first communication device supports code type 2. After the first communication device is powered on and operates in a certain state, it can parse the code type of the time slot corresponding to one of the first three FEC code blocks. For example, the second FEC code block corresponding to code type 2 supported by the first communication device among the first three FEC code blocks can be parsed to obtain the downlink time slot mapping partition corresponding to the second FEC code block.
[0058] In one embodiment, the code pattern indication information is at least two downlink synchronization headers, each of which has a corresponding associated time slot; one of the at least two downlink synchronization headers is identified, and the corresponding FEC code pattern is used for decoding in the corresponding associated time slot to parse the downlink time slot mapping partition. In an embodiment, when the FEC code pattern of some or all of the downlink associated time slots is indicated by using multiple downlink synchronization headers and multiple downlink time slot mapping partitions, a downlink synchronization header can be added to each of the multiple FEC code blocks at the beginning of the downlink superframe, or in front of each FEC code block. Each downlink synchronization header indicates the code pattern of the time slot corresponding to the subsequent FEC code block, or the code pattern of the time slot corresponding to the FEC code block containing the downlink synchronization header. Each of the multiple FEC code blocks at the beginning of the downlink superframe carries a downlink time slot mapping partition, indicating the FEC code pattern used for the time slot following the multiple FEC code blocks at the beginning of the downlink superframe. The first communication node may identify a downlink synchronization header among all downlink synchronization headers corresponding to the code pattern indication information, and use a corresponding FEC code pattern to perform decoding in an associated time slot corresponding to the downlink synchronization header to parse out a corresponding downlink time slot mapping partition.
[0059] In one embodiment, the FEC code block or the associated timeslot includes a management information partition; wherein the management information partition includes at least a downlink timeslot mapping partition and size information of the downlink timeslot mapping partition; wherein the size information of the downlink timeslot mapping partition indicates the size of the downlink timeslot mapping partition, or indicates the number of pattern timeslot entries and / or ONU timeslot entries contained in the downlink timeslot mapping partition; the downlink timeslot mapping partition includes at least one pattern timeslot entry and / or ONU timeslot entry; the pattern timeslot entry indicates the FEC pattern used for the corresponding timeslot; and the ONU timeslot entry indicates the first communication device to which it belongs. In an embodiment, one or more FEC code blocks at the front of a downlink superframe each include a management information partition, and the management information partition is expanded to include a downlink timeslot mapping partition and size information of the downlink timeslot mapping partition (abbreviated as dHLend). The dHLend includes the downlink timeslot mapping partition length (abbreviated as dBWmap length), which indicates the number of pattern timeslot entries and / or ONU timeslot entries contained in the downlink timeslot mapping partition. Each FEC code block containing a management information partition may be understood as an FEC code block where a downlink synchronization header associated time slot is located, or an FEC code block configured by default.
[0060] In one embodiment, FIG5 is a flowchart of another communication method provided by an embodiment of the present application. This embodiment is applied to a scenario where FEC code types in the downlink direction are flexibly switched. This embodiment can be performed by a second communication device. For example, the second communication device can be an OLT device. As shown in FIG5 , this embodiment includes S210-S230.
[0061] S210: Determine an FEC code type corresponding to an FEC code block in at least one associated time slot.
[0062] S220: Generate corresponding code type indication information according to part or all of the associated time slots and the FEC code type.
[0063] The code type indication information is used to indicate the FEC code type adopted by each associated time slot in the downlink direction.
[0064] S230 , generating an FEC code block using a corresponding FEC code pattern in an associated time slot.
[0065] S240: Send code type indication information and FEC code blocks to the first communication device.
[0066] In an embodiment, the second communication device can obtain the ONU device to which the corresponding associated time slot belongs, and determine the FEC code type corresponding to the FEC code block in the corresponding associated time slot based on the FEC code type supported by the ONU device; or, it can also determine the FEC code type corresponding to the FEC code block in the corresponding associated time slot based on the FEC code type uniformly supported by the downlink superframe. After determining the FEC code type used in the time slot corresponding to one or more FEC code blocks at the front of the downlink superframe, if the FEC code types used in two adjacent time slots are inconsistent, the FEC code type is switched; then, corresponding code type indication information is generated based on the FEC code type used in the time slot corresponding to each FEC code block and the FEC code block; then, the code type indication information is sent to the first communication device, so that the first communication device uses the corresponding FEC code type for the corresponding time slot according to the code type indication information to perform FEC decoding and transmit data.
[0067] In one embodiment, the FEC code blocks and corresponding FEC code patterns in at least one associated time slot at the front of a downlink superframe are configured by default.
[0068] In one embodiment, when indicating the FEC code type used in at least one associated time slot at the beginning of a downlink superframe or all time slots corresponding to a downlink superframe, the code type indication information is a downlink synchronization header; the value of the downlink synchronization header is determined based on the at least one associated time slot at the beginning of the downlink superframe or all time slots corresponding to the downlink superframe and the used FEC code type. When the FEC code type of the time slot associated with the FEC code block can be dynamically indicated, the code type indication information can be carried in the downlink synchronization header.
[0069] In one embodiment, when indicating the FEC code type used in a designated time slot associated with a downlink superframe, the code type indication information is a downlink time slot mapping partition; the downlink time slot mapping partition is generated based on the designated time slot associated with the downlink superframe and the used FEC code type. When indicating the FEC code type for one or more specific time slots corresponding to an FEC code block, the code type indication information may be carried in the downlink time slot mapping partition.
[0070] In one embodiment, the downlink time slot mapping partition includes at least one code type time slot entry; the code type time slot entry is used to indicate the FEC code type used in the specified associated time slot; and the code type time slot entry is generated according to the specified associated time slot and the used code type.
[0071] In one embodiment, the downlink time slot mapping partition further includes at least one ONU time slot entry; the ONU time slot entry is used to indicate the first communication device to which the designated associated time slot belongs; and the ONU time slot entry is generated according to the designated associated time slot and the first communication device to which it belongs.
[0072] In one embodiment, the designated associated time slot consists of a start time and a time slot length, or consists of a start time and an end time.
[0073] In one embodiment, the downlink time slot mapping partition is carried in one or more associated time slots at the beginning of the downlink superframe indicated by the downlink synchronization header or default configuration information. In an embodiment, when the downlink synchronization header and the downlink time slot mapping partition are used to jointly indicate the FEC code pattern of one or more time slots, the one or more time slots indicated by the downlink time slot mapping partition are included in the one or more associated time slots indicated by the downlink synchronization header.
[0074] In one embodiment, the downlink synchronization header indicates the code type used in the associated time slot corresponding to the first FEC code block of the downlink superframe. The value of the downlink synchronization header is determined based on the FEC code type used in the first FEC code block of the downlink superframe, and the downlink time slot mapping partition is carried in the first FEC code block. In an embodiment, when the downlink synchronization header is used to indicate the code type of the time slot corresponding to the first FEC code block, a downlink time slot mapping partition can be added to the management information partition contained in the first FEC code block. The second communication device can generate a corresponding downlink time slot mapping partition based on the designated associated time slot, the used FEC code type, and the ONU device to which it belongs, and configure the downlink time slot mapping partition in the first multiple FEC code blocks of the downlink superframe.
[0075] In one embodiment, the downlink synchronization header indicates the code pattern used in the time slot corresponding to the entire downlink superframe, and the value of the downlink synchronization header is determined based on the code pattern used by the entire downlink superframe. In this embodiment, when the downlink synchronization header is used to indicate the code pattern of the time slot corresponding to the entire downlink superframe, the second communication device obtains the FEC code pattern commonly supported by all first communication devices and switches the code pattern of the time slot corresponding to the entire downlink superframe to the FEC code pattern commonly supported by all first communication devices, thereby achieving unified switching of the code pattern of the time slot corresponding to the downlink direction.
[0076] In one embodiment, the downlink synchronization header indicates the code type used in the time slots corresponding to at least two FEC code blocks at the beginning of the downlink superframe. The value of the downlink synchronization header is determined based on the time slots corresponding to the at least two FEC code blocks at the beginning of the downlink superframe and the code type used. The downlink time slot mapping partition is carried in the at least two FEC code blocks at the beginning of each downlink superframe. The multiple FEC code blocks at the beginning of the downlink superframe are sequentially composed of FEC code blocks corresponding to the FEC code types supported by each first communication device. In this embodiment, to accommodate the situation where not all first communication devices support the same FEC code type, the downlink synchronization header can be used to indicate the code type of the time slots corresponding to the multiple FEC code blocks at the beginning of the downlink superframe. The second communication device can generate corresponding downlink time slot mapping partitions based on the designated associated time slots, the used FEC code type, and the ONU to which it belongs, and configure the downlink time slot mapping partitions in the multiple FEC code blocks at the beginning of the downlink superframe.
[0077] In one embodiment, the code type indication information is at least two downlink synchronization headers, each of which indicates the FEC code type used in an associated time slot in a downlink superframe. The value of the downlink synchronization header is determined based on the associated time slot in each downlink superframe and the code type used, and the downlink time slot mapping partition is carried in the associated time slot in each downlink superframe. In this embodiment, the second communication device can generate corresponding downlink time slot mapping partitions based on the FEC code types supported by the first communication device, and include the downlink time slot mapping partitions in the associated time slot of the downlink synchronization header.
[0078] In one embodiment, the default configuration information indicates a code type used in an associated time slot corresponding to a first FEC code block of a downlink superframe; and the first FEC code block carries a downlink time slot mapping partition.
[0079] In one embodiment, the default configuration information indicates the code type used in the time slot corresponding to at least two FEC code blocks at the front of the downlink superframe; and the downlink time slot mapping partition is carried in at least two FEC code blocks at the front of each downlink superframe.
[0080] The parameters involved in the communication method applied to the second communication device that are the same as those in the above embodiment can be found in the explanation of the corresponding parameters in the above embodiment and will not be repeated here.
[0081] In one embodiment, based on the flow chart of the communication method shown in FIG5 , a default FEC pattern is configured for one or more associated time slots at the beginning of a downlink superframe. The default configuration may be the FEC pattern of one or more associated time slots at the beginning of a downlink superframe indicated by the aforementioned downlink synchronization header. In this embodiment, the downlink synchronization header remains unchanged and does not indicate the FEC pattern for any associated time slots.
[0082] In one embodiment, a downlink timeslot mapping partition is introduced in the downlink direction to indicate the FEC code type used for different associated timeslots or designated timeslots. A designated timeslot can consist of a start time and an end time, or a start time and a timeslot length. The start time and the end time are represented by byte or byte group numbers in the downlink superframe, i.e., the start time and the end time represent the byte or byte group number in the downlink superframe, and the timeslot length is represented by the number of bytes or byte groups in the downlink superframe.
[0083] Figure 6 is a schematic diagram of an implementation of a downlink time slot mapping partition provided by an embodiment of the present application. As shown in Figure 6, the management information partition (FS header for short) is expanded, and the original HLend and BWmap field names indicating the uplink time slot allocation are modified to uHLend and uBWmap respectively, but the content remains unchanged. At the same time, dHLend and dBWmap representing the downlink time slot mapping partition are added to the FS header. Among them, the dBWmap length in dHLend represents the number N of time slot entries contained in the dBWmap; the dBWmap contains N number of time slot entries (that is, the number of Allocation Structures), and the number of time slot entries is determined by the number of code type time slot entries and the number of ONU time slot entries. Exemplarily, dBWmap can be composed of one or more code type time slot entries and n ONU time slot entries corresponding to the code type time slot. Each code slot entry is used to indicate the FEC code type used by the corresponding time slot (Flags = 00b indicates that the corresponding time slot is a code slot, and the Group-ID field indicates the FEC-ID, i.e., the FEC code type used); the ONU time slot entry is used to indicate the ONU to which the corresponding time slot belongs (Flags = 01b indicates that the corresponding time slot is an ONU time slot, and the Group-ID field indicates the ONU-ID). The start time and time slot length of the time slot can be represented by StartTime and GrantSize. For example, when the value of the Flags field is 00b, the Group-ID indicates the FEC-ID, i.e., the ID corresponding to the FEC code type, and the Allocation Structure indicates the FEC time slot, i.e., the time slot using the corresponding FEC code type; when the value of the Flags field is 01b, the Group-ID indicates the ONU-ID, and the Allocation Structure indicates the ONU time slot, i.e., the time slot allocated to the ONU; when the value of the Flags field is 10 or 11, the Group-ID indicates reserved.
[0084] In one embodiment, Figure 7 is a schematic diagram of the configuration of code type indication information provided in an embodiment of the present application. In this embodiment, the first communication device is an ONU device, the second communication device is an OLT device, and the downstream synchronization header is represented by PSync. The process of uniformly switching the FEC code type used by all ONU devices is described. As shown in Figure 7, the downstream synchronization block (abbreviated as PSBd) includes a downstream synchronization header (abbreviated as PSync), an SFC structure, and an OC structure. The downstream synchronization header occupies 8 bytes, meaning that different values of these 8 bytes represent different FEC code types.
[0085] In this embodiment, different PSyncs can be used to indicate the FEC code type used in the corresponding downlink superframe. For example, PSync1 indicates that the corresponding downlink superframe uses the HT code type; PSync2 indicates that the corresponding downlink superframe uses the DE code type; and PSync3 indicates that the corresponding downlink superframe uses the HM code type. The ONU device can determine the FEC code type used in the downlink superframe by obtaining the downlink synchronization header and then use the corresponding FEC code type for decoding.
[0086] When the FEC code type is the default code type, the downlink superframe can contain an integer number of FEC code blocks, enabling 4-codeword interleaving. That is, during transmission, the first bit of the 4 codewords, the second bits of the 4 codewords, ..., and the last bit of the 4 codewords are sequentially transmitted. When the FEC code type is HT or HM, incomplete codewords may exist at the end of the downlink superframe. Because the codeword size differs from the default code type, the number of interleaved codewords may need to be reselected. When HT and HM codewords are configured, incomplete codewords may be allowed at the end of the downlink superframe, and data may not be transmitted in the incomplete codewords at the end of the downlink superframe. Interleaving units other than 4 codewords can be used, such as interleaving based on 2, 3, or 5 codewords. For example, 2-codeword interleaving is used, where the first bit of the 2 codewords, the second bits of the 2 codewords, ..., and the last bit of the 2 codewords are sequentially transmitted during transmission. 3-codeword interleaving, 5-codeword interleaving, or other codeword interleaving methods are not described in detail here.
[0087] PSync is a code type that is not easy to appear. Even if several bits are erroneous, it is not easily mistaken for other code types. It has a certain degree of fault tolerance and can be independent of FEC check. Its judgment is not subject to FEC check constraints.
[0088] In one embodiment, FIG8 is a schematic diagram of another configuration of code type indication information provided by an embodiment of the present application. In the embodiment, the first communication device is an ONU device, the second communication device is an OLT device, and the downlink synchronization header is represented by PSync. The process of PSync indicating the FEC code type of the time slot corresponding to the first FEC code block is described. As shown in FIG8, the downlink synchronization block (abbreviated as PSBd) includes a downlink synchronization header (abbreviated as PSync), an SFC structure, and an OC structure. The downlink synchronization header occupies 8 bytes, that is, when these 8 bytes take different values, different FEC code types are used to represent the first FEC code block.
[0089] In this embodiment, PSync indicates the FEC code pattern of the timeslot corresponding to the first FEC code block. The first FEC code block can be a complete code block. In this code block, except for the FS header, the remaining data portion can carry services or idle padding. Of course, it can also be an incomplete code block with the data portion shortened to a specified length, where the data portion only includes the FS header.
[0090] For example, PSync1 indicates that the first FEC code block uses the HT code type; PSync2 indicates that the first FEC code block uses the DE code type; and PSync3 indicates that the first FEC code block uses the HM code type. The ONU device can parse the dBWmap in the FS header contained in the first FEC code block to obtain the FEC timeslot and ONU timeslot associated with itself.
[0091] To support codeword interleaving and code block number requirements or other requirements, the dBWmap may or may not indicate the code type of the timeslot corresponding to the first FEC code block. If both PSync and dBWmap indicate the code type of the timeslot corresponding to the first FEC code block, the FEC code type indicated by PSync shall prevail.
[0092] As shown in Figure 8, an FEC code block may include a PSBd and an FS header, or may include some fields in the PSBd and the FS header, or may include some fields in the PSBd, the FS header, and data outside the FS header, or may include the PSBd, the FS header, and data outside the FS header. In one embodiment, the starting position of the FEC code block may be the starting position of the PSync or the starting position of the SFC structure.
[0093] In one embodiment, FIG9 is a schematic diagram of another configuration of code type indication information provided by an embodiment of the present application. In the embodiment, the first communication device is an ONU device, the second communication device is an OLT device, and the downlink synchronization header is represented by PSync. The PSync indicates the FS header repetition and the applicable code type of the corresponding FEC codeword. As shown in FIG9, the downlink synchronization block (abbreviated as PSBd) includes a downlink synchronization header (abbreviated as PSync), an SFC structure, and an OC structure. When the downlink synchronization header occupies 8 bytes, that is, when these 8 bytes take different values, it represents the code type used by one or more FEC code blocks at the front of the downlink superframe and the FS header carried.
[0094] In an embodiment, PSync is used to indicate FS header repetitions and the FEC code type used for each FEC codeword (also referred to as an FEC code block) corresponding to each FS header. The FEC codeword can be a complete codeword or an incomplete codeword of a specified length. In addition to the FS header, the remaining data portion of a complete codeword can carry services or be idle padding. The data portion of an incomplete codeword only contains the FS header.
[0095] For example, PSync1 indicates that the FS header is repeated three times, and the FEC code blocks containing the three repeated FS headers use the HT code type, the DE code type, and the HM code type, respectively. PSync2 indicates that the FS header is repeated six times, and the FEC code blocks containing the six repeated FS headers use the HT code type, the HT code type, the DE code type, the DE code type, the HM code type, and the HM code type, respectively, and two adjacent FEC code blocks with the same FEC code type use two-codeword interleaving. PSync3 indicates that the FS header is repeated once, and the DE code type is used. The number of FS header repetitions indicated by PSync, the FEC code type used by each FEC code block containing the FS header, etc. can be flexibly configured as needed and will not be detailed here.
[0096] Each ONU device decodes the corresponding FEC code block according to its own FEC code type, parses the FS header in the corresponding position of the FEC code block, and then decodes the dBWmap from the FS header to obtain the FEC timeslot and ONU timeslot related to itself.
[0097] As shown in Figure 9, an FEC code block may include the PSBd and the FS header, or may include some fields in the PSBd and the FS header, or may include some fields in the PSBd, the FS header, and data outside the FS header, or may include the PSBd, the FS header, and data outside the FS header. In one embodiment, the starting position of the FEC code block may be the starting position of the PSync or the starting position of the SFC structure. In one embodiment, an FEC code block may only include the FS header.
[0098] In one embodiment, as shown in FIG9 , PSync is fixed, the code type of one or more FEC code blocks at the front of the downlink superframe is set by default, and each default FEC code block includes a management information partition. For example, the code types of the three FEC code blocks at the front of the downlink superframe are HT code type, DE code type, and HM code type by default, and all three code blocks include a management information partition. The ONU using the HT code type decodes the first FEC code block and obtains the downlink time slot mapping partition, and according to the default setting, does not decode the second and third FEC code blocks. The ONU using the DE code type and the HM code type performs similar processing; or, the code types of the six FEC code blocks at the front of the downlink superframe are HT code type, HT code type, DE code type, and HM code type by default, respectively. The E code type, HM code type, and HM code type all contain management information partitions in the six code blocks. Two adjacent code blocks are interleaved with 2 code words. The ONU using the HT code type will deinterleave and decode the first and second FEC code blocks, and obtain the downlink time slot mapping partition. According to the default setting, the third, fourth, fifth, and sixth FEC code blocks are not decoded. The ONU using the DE code type and HM code type performs similar processing; or, the code type of the FEC code block at the front of the downlink superframe adopts the DE code type by default, and the code block contains management information partitions. Other default settings also fall within the protection scope of the embodiments of the present application, and the embodiments of the present application will not be described in detail here.
[0099] In one embodiment, FIG10 is a schematic diagram of another configuration of code type indication information provided in an embodiment of the present application. In this embodiment, the first communication device is an ONU device, the second communication device is an OLT device, and the downstream synchronization header is represented by PSync. The process of repeating both the PSync and FS headers is described. As shown in FIG10, the downstream synchronization block (abbreviated as PSBd) includes a downstream synchronization header (abbreviated as PSync), an SFC structure, and an OC structure. The downstream synchronization header occupies 8 bytes, that is, when these 8 bytes take different values, they represent the FEC code type used in the time slot corresponding to the FEC code block adjacent to the PSync.
[0100] In this embodiment, the superframe header carries multiple PSync+FS header+FEC code pattern combinations. The time slots corresponding to adjacent subsequent FEC code blocks corresponding to different PSyncs use corresponding downlink FEC code patterns. The codeword can be a complete codeword or an incomplete codeword of a specified length. In addition to the FS header, the remaining data portion of a complete codeword can carry services or be used for idle padding. The data portion of an incomplete codeword only contains the FS header.
[0101] ONU devices using different downstream FEC code types can identify the corresponding PSync, then perform FEC decoding on the FEC code blocks corresponding to the adjacent subsequent FS headers, parse the FS header and dBWmap, and then obtain their own timeslot based on the dBWmap, perform FEC decoding and data reception in the corresponding timeslot.
[0102] In an embodiment, PSync corresponds to the FEC code type one by one. For example, three PSync values are defined, and each PSync value corresponds to an FEC code type. A PSync is added in front of each FEC code block. The PSync is used to indicate the FEC code type corresponding to the adjacent FEC code block. Assume that in the downlink frame structure, the first three FEC code blocks each correspond to a PSync. For example, the first FEC code block corresponds to PSync1 (corresponding to code type 1), the second FEC code block corresponds to PSync2 (corresponding to code type 2), and the third FEC code block corresponds to PSync3 (corresponding to code type 3). After receiving the frame structure, the ONU device identifies a PSync and identifies the FEC code type corresponding to the FEC code block it points to based on the PSync value.
[0103] As shown in Figure 10, an FEC code block may include a PSBd and an FS header, or may include some fields in the PSBd and the FS header, or may include some fields in the PSBd, the FS header, and data outside the FS header, or may include the PSBd, the FS header, and data outside the FS header. In one embodiment, the starting position of the FEC code block may be the starting position of the PSync or the starting position of the SFC structure.
[0104] In one embodiment, FIG11 is a block diagram of a communication device provided in an embodiment of the present application. This embodiment is applied to a first communication device. As shown in FIG11 , the communication device applied to the first communication device in this embodiment includes: a decoder 310.
[0105] The decoder 310 is configured to perform FEC decoding using a corresponding FEC code type in part or all of the associated time slots in the downlink according to the code type indication information; wherein the code type indication information is received from the second communication device; the code type indication information is used to indicate the FEC code type used in at least one associated time slot in the downlink.
[0106] In one embodiment, the decoder 310 is further configured to perform FEC decoding using a corresponding FEC code type in part or all of the associated downlink time slots according to default configuration information; wherein the default configuration information is used to indicate the FEC code type used in at least one associated downlink time slot.
[0107] In one embodiment, the code pattern indication information includes at least one of the following: a downlink synchronization header; and a downlink time slot mapping partition.
[0108] In one embodiment, the code type indication information is a downlink synchronization header, and the associated time slots of the downlink synchronization header include: the time slot corresponding to at least one FEC code block at the front of the downlink super frame, or the time slot corresponding to the entire downlink super frame; according to the downlink synchronization header, the code block whose code type matches itself in at least one FEC code block at the front of the downlink super frame is decoded, or the corresponding code type is used to decode the entire downlink super frame.
[0109] In one embodiment, the associated time slot of the default configuration information is the time slot corresponding to at least one FEC code block at the front of the downlink superframe; according to the default configuration information, the code block whose code type matches itself in the at least one FEC code block at the front of the downlink superframe is decoded.
[0110] In one embodiment, the code type indication information is a downlink time slot mapping partition, and the associated time slot of the downlink time slot mapping partition is a designated associated time slot in a downlink superframe; according to the downlink time slot mapping partition, the FEC code block in the associated time slot related to itself is decoded using the corresponding code type.
[0111] In one embodiment, the downlink time slot mapping partition includes at least one code type time slot entry; the code type time slot entry is used to indicate the FEC code type used in the specified associated time slot; if the FEC code type indicated by the code type time slot entry is consistent with the FEC code type supported by itself, the corresponding code type is used for decoding in the associated time slot corresponding to the code type time slot entry.
[0112] In one embodiment, the downlink time slot mapping partition further includes at least one ONU time slot entry; the ONU time slot entry is used to indicate the first communication device to which the specified associated time slot belongs; if the ONU time slot entry belongs to itself, the corresponding code type is used for decoding in the associated time slot corresponding to the code type time slot entry associated with the ONU time slot entry, or the corresponding code type is used for decoding in the time slot corresponding to the ONU time slot entry.
[0113] In one embodiment, the designated associated time slot consists of a start time and a time slot length, or consists of a start time and an end time.
[0114] In one embodiment, the code type indication information is used to indicate the FEC code type used in the time slot corresponding to the entire downlink superframe; according to the code type indication information, the entire downlink superframe is decoded using the corresponding code type.
[0115] In one embodiment, the downlink time slot mapping partition is carried in one or more associated time slots indicated by the default configuration information or the downlink synchronization header; after decoding the FEC code block consistent with the code type supported by itself in at least one associated time slot indicated by the default configuration information or the downlink synchronization header, the downlink time slot mapping partition is parsed.
[0116] In one embodiment, the default configuration information or the code type indication information is used to indicate the code type in the time slot corresponding to the first FEC code block of the downlink superframe; according to the default configuration information or the code type indication information, the first FEC code block is decoded to parse the downlink time slot mapping partition.
[0117] In one embodiment, when the FEC code type used by the first FEC code block is jointly indicated by the downlink synchronization header and the downlink time slot mapping partition, the FEC code type used by the first FEC code block indicated by the downlink synchronization header shall prevail.
[0118] In one embodiment, the default configuration information or the code type indication information is used to indicate the code type of the time slot corresponding to the at least two FEC code blocks at the front of the downlink super frame. The decoder is also configured to perform FEC decoding on the FEC code blocks corresponding to the FEC code type supported by itself in the at least two FEC code blocks at the front of the downlink super frame according to the default configuration information or the code type indication information, and parse out the downlink time slot mapping partition.
[0119] In one embodiment, the code pattern indication information is at least two downlink synchronization headers, each of which has a corresponding associated time slot; identifying one downlink synchronization header among the at least two downlink synchronization headers, decoding using the corresponding FEC code pattern in the corresponding associated time slot, and parsing the downlink time slot mapping partition
[0120] In one embodiment, the FEC code block or the associated time slot includes: a management information partition; wherein the management information partition includes at least: a downlink time slot mapping partition and the size information of the downlink time slot mapping partition; wherein the size information of the downlink time slot mapping partition is used to indicate the size of the downlink time slot mapping partition, or to indicate the number of code type time slot entries and / or ONU time slot entries contained in the downlink time slot mapping partition.
[0121] In one embodiment, the downlink time slot mapping partition includes at least one code type time slot entry and / or ONU time slot entry; the code type time slot entry indicates the FEC code type used by the corresponding time slot; and the ONU time slot entry indicates the first communication device to which it belongs.
[0122] The communication apparatus provided in this embodiment is configured to implement the communication method applied to the first communication device in the embodiment shown in FIG4 . The implementation principle and technical effects of the communication apparatus provided in this embodiment are similar and will not be described in detail here.
[0123] In one embodiment, Figure 12 is a block diagram of another communication device provided in an embodiment of the present application. This embodiment is applied to a second communication device. As shown in Figure 12, the communication device applied to the second communication device in this embodiment includes: a determination module 410, a first generator 420, a second generator 430, and a transmitter 440.
[0124] A determination module 410 is configured to determine an FEC code type corresponding to an FEC code block in at least one associated time slot; a first generator 420 is configured to generate corresponding code type indication information based on part or all of the associated time slots and using the FEC code type; wherein the code type indication information is used to indicate the FEC code type used in at least one associated downlink time slot; a second generator 430 is configured to generate an FEC code block using the corresponding FEC code type in the associated time slot; and a transmitter 440 is configured to send the code type indication information and the FEC code block to a first communication device.
[0125] In one embodiment, the FEC code blocks and corresponding FEC code patterns in at least one associated time slot at the front of a downlink superframe are configured by default.
[0126] In one embodiment, the FEC code type used in at least one associated time slot at the front of a downlink superframe or all time slots corresponding to the downlink superframe is indicated, and the code type indication information is a downlink synchronization header; the value of the downlink synchronization header is determined based on at least one associated time slot at the front of the downlink superframe or all time slots corresponding to the downlink superframe and the adopted FEC code type.
[0127] In one embodiment, when indicating the FEC code type used in the downlink superframe designated associated time slot, the code type indication information is the downlink time slot mapping partition; the downlink time slot mapping partition is generated according to the downlink superframe designated associated time slot and the used FEC code type.
[0128] In one embodiment, the downlink time slot mapping partition includes at least one code type time slot entry; the code type time slot entry is used to indicate the FEC code type used in the specified associated time slot; and the code type time slot entry is generated according to the specified associated time slot and the used code type.
[0129] In one embodiment, the downlink time slot mapping partition further includes at least one ONU time slot entry; the ONU time slot entry is used to indicate the first communication device to which the designated associated time slot belongs; and the ONU time slot entry is generated according to the designated associated time slot and the first communication device to which it belongs.
[0130] In one embodiment, the designated associated time slot consists of a start time and a time slot length, or consists of a start time and an end time.
[0131] In one embodiment, the downlink time slot mapping partition is carried in at least one associated time slot at the front of the downlink superframe indicated by the downlink synchronization header or default configuration information.
[0132] In one embodiment, the downlink synchronization header indicates the code type used in the associated time slot corresponding to the first FEC code block of the downlink superframe; according to the FEC code type used by the first FEC code block of the downlink superframe, the value of the downlink synchronization header is determined, and the downlink time slot mapping partition is carried in the first FEC code block.
[0133] In one embodiment, the downlink synchronization header indicates the code pattern used in the time slot corresponding to the entire downlink superframe, and the value of the downlink synchronization header is determined according to the code pattern used by the entire downlink superframe.
[0134] In one embodiment, the downlink synchronization header indicates the code type used in the time slot corresponding to the at least two FEC code blocks at the front of the downlink super frame. The value of the downlink synchronization header is determined according to the time slot corresponding to the at least two FEC code blocks at the front of the downlink super frame and the code type used, and the downlink time slot mapping partition is carried in the at least two FEC code blocks at the front of each downlink super frame.
[0135] In one embodiment, the code type indication information is at least two downlink synchronization headers, each downlink synchronization header indicates the FEC code type used in an associated time slot in the downlink superframe; based on the associated time slot in each downlink superframe and the adopted code type, the value of the downlink synchronization header is determined, and the downlink time slot mapping partition is carried in the associated time slot in each downlink superframe.
[0136] In one embodiment, the default configuration information indicates a code type used in an associated time slot corresponding to a first FEC code block of a downlink superframe; and the first FEC code block carries a downlink time slot mapping partition.
[0137] In one embodiment, the default configuration information indicates the code type used in the time slot corresponding to at least two FEC code blocks at the front of the downlink superframe; and the downlink time slot mapping partition is carried in at least two FEC code blocks at the front of each downlink superframe.
[0138] The communication apparatus provided in this embodiment is configured to implement the communication method applied to the second communication device in the embodiment shown in FIG5 . The implementation principle and technical effects of the communication apparatus provided in this embodiment are similar and will not be described in detail here.
[0139] In one embodiment, Figure 13 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. As shown in Figure 13, the device provided in the present application includes: a processor 510 and a memory 520. The number of processors 510 in the device can be one or more, and Figure 13 uses one processor 510 as an example. The number of memories 520 in the device can be one or more, and Figure 13 uses one memory 520 as an example. The processor 510 and memory 520 of the device can be connected via a bus or other means, and Figure 13 uses a bus connection as an example. In this embodiment, the device can be a first communication device.
[0140] The memory 520, 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 device of any embodiment of the present application (for example, the decoder 310 in the communication device applied to the first communication device). The memory 520 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 520 may include a memory remotely located relative to the processor 510, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0141] In the case where the communication device is a first communication device, the device provided above can be configured to execute the communication method applied to the first communication device provided in any of the above embodiments, and have corresponding functions and effects.
[0142] In the case where the communication device is a second communication device, the device provided above can be configured to execute the communication method applied to the second communication device provided in any of the above embodiments, and have corresponding functions and effects.
[0143] An embodiment of the present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute a communication method applied to a first communication device, the method comprising: using a corresponding forward error correction (FEC) code type to perform FEC decoding in part or all of the associated time slots in the downlink based on the code type indication information; wherein the code type indication information is received from a second communication device; the code type indication information is used to indicate the FEC code type used in at least one associated time slot in the downlink.
[0144] An embodiment of the present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute a communication method applied to a second communication device, the method comprising: determining an FEC code type corresponding to an FEC code block in at least one associated time slot; generating corresponding code type indication information based on part or all of the associated time slots and using the FEC code type; wherein the code type indication information is used to indicate the FEC code type used in at least one associated downlink time slot; generating an FEC code block in the associated time slot using the corresponding FEC code type; and sending the code type indication information and the FEC code block to the first communication device.
[0145] It will be appreciated by those skilled in the art that the term user equipment encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a car-mounted mobile station.
[0146] 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.
[0147] 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.
[0148] Any block diagram of the logic flow in the drawings of the present application may represent program operations, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program operations and logic 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 storage devices and systems (digital versatile discs (DVD) or compact disks (CD)), etc. Computer-readable media may include non-transient storage media. A 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 field-programmable gate array (FPGA), and a processor based on a multi-core processor architecture.
Claims
1. A communication method, applied to a first communication device, comprising: According to the code type indication information, the corresponding forward error correction FEC code type is used to perform FEC decoding in part or all of the associated time slots in the downlink; The code type indication information is received from the second communication device; the code type indication information is used to indicate the FEC code type used in at least one associated downlink time slot.
2. The method according to claim 1, further comprising: According to the default configuration information, the corresponding FEC code type is used to perform FEC decoding in part or all of the associated time slots in the downlink; The default configuration information is used to indicate the FEC code type used in at least one associated downlink time slot.
3. The method according to claim 1, wherein: The code type indication information includes at least one of the following: a downlink synchronization header; a downlink time slot mapping partition.
4. The method according to claim 1, wherein: The code pattern indication information is a downlink synchronization header, and the associated time slot of the downlink synchronization header includes: a time slot corresponding to at least one FEC code block at the front of a downlink superframe, or a time slot corresponding to the entire downlink superframe; The method of performing FEC decoding in part or all of the associated time slots of the downlink using the corresponding FEC code type according to the code type indication information includes: According to the downlink synchronization header, a code block whose code type matches the first communication device in at least one FEC code block at the front of the downlink superframe is decoded, or the entire downlink superframe is decoded using the corresponding code type.
5. The method according to claim 2, wherein: The associated time slot of the default configuration information is a time slot corresponding to at least one FEC code block at the front of a downlink superframe; The FEC decoding is performed using the corresponding FEC code type in part or all of the associated time slots in the downlink according to the default configuration information: According to the default configuration information, a code block having a code type matching the first communication device in at least one FEC code block at the front of a downlink superframe is decoded.
6. The method according to claim 1, wherein: The code pattern indication information is a downlink time slot mapping partition, and the associated time slot of the downlink time slot mapping partition is a designated associated time slot in a downlink superframe; The method of performing FEC decoding in part or all of the associated time slots of the downlink using the corresponding FEC code type according to the code type indication information includes: According to the downlink time slot mapping partition, the associated time slot associated with the first communication device The FEC code block is decoded using the corresponding code pattern.
7. The method according to claim 6, wherein: The downlink time slot mapping partition includes at least one code type time slot entry; the code type time slot entry is used to indicate the FEC code type used in the specified associated time slot; The step of decoding the FEC code block in the associated time slot related to the first communication device using a corresponding code type according to the downlink time slot mapping partition includes: In a case where the FEC code type indicated by the code type time slot entry is consistent with the FEC code type supported by the first communication device, the corresponding code type is used for decoding in the associated time slot corresponding to the code type time slot entry.
8. The method according to claim 7, wherein: The downlink time slot mapping partition further comprises at least one optical network unit (ONU) time slot entry; the ONU time slot entry is used to indicate the first communication device to which the specified associated time slot belongs; In the case that the ONU time slot entry belongs to the first communication device, a corresponding code pattern is used for decoding in an associated time slot corresponding to a time slot entry containing a code pattern associated with the ONU time slot entry, or a corresponding code pattern is used for decoding in a time slot corresponding to the ONU time slot entry.
9. The method according to any one of claims 6 to 8, wherein: The designated associated time slot consists of a start time and a time slot length, or consists of a start time and an end time.
10. The method according to claim 4, wherein: The code type indication information is used to indicate the FEC code type used in the time slot corresponding to the entire downlink superframe; The method of performing FEC decoding in part or all of the associated time slots of the downlink using the corresponding FEC code type according to the code type indication information includes: According to the code type indication information, the entire downlink superframe is decoded using the corresponding code type.
11. The method according to claim 4 or 5, wherein: The downlink time slot mapping partition is carried in at least one associated time slot indicated by the default configuration information or the downlink synchronization header; The method further comprises: After decoding the FEC code block consistent with the FEC code type supported by the first communication device in at least one associated time slot indicated by the default configuration information or the downlink synchronization header, the downlink time slot mapping partition is parsed.
12. The method according to claim 4 or 5, wherein: The default configuration information or the code type indication information is used to indicate the code type in the time slot corresponding to the first FEC code block of the downlink superframe; The method further comprises: According to the default configuration information or the code type indication information, the first FEC code block is decoded to parse out the downlink time slot mapping partition.
13. The method according to claim 12, wherein: In the case where the FEC code type adopted by the first FEC code block is jointly indicated by the downlink synchronization header and the downlink time slot mapping partition, the FEC code type adopted by the first FEC code block indicated by the downlink synchronization header shall prevail.
14. The method according to claim 4 or 5, wherein: The default configuration information or the code type indication information is used to indicate the code type of the time slot corresponding to at least two FEC code blocks at the front of the downlink superframe; The method further comprises: According to the default configuration information or the code type indication information, in at least two front FEC code blocks of a downlink superframe, FEC decoding is performed on the FEC code blocks corresponding to the FEC code type supported by the first communication device to parse out the downlink time slot mapping partition.
15. The method according to claim 4, wherein: The code pattern indication information is at least two downlink synchronization headers, each downlink synchronization header having a corresponding associated time slot; The method further comprises: A downlink synchronization header among the at least two downlink synchronization headers is identified, and a corresponding FEC code type is used for decoding in a corresponding associated time slot to parse out a downlink time slot mapping partition.
16. The method according to any one of claims 11, 12 or 14-15, wherein: The FEC code block or the associated time slot includes: a management information partition; wherein the management information partition includes at least: a downlink time slot mapping partition and size information of the downlink time slot mapping partition.
17. The method according to claim 16, wherein: The size information of the downlink time slot mapping partition is used to indicate the size of the downlink time slot mapping partition, or to indicate the number of at least one of the code type time slot entries and the ONU time slot entries contained in the downlink time slot mapping partition.
18. The method according to claim 16, wherein: The downlink time slot mapping partition includes at least one of the following: at least one code type time slot entry; at least one ONU time slot entry; the code type time slot entry indicates the FEC code type used by the corresponding time slot; the ONU time slot entry indicates the first communication device to which it belongs.
19. A communication method, applied to a second communication device, comprising: Determine an FEC code type corresponding to a forward error correction (FEC) code block in at least one associated time slot; Generate corresponding code type indication information according to part or all of the at least one associated time slot and the FEC code type; wherein the code type indication information is used to indicate the FEC code type adopted by at least one associated time slot in the downlink; Generating an FEC code block using a corresponding FEC code pattern in the associated time slot; The code type indication information and the FEC code block are sent to the first communication device.
20. The method according to claim 19, wherein: The FEC code blocks and corresponding FEC code types in at least one associated time slot at the front of a downlink superframe are configured by default.
21. The method according to claim 19, wherein: The code type indication information indicates the FEC code type used in at least one associated time slot at the front of the downlink superframe or in all time slots corresponding to the downlink superframe, and the code type indication information is a downlink synchronization header; The generating corresponding code type indication information according to part or all of the at least one associated time slot and the FEC code type includes: The value of the downlink synchronization header is determined according to at least one associated time slot at the front of the downlink superframe or all time slots corresponding to the downlink superframe and the FEC code type.
22. The method according to claim 19, wherein: In the case where the code type indication information indicates the FEC code type used in the designated associated time slot of the downlink superframe, the code type indication information is a downlink time slot mapping partition; The generating corresponding code type indication information according to part or all of the at least one associated time slot and the FEC code type includes: The downlink time slot mapping partition is generated according to the downlink superframe designated associated time slot and the FEC code type.
23. The method according to claim 22, wherein: The downlink time slot mapping partition includes at least one code type time slot entry; the code type time slot entry is used to indicate the FEC code type used in the specified associated time slot; The generating the downlink time slot mapping partition according to the downlink superframe designated associated time slot and the FEC code type includes: The code type time slot entry is generated according to the designated associated time slot and the FEC code type used by the designated associated time slot.
24. The method according to claim 22, wherein: The downlink time slot mapping partition further comprises at least one optical network unit (ONU) time slot entry; the ONU time slot entry is used to indicate the first communication device to which the designated associated time slot belongs; The method further comprises: The ONU time slot entry is generated according to the designated associated time slot and the first communication device to which the designated associated time slot belongs.
25. The method according to any one of claims 22 to 24, wherein: The designated associated time slot consists of a start time and a time slot length, or consists of a start time and an end time.
26. The method according to claim 20 or 21, wherein: The downlink time slot mapping partition is carried in at least one associated time slot at the front of the downlink superframe indicated by the downlink synchronization header or the default configuration information.
27. The method of claim 21, wherein: The downlink synchronization header indicates the code type used in the associated time slot corresponding to the first FEC code block of the downlink superframe; The method further comprises: The value of the downlink synchronization header is determined according to the FEC code type adopted by the first FEC code block of the downlink superframe, and the downlink time slot mapping partition is carried in the first FEC code block.
28. The method of claim 19, wherein: The downlink synchronization header indicates the code type used in the time slot corresponding to the entire downlink superframe; The method further comprises: The value of the downlink synchronization header is determined according to the code type adopted by the entire downlink superframe.
29. The method according to claim 19, wherein: The downlink synchronization header indicates the code type used in the time slots corresponding to at least two FEC code blocks at the front of the downlink superframe; The method further comprises: The value of the downlink synchronization header is determined according to the time slots corresponding to at least two FEC code blocks at the front of the downlink superframe and the adopted code type, and the downlink time slot mapping partition is carried in at least two FEC code blocks at the front of each downlink superframe.
30. The method of claim 21, wherein: The code type indication information is at least two downlink synchronization headers, each downlink synchronization header indicating the FEC code type used in an associated time slot in a downlink superframe; The method further comprises: The value of the downlink synchronization header is determined according to the associated time slot in each downlink superframe and the adopted FEC code type, and the downlink time slot mapping partition is carried in the associated time slot in each downlink superframe.
31. The method of claim 20, wherein: The default configuration information indicates the code type used in the associated time slot corresponding to the first FEC code block of the downlink superframe; and the downlink time slot mapping partition is carried in the first FEC code block.
32. The method of claim 20, wherein: The default configuration information indicates the code type used in the time slot corresponding to at least two FEC code blocks at the front of the downlink superframe; and the downlink time slot mapping partition is carried in at least two FEC code blocks at the front of each downlink superframe.
33. A communication device comprising: memory, and at least one processor; The memory is configured to store at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the communication method as described in any one of claims 1-18 or 19-32.
34. A storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the communication method as described in any one of claims 1 to 18 or 19 to 32.
Citation Information
Patent Citations
Data transmission method, apparatus, device and system, and readable storage medium
CN114793148A
Data transmission method, communication device and system
CN115134039A
Uplink forward error correction code adjustment method, device and system, and storage medium
CN115883007A
Cited By
Data transmission method for passive optical network, storage medium, electronic device, and computer program product
WO2026098002A1
Method for processing downlink bandwidth allocation information and method for generating downlink superframe
WO2026223204A1
