Data transmission method and device, optical communication equipment, system and medium
By sending instructions to the second optical communication device in a passive optical network system and flexibly configuring the FEC codeword format it uses, the problem of fixed and unchanged FEC codeword format in the prior art is solved, and more efficient data transmission and bandwidth utilization are achieved.
Patent Information
- Application Number
- CN202311366007.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2025-04-22
AI Technical Summary
In the existing passive optical network (PON) system, the forward error correction (FEC) codeword format used by the second optical communication device is fixedly specified by the first optical communication device, resulting in a single format and cannot be flexibly adjusted.
The first optical communication device sends instructions information to the second optical communication device to indicate the target FEC codeword format, and flexibly configures the FEC codeword format according to the length of the uplink burst data. The indication information may directly or indirectly indicate the target FEC codeword format and be carried in the bandwidth mapping field of the superframe header or in the optical network unit management control interface message.
The flexible configuration of the second optical communication device using the FEC codeword format is realized, and the appropriate FEC codeword format is automatically selected according to the data length interval, which improves the efficiency of data transmission and bandwidth utilization.
Smart Images

Figure CN119865279A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technology, and in particular to a data transmission method and apparatus, optical communication equipment, system and medium. Background Art
[0002] Passive optical network (PON) is a point-to-multipoint single-fiber bidirectional optical access network. A PON system usually includes a first optical communication device, an optical distribution network (ODN) and multiple second optical communication devices. The first optical communication device is connected to multiple second optical communication devices through the ODN.
[0003] The second optical communication device needs to first perform forward error correction (FEC) encoding on the valid data to obtain at least one FEC codeword, and then send the uplink burst data containing at least one FEC codeword to the first optical communication device. In the related art, the first optical communication device can determine the format of the FEC codeword used by the second optical communication device according to the optical path quality of the second optical communication device; and notify the second optical communication device of the determined FEC codeword format.
[0004] However, the FEC codeword format used by each second optical communication device is specified by the first optical communication device and is fixed. The FEC codeword format used by the second optical communication device is single. Summary of the invention
[0005] The present application provides a data transmission method and apparatus, optical communication equipment, system and medium, which can flexibly adjust the FEC codeword format used by the second optical communication equipment.
[0006] In a first aspect, the present application provides a data transmission method, which can be performed by a first optical communication device. The method includes: the first optical communication device sends first indication information to the second optical communication device, the first indication information is used to indicate a target FEC codeword format, wherein the target FEC codeword format is related to the length of uplink burst data of the second optical communication device, the lengths of uplink burst data belonging to different data length intervals correspond to different FEC codeword formats, and different FEC codeword formats correspond to different encoding overheads; the first optical communication device receives uplink burst data sent by the second optical communication device, the uplink burst data includes at least one FEC codeword, and the at least one FEC codeword is encoded using the target FEC codeword format.
[0007] In the present application, the first optical communication device indicates the FEC codeword format used by the second optical communication device to send the uplink burst data through the first indication information, and when the length of the uplink burst data belongs to different data length intervals, the corresponding FEC codeword format is different. In this way, the FEC codeword format used by the second optical communication device can be flexibly configured.
[0008] In a first possible implementation manner, the first indication information directly indicates the target FEC codeword format. For example, the first indication information is an identifier of the target FEC codeword format.
[0009] When the first indication information directly indicates the target FEC codeword format, the identifier of the target FEC codeword format can be carried in the bandwidth map (BWMAP) field of the superframe header. In this way, the first optical communication device can separately indicate the target FEC coding format for each uplink burst data of each second optical communication device, which is more flexible.
[0010] Exemplarily, the BWMAP field may include at least one allocation structure, each allocation structure corresponds to a second optical communication device, and is used to indicate the uplink time slot allocated to the corresponding second optical communication device. Each allocation structure includes a burst configuration subfield, and the identifier of the target FEC codeword format can be carried in the burst configuration subfield. In this way, there is no need to modify the existing frame header format, which is conducive to the application and implementation of the method.
[0011] Optionally, the method further includes: the first optical communication device sends second indication information to the second optical communication device, wherein the second indication information includes a correspondence between the FEC codeword format and the identifier. In this way, the second optical communication device can learn the correspondence between the FEC codeword format and the identifier, and can subsequently determine the target FEC codeword format according to the correspondence between the FEC codeword format and the identifier and the first indication information.
[0012] Optionally, the second indication information is carried in an optical network unit management and control interface (ONU management and control interface, OMCI) message or a physical layer operations, administration, and maintenance (physical layer operations, administration, and maintenance, PLOAM) message.
[0013] In a second possible implementation, the first indication information indirectly indicates the target FEC codeword format. For example, the first indication information is used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats.
[0014] In this implementation, the first optical communication device and the second optical communication device each determine a corresponding target FEC codeword format according to the length of the uplink burst data of the ONU, without sending the first indication information indicating the target FEC codeword format frame by frame.
[0015] When the first indication information indirectly indicates the target FEC codeword format, the first indication information may be carried in an OMCI message or a PLOAM message.
[0016] Optionally, the method further includes: the first optical communication device determines the length of the uplink burst data of the second optical communication device; and generates the first indication information according to the length of the uplink burst data of the second optical communication device. Here, the first optical communication device determines the length of the uplink burst data of the second optical communication device, which means that the first optical communication device determines the uplink time slot allocated to the second optical communication device, and the length of the uplink time slot allocated to the second optical communication device is the length of the uplink burst data of the second optical communication device.
[0017] Optionally, the method also includes: determining a first coding strategy of the second optical communication device based on the link quality of the second optical communication device, the first coding strategy being used to indicate the correspondence between data length intervals and FEC codeword formats, different data length intervals corresponding to different FEC codeword formats; determining the target FEC codeword format based on the first coding strategy and the length of the uplink burst data.
[0018] When the link quality of the ONU changes, the error correction capability of the FEC codeword varies. For example, when the link quality is good, the error correction capability of the FEC codeword is required to be lower; when the link quality is poor, the error correction capability of the FEC codeword is required to be higher. Therefore, the first encoding strategy of the second optical communication device can be determined according to the link quality to meet the data transmission performance requirements.
[0019] Optionally, the method also includes: when the change in the link quality of the second optical communication device reaches a set value, determining a second coding strategy of the second optical communication device according to the changed link quality, the second coding strategy being used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats; wherein the data length intervals corresponding to the first coding strategy and the second coding strategy are divided in different ways.
[0020] When the link quality of the ONU changes, the encoding strategy corresponding to the ONU can be appropriately adjusted to further meet the performance requirements of data transmission.
[0021] In a second aspect, the present application provides a data transmission method. The method can be performed by a second optical communication device. The method includes: the second optical communication device receives first indication information sent by the first optical communication device, the first indication information is used to indicate a target FEC codeword format, wherein the target FEC codeword format is related to the length of the uplink burst data of the second optical communication device, the lengths of the uplink burst data belonging to different data length intervals correspond to different FEC codeword formats, and different FEC codeword formats correspond to different encoding overheads; the uplink burst data sent to the first optical communication device, the uplink burst data includes at least one FEC codeword format, and the at least one FEC codeword format is encoded using the target FEC codeword format.
[0022] For the relevant content of the first indication information, please refer to the first aspect mentioned above and will not be repeated here.
[0023] When the first indication information directly indicates the target FEC codeword format, the method further includes: receiving second indication information sent by the first optical communication device, the second indication information including the correspondence between the FEC codeword format and the identifier. For the relevant content of the second indication information, please refer to the first aspect above and will not be repeated here.
[0024] Optionally, when the first indication information directly indicates the target FEC codeword format, the method further includes: determining the target FEC codeword format according to a correspondence between the FEC codeword format and the identifier and the first indication information.
[0025] Optionally, when the first indication information indirectly indicates the target FEC codeword format, the method further includes: determining the target FEC codeword according to the correspondence between the data length interval and the FEC codeword format and the length of the uplink burst data sent by the second optical communication device.
[0026] Optionally, in the first aspect or the second aspect, the coding overhead of the FEC codeword format corresponding to the first data length interval is greater than the coding overhead of the FEC codeword format corresponding to the second data length interval, and any length in the first data length interval is greater than any length in the second data length interval. When the length of the uplink burst data of the ONU is short, only less coding overhead may be required to meet the data transmission performance requirements (such as bit error rate requirements, etc.). In this case, using a codeword format with less coding overhead is conducive to improving the uplink effective bandwidth.
[0027] Optionally, in the first aspect or the second aspect, the first optical communication device may be an OLT, and the second optical communication device may be an ONU.
[0028] In a third aspect, the present application provides a data transmission device. The data transmission device has the function of implementing the method described in the first aspect or any optional method of the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
[0029] In a fourth aspect, the present application provides a data transmission device. The data transmission device has the function of implementing the method described in the second aspect or any optional method of the second aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
[0030] In a fifth aspect, an optical communication device is provided. The optical communication device includes a processor and a memory. The memory is used to store software programs and modules. The processor implements the method in the first aspect or any possible implementation of the first aspect by running or executing the software program and / or module stored in the memory, or implements the method in the second aspect or any possible implementation of the second aspect.
[0031] Optionally, the number of the processors is one or more, and the number of the memories is one or more.
[0032] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.
[0033] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips. This application does not limit the type of memory and the setting method of the memory and the processor.
[0034] In a sixth aspect, a computer program product is provided. The computer program product includes computer program code, and when the computer program code is executed by a computer, the computer executes the method in the first aspect or any possible implementation of the first aspect, or executes the method in the second aspect or any possible implementation of the second aspect.
[0035] In the seventh aspect, the present application provides a computer-readable storage medium, which is used to store program codes executed by a processor, and the program codes include instructions for implementing the method in any possible implementation of the above-mentioned first aspect, or implementing the method in any possible implementation of the above-mentioned second aspect or the second aspect.
[0036] In an eighth aspect, the present application provides a chip comprising a processor, wherein the processor is used to call and execute instructions stored in a memory from the memory, so that an optical communication device equipped with the chip executes a method in any possible implementation of the first aspect above, or executes a method in any possible implementation of the second aspect above or the second aspect.
[0037] In a ninth aspect, the present application provides another chip. The other chip includes an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory are connected via an internal connection path. The processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method in any possible implementation of the first aspect above, or execute the method in any possible implementation of the second aspect or the second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a structural diagram of a PON system provided in an embodiment of the present application;
[0039] Figure 2 is a schematic diagram of a data transmission method provided in an embodiment of the present application;
[0040] Figure 3 is a schematic diagram of another data transmission method provided in an embodiment of the present application;
[0041] Figure 4 This is a structural diagram of a frame header provided in an embodiment of the present application;
[0042] Figure 5 is a schematic diagram of a process for generating first indication information provided by an embodiment of the present application;
[0043] Figure 6 is a schematic diagram of another data transmission method provided in an embodiment of the present application;
[0044] Figure 7 is a block diagram of a data transmission device provided in an embodiment of the present application;
[0045] Figure 8 is a block diagram of another data transmission device provided in an embodiment of the present application;
[0046] Fig. 9 It is a structural schematic diagram of an optical communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0048] Figure 1 Schematic diagram of a PON system provided by an embodiment of the present application. Figure 1 As shown, the PON system includes an OLT 110, an ONU 120 and an ODN 130. The OLT 110 is connected to one or more ONUs 120 via the ODN 130. The ONU 120 may be an optical network terminal (ONT).
[0049] The OLT 110 is usually located at the network side, such as a central office (CO), and can manage multiple ONUs 120 at the same time. The OLT 110 can act as a medium between the ONU 120 and an upper network (not shown in the figure), forwarding data received from the upper network to the ONU 120, and forwarding data received from the ONU 120 to the upper network. The upper network includes, but is not limited to, the Internet, a public switched telephone network (PSTN), and a community antenna television (CATV).
[0050] A plurality of ONUs 120 may be distributedly arranged at the user side. ONU 120 may be a network device for communicating with OLT 110 and user equipment. ONU 120 may act as a medium between OLT 110 and user equipment, for example, ONU 120 may forward data received from OLT 110 to user equipment, and may forward data received from user equipment to OLT 110.
[0051] ODN 130 is a data distribution / multiplexing system, which may include a trunk optical fiber, a passive optical splitter and a user optical fiber. The passive optical splitter may include a first port and a plurality of second ports. The first port of the passive optical splitter is connected to OLT 110 via the trunk optical fiber, and each second port of the passive optical splitter is connected to an ONU 120 via a user optical fiber.
[0052] In the embodiment of the present application, the PON system can be a gigabit PON (gigabit-capable PON, GPON), a 10-gigabit per second PON (10gigabit per second PON, XG-PON), a symmetric 10-gigabit passive optical network (10-gigabit-capable symmetric passive optical network, XGS-PON), an Ethernet PON (EthernetPON, EPON), a 10-gigabit per second EPON (10gigabit per second EPON, 10G-EPON), a 25-gigabit per second PON (25gigabit per second PON, 25G-PON), a 50-gigabit per second PON (50gigabit per second PON, 50G-PON), a 100-gigabit per second PON (100gigabit per second PON, 100G-PON), a 25-gigabit per second EPON (25gigabit per second EPON, 25G-EPON), a 50-gigabit per second EPON (50gigabit per second PON, 50G-PON), a 100-gigabit per second PON (100G-PON), a 25-gigabit per second EPON (25G-EPON), a 50-gigabit per second EPON (50G- EPON, 50G-EPON), and other speed GPON, EPON systems, etc.
[0053] In the PON system, the transmission from OLT 110 to ONU 120 is called downlink, and OLT 110 broadcasts the downlink data to all ONU 120, and each ONU 120 only receives the data with its own identification. Conversely, the transmission from ONU 120 to OLT 110 is called uplink. Since each ONU 120 shares ODN 130 and OLT 110, in order to ensure that the uplink data of each ONU 120 does not conflict, the PON system adopts time division multiplexing (TDM) to transmit the uplink data. That is, OLT 110 allocates an uplink time slot to each ONU 120, and each ONU 120 sends the uplink data according to the uplink time slot allocated by OLT 110.
[0054] When ONU 120 sends uplink data to OLT 110, it needs to first perform FEC encoding on the valid data to be sent (also called user data) to obtain at least one FEC codeword; and then send the at least one FEC codeword to OLT 110. Since each ONU 120 sends an optical signal carrying uplink data according to the allocated uplink time slot when sending uplink data, the uplink transmission mode is a burst mode, and the uplink data carried by the optical signal sent by ONU 120 in an allocated uplink time slot can be called an uplink burst data. Each uplink burst data includes at least one FEC codeword.
[0055] Each FEC codeword generally includes two parts: payload data and check data. The lengths of the payload data and / or check data of different FEC codewords may be different.
[0056] Among them, at least one ONU 120 supports at least two FEC codeword formats. The codeword format is defined by a payload value and a coding overhead. The payload value is used to indicate the maximum value of the amount of payload data in the FEC codeword, and the coding overhead is used to indicate the amount of check data in the FEC codeword. Different FEC codeword formats correspond to different coding overheads. In the actual coding process, the amount of payload data contained in the FEC codeword may be less than or equal to the payload value, and the amount of check data is equal to the coding overhead. When the amount of payload data contained in the FEC codeword is less than the payload value, it can be called a shortened code of the corresponding codeword format.
[0057] Optionally, the FEC encoding method may adopt low density parity check code (LDPC) encoding, etc. For example, for a 50GPON system, the FEC encoding method adopts LDPC encoding.
[0058] Optionally, the ONU 120 may support at least two of the following three LDPC FEC codeword formats:
[0059] Codeword format 1 (also known as default codeword or standard default codeword): (K=1824B, R=336B);
[0060] Codeword format 2 (also known as high throughput codeword): (K=1824B, R=160B);
[0061] Codeword format 3 (also known as high-gain codeword): (K is defined by the manufacturer, R = 384B);
[0062] In these three codeword formats, K represents the payload value, R represents the coding overhead, and B represents a byte.
[0063] In an embodiment of the present application, OLT 110 sends a first indication message to ONU 120 to indicate the FEC codeword format adopted by ONU 120 when sending upstream burst data. When the length of the upstream burst data belongs to different data length intervals, the corresponding FEC codeword formats are different. Here, different FEC codeword formats refer to different aforementioned coding overheads. When the coding overheads are different, the coding rate (code rate) of ONU 120 will be different. The larger the coding overhead, the lower the coding rate of ONU 120, but the FEC error correction capability is stronger. Conversely, the smaller the coding overhead, the higher the coding rate of ONU120, but the FEC error correction capability is weaker. Among them, the coding rate is equal to the ratio of the length of the valid data in the FEC codeword to the length of the FEC codeword. The higher the coding rate, the higher the transmission efficiency.
[0064] Since the length of the upstream burst data of ONU 120 is not fixed, the FEC codeword in the upstream burst data may use the FEC shortened code, in which case K is equal to the actual length and R is fixed. For the aforementioned codeword format 1 and codeword format 2, when the length of the upstream burst data is less than a certain threshold, the actual error correction capability of the shortened code corresponding to codeword format 2 can meet the data transmission quality requirements, but the coding overhead of the shortened code corresponding to codeword format 2 is less than the coding overhead of the shortened code corresponding to codeword format 1. In this case, the use of codeword format 2 can improve the upstream effective bandwidth while ensuring the error correction performance.
[0065] For example, when the length of the uplink burst data is 400B (payload data), the use of the aforementioned codeword format 2 can save 176B compared with codeword format 1. Assuming that each superframe has 256 uplink burst data, 2.88Gbps of uplink bandwidth can be saved.
[0066] In an embodiment of the present application, the length of the uplink burst data can be divided into at least two data length intervals, the at least two data length intervals include a first data length interval and a second data length interval, and any length in the first data length interval is greater than any length in the second data length interval. The encoding overhead of the FEC codeword format corresponding to the first data length interval is greater than the encoding overhead of the FEC codeword format corresponding to the second data length interval. In this way, the OLT 110 can indicate the target FEC codeword format corresponding to the uplink burst data of the ONU 120 through the first indication information, so that the ONU can select the FEC codeword format with a larger encoding overhead when the length of the uplink burst data is larger, and select the FEC codeword with a smaller encoding overhead when the length of the uplink burst data is smaller.
[0067] For example, when ONU 120 supports two FEC codeword formats, the length of the upstream burst data can be divided into two data length intervals, corresponding to the two FEC codeword formats respectively. For another example, when ONU 120 supports three FEC codeword formats, the length of the upstream burst data can be divided into three data length intervals, corresponding to the three FEC codeword formats respectively.
[0068] Figure 2 Schematic diagram of a data transmission method provided by an embodiment of the present application. Figure 2 As shown, the method is performed by the first optical communication device and the second optical communication device. The data transmission method provided in the embodiment of the present application is described. The method comprises the following steps:
[0069] 201. A first optical communication device sends first indication information to a second optical communication device, where the first indication information is used to indicate a target FEC codeword format.
[0070] The target FEC codeword format is related to the length of the uplink burst data of the second optical communication device. The lengths of uplink burst data belonging to different data length intervals correspond to different FEC codeword formats, and different FEC codeword formats correspond to different coding overheads.
[0071] Correspondingly, the second optical communication device receives the first indication information.
[0072] 202. The second optical communication device sends uplink burst data to the first optical communication device according to the first indication information.
[0073] The uplink burst data includes at least one FEC codeword, and the at least one FEC codeword is encoded using a target FEC codeword format indicated by the first indication information.
[0074] In a possible implementation, the first indication information directly indicates the target FEC codeword format, for example, the first indication information is an identification (ID) of the target FEC codeword format. In this implementation, the second optical communication device determines the target FEC codeword format according to the correspondence between the FEC codeword format and the ID.
[0075] In another possible implementation, the first indication information indirectly indicates the target FEC codeword format. For example, the first indication information is used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats. The ONU determines the target FEC codeword format based on the correspondence between the data length interval and the FEC codeword format and the length of the uplink burst data. In this implementation, the second optical communication device determines the target FEC codeword format based on the first indication information and the length of the uplink burst data to be sent.
[0076] After determining the target FEC codeword format, the second optical communication device will use the target FEC codeword format to encode the valid data to be sent to obtain at least one FEC codeword; then, the second optical communication device sends the at least one FEC codeword as uplink burst data to the OLT. Correspondingly, the first optical communication device receives the uplink burst data. After receiving the uplink burst data, the first optical communication device decodes the received uplink burst data using the target FEC codeword format.
[0077] The following takes the first optical communication device as OLT and the second optical communication device as ONU as an example. Figure 3 and Figure 6 The two implementation modes are respectively introduced in detail.
[0078] Figure 3 is a schematic diagram of a data transmission method provided in an embodiment of the present application. The method is jointly executed by the OLT and the ONU. In this embodiment, the first indication information is the ID of the target FEC codeword format. Figure 3 As shown, the method includes:
[0079] 301. The OLT sends a superframe to the ONU, where a frame header of the superframe carries first indication information.
[0080] A superframe may also be referred to as a framing sublayer (FS) frame. For a 50GPON system, the length of a superframe is 125 μs. Each superframe includes three parts: a frame header, a payload, and a frame tail. The frame header includes multiple fields, and the multiple fields include at least a bandwidth map (BWMAP) field. The BWMAP field is used to indicate the upstream time slot allocated by the OLT to the ONU, so that the ONU can send upstream data to the OLT in the allocated upstream time slot. The first indication information can be carried in the BWMAP field.
[0081] Figure 4 FIG. 1 is a schematic diagram of the structure of a superframe header in a PON system. Figure 4As shown in FIG. 1 , the superframe header includes three fields, namely, the header length downstream (HLend) field, the BWMAP field, and the PLOAM downstream (PLOAMd) field. The HLend field is 4 bytes long and includes three subfields. The three subfields in the HLend field are the BWMAP length subfield (11 bits long), the PLOAM count subfield (8 bits long), and the header error check (HEC) subfield.
[0082] The BWMAP field includes multiple allocation structures, each of which corresponds to an ONU and is used to indicate the uplink time slot allocated to the corresponding ONU. Each allocation structure includes multiple subfields, such as allocation identification (alloc-ID), flags, RSVD, start time, reserved field (RSVD), grant size (i.e., authorized bandwidth), forced wake-up indication (FWI), RSVD, burst profile, and hybrid error correction (HEC).
[0083] The length of the tag subfield is 2 bits, 1 bit is used to carry the upstream dynamic bandwidth report (Dynamic Bandwidth Report upstream, DBRu) flag of all time slots allocated to the ONU, and 1 bit is used to carry the upstream physical layer overhead (Physical Layer OAM upstream, PLOAMu) flag of the first time slot allocated to the ONU.
[0084] The length of the burst configuration subfield is 2 bits, which are used to carry the FEC codeword format, that is, to carry the first indication information. The value of these 2 bits can be used as the codeword format number. For example, when these 2 bits are 00, it indicates codeword format 1; when these 2 bits are 01 or 10, it indicates codeword format 2. For another example, when these 2 bits are 00, it indicates codeword format 1; when these 2 bits are 01, it indicates codeword format 2; when these 2 bits are 10, it indicates codeword format 3.
[0085] The burst configuration subfield can be used to carry the identifier of the target FEC codeword format without modifying the existing frame header format, which is conducive to the application and implementation of the method.
[0086] Optionally, in a superframe, the values of the burst configuration subfields in different allocation structures may be the same or different. That is, the OLT may indicate the same FEC codeword format or different FEC codeword formats to different ONUs.
[0087] Optionally, in two adjacent superframes, the values of the burst configuration subfield in the allocation structure corresponding to the same ONU may be the same or different. That is, for the same ONU, the FEC codeword formats used by two adjacent uplink burst data may be the same or different.
[0088] Correspondingly, the ONU receives the superframe.
[0089] 302. The ONU determines a target FEC codeword format according to the correspondence between the FEC codeword format and the identifier and the first indication information.
[0090] In step 302, the ONU first parses the superframe to obtain the first indication information from the frame header of the superframe; then searches for the FEC codeword format corresponding to the identifier in the first indication information in the correspondence between the FEC codeword format and the identifier, and the found FEC codeword format is the target FEC codeword format.
[0091] Optionally, the correspondence between the FEC codeword format and the identifier may be pre-configured in the ONU, or may be configured by the OLT through the second indication information.
[0092] If the correspondence between the FEC codeword format and the identifier is configured by the OLT through the second indication information, the method may further include: the OLT sends the second indication information to the ONU, the second indication information includes the correspondence between the FEC codeword format and the identifier, and the ONU receives and saves the second indication information accordingly.
[0093] Optionally, the second indication information is carried in an OMCI message or a PLOAM message. The embodiment of the present application does not limit the timing when the OLT sends the second indication information, and it can be sent when the ONU goes online, or it can be sent during the working process after the ONU goes online (for example, when the corresponding relationship between the FEC codeword format and the identifier changes).
[0094] 303. The ONU sends uplink burst data according to the target FEC codeword format.
[0095] The uplink burst data includes at least one FEC codeword, and each FEC codeword is encoded in the target FEC codeword format. That is, step 303 includes: the ONU encodes the valid data in the target FEC codeword format to obtain at least one FEC codeword; and sends the at least one FEC codeword as the uplink burst data to the OLT.
[0096] Correspondingly, the OLT receives the upstream burst data. After receiving the upstream burst data, the OLT will use the target FEC codeword format of the ONU to decode the FEC codeword in the upstream burst data, thereby obtaining the valid data sent by the ONU.
[0097] In this embodiment, the first indication information is carried in the BWMAP field, and the FEC codeword format of each uplink burst data of the ONU can be indicated separately, which has high flexibility.
[0098] Before the OLT sends the first indication information to the ONU, the first indication information is generated. The following is an exemplary description of the manner in which the OLT generates the first indication information.
[0099] Figure 5 Schematic diagram of a process for generating first indication information provided by an embodiment of the present application. Figure 5 As shown, generating the first indication information may include the following steps 501-504.
[0100] 501, the OLT determines the link quality of the ONU.
[0101] In the embodiment of the present application, the link quality refers to the quality of the optical link from the ONU to the OLT, which can be represented by an optical power budget. Therefore, step 501 may include: the OLT obtains the optical power budget of the ONU.
[0102] The way in which the OLT obtains the optical power budget includes but is not limited to: receiving an optical signal sent by the ONU, where the optical signal is sent by the ONU using a set transmission power; and detecting the power of the optical signal to obtain the optical power budget of the ONU.
[0103] 502. The OLT determines a first encoding strategy for the ONU according to the link quality of the ONU.
[0104] Optionally, the first coding strategy is used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats. Exemplarily, the first coding strategy includes at least one threshold value, and the at least one threshold value is used to limit the data length interval.
[0105] When the ONU supports two FEC codeword formats, the first coding strategy may include a threshold value, a data length interval greater than or equal to the threshold value, and another data length interval less than the threshold value. The first coding strategy is used to indicate that when the length of the uplink burst data is greater than or equal to the threshold value, the first codeword format is used as the target FEC codeword format; or when the length of the uplink burst data is less than the threshold value, the second codeword format is used as the target FEC codeword format.
[0106] Exemplarily, the first codeword format is the aforementioned codeword format 1, and the second codeword format is the aforementioned codeword format 2.
[0107] Optionally, the threshold is smaller than a payload value of the first codeword format, or the threshold is smaller than a smaller value between a payload value of the first codeword format and a payload value of the second codeword format.
[0108] When the ONU supports three FEC codeword formats, the first coding strategy may include two thresholds, which may be a first threshold and a second threshold. The first threshold is greater than the second threshold. A data length interval greater than or equal to the first threshold corresponds to the first codeword format; a data length interval less than the first threshold and greater than or equal to the second threshold corresponds to the second codeword format; a data length interval less than the second threshold corresponds to another data length interval, corresponding to the third codeword format. The first coding strategy is used to indicate that when the length of the uplink burst data is greater than or equal to the first threshold, the first codeword format is used as the target FEC codeword format; or, when the length of the uplink burst data is less than the first threshold and greater than or equal to the second threshold, the second codeword format is used as the target FEC codeword format; or, when the length of the uplink burst data is less than the second threshold, the third codeword format is used as the target FEC codeword format.
[0109] Exemplarily, the first codeword format is the aforementioned codeword format 3, the second codeword format is the aforementioned codeword format 1, and the third codeword format is the aforementioned codeword format 2.
[0110] Optionally, the first threshold is less than the payload value of the first codeword format, or the first threshold is less than the smaller value between the payload value of the first codeword format and the payload value of the second codeword format; the second threshold is less than the payload value of the second codeword format, or the second threshold is less than the smaller value between the payload value of the second codeword format and the payload value of the third codeword format.
[0111] In the embodiment of the present application, the value of the threshold in the coding strategy is related to factors such as the receiving performance of the first optical communication device and the link quality of the second optical communication device. The threshold that can meet the data transmission performance (such as bit error rate requirements, etc.) can be obtained through testing.
[0112] 503. The OLT determines a target FEC codeword format according to the first coding strategy and the length of the upstream burst data of the ONU.
[0113] In step 503, the OLT needs to first determine the length of the upstream burst data of the ONU, and then determine the target FEC codeword format according to the first coding strategy and the length of the upstream burst data of the ONU. Here, the OLT determines the length of the upstream burst data of the ONU, which means that the OLT determines the upstream time slot allocated to the ONU, and the length of the upstream time slot allocated to the ONU is the length of the upstream burst data of the ONU. The embodiment of the present application does not limit the method of allocating upstream time slots to the ONU, and can use, for example, a dynamic bandwidth algorithm to allocate upstream time slots to the ONU.
[0114] 504. The OLT generates first indication information according to the correspondence between the FEC codeword format and the identifier and the target FEC codeword format.
[0115] That is, the identifier of the target FEC codeword format is used as the first indication information.
[0116] Optionally, the OLT may periodically obtain the link quality of each ONU, and when the link quality of the ONU changes to a certain extent, the coding strategy of the ONU may be updated. Therefore, the method may further include: determining a second coding strategy of the second optical communication device according to the second link quality of the second optical communication device, the second coding strategy being used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats.
[0117] The first link quality and the second link quality are different, for example, the difference between the first link quality and the second link quality is greater than or equal to a set value; or, the first link quality and the second link quality belong to different quality division intervals, etc.
[0118] Among them, the data length intervals corresponding to the first coding strategy and the second coding strategy are divided in different ways. In some examples, when the first coding strategy includes at least one threshold value, the second coding strategy also includes at least one threshold value, and the number of threshold values in the first coding strategy and the second coding strategy is equal and one-to-one corresponding, but at least one threshold value in the second coding strategy is different from the value of the corresponding threshold value in the first coding strategy. For example, the first coding strategy and the second coding strategy include a first threshold value and a second threshold value, respectively. The first threshold value in the first coding strategy is different from the value of the first threshold value in the second coding strategy, and / or the second threshold value in the first coding strategy is different from the value of the second threshold value in the second coding strategy.
[0119] Since the environment of the ONU changes during use, and the equipment (such as the optical fiber connected to the ONU) ages as the use time increases, the link quality of the ONU may also change. When the link quality of the ONU changes, the error correction capability of the FEC codeword is different. For example, when the link quality is good, the error correction capability of the FEC codeword is required to be lower; when the link quality is poor, the error correction capability of the FEC codeword is required to be higher. Therefore, when the link quality of the ONU changes, the size of the threshold corresponding to the ONU can be appropriately adjusted to meet the performance requirements of data transmission.
[0120] As an example, the first link quality is higher than the second link quality, and the threshold in the first coding strategy is greater than the corresponding threshold in the second coding strategy. For example, assume that both the first coding strategy and the second coding strategy include a threshold, and both are used to indicate that when the length of the uplink burst data of the second optical communication device is greater than or equal to the threshold, the aforementioned codeword format 1 is used; and when the length of the uplink burst data of the second optical communication device is less than the threshold, the aforementioned codeword format 2 is used. For the first link quality, after testing, when the length of the uplink burst data of the second optical communication device is less than 1200B, the uplink transmission performance can be met by using codeword format 2 for FEC encoding, and when the length of the uplink burst data of the second optical communication device is greater than or equal to 1200B, the uplink transmission performance can be met by using codeword format 1 for FEC encoding, therefore, the threshold in the first coding strategy is 1200B. For the second link quality, after testing, when the length of the uplink burst data of the second optical communication device is less than 800B, the uplink transmission performance can be met by using code format 2 for FEC encoding, and when the length of the uplink burst data of the second optical communication device is greater than or equal to 800B, the uplink transmission performance can be met by using code format 1 for FEC encoding. Therefore, the threshold in the first coding strategy is 800B.
[0121] Figure 6 Schematic diagram of a data transmission method provided in an embodiment of the present application. The method is jointly executed by the OLT and the ONU. In this embodiment, the first indication information is used to indicate the corresponding relationship between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats. Figure 6 As shown, the method includes:
[0122] 601. The OLT sends a message carrying first indication information to the ONU.
[0123] Optionally, the message may be an OMCI message or a PLOAM message.
[0124] In a possible implementation, the first indication information may include at least one threshold value. The at least one threshold value is used to divide at least two data length intervals. A matching rule is pre-configured in the ONU, and the matching rule is used to indicate the corresponding relationship between the variable interval and the FEC codeword format. The variable interval is used to limit the number of data length intervals, and the endpoints of the variable interval are variables. When the ONU receives the first indication information, the threshold value in the first indication information is substituted into the variable of the variable interval to obtain the corresponding relationship between the data length interval and the FEC codeword format.
[0125] For example, assuming that the ONU supports two FEC codeword formats, the ONU pre-configures a matching rule: the variable interval (0, a1) corresponds to the first codeword format, and the variable interval [a1, ∞) corresponds to the second codeword format. The first indication information includes a threshold value. When the ONU receives the first indication information, the threshold value is substituted into a1, and the corresponding relationship between the data length interval and each FEC codeword is obtained.
[0126] In another possible implementation, the first indication information may include at least one threshold and at least two FEC codeword formats. The number of FEC codeword formats is equal to the number of thresholds plus one.
[0127] Optionally, the message further includes time indication information, and the time indication information is used to indicate the start time of the target FEC coding format indicated by the first indication information used by the ONU. Exemplarily, the time indication information may be a superframe number or the like.
[0128] 602. The ONU determines a target FEC coding format according to the length of the uplink burst data and the first indication information.
[0129] Here, the length of the uplink burst data is determined according to the grant size subfield in the allocation structure corresponding to the ONU in the aforementioned BWMAP field. For example, the length of the uplink burst data may be equal to the grant size corresponding to the ONU.
[0130] In step 602, the FEC codeword format corresponding to the data length interval to which the length of the uplink burst data of the ONU belongs may be used as the target FEC codeword format.
[0131] 603, the ONU sends uplink burst data according to the target FEC codeword format.
[0132] For the relevant contents of step 603, reference may be made to step 303, which will not be described in detail here.
[0133] for Figure 6In the illustrated embodiment, before the OLT sends a message carrying the first indication information, it is also necessary to generate the first indication information. Here, the first indication information can be generated by determining the first coding strategy of the ONU in the manner described in steps 501 and 502, and then using at least part of the first coding strategy as the first indication information. For example, the threshold in the first coding strategy is used as the first indication information.
[0134] In this embodiment, the OLT and the ONU each determine the corresponding target FEC codeword format according to the length of the upstream burst data of the ONU, and there is no need to send the first indication information indicating the target FEC codeword format frame by frame.
[0135] Figure 7 is a block diagram of a data transmission device provided in an embodiment of the present application. The data transmission device can be implemented as all or part of a first optical communication device (eg, OLT) through software, hardware, or a combination of both. Figure 7 As shown, the device 700 includes a sending unit 701 and a receiving unit 702 .
[0136] The sending unit 701 is used to send first indication information to the second optical communication device, the first indication information is used to indicate the target forward error correction FEC codeword format, wherein the target FEC codeword format is related to the length of the uplink burst data of the second optical communication device, the lengths of the uplink burst data belonging to different data length intervals correspond to different FEC codeword formats, and different FEC codeword formats correspond to different coding overheads. The receiving unit 702 is used to receive the uplink burst data sent by the second optical communication device, the uplink burst data includes at least one FEC codeword, and the at least one FEC codeword is encoded using the target FEC codeword format.
[0137] In a first possible implementation manner, the first indication information is an identifier of a target FEC codeword format.
[0138] Optionally, the first indication information is carried in a bandwidth mapping BWMAP field of a superframe header.
[0139] Optionally, the sending unit 701 is further configured to send second indication information to the second optical communication device, where the second indication information includes a correspondence between the FEC codeword format and the identifier.
[0140] Optionally, the second indication information is carried in an optical network unit management and control interface OMCI message or a physical layer operation administration and maintenance PLOAM message.
[0141] In a second possible implementation, the first indication information is used to indicate a correspondence between a data length interval and an FEC codeword format, and different data length intervals correspond to different FEC codeword formats.
[0142] Optionally, the first indication information is carried in an OMCI message or a PLOAM message.
[0143] Optionally, the device also includes: a determination unit 703, which is used to determine a first coding strategy of the second optical communication device based on the first link quality of the second optical communication device, the first coding strategy is used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats; determine the target FEC codeword based on the first coding strategy and the length of the uplink burst data.
[0144] Optionally, the determination unit 703 is also used to determine a second coding strategy of the second optical communication device based on a second link quality of the second optical communication device, wherein the second coding strategy is used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats; wherein the first link quality and the second link quality are different, and the data length intervals corresponding to the first coding strategy and the second coding strategy are divided in different ways.
[0145] Figure 8 is a block diagram of a data transmission device provided in an embodiment of the present application. The data transmission device can be implemented as all or part of a second optical communication device (eg, ONU) through software, hardware, or a combination of both. Figure 8 As shown, the device 800 includes a receiving unit 801 and a sending unit 802 .
[0146] The receiving unit 801 is used to receive first indication information sent by the first optical communication device, the first indication information is used to indicate the target FEC codeword format, wherein the target FEC codeword format is related to the length of the uplink burst data of the second optical communication device, the lengths of the uplink burst data belonging to different data length intervals correspond to different FEC codeword formats, and different FEC codeword formats correspond to different coding overheads. The sending unit 802 is used to send uplink burst data, the uplink burst data includes at least one FEC codeword, and the at least one FEC codeword is encoded using the target FEC codeword format.
[0147] In a first possible implementation manner, the first indication information is an identifier of a target FEC codeword format.
[0148] Optionally, the first indication information is carried in a BWMAP field of a superframe header.
[0149] Optionally, the receiving unit 801 is further configured to receive second indication information sent by the first optical communication device, where the second indication information includes a correspondence between an FEC codeword format and an identifier.
[0150] Optionally, the second indication information is carried in an OMCI message or a PLOAM message.
[0151] Optionally, the device further includes: a determination unit 803, configured to determine a target FEC codeword format according to a correspondence between the FEC codeword format and the identifier and the first indication information.
[0152] In a second possible implementation, the first indication information is used to indicate a correspondence between a data length interval and an FEC codeword format, and different data length intervals correspond to different FEC codeword formats.
[0153] Optionally, the first indication information is carried in an OMCI message or a PLOAM message.
[0154] Optionally, the apparatus further includes a determining unit 803, configured to determine a target FEC codeword according to a correspondence between a data length interval and an FEC codeword format and a length of uplink burst data sent by the second optical communication device.
[0155] It should be noted that the data transmission device provided in the above embodiment only uses the division of the above functional units as an example when performing data transmission. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device is divided into different functional units to complete all or part of the functions described above. In addition, the data transmission device provided in the above embodiment belongs to the same concept as the data transmission method embodiment. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0156] The descriptions of the processes corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process, please refer to the relevant descriptions of other processes.
[0157] Fig. 9 is a schematic diagram of the structure of an optical communication device 900 provided in an embodiment of the present application. Fig. 9 As shown, the optical communication device 900 includes at least one processor 901 , a memory 902 , and at least one network interface 903 .
[0158] The processor 901 is, for example, a general-purpose central processing unit (CPU), a network processor (NP), a graphics processing unit (GPU), a neural-network processing unit (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the scheme of the present application. For example, the processor 901 includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0159] The memory 902 is, for example, a read-only memory (ROM) or other static storage device that can store static information and instructions, a random access memory (RAM) or other dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. Optionally, the memory 902 exists independently and is connected to the processor 901 through the internal connection 904. Alternatively, the memory 902 and the processor 901 are optionally integrated together.
[0160] The network interface 903 uses any transceiver-like device for communicating with other devices or communication networks. The network interface 903 includes, for example, at least one of a wired network interface or a wireless network interface. The wired network interface is, for example, an Ethernet interface. The Ethernet interface is, for example, an optical interface, an electrical interface, or a combination thereof. The wireless network interface is, for example, a wireless local area network (WLAN) interface, a cellular network interface, or a combination thereof.
[0161] In some embodiments, the processor 901 includes one or more CPUs, such as Fig. 9 CPU0 and CPU1 are shown in the figure.
[0162] In some embodiments, the optical communication device 900 optionally includes multiple processors, such as Fig. 9 901 and processor 905 are shown in FIG. Each of these processors is, for example, a single-core processor (single-CPU), or a multi-core processor (multi-CPU). The processor here optionally refers to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).
[0163] In some embodiments, the optical communication device 900 further includes an internal connection 904. The processor 901, the memory 902, and the at least one network interface 903 are connected via the internal connection 904. The internal connection 904 includes a path to transmit information between the above components. Optionally, the internal connection 904 is a single board or a bus. Optionally, the internal connection 904 is divided into an address bus, a data bus, a control bus, etc.
[0164] In some embodiments, the optical communication device 900 further includes an input-output interface 906. The input-output interface 906 is connected to the internal connection 904.
[0165] In some embodiments, the input / output interface 906 is used to connect to an input device to receive commands or data related to the above method embodiments input by a user through the input device, such as random delay parameters or maximum differential distance, etc. The input device includes but is not limited to a keyboard, a touch screen, a microphone, a mouse, or a sensor device, etc.
[0166] In some embodiments, the input / output interface 906 is also used to connect to an output device. The input / output interface 906 outputs the intermediate results and / or final results generated by the processor 901 executing the above method embodiment, such as encoding strategies, etc., through the output device. The output device includes but is not limited to a display, a printer, a projector, etc.
[0167] Optionally, the processor 901 implements the method in the above embodiment by reading the program code 910 stored in the memory 902, or the processor 901 implements the method in the above embodiment by the program code stored internally. In the case where the processor 901 implements the method in the above embodiment by reading the program code 910 stored in the memory 902, the memory 902 stores the program code for implementing the method provided in the embodiment of the present application.
[0168] For more details on how the processor 901 implements the above functions, please refer to the descriptions in the previous method embodiments, which will not be repeated here.
[0169] When implemented, the optical communication device 900 includes a single board and an optical module, and the optical module is pluggably connected to the single board. Optionally, the processor 901 can be set on the single board or in the optical module.
[0170] In some embodiments, a computer-readable storage medium is also provided, which stores computer instructions. When the computer instructions stored in the computer-readable storage medium are executed by an optical communication device, the optical communication device executes the steps executed by the OLT in the data transmission method provided in the above method embodiment, or executes the steps executed by the ONU in the data transmission method provided in the above method embodiment.
[0171] In some embodiments, a computer program product is also provided, which includes one or more computer program instructions. When the computer program instructions are loaded and run by a computer, the computer executes the steps executed by the OLT in the data transmission method provided by the above method embodiment, or executes the steps executed by the ONU in the data transmission method provided by the above method embodiment.
[0172] In some embodiments, a chip is also provided, including a memory and a processor, the memory being used to store computer instructions, and the processor being used to call and run the computer instructions from the memory to execute the steps executed by the OLT in the data transmission method, or to execute the steps executed by the ONU in the data transmission method provided in the above method embodiment.
[0173] Optionally, the chip may be an optical digital signal processor (ODSP) chip, a PON media access control (MAC) chip or a PON system on chip (SoC) chip, etc. Among them, the OSDP chip is integrated in the optical module, and the PON MAC chip or the PON SoC chip is integrated on a single board.
[0174] Unless otherwise defined, the technical or scientific terms used herein shall have the usual meanings understood by persons of ordinary skill in the field to which this application belongs. The words "first", "second", "third" and similar terms used in the patent application specification and claims of this application do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one" or "one" do not indicate a quantitative limitation, but rather indicate the presence of at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before "include" or "comprises" cover the elements or objects listed after "include" or "comprises" and their equivalents, and do not exclude other elements or objects.
[0175] The above is only an embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A data transmission method, characterized in that: The method comprises: The first optical communication device sends first indication information to the second optical communication device, where the first indication information is used to indicate a target forward error correction FEC codeword format, wherein the target FEC codeword format is related to the length of uplink burst data of the second optical communication device, the lengths of uplink burst data belonging to different data length intervals correspond to different FEC codeword formats, and different FEC codeword formats correspond to different coding overheads; Uplink burst data sent by a second optical communication device is received, where the uplink burst data includes at least one FEC codeword, and the at least one FEC codeword is encoded using the target FEC codeword format.
2. The method according to claim 1, characterized in that The first indication information is an identifier of a target FEC codeword format.
3. The method according to claim 2, characterized in that The first indication information is carried in a bandwidth mapping BWMAP field of a superframe header.
4. The method according to claim 2 or 3, characterized in that: The method further comprises: Sending second indication information to the second optical communication device, where the second indication information includes a correspondence between the FEC codeword format and the identifier.
5. The method according to claim 4, characterized in that The second indication information is carried in an optical network unit management and control interface OMCI message or a physical layer operation administration and maintenance PLOAM message.
6. The method according to claim 1, characterized in that The first indication information is used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats.
7. The method according to claim 6, characterized in that The first indication information is carried in an OMCI message or a PLOAM message.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Determine, according to the first link quality of the second optical communication device, a first coding strategy of the second optical communication device, wherein the first coding strategy is used to indicate a correspondence between a data length interval and an FEC codeword format, and different data length intervals correspond to different FEC codeword formats; The target FEC codeword format is determined according to the first encoding strategy and the length of the uplink burst data.
9. The method according to claim 8, characterized in that The method further comprises: Determine, according to the second link quality of the second optical communication device, a second coding strategy of the second optical communication device, wherein the second coding strategy is used to indicate a correspondence between a data length interval and an FEC codeword format, and different data length intervals correspond to different FEC codeword formats; Among them, the first link quality is different from the second link quality, and the data length intervals corresponding to the first coding strategy and the second coding strategy are divided in different ways.
10. The method according to any one of claims 1 to 9, characterized in that: The encoding overhead of the FEC codeword format corresponding to the first data length interval is greater than the encoding overhead of the FEC codeword format corresponding to the second data length interval, and any length in the first data length interval is greater than any length in the second data length interval.
11. A data transmission method, characterized in that: The method comprises: The second optical communication device receives first indication information sent by the first optical communication device, where the first indication information is used to indicate a target FEC codeword format, wherein the target FEC codeword format is related to the length of uplink burst data of the second optical communication device, the lengths of uplink burst data belonging to different data length intervals correspond to different FEC codeword formats, and different FEC codeword formats correspond to different coding overheads; The uplink burst data sent to the first optical communication device includes at least one FEC codeword format, and the at least one FEC codeword format is encoded using the target FEC codeword format.
12. The method according to claim 11, characterized in that The first indication information is an identifier of a target FEC codeword format.
13. The method according to claim 12, characterized in that The first indication information is carried in the BWMAP field of the superframe header.
14. The method according to claim 12 or 13, characterized in that The method further comprises: Second indication information sent by the first optical communication device is received, where the second indication information includes a correspondence between the FEC codeword format and the identifier.
15. The method according to claim 14, characterized in that The second indication information is carried in an optical network unit management and control interface OMCI message or a physical layer operation administration and maintenance PLOAM message.
16. The method according to any one of claims 12 to 15, characterized in that The method further comprises: The target FEC codeword format is determined according to the correspondence between the FEC codeword format and the identifier and the first indication information.
17. The method according to claim 11, characterized in that The first indication information is used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats.
18. The method according to claim 17, characterized in that The first indication information is carried in an OMCI message or a PLOAM message.
19. The method according to claim 17 or 18, characterized in that The method further comprises: The target FEC codeword is determined according to the correspondence between the data length interval and the FEC codeword format and the length of the uplink burst data sent by the second optical communication device.
20. The method according to any one of claims 11 to 19, characterized in that The encoding overhead of the FEC codeword format corresponding to the first data length interval is greater than the encoding overhead of the FEC codeword format corresponding to the second data length interval, and any length in the first data length interval is greater than any length in the second data length interval.
21. A data transmission device, characterized in that: The device comprises: A sending unit, configured to send first indication information to a second optical communication device, wherein the first indication information is used to indicate a target forward error correction FEC codeword format, wherein the target FEC codeword format is related to the length of uplink burst data of the second optical communication device, the lengths of uplink burst data belonging to different data length intervals correspond to different FEC codeword formats, and different FEC codeword formats correspond to different coding overheads; The receiving unit is used to receive uplink burst data sent by the second optical communication device, wherein the uplink burst data includes at least one FEC codeword, and the at least one FEC codeword is encoded using the target FEC codeword format.
22. The device according to claim 21, characterized in that The first indication information is an identifier of a target FEC codeword format.
23. The device according to claim 22, characterized in that The first indication information is carried in a bandwidth mapping BWMAP field of a superframe header.
24. The device according to claim 22 or 23, characterized in that The sending unit is further used to send second indication information to the second optical communication device, where the second indication information includes a correspondence between the FEC codeword format and the identifier.
25. The device according to claim 24, characterized in that The second indication information is carried in an optical network unit management and control interface OMCI message or a physical layer operation administration and maintenance PLOAM message.
26. The device according to claim 21, characterized in that The first indication information is used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats.
27. The device according to claim 26, characterized in that The first indication information is carried in an OMCI message or a PLOAM message.
28. The device according to any one of claims 21 to 27, characterized in that The device also includes: A determination unit is used to determine a first coding strategy of the second optical communication device according to a first link quality of the second optical communication device, wherein the first coding strategy is used to indicate a correspondence between a data length interval and an FEC codeword format, and different data length intervals correspond to different FEC codeword formats; and determine the target FEC codeword according to the first coding strategy and the length of the uplink burst data.
29. The device according to claim 28, characterized in that The determining unit is further used to determine a second coding strategy of the second optical communication device according to the second link quality of the second optical communication device, wherein the second coding strategy is used to indicate a correspondence between a data length interval and an FEC codeword format, and different data length intervals correspond to different FEC codeword formats; Among them, the first link quality is different from the second link quality, and the data length intervals corresponding to the first coding strategy and the second coding strategy are divided in different ways.
30. The device according to any one of claims 21 to 29, characterized in that The encoding overhead of the FEC codeword format corresponding to the first data length interval is greater than the encoding overhead of the FEC codeword format corresponding to the second data length interval, and any length in the first data length interval is greater than any length in the second data length interval.
31. A data transmission device, characterized in that: The device comprises: A receiving unit, configured to receive first indication information sent by a first optical communication device, wherein the first indication information is used to indicate a target FEC codeword format, wherein the target FEC codeword format is related to the length of uplink burst data of the second optical communication device, the lengths of uplink burst data belonging to different data length intervals correspond to different FEC codeword formats, and different FEC codeword formats correspond to different coding overheads; The sending unit is used to send uplink burst data, wherein the uplink burst data includes at least one FEC codeword, and the at least one FEC codeword is encoded using the target FEC codeword format.
32. The device according to claim 31, characterized in that The first indication information is an identifier of a target FEC codeword format.
33. The device according to claim 32, characterized in that The first indication information is carried in the BWMAP field of the superframe header.
34. The device according to claim 32 or 33, characterized in that The receiving unit is also used for Second indication information sent by the first optical communication device is received, where the second indication information includes a correspondence between the FEC codeword format and the identifier.
35. The device according to claim 34, characterized in that The second indication information is carried in an optical network unit management and control interface OMCI message or a physical layer operation administration and maintenance PLOAM message.
36. The device according to any one of claims 32 to 35, characterized in that The device also includes: A determination unit is used to determine the target FEC codeword format according to the correspondence between the FEC codeword format and the identifier and the first indication information.
37. The device according to claim 31, characterized in that The first indication information is used to indicate the correspondence between the data length interval and the FEC codeword format, and different data length intervals correspond to different FEC codeword formats.
38. The device according to claim 37, characterized in that The first indication information is carried in an OMCI message or a PLOAM message.
39. The device according to claim 37 or 38, characterized in that The device also includes: A determination unit is used to determine the target FEC codeword according to the correspondence between the data length interval and the FEC codeword format and the length of the uplink burst data sent by the second optical communication device.
40. The device according to any one of claims 31 to 39, characterized in that The encoding overhead of the FEC codeword format corresponding to the first data length interval is greater than the encoding overhead of the FEC codeword format corresponding to the second data length interval, and any length in the first data length interval is greater than any length in the second data length interval.
41. An optical communication system, characterized in that: The method comprises a first optical communication device and a second optical communication device, wherein the first optical communication device is used to execute the method according to any one of claims 1 to 10, and the second optical communication device is used to execute the method according to any one of claims 11 to 20.
42. An optical communication device, characterized in that: The optical communication device includes a processor and a memory, the memory is used to store a software program, and the processor runs or executes the software program stored in the memory so that the optical communication device implements the method according to any one of claims 1 to 10, or implements the method according to any one of claims 11 to 20.
43. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store program codes executed by a processor, wherein the program codes include programs for implementing the method according to any one of claims 1 to 10, or implementing the method according to any one of claims 11 to 20.
Citation Information
Cited By
Data transmission method and apparatus, optical communication device, system, and medium
EP4765696A1
Data transmission method and apparatus, optical communication device, system, and medium
WO2025081949A1