Data processing method, device and system

The host side chip flexibly selects the FEC method according to the type of optical module, which solves the problem of degradation of code error performance of LPO modules and realizes efficient and reliable data transmission in different optical module scenarios.

CN120342544APending Publication Date: 2025-07-18HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410066220.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

Although the existing linear drive pluggable optical (LPO) modules reduce power consumption, the code error performance decreases, resulting in reduced data transmission reliability and efficiency, and requires more frequent retransmission.

Method used

The host side chip supports a variety of FEC methods, and flexibly selects the FEC method according to the type of connected optical modules. For example, the LPO, NPO or CPO module adopts the first FEC method, and the ordinary optical module adopts the second FEC method, ensuring that the receiving device uses the same method to process data through self-negotiation or link training.

Benefits of technology

Ensure the efficiency and reliability of data transmission in different optical module scenarios without adding additional hardware, which improves the overall performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342544A_ABST
    Figure CN120342544A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data processing method, device and system. The host side chip supports multiple FEC modes for data processing, and specifically, the FEC mode for data processing is determined according to the type of the optical module connected with the host side chip. For example, if the type of the optical module is LPO, NPO or CPO, the host side chip adopts a first FEC mode to carry out data processing. For example, if the optical module type is a common optical module, the host side chip adopts a second FEC mode to carry out data processing. Namely, the FEC mode adopted by the host side chip can be flexibly selected based on the type of the optical module, and the corresponding FEC mode can be configured in a targeted manner according to the actual bit error rate performance of the optical module, so that the transmission efficiency and reliability can be ensured in various scenes, and additional hardware does not need to be added.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data communication, and in particular, to a data processing method, apparatus, and system. Background Art

[0002] Power consumption is closely related to the usage cost of communication network devices. Reducing the energy consumption per bit transmission has always been what people have been striving to do, and there have been continuous new improvements with the development of technology. In the optical transmission of Ethernet, the power consumption of the currently used normal optical module cannot be ignored. In order to further reduce power consumption, a technical solution called linear pluggable optics (LPO) module has been proposed.

[0003] Compared with the normal optical module, the LPO removes the digital processing function with a high power consumption ratio and instead completes the necessary digital processing function within the main chip, so that the overall power consumption of the transmission system is significantly reduced, and the cost of the LPO module is lower. The LPO can significantly reduce power consumption, but the cost is that the bit error performance of the system decreases compared with the normal optical module. More bit errors will make it easier to receive incorrect data frames and require more retransmissions, thus reducing the transmission reliability and efficiency. Summary of the Invention

[0004] This application provides a data processing method, apparatus, and system. The host-side chip supports multiple forward error correction (FEC) methods for data processing, and can flexibly select the FEC method adopted by the host-side chip based on the type of the optical module, which is convenient for configuring the corresponding FEC method according to the actual bit error performance of the optical module, so as to ensure the efficiency and reliability of data transmission in various scenarios.

[0005] In a first aspect, this application provides a data processing method, which is applied to a sending device. Specifically, first obtain the type of the optical module connected to the host-side chip. Then determine the forward error correction (FEC) method for processing the data to be sent according to the type of the optical module. If the type of the optical module is a linear pluggable optics (LPO) module, a near package optics (NPO) module, or a co-packaged optics (CPO), the host-side chip uses a first FEC method to process the data to be sent.

[0006] In this embodiment, the host-side chip supports multiple FEC methods for data processing, and specifically determines the FEC method for data processing according to the type of optical module connected to the host-side chip. For example, if the optical module type is LPO, NPO, or CPO, the host-side chip uses the first FEC method for data processing. For another example, if the optical module type is a common optical module, the host-side chip uses the second FEC method for data processing. That is to say, this application can flexibly select the FEC method adopted by the host-side chip based on the type of optical module, which is convenient for configuring the corresponding FEC method according to the actual bit error performance of the optical module, so as to ensure the transmission efficiency and reliability in various scenarios without the need to add additional hardware implementation.

[0007] In some possible embodiments, the host-side chip uses the first FEC method to process the data to be sent, including: the host-side chip uses a multi-way codeword interleaved FEC method to process the data to be sent. It should be understood that by increasing the interleaving depth of the codewords, it is possible to better combat burst bit errors and ensure the reliability of data transmission.

[0008] In some possible embodiments, the multi-way interleaved FEC method is a 2-way codeword interleaved FEC method, a 4-way codeword interleaved FEC method, or an 8-way codeword interleaved FEC method, which expands the implementation scenarios of this solution.

[0009] In some possible embodiments, the host-side chip uses the first FEC method to process the data to be sent, including: the host-side chip encodes the data to be sent using the first FEC code type. It should be understood that flexibly adjusting the FEC code type according to the actual situation can better adapt to the requirements of different scenarios. For example, in a scenario with better link quality, the transmission delay can be reduced by adjusting the FEC code type.

[0010] In some possible embodiments, the first FEC code type is Reed-Solomon (RS)(544,514) or RS(528,514), which enriches the implementation manners of this solution.

[0011] In some possible embodiments, if the type of the optical module is an LPO module, an NPO module, or a CPO module, the method further includes: initiating auto-negotiation with the receiving device to instruct the host-side chip of the receiving device to use the first FEC method to process the received data. That is to say, if the host-side chip of the sending device determines the first FEC method for processing the data to be sent, the sending device needs to perform auto-negotiation with the receiving device so that the receiving device also uses the first FEC method to process the received data, which is beneficial for the receiving device to better recover the data from the sending device.

[0012] In some possible embodiments, performing autonegotiation with a receiving device includes: sending a link codeword to the receiving device, where the link codeword includes an indication field, and the indication field is used to indicate that the host-side chip of the receiving device processes the received data using a first FEC method. This embodiment provides a specific implementation of autonegotiation and has good practicability.

[0013] In some possible embodiments, the indication field is located in the base page and / or the additional page of the link codeword, which improves the feasibility of the solution.

[0014] In some possible embodiments, the indication field is located in the FEC capability area of the base page.

[0015] In some possible embodiments, the rate of sending the link codeword is 106.25 / X gigabits per second (Gbps), where X is an integer greater than or equal to 1.

[0016] In some possible embodiments, if the type of the optical module is an LPO module, an NPO module, or a CPO module, the method further includes: initiating link training with the receiving device to indicate that the host-side chip of the receiving device processes the received data using a first FEC method. That is to say, if the host-side chip of the sending device determines the first FEC method for processing the data to be sent, the sending device needs to perform link training with the receiving device so that the receiving device also processes the received data using the first FEC method, which is beneficial for the receiving device to better recover the data from the sending device.

[0017] In some possible embodiments, performing link training with the receiving device includes: sending a training frame to the receiving device, where the training frame includes an indication field, and the indication field is used to indicate that the host-side chip of the receiving device processes the received data using a first FEC method. This embodiment provides a specific implementation of link training and has good practicability.

[0018] In some possible embodiments, the indication field is located in the parameter update area, the status reporting area, the control area, and / or the status area of the training frame, which improves the feasibility of the solution.

[0019] In some possible embodiments, the rate of sending the training frame is 106.25 Gbps or 103.125 Gbps.

[0020] In some possible embodiments, the method further includes: receiving auto-negotiation or link training initiated by a receiving device, where the type of the receiving optical module connected to the host-side chip at the receiving end of the receiving device is an LPO module, an NPO module, or a CPO module, and the auto-negotiation or link training initiated by the receiving device is used to instruct the host-side chip to perform data processing on the data to be sent using a first FEC method. That is to say, the auto-negotiation or link training between the sending device and the receiving device is mutual. The local end can determine the FEC method to be used by combining the type of optical module it uses and the auto-negotiation or link training initiated by the peer end, so that the sending and receiving ends can select a more suitable FEC method.

[0021] In some possible embodiments, the method further includes: if the host-side chip is connected to a common optical module, the host-side chip performs data processing on the data to be sent using a second FEC method, and the common optical module is not an LPO module, an NPO module, or a CPO module.

[0022] In some possible embodiments, the host-side chip performing data processing on the data to be sent using a second FEC method includes: the host-side chip performing data processing on the data to be sent using a FEC method without codeword interleaving.

[0023] In some possible embodiments, the host-side chip performing data processing on the data to be sent using a second FEC method includes: the host-side chip encoding the data to be sent using a second FEC code pattern.

[0024] In some possible embodiments, the host-side chip sends data to the optical module through one channel.

[0025] In some possible embodiments, the host-side chip sends N channels of data to the optical module through N channels respectively, where N is an integer greater than 1. The host-side chip performing data processing on the data to be sent using a first FEC method includes: the host-side chip performing data processing on a channels of the N channels of data to be sent using a first FEC method, where 1 ≤ a ≤ N. The method further includes: the host-side chip performing data processing on b channels of the N channels of data to be sent using a second FEC method, and N = a + b.

[0026] In some possible embodiments, the channel is an attachment unit interface (AUI) or a common electrical interface (Common Electrical I / O, CEI).

[0027] In some possible embodiments, the method further includes: receiving c paths of data sent after being processed by a first FEC method by a receiving-end host-side chip of a receiving device, where c ≥ 1; and / or, receiving d paths of data sent after being processed by a second FEC method by a receiving-end host-side chip of a receiving device, where d ≥ 1.

[0028] In some possible embodiments, the rate of each path of data to be sent by the host-side chip is 100 Gbps.

[0029] In some possible embodiments, the type of the optical module is an LPO module, and the type of the receiving-end optical module connected to the receiving-end host-side chip of the receiving device is an LPO module. The method further includes: receiving the data sent after being processed by the receiving-end host-side chip using the first FEC method. Alternatively, the type of the optical module is an LPO module, and the type of the receiving-end optical module connected to the receiving-end host-side chip of the receiving device is a common optical module. The method further includes: receiving the data sent after being processed by the receiving-end host-side chip using the second FEC method.

[0030] In some possible embodiments, the host-side chip sends N paths of data to the optical module through N channels respectively. The type of the optical module is an LPO module, and the N channels are CEI, where N = 2, 4, 8, or 16. The host-side chip using the first FEC method to process the data to be sent includes: the host-side chip using the first FEC method to process the N paths of data to be sent.

[0031] In some possible embodiments, the receiving device includes N receiving-end host-side chips, and the type of the receiving-end optical module connected to each receiving-end host-side chip is an LPO module. The method further includes: receiving N paths of data respectively sent after being processed by the N receiving-end host-side chips using the first FEC method. Alternatively, the receiving device includes N receiving-end host-side chips, and the type of the receiving-end optical module connected to each receiving-end host-side chip is a common optical module. The method further includes: receiving N paths of data respectively sent after being processed by the N receiving-end host-side chips using the second FEC method.

[0032] In some possible embodiments, the host-side chip sends N paths of data to the optical module through N channels respectively. The type of the optical module is an LPO module, where N = 2, 4, 8, or 16. The host-side chip using the first FEC method to process the data to be sent includes: the host-side chip using the first FEC method to process M paths of the N paths of data to be sent, where 1 ≤ M < N. The method further includes: the host-side chip using the second FEC method to process the N - M paths of the N paths of data to be sent.

[0033] In some possible embodiments, the receiving device includes N receiving-end host-side chips, and the receiving-end optical modules connected to M receiving-end host-side chips are of the LPO module type, while the receiving-end optical modules connected to N-M receiving-end host-side chips are of the common optical module type. The method further includes: receiving M paths of data respectively sent after being processed by M receiving-end host-side chips using the first FEC method; receiving N-M paths of data respectively sent after being processed by N-M receiving-end host-side chips using the second FEC method.

[0034] In some possible embodiments, the transmission rate of each of the N channels is 100 Gbps.

[0035] In a second aspect, the present application provides a data processing method, which is applied to a sending device. Specifically, the optical module connected to the host-side chip in the sending device is a common optical module, and based on the common optical module, the FEC method for the host-side chip to process the data to be sent can be determined. Furthermore, a self-negotiation or link sequence is initiated to the receiving device to instruct the receiving device to process the received data using this FEC method.

[0036] In this embodiment, the sending device determines the FEC method for processing the data to be sent according to the common optical module used, and by initiating self-negotiation or link training to the receiving device, the receiving device also processes the received data using this FEC method, which is beneficial for the receiving device to better recover the data from the sending device.

[0037] In some possible embodiments, initiating self-negotiation to the receiving device includes: sending a link codeword to the receiving device, and the link codeword includes an indication field, where the indication field is used to instruct the host-side chip of the receiving device to process the received data using this FEC method.

[0038] In some possible embodiments, the indication field is located in the base page and / or the additional page of the link codeword.

[0039] In some possible embodiments, the indication field is located in the FEC capability area of the base page.

[0040] In some possible embodiments, the rate of sending the link codeword is 106.25 / X Gbps, where X is an integer greater than or equal to 1.

[0041] In some possible embodiments, initiating link training to the receiving device includes: sending a training frame to the receiving device, and the training frame includes an indication field, where the indication field is used to instruct the host-side chip of the receiving device to process the received data using this FEC method.

[0042] In some possible embodiments, the indication field is located in the parameter update area, status reporting area, control area, and / or status area of the training frame.

[0043] In some possible embodiments, the rate of sending the training frame is 106.25 Gbps or 103.125 Gbps.

[0044] In some possible embodiments, the method further includes: receiving auto-negotiation or link training initiated by the receiving device, where the type of the receiving optical module connected to the host side chip of the receiving device is a common optical module, and the auto-negotiation or link training initiated by the receiving device is used to instruct the host side chip to perform data processing on the data to be sent using this FEC method.

[0045] In a third aspect, the present application provides a data processing method, which is applied to a receiving device. Specifically, it receives auto-negotiation or link training initiated by a sending device. Then, it determines the FEC method for the host side chip to perform data processing on the received data according to the auto-negotiation or link training. Furthermore, it sends a feedback message to the sending device, and the feedback message is used to indicate the FEC method.

[0046] In this embodiment, the receiving device can determine the FEC method for the host side chip to perform data processing on the received data according to the auto-negotiation or link training initiated by the sending device, so that the receiving device can perform data processing on the received data using the same FEC method as the sending device, which is beneficial for the receiving device to better recover the data from the sending device.

[0047] In some possible embodiments, receiving the auto-negotiation initiated by the sending device includes: receiving a first link codeword sent by the sending device, and the first link codeword includes a first indication field. Determining the FEC method for the host side chip to perform data processing on the received data according to the auto-negotiation includes: determining the FEC method according to the first indication field.

[0048] In some possible embodiments, the first indication field is located in the base page and / or additional page of the first link codeword.

[0049] In some possible embodiments, the first indication field is located in the FEC capability area of the base page of the first link codeword.

[0050] In some possible embodiments, sending a feedback message to the sending device includes: sending a second link codeword to the sending device, and the second link codeword includes a second indication field, and the second indication field is used to indicate the FEC method.

[0051] In some possible embodiments, the second indication field is located in the base page and / or additional page of the second link codeword.

[0052] In some possible embodiments, the second indication field is located in the ACK area of the base page in the second link codeword, and / or, the second indication field is located in the ACK area of the additional page in the second link codeword.

[0053] In some possible embodiments, the rate of sending the first link codeword is 106.25 / X Gbps, where X is an integer greater than or equal to 1.

[0054] In some possible embodiments, receiving link training initiated by a sending device includes: receiving a first training frame sent by the sending device, where the first training frame includes a third indication field. Determining, according to the link training, the FEC method for the host-side chip to process the received data includes: determining the FEC method according to the third indication field.

[0055] In some possible embodiments, the third indication field is located in the parameter update area, status reporting area, control area, and / or status area in the first training frame.

[0056] In some possible embodiments, sending a feedback message to the sending device includes: sending a second training frame to the sending device, where the second training frame includes a fourth indication field, and the fourth indication field is used to indicate the FEC method.

[0057] In some possible embodiments, the rate of sending the first training frame is 106.25 Gbps or 103.125 Gbps.

[0058] In some possible embodiments, if the type of the transmit optical module connected to the transmit-end host-side chip in the sending device is an LPO module, an NPO module, or a CPO module, the FEC method is the first FEC method. If the type of the transmit optical module connected to the transmit-end host-side chip in the sending device is a common optical module, the FEC method is the second FEC method.

[0059] In some possible embodiments, the method further includes: initiating auto-negotiation or link training with the sending device to indicate the FEC method for the transmit-end host-side chip of the sending device to process the received data.

[0060] In some possible embodiments, if the type of the optical module connected to the host-side chip is an LPO module, an NPO module, or a CPO module, the auto-negotiation or link training initiated with the sending device is used to indicate that the transmit-end host-side chip processes the received data using the first FEC method. If the type of the optical module connected to the host-side chip is a common optical module, the auto-negotiation or link training initiated with the sending device is used to indicate that the transmit-end host-side chip processes the received data using the second FEC method.

[0061] In some possible embodiments, the first FEC mode includes at least one of a FEC mode with multi-channel codeword deinterleaving and a decoding mode using a first FEC code type, and the second FEC mode includes at least one of a FEC mode without codeword deinterleaving and a decoding mode using a second FEC code type.

[0062] In a fourth aspect, the present application provides a communication device. The communication device includes a processing unit and a host-side chip. The processing unit is configured to: obtain the type of the optical module connected to the host-side chip; determine the FEC mode for data processing of the data to be transmitted according to the type of the optical module. If the type of the optical module is an LPO module, an NPO module, or a CPO module, the host-side chip is configured to: perform data processing on the data to be transmitted using the first FEC mode.

[0063] In some possible embodiments, the host-side chip is specifically configured to: perform data processing on the data to be transmitted using a FEC mode with multi-channel codeword interleaving.

[0064] In some possible embodiments, the multi-channel interleaved FEC mode is a 2-channel codeword interleaved FEC mode, a 4-channel codeword interleaved FEC mode, or an 8-channel codeword interleaved FEC mode.

[0065] In some possible embodiments, the host-side chip is specifically configured to: encode the data to be transmitted using the first FEC code type.

[0066] In some possible embodiments, the first FEC code type is RS(544,514) or RS(528,514).

[0067] In some possible embodiments, if the type of the optical module is an LPO module, an NPO module, or a CPO module, the processing unit is further configured to: initiate auto-negotiation with the receiving device to instruct the host-side chip of the receiving device to perform data processing on the received data using the first FEC mode.

[0068] In some possible embodiments, the processing unit is specifically configured to: send a link codeword to the receiving device, where the link codeword includes an indication field for instructing the host-side chip of the receiving device to perform data processing on the received data using the first FEC mode.

[0069] In some possible embodiments, the indication field is located in the base page and / or the additional page of the link codeword, which improves the feasibility of the solution.

[0070] In some possible embodiments, the indication field is located in the FEC capability area of the base page.

[0071] In some possible embodiments, the rate of the transmitted link codeword is 106.25 / X Gbps, where X is an integer greater than or equal to 1.

[0072] In some possible embodiments, if the type of the optical module is an LPO module, an NPO module, or a CPO module, the processing unit is further configured to: initiate link training to a receiving device to instruct the host-side chip of the receiving device to perform data processing on the received data using a first FEC method.

[0073] In some possible embodiments, the processing unit is specifically configured to: send a training frame to the receiving device, where the training frame includes an indication field for instructing the host-side chip of the receiving device to perform data processing on the received data using a first FEC method.

[0074] In some possible embodiments, the indication field is located in a parameter update area, a status reporting area, a control area, and / or a status area in the training frame.

[0075] In some possible embodiments, the rate of sending the training frame is 106.25 Gbps or 103.125 Gbps.

[0076] In some possible embodiments, the processing unit is further configured to: receive auto-negotiation or link training initiated by the receiving device, where the type of the receiving-end optical module connected to the receiving-end host-side chip of the receiving device is an LPO module, an NPO module, or a CPO module, and the auto-negotiation or link training initiated by the receiving device is used to instruct the host-side chip to perform data processing on the data to be sent using a first FEC method.

[0077] In some possible embodiments, if the host-side chip is connected to an ordinary optical module, the host-side chip is further configured to: perform data processing on the data to be sent using a second FEC method.

[0078] In some possible embodiments, the host-side chip is specifically configured to: perform data processing on the data to be sent using a FEC method without codeword interleaving.

[0079] In some possible embodiments, the host-side chip is specifically configured to: encode the data to be sent using a second FEC code type.

[0080] In some possible embodiments, the host-side chip sends data to the optical module through one channel.

[0081] In some possible implementation manners, the host-side chip sends N paths of data to the optical module through N channels respectively, where N is an integer greater than 1. Specifically, the host-side chip is configured to: perform data processing on a paths of data among the N paths of data to be sent by using a first FEC manner, where 1 ≤ a ≤ N. The host-side chip is further configured to: perform data processing on b paths of data among the N paths of data to be sent by using a second FEC manner, where N = a + b.

[0082] In some possible implementation manners, the channel is AUI or CEI.

[0083] In some possible implementation manners, the communication device further includes a transceiver unit. The transceiver unit is configured to: receive c paths of data sent after being processed by the host-side chip at the receiving end of the receiving device by using a first FEC manner, where c ≥ 1; and / or, receive d paths of data sent after being processed by the host-side chip at the receiving end of the receiving device by using a second FEC manner, where d ≥ 1.

[0084] In some possible implementation manners, the rate of each path of data to be sent by the host-side chip is 100 Gbps.

[0085] In some possible implementation manners, the communication device further includes a transceiver unit. The type of the optical module is an LPO module, and the type of the receiving-end optical module connected to the host-side chip at the receiving end of the receiving device is an LPO module. The transceiver unit is configured to: receive the data sent after being processed by the host-side chip at the receiving end by using a first FEC manner. Alternatively, the type of the optical module is an LPO module, and the type of the receiving-end optical module connected to the host-side chip at the receiving end of the receiving device is a common optical module. The transceiver unit is configured to: receive the data sent after being processed by the host-side chip at the receiving end by using a second FEC manner.

[0086] In some possible implementation manners, the host-side chip sends N paths of data to the optical module through N channels respectively. The type of the optical module is an LPO module, the N channels are CEI, and N = 2, 4, 8, or 16. The processing unit is specifically configured to: perform data processing on the N paths of data to be sent by using a first FEC manner.

[0087] In some possible implementation manners, the communication device further includes a transceiver unit. The receiving device includes N host-side chips at the receiving end, and the type of the receiving-end optical module connected to each host-side chip at the receiving end is an LPO module. The transceiver unit is configured to: receive N paths of data respectively sent after being processed by the N host-side chips at the receiving end by using a first FEC manner. Alternatively, the receiving device includes N host-side chips at the receiving end, and the type of the receiving-end optical module connected to each host-side chip at the receiving end is a common optical module. The transceiver unit is configured to: receive N paths of data respectively sent after being processed by the N host-side chips at the receiving end by using a second FEC manner.

[0088] In some possible embodiments, the host - side chip sends N - path data to the optical module through N channels respectively. The type of the optical module is an LPO module. The processing unit is specifically configured to: perform data processing on M - path data out of the N - path data to be sent by using a first FEC method, where 1 ≤ M < N. The processing unit is further configured to: perform data processing on the N - M - path data out of the N - path data to be sent by using a second FEC method.

[0089] In some possible embodiments, the communication device further includes a transceiver unit. The receiving device includes N receiving - end host - side chips. The receiving - end optical modules connected to M receiving - end host - side chips are of the LPO module type, and the receiving - end optical modules connected to N - M receiving - end host - side chips are of the common optical module type. The transceiver unit is configured to: receive the M - path data respectively sent by the M receiving - end host - side chips after data processing by using the first FEC method; receive the N - M - path data respectively sent by the N - M receiving - end host - side chips after data processing by using the second FEC method.

[0090] In some possible embodiments, the transmission rate of each of the N channels is 100 Gbps.

[0091] In a fifth aspect, the present application provides a communication device, which includes: a processing unit and a host - side chip. The host - side chip is connected to a common optical module. The processing unit is configured to: determine the FEC method for the host - side chip to perform data processing on the data to be sent according to the common optical module; initiate auto - negotiation or a link sequence to the receiving device to instruct the receiving device to perform data processing on the received data by using this FEC method.

[0092] In some possible embodiments, the processing unit is specifically configured to: send a link codeword to the receiving device. The link codeword includes an indication field, and the indication field is used to instruct the host - side chip of the receiving device to perform data processing on the received data by using this FEC method.

[0093] In some possible embodiments, the indication field is located in the base page and / or the additional page of the link codeword.

[0094] In some possible embodiments, the indication field is located in the FEC capability area of the base page.

[0095] In some possible embodiments, the rate of sending the link codeword is 106.25 / X Gbps, where X is an integer greater than or equal to 1.

[0096] In some possible embodiments, the processing unit is specifically configured to: send a training frame to the receiving device. The training frame includes an indication field, and the indication field is used to instruct the host - side chip of the receiving device to perform data processing on the received data by using this FEC method.

[0097] In some possible embodiments, the indication field is located in a parameter update area, a status reporting area, a control area, and / or a status area in a training frame.

[0098] In some possible embodiments, the rate of sending the training frame is 106.25 Gbps or 103.125 Gbps.

[0099] In some possible embodiments, the processing unit is further configured to: receive auto-negotiation or link training initiated by a receiving device, where the type of the receiving optical module connected to the receiving end host-side chip of the receiving device is a common optical module, and the auto-negotiation or link training initiated by the receiving device is used to instruct the host-side chip to perform data processing on the data to be sent using this FEC method.

[0100] In a sixth aspect, the present application provides a communication device, which includes: a transceiver unit, a processing unit, and a host-side chip. The transceiver unit is configured to: receive auto-negotiation or link training initiated by a sending device. The processing unit is configured to: determine, according to the auto-negotiation or link training, an FEC method for the host-side chip to perform data processing on the received data. The transceiver unit is configured to: send a feedback message to the sending device, and the feedback message is used to indicate the FEC method.

[0101] In some possible embodiments, the transceiver unit is specifically configured to: receive a first link codeword sent by a sending device, and the first link codeword includes a first indication field. The processing unit is specifically configured to: determine the FEC method according to the first indication field.

[0102] In some possible embodiments, the first indication field is located in a base page and / or an additional page in the first link codeword.

[0103] In some possible embodiments, the first indication field is located in an FEC capability area of a base page in the first link codeword.

[0104] In some possible embodiments, the transceiver unit is specifically configured to: send a second link codeword to the sending device, and the second link codeword includes a second indication field, and the second indication field is used to indicate the FEC method.

[0105] In some possible embodiments, the second indication field is located in a base page and / or an additional page in the second link codeword.

[0106] In some possible embodiments, the second indication field is located in an ACK area of a base page in the second link codeword, and / or, the second indication field is located in an ACK area of an additional page in the second link codeword.

[0107] In some possible embodiments, the rate of transmitting the first link codeword is 106.25 / X Gbps, where X is an integer greater than or equal to 1.

[0108] In some possible embodiments, the transceiver unit is specifically configured to: receive a first training frame sent by a sending device, where the first training frame includes a third indication field. The processing unit is specifically configured to: determine the FEC mode according to the third indication field.

[0109] In some possible embodiments, the third indication field is located in a parameter update area, a status reporting area, a control area, and / or a status area in the first training frame.

[0110] In some possible embodiments, the transceiver unit is specifically configured to: send a second training frame to the sending device, where the second training frame includes a fourth indication field, and the fourth indication field is used to indicate the FEC mode.

[0111] In some possible embodiments, the rate of transmitting the first training frame is 106.25 Gbps or 103.125 Gbps.

[0112] In some possible embodiments, if the type of the transmitting optical module connected to the transmitting-end host-side chip in the sending device is an LPO module, an NPO module, or a CPO module, the FEC mode is the first FEC mode. If the type of the transmitting optical module connected to the transmitting-end host-side chip in the sending device is a common optical module, the FEC mode is the second FEC mode.

[0113] In some possible embodiments, the processing unit is further configured to: initiate auto-negotiation or link training with the sending device to indicate the FEC mode for the transmitting-end host-side chip of the sending device to perform data processing on the received data.

[0114] In some possible embodiments, if the type of the optical module connected to the host-side chip is an LPO module, an NPO module, or a CPO module, the auto-negotiation or link training initiated with the sending device is used to indicate that the transmitting-end host-side chip uses the first FEC mode to perform data processing on the received data. If the type of the optical module connected to the host-side chip is a common optical module, the auto-negotiation or link training initiated with the sending device is used to indicate that the transmitting-end host-side chip uses the second FEC mode to perform data processing on the received data.

[0115] In some possible embodiments, the first FEC mode includes at least one of a FEC mode with multi-codeword deinterleaving and a decoding mode using a first FEC code type, and the second FEC mode includes at least one of a FEC mode without codeword deinterleaving and a decoding mode using a second FEC code type.

[0116] In a seventh aspect, the present application provides a chip, which includes a processor for executing the method described in any one of the first to third aspects.

[0117] In an eighth aspect, the present application provides a host-side chip, which includes a processor and an interface circuit. The interface circuit is used for receiving and sending signals, and the processor is used for executing the method described in any one of the first to third aspects.

[0118] In a ninth aspect, the present application provides a sending device, which includes a processor and an interface circuit. The interface circuit is used for receiving and sending signals, and the sending device is used for executing the method described in any one of the first and second aspects.

[0119] In a tenth aspect, the present application provides a receiving device, which includes a processor and an interface circuit. The interface circuit is used for receiving and sending signals, and the receiving device is used for executing the method described in any one of the third aspects.

[0120] In an eleventh aspect, the present application provides a communication system, which includes a receiving device and a sending device as described in the ninth aspect.

[0121] In a twelfth aspect, the present application provides a communication system, which includes a sending device and a sending device as described in the tenth aspect.

[0122] In a thirteenth aspect, the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed by a computer, the method described in any one of the first to third aspects can be implemented.

[0123] In a fourteenth aspect, the present application provides a computer program product, which includes program instructions. When the computer program product is executed, it is used to implement the method described in any one of the first to third aspects above.

[0124] As can be seen from the above technical solutions, the present application has the following advantages:

[0125] In this application, the host - side chip supports multiple FEC methods for data processing. Specifically, the FEC method for data processing is determined according to the type of the optical module connected to the host - side chip. For example, if the optical module type is LPO, NPO, or CPO, the host - side chip uses the first FEC method for data processing. Another example is that if the optical module type is a common optical module, the host - side chip uses the second FEC method for data processing. That is to say, this application can flexibly select the FEC method adopted by the host - side chip based on the type of the optical module, which is convenient for configuring the corresponding FEC method according to the actual bit - error performance of the optical module, so as to ensure the transmission efficiency and reliability in various scenarios without the need to add additional hardware implementation. Brief Description of the Drawings

[0126] Figure 1 It is a schematic diagram of a communication system applied in an embodiment of this application;

[0127] Figure 2 It is a schematic diagram of a data transmission process in an embodiment of this application;

[0128] Figure 3 It is a schematic diagram of an implementation method of data processing at the transmitting end and data processing at the receiving end in an embodiment of this application;

[0129] Figure 4 It is a schematic diagram of several possible scenarios for communication between a transmitting device and a receiving device in an implementation of this application;

[0130] Figure 5 It is a schematic diagram of the process of a data processing method in an embodiment of this application;

[0131] Figure 6 It is a schematic diagram of a process for self - negotiation or link training between a transmitting device and a receiving device in an embodiment of this application;

[0132] Figure 7 It is a schematic diagram of the format of a link codeword in an embodiment of this application;

[0133] Figure 8 It is a schematic diagram of the format of a training frame in an embodiment of this application;

[0134] Figure 9 It is a schematic diagram of an FEC method with multiplexed codeword interleaving in an embodiment of this application;

[0135] Figure 10 It is a schematic diagram of an FEC method without codeword interleaving in an embodiment of this application;

[0136] Figure 11 It is a schematic diagram of the first application scenario for data transmission between a transmitting device and a receiving device in an embodiment of this application;

[0137] Figure 12 This is a schematic diagram of the second application scenario for data transmission between the sending device and the receiving device in the embodiments of the present application;

[0138] Figure 13 This is a schematic diagram of the third application scenario for data transmission between the sending device and the receiving device in the embodiments of the present application;

[0139] Figure 14 This is a schematic diagram of the structure of a communication device in the embodiments of the present application;

[0140] Figure 15 This is a schematic diagram of the structure of a host - side chip in the embodiments of the present application;

[0141] Figure 16 This is a schematic diagram of the structure of a sending device in the embodiments of the present application;

[0142] Figure 17 This is a schematic diagram of the structure of a receiving device in the embodiments of the present application. Detailed implementation manners

[0143] The embodiments of the present application provide a data processing method, device, and system. The host - side module supports multiple FEC methods for data processing, and can flexibly select the FEC method adopted by the host - side module based on the type of optical module, which is convenient for configuring the corresponding FEC method according to the actual bit - error performance of the optical module, so as to ensure the efficiency and reliability of data transmission in various scenarios.

[0144] Figure 1 This is a schematic diagram of a communication system applied in the embodiments of the present application. As Figure 1As shown in the figure, the communication system includes a transmitting device 01, a transmitting processing module 02, a channel transmission medium 03, a receiving processing module 04, and a receiving device 05. Taking the communication system as an example of a data center network, the transmitting device 01 and the receiving device 05 can be devices such as switches or routers. Moreover, the transmitting device 01 is also referred to as the host-side device (host device) or host-side chip (host chip) or host-side module located at the transmitting end, and the receiving device 05 is also referred to as the host-side device or host-side chip located at the receiving end. The channel transmission medium 03 can be an optical fiber. Among them, the transmitting device 01 and the transmitting processing module 02 can be connected through an interface, and the receiving device 05 and the receiving processing module 04 can be connected through a channel. The type of this channel can depend on the types of the transmitting processing module 02 and the receiving processing module 04. The types of this channel include but are not limited to an attachment unit interface (AUI) and a common electrical interface (Common Electrical I / O, CEI). The transmitting processing module 02 and the receiving processing module 04 can be an optical module, an electrical module, a connector, or other modules that process data during data transmission. For example, this processing module can be an 800LR module (800LR module), which is a coherent optical module. Furthermore, the transmitting device 01, the transmitting processing module 02, the channel transmission medium 03, the receiving processing module 04, and the receiving device 05 in this communication system can all support bidirectional transmission or unidirectional transmission, and the specific details are not limited here.

[0145] Taking the optical module with the transmitting processing module 02 and the receiving processing module 04 as an example, the types of the optical module include but are not limited to normal optical modules, linear pluggable optics (LPO) modules, near package optics (NPO) modules, co-packaged optics (CPO) modules, etc. In the embodiments of the present application, the LPO module, the NPO module, and the CPO module can also be referred to as the LPO optical module, the NPO optical module, and the CPO optical module. Among them, in the embodiments of the present application, the optical module that does not belong to the LPO module, the NPO module, and the CPO module is called a normal optical module. The functions that a normal optical module can achieve include but are not limited to digital signal processing (DSP) and clock data recovery (CDR), etc. For example, a normal optical module will convert an analog signal into a digital signal, perform DSP on the digital signal and then convert it back into an analog signal and send it to the host-side chip. Since retiming is required for DSP, the normal optical module can also be called a retimed module. In the embodiments of the present application, the host-side chip can also be called a switching chip. The LPO module, the NPO module, and the CPO module do not have functions such as DSP and CDR, and need to implement functions such as DSP and CDR through the host-side chip. In other words, the normal optical module can process both analog signals and digital signals; the LPO module, the NPO module, and the CPO module only process analog signals and do not process digital signals. The normal optical module is connected to the host-side chip through AUI, and the LPO module can be connected to the host-side chip through CEI. Different from the LPO module, the NPO module and the CPO module do not have a pluggable optical module physical packaging form and are closer to the host-side chip. The NPO module and the CPO module can also be called an optical engine. The NPO technology or the CPO technology is a technology for "encapsulating" the host-side chip and the optical engine. When the NPO technology is used to encapsulate the host-side chip and the optical engine, the optical engine can be called an NPO module. When the CPO technology is used to encapsulate the host-side chip and the optical engine, the optical engine can be called a CPO module. In the LPO technology, the host-side chip and the optical engine are not packaged together, and the optical module is pluggable.

[0146] Figure 2 It is a schematic diagram of a data transmission process according to an embodiment of the present application. As Figure 2As shown in the figure, at the sending end, the information source provides the data stream to be sent; the sending-end data processor receives this data stream and performs data processing including encoding, interleaving, and modulation on it to obtain a symbol data stream, which is sent to the sending-end signal processor to form an optical signal, and reaches the receiving device after being transmitted through the channel. After the receiving device receives the distorted signal generated by noise or other impairments in the channel, it is sent to the receiving-end signal processor for operations such as dispersion compensation, synchronization, and phase recovery, and then sent to the receiving-end data processing for operations including demodulation, deinterleaving, and decoding to recover the original data, which is sent to the information sink. As an example, if Figure 1 the sending-end processing module 02 and the receiving-end processing module 04 in Figure 2 are ordinary optical modules, Figure 1 the sending-end data processing and sending-end signal processing shown in Figure 2 can be applied to Figure 1 the sending-end processing module 02 shown in Figure 1 the sending-end processing module 02 in Figure 2 is an LPO module, an NPO module, or a CPO module, Figure 1 the sending-end data processing shown in Figure 2 can be applied to Figure 1 the sending-end device 01 shown in Figure 2 the sending-end signal processing shown in Figure 1 can be applied to Figure 2 the sending-end processing module 02 shown in Figure 1 the receiving-end signal processing shown in

[0147] Figure 3 Figure 3 Figure 3 can be applied to the receiving-end processing module 04 shown in

[0148] Figure 1 In a possible concatenated coding scenario, the sending-end processing module 02 and the receiving-end processing module 04 adopt ordinary optical modules. As shown in Figure 1As shown, in the process of transmitting data from the transmitting device 01 to the receiving device 05, the transmitting device 01 is used to perform outer code encoding on the data, and then transmit the data after outer code encoding to the transmitting processing module 02. The transmitting processing module 02 is used to perform inner code encoding on the data after outer code encoding, obtain the data after outer code encoding and inner code encoding, and transmit the data after outer code encoding and inner code encoding to the channel transmission medium 03. The channel transmission medium 03 is used to transmit the data after outer code encoding and inner code encoding to the receiving processing module 04. The receiving processing module 04 is used to perform inner code decoding on the data after outer code encoding and inner code encoding, and transmit the data after inner code decoding to the receiving device 05. The receiving device 05 is used to perform outer code decoding on the data after inner code decoding.

[0149] In another possible concatenated coding scenario, the transmitting processing module 02 adopts an LPO module, an NPO module or a CPO module. As Figure 1 shown, in the process of transmitting data from the transmitting device 01 to the receiving device 05, the transmitting device 01 is used to perform outer code encoding and inner code encoding on the data, obtain the data after outer code encoding and inner code encoding, and transmit it to the channel transmission medium 03 through the transmitting processing module 02. The channel transmission medium 03 is used to transmit the data after outer code encoding and inner code encoding to the receiving processing module 04, and transmit it to the receiving device 05 through the receiving processing module 04. The receiving device 05 is used to perform inner code decoding and outer code decoding on the data after outer code encoding and inner code encoding in sequence.

[0150] It should be understood that the "inner" in the inner code and the "outer" in the outer code are only distinguished based on the distance of the execution entity operating on the data from the channel transmission medium 03. The execution entity operating on the inner code is closer to the channel transmission medium, and the execution entity operating on the outer code is farther from the channel transmission medium. In the embodiments of the present application, since the data is sent from the sending device 01 and then transmitted to the channel transmission medium 03 through the sending processing module 02, and then from the channel transmission medium 03 through the receiving processing module 04 to the receiving device 05. The data encoded by the sending device 01 is farther from the channel transmission medium 03 than the data encoded by the sending processing module 02, and the data decoded by the receiving device 05 is farther from the channel transmission medium 03 than the data decoded by the receiving processing module 04. For example, the data encoded by the sending device 01 is called the data encoded by the outer code, the data encoded by the sending processing module 02 is called the data encoded by the inner code, the data decoded by the receiving device 05 is called the data decoded by the outer code, and the data decoded by the receiving processing module 04 is called the data decoded by the inner code. In a possible implementation manner, the above inner code encoding and / or outer code encoding are both in the form of forward error correction (FEC) encoding, thereby forming a cascaded FEC transmission scheme. For example, Reed-Solomon (RS) codes can be used for outer code encoding, and Hamming codes can be used for inner code encoding. Another example is that RS codes can be used for outer code encoding, and Bose–Chaudhuri–Hocquenghem (BCH) codes can be used for inner code encoding. Still another example is that RS codes can be used for outer code encoding, and Polar codes can be used for inner code encoding. Yet another example is that low density parity check (LDPC) codes can be used for both outer code encoding and inner code encoding.

[0151] It should be noted that the above content is an exemplary description of the application scenario of the data processing method provided by the embodiments of the present application, and does not constitute a limitation on the application scenario of the data processing method. Those of ordinary skill in the art know that with the change of service requirements, its application scenario can be adjusted according to application requirements, and the embodiments of the present application do not list them one by one.

[0152] Figure 4 Several possible scenario diagrams for the sending device and the receiving device to communicate in the embodiments of the present application are shown. As Figure 4 shown in the example of (a), the sending device includes a host-side chip and a non-ordinary optical module, and the receiving device includes a host-side chip and a non-ordinary optical module. As Figure 4As shown in the example (b), the transmitting device includes a host-side chip and a non-ordinary optical module, and the receiving device includes a host-side chip and an ordinary optical module. As Figure 4 As shown in the example (c), the transmitting device includes a host-side chip and an ordinary optical module, and the receiving device includes a host-side chip and a non-ordinary optical module. As Figure 4 As shown in the example (d), the transmitting device includes a host-side chip and an ordinary optical module, and the receiving device includes a host-side chip and an ordinary optical module. Among them, Figure 4 the non-ordinary optical modules shown in each of the examples include, but are not limited to, LPO modules, NPO modules, and CPO modules.

[0153] It should be understood that the transmitting device and the receiving device in the embodiments of the present application are named based on the data flow direction, and do not limit the functions of the devices. For example, the transmitting device may also have the function of receiving, and the receiving device may also have the function of transmitting. The present application does not limit the specific types of the transmitting device and the receiving device. For example, it may be a router, a switch, a computer, etc. Next, the data processing method provided by the embodiments of the present application will be introduced.

[0154] Figure 5 is a schematic flowchart of a data processing method in the embodiments of the present application. As Figure 5 shown, the method includes the following steps.

[0155] 101. The transmitting device obtains the type of the optical module.

[0156] Specifically, the transmitting device includes a host-side chip and an optical module. The host-side chip is connected to the optical module. The optical module includes, but is not limited to, an ordinary optical module, an LPO module, an NPO module, and a CPO module. The host-side chip first needs to obtain the type of the connected optical module, and then adopt a corresponding data processing method based on the type of the optical module. Optionally, obtaining the type of the optical module in the embodiments of the present application includes obtaining the connection method or distance between the host-side chip and the optical module. In a possible scenario, the optical module is connected to the host-side chip in a pluggable manner. For example, the optical module may be an ordinary optical module or an LPO module. A control unit is provided on the circuit board where the host-side chip is located. After the ordinary optical module or the LPO module is connected to the host-side chip, the control unit can detect the type of the optical module and feedback the type of the optical module to the host-side chip. In another possible scenario, the optical module is packaged together with the host-side chip. In this scenario, the host-side chip and the optical module can still be regarded as having a connection relationship. When the host-side chip and the optical engine are packaged using NPO technology, the optical module can be considered to be an NPO optical module. When the host-side chip and the optical engine are packaged using CPO technology, the optical module can be considered to be a CPO optical module. The type of the optical module can be pre-stored in the register of the transmitting device, and the host-side chip can read the type of the optical module from the register.

[0157] It should be noted that in addition to being classified according to the types of ordinary optical modules, LPO modules, NPO modules, and CPO modules, optical modules can also be further classified according to transmission rate, transmission distance, and other methods. For example, optical modules can be classified into 100G optical modules and 400G optical modules based on the transmission rate. The embodiments of the present application are generally applied to the scenario of 100G optical modules, and the 100G optical module has a data transmission rate of 100 gigabits per second (Gbps). For another example, optical modules can be classified into SR (short range), LR (long range), ER (extended range), etc. based on the transmission distance.

[0158] 102. The transmitting device determines the FEC method used for data processing according to the type of the optical module.

[0159] In the embodiments of the present application, the host-side chip needs to perform FEC processing, such as FEC encoding, on the data to be transmitted. Among them, based on the different types of optical modules, the host-side chip will adopt different FEC methods. In a possible scenario, when the host-side chip is connected to an LPO module, an NPO module, or a CPO module, the host-side chip will select the first FEC method. In another possible scenario, when the host-side chip is connected to an ordinary optical module, the host-side chip will select the second FEC method. The differences between the first FEC method and the second FEC method include but are not limited to the interleaving depth of FEC and / or the encoding pattern of FEC, etc. It should be understood that the host-side chip supports both the first FEC method and the second FEC method in hardware, and the host-side chip can flexibly select the FEC method according to the type of the optical module. That is to say, under the condition that the transmission rate, transmission distance, and other conditions remain unchanged, when the optical module connected to the host-side chip only changes from an ordinary optical module to an LPO module, an NPO module, or a CPO module, the host-side chip can change the FEC method, so as to ensure the efficiency and reliability of data transmission in various scenarios without the need to add additional hardware implementation.

[0160] It should be noted that the host-side chip can specifically determine the FEC method to be adopted by reading information from the register. For example, the first FEC method and the second FEC method correspond to different values in the register. In the embodiments of the present application, based on determining the type of the optical module connected to the host-side chip, the transmitting device and the receiving device can configure the values in the register through auto-negotiation or link training, and then the host-side chip selects the FEC method based on the values in the register. In addition, in some possible scenarios, the values in the register can also be manually configured according to the type of the optical module connected to the host-side chip, and then the host-side chip selects the FEC method based on the values in the register.

[0161] 103. The transmitting device and the receiving device perform auto-negotiation or link training.

[0162] After determining the FEC mode adopted by the host-side chip of the transmitting device, the transmitting device will initiate auto-negotiation or link training to the receiving device, so as to inform the receiving device of the FEC mode adopted by the host-side chip at its end. The receiving device processes the received data using the same FEC mode as the transmitting device. In some possible implementation manners, the transmitting device can also initiate auto-negotiation or link training to the receiving device to inform the receiving device of the type of optical module connected to the host-side chip at its end. It should be noted that based on the types of optical modules adopted by the transmitting device and the receiving device, there are various implementation scenarios for the transmitting device and the receiving device to perform auto-negotiation or link training.

[0163] Scenario 1: Taking the (a) example of Figure 4 as an example, both the transmitting device and the receiving device adopt non-ordinary optical modules, and auto-negotiation or link training is performed between the host-side chip of the transmitting device and the host-side chip of the receiving device.

[0164] Scenario 2: Taking the (b) example of Figure 4 as an example, the transmitting device adopts a non-ordinary optical module, and the receiving device adopts an ordinary optical module. Auto-negotiation or link training is performed between the host-side chip of the transmitting device and the ordinary optical module of the receiving device. After the auto-negotiation or link training is completed, the ordinary optical module in the receiving device feeds back the determined information to the host-side chip.

[0165] Scenario 3: Taking the (c) example of Figure 4 as an example, the transmitting device adopts an ordinary optical module, and the receiving device adopts a non-ordinary optical module. Auto-negotiation or link training is performed between the ordinary optical module of the transmitting device and the host-side chip of the receiving device. After the auto-negotiation or link training is completed, the ordinary optical module in the transmitting device feeds back the determined information to the host-side chip.

[0166] Scenario 4: Taking the (d) example of Figure 4 as an example, both the transmitting device and the receiving device adopt ordinary optical modules. Auto-negotiation or link training is performed between the ordinary optical module of the transmitting device and the ordinary optical module of the receiving device. After the auto-negotiation or link training is completed, the ordinary optical module in the transmitting device feeds back the determined information to the host-side chip, and the ordinary optical module in the receiving device feeds back the determined information to the host-side chip.

[0167] Figure 6 is a schematic flowchart of a process for the transmitting device and the receiving device in the embodiment of the present application to perform auto-negotiation or link training. As Figure 6 shown, this process includes the following steps.

[0168] 201. The sending device initiates auto - negotiation or link training to the receiving device.

[0169] On the premise that the sending device determines the FEC mode adopted by the host - side chip, the purpose of the sending device initiating auto - negotiation or link training to the receiving device is to enable the receiving device to also use the same FEC mode for data processing of the received data. It should be understood that in the direction of the sending device sending data to the receiving device, although the sending device and the receiving device use the same FEC mode for data processing, the data processing of the sending device and the receiving device are inverse operations of each other. For example, the sending device interleaves the FEC codeword based on a certain interleaving depth, and the receiving device de - interleaves the FEC codeword based on the same interleaving depth. Another example is that the sending device uses a certain code pattern to perform FEC encoding on the data to be sent, and the receiving device uses the same code pattern to perform FEC decoding on the received data.

[0170] In a possible implementation manner, the sending device specifically initiates auto - negotiation by sending one or more link codewords to the receiving device. For example, the rate of sending the link codeword is 106.25 / X Gbps, where X is an integer greater than or equal to 1. The link codeword includes an indication field, and this indication field is used to indicate that the host - side chip of the receiving device uses the same FEC mode as the sending device to perform data processing on the received data.

[0171] Figure 7 This is a schematic diagram of the format of the link codeword in the embodiments of this application. As Figure 7 shown, the link codeword includes a Base Page and a Next Page, and the indication field can be located in the Base Page and / or the Next Page. Optionally, the indication field can specifically be located in Figure 7 the FEC capacity area of the Base Page shown by the dashed box in. For example, if the indication field is located at D43 in the FEC capacity area, A22 can be modified to F4.

[0172] In another possible implementation manner, the sending device specifically initiates link training by sending a training frame to the receiving device. For example, the rate of sending the training frame is 106.25 Gbps or 103.125 Gbps. The training frame includes an indication field, and this indication field is used to indicate that the host - side chip of the receiving device uses the same FEC mode as the sending device to perform data processing on the received data.

[0173] Figure 8 This is a schematic diagram of the format of the training frame in the embodiments of this application. As Figure 8 shown, there are two possible formats of the training frame. For example, Figure 8The training frame shown in (a) can be used in scenarios with a rate less than 100 Gbps. Figure 8 The training frame shown in (b) can be used in scenarios with a rate greater than or equal to 100 Gbps. Taking Figure 8 the example of (a) as an example, the training frame includes a frame marker area, a coefficient update area, a status report area, and a training pattern area. The indication field can be located in the coefficient update area and / or the status report area. Taking Figure 8 the example of (b) as an example, the indication field can be located in the control field and / or the status field.

[0174] 202. The receiving device determines the FEC method to be used for data processing of the received data.

[0175] In a possible scenario, as shown in the above Figure 4 (a) example and (b) example, the host-side chip in the sending device is connected to a non-ordinary optical module of an LPO module, an NPO module, or a CPO module. The host-side chip of the sending device will select the first FEC method to perform data processing on the data to be sent. Based on the auto-negotiation or link training initiated by the sending device to the receiving device, regardless of the type of optical module connected to the host-side chip in the receiving device, as long as the host-side chip in the receiving device has the ability to support the first FEC method, the receiving device will use the first FEC method to perform data processing on the received data.

[0176] In another possible scenario, as shown in the above Figure 4 (c) example and (d) example, the host-side chip in the sending device is connected to an ordinary optical module. The host-side chip of the sending device will select the second FEC method to perform data processing on the data to be sent. Based on the auto-negotiation or link training initiated by the sending device to the receiving device, regardless of the type of optical module connected to the host-side chip in the receiving device, as long as the host-side chip in the receiving device has the ability to support the second FEC method, the receiving device will use the second FEC method to perform data processing on the received data.

[0177] 203. The receiving device sends a feedback message to the sending device.

[0178] The receiving device indicates successful or failed negotiation by sending a feedback message to the sending device. For example, the feedback message is used to indicate the FEC method selected by the receiving device. If the FEC method selected by the receiving device is the same as that selected by the sending device, it indicates successful negotiation. Or, the feedback message is used to indicate that the receiving device can select the same FEC method as the sending device, indicating successful negotiation. Another example is that the feedback message is used to indicate the FEC method selected by the receiving device. If the FEC method selected by the receiving device is different from that selected by the sending device, it indicates failed negotiation. Or, the feedback message is used to indicate that the receiving device cannot select the same FEC method as the sending device, indicating failed negotiation.

[0179] In a possible implementation, if the sending device initiates self-negotiation by sending a link codeword to the receiving device, the feedback message sent by the receiving device to the sending device adopts the format of the link codeword. For example, specifically, the acknowledgement (ACK) area of the base page in the link codeword can be used to indicate information. In another possible implementation, if the sending device specifically initiates link training by sending a training frame to the receiving device, the feedback message sent by the receiving device to the sending device adopts the format of the training frame.

[0180] It should be understood that the above steps 201 - step 203 are the processes of self-negotiation or link training actively initiated by the sending device. Steps 204 - step 206 are the processes of self-negotiation or link training actively initiated by the receiving device, and the specific implementation methods are similar to steps 201 - step 203, which will not be elaborated here.

[0181] It should be noted that the device that actively initiates self-negotiation or link training usually selects the FEC method for data processing of the data to be sent according to the type of optical module connected to the host-side chip at its own end. However, in actual applications, this selection method is not absolute. For example, if the first FEC method has stronger performance than the second FEC method, if the local device uses a non-ordinary optical module such as an LPO module, an NPO module, or a CPO module, the local device will naturally use the corresponding first FEC method for data processing of the data to be sent. Although the peer device uses an ordinary optical module, but the peer device knows through self-negotiation or link training that the local device has selected the first FEC method for data processing of the data to be sent, the peer device can also select the first FEC method with stronger performance for data processing of the data to be sent. As above Figure 4Taking the example of (b) above, the receiving device uses a common optical module. Under normal circumstances, the receiving device will select the corresponding second FEC method to process the data to be sent. However, during the auto-negotiation or link training with the sending device, if it knows that the sending device selects the first FEC method to process the data to be sent, then the receiving device can also select the first FEC method with stronger performance based on its own capabilities to process the data to be sent. Taking the above Figure 4 Taking the example of (c) above, the sending device uses a common optical module. Under normal circumstances, the sending device will select the corresponding second FEC method to process the data to be sent. However, during the auto-negotiation or link training with the receiving device, if it knows that the receiving device selects the first FEC method to process the data to be sent, then the sending device can also select the first FEC method with stronger performance based on its own capabilities to process the data to be sent. That is to say, on the premise that the host-side chips of both the sending device and the receiving device support the first FEC method with stronger performance, as long as at least one of the sending device and the receiving device uses a non-common optical module such as an LPO module, an NPO module, or a CPO module, the host-side chips of both the sending device and the receiving device can use the first FEC method with stronger performance to process the data to be sent.

[0182] 104. The sending device processes the data to be sent according to the determined FEC method.

[0183] In the first possible scenario, taking the examples of (a) and (b) above Figure 4 as an example, the sending device uses a non-common optical module such as an LPO module, an NPO module, or a CPO module. The host-side chip of the sending device will select the first FEC method to process the data to be sent. The first FEC method includes but is not limited to the interleaving depth of FEC and / or the coding pattern of FEC, etc.

[0184] As an example, the host-side chip uses a multi-codeword interleaving FEC method to process the data to be sent. Figure 9 This is a schematic diagram of a multi-codeword interleaving FEC method in an embodiment of the present application. As Figure 9 shown, the data to be sent can be divided into two paths. One path of data is FEC-encoded by encoder A to obtain codeword A, and the other path of data is FEC-encoded by encoder B to obtain codeword B. Both codeword A and codeword B include multiple symbols. Taking the RS code as an example, one symbol includes 10 bits. Furthermore, codeword A and codeword B are multiplexed and symbol-distributed to obtain multiple data streams. Among them, each data stream includes both symbols from codeword A ( Figure 9 represented by CA in Figure 9The CB in ()). Therefore, Figure 9 The way shown can be understood as a 2-way codeword interleaved FEC method. In addition, the embodiments of the present application can also adopt a 4-way codeword interleaved FEC method or an 8-way codeword interleaved FEC method, etc.

[0185] As another example, the host-side chip performs FEC encoding on the data to be sent using a first FEC code type. Specifically, RS code can be used for encoding. For example, the first FEC code type can be RS(544,514) or RS(528,514), etc. Among them, RS(544,514) indicates that the length of the encoded codeword is 544 symbols, and RS(528,514) indicates that the length of the encoded codeword is 528 symbols. One symbol contains 10 bits.

[0186] In the second possible scenario, taking the (c) example and (d) example above Figure 4 as an example, the host-side chip connected to the ordinary optical module in the sending device will select a second FEC method to process the data to be sent. The second FEC method includes but is not limited to the interleaving depth of FEC and / or the encoding code type of FEC, etc.

[0187] As an example, the host-side chip uses a FEC method without codeword interleaving to process the data to be sent. Figure 10 FIG. is a schematic diagram of a FEC method without codeword interleaving in an embodiment of the present application. Different from Figure 9 the multi-way codeword interleaved FEC method shown, as Figure 10 shown, the data to be sent passes through an encoder for FEC encoding to obtain a codeword. The codeword includes multiple symbols (represented by C0, C1,..., Cn-1 in Figure 10 ). Taking RS code as an example, one symbol includes 10 bits. Furthermore, the codeword is symbol-distributed to obtain multiple data streams. Among them, the symbols in each data stream come from the same codeword, and there is no codeword interleaving. Therefore, Figure 10 the way shown can be understood as a five-codeword interleaved FEC method.

[0188] As another example, the host - side chip uses a second FEC code type to perform FEC encoding on the data to be sent. Specifically, RS code can be used for encoding. For example, the second FEC code type can be RS(544,514) or RS(528,514), etc. It should be understood that in practical applications, the first FEC code type is different from the second FEC code type. For example, if the first FEC code type is RS(544,514), the second FEC code type can be RS(528,514); or if the first FEC code type is RS(528,514), the second FEC code type can be RS(544,514).

[0189] 105. The sending device sends data to the receiving device.

[0190] Specifically, the host - side chip of the sending device processes the data to be sent according to the determined FEC method, and sends the processed data to the optical module. The optical module generates an optical signal based on the received data and sends the optical signal to the receiving device through the optical fiber channel. As an example, the host - side chip of the sending device is connected to a non - ordinary optical module such as an LPO module, an NPO module, or a CPO module. The data processing performed by the host - side chip includes not only outer - code encoding according to the first FEC method but also operations such as inner - code encoding. As another example, the host - side chip of the sending device is connected to an ordinary optical module. The data processing performed by the host - side chip includes outer - code encoding according to the second FEC method, and the ordinary optical module performs operations such as inner - code encoding on the data after outer - code encoding.

[0191] 106. The receiving device processes the received data according to the determined FEC method.

[0192] Specifically, the optical module of the receiving device receives the optical signal from the sending device through the optical fiber channel, performs processing such as photoelectric conversion on the optical signal to obtain data, and then sends the data to the host - side chip of the receiving device. The host - side chip of the receiving device processes the received data according to the determined FEC method. As an example, the host - side chip of the sending device is connected to a non - ordinary optical module such as an LPO module, an NPO module, or a CPO module. The data processing performed by the host - side chip of the receiving device includes outer - code decoding according to the first FEC method, and operations such as inner - code decoding can be performed by the optical module or the host - side chip of the receiving device. As another example, the host - side chip of the sending device is connected to an ordinary optical module. The data processing performed by the host - side chip of the receiving device includes outer - code decoding according to the second FEC method, and operations such as inner - code decoding can be performed by the optical module or the host - side chip of the receiving device.

[0193] The following provides several specific application scenarios for data transmission between the sending device and the receiving device.

[0194] Figure 11 This is a schematic diagram of the first application scenario for data transmission between the transmitting device and the receiving device in the embodiments of this application. As Figure 11 shown, it is a non-breakout scenario, that is, the host-side chip of the transmitting device sends a stream of data to the optical module through one channel. It should be understood that in addition to the one channel in the transmission direction between the host-side chip and the optical module, there is another channel in the receiving direction. Only the channel and the data stream transmission in the transmission direction are shown in the drawings.

[0195] In the direction of the transmitting device sending data to the receiving device, as Figure 11 shown in the examples of (a) and (b), the host-side chip of the transmitting device is connected to a 100G LPO module. The rate at which the host-side chip sends data to the 100G LPO module is 100Gbps. The host-side chip uses RS(544,514) to perform FEC encoding on the data and uses a 2-way codeword interleaving FEC method for data processing. This method can be simply referred to as 2×RS(544,514). Correspondingly, the host-side chip of the receiving device uses the 2×RS(544,514) method to perform data processing on the received data. The data processing performed by the host-side chip of the receiving device can be regarded as the inverse operation of the data processing performed by the host-side chip of the transmitting device.

[0196] In the direction of the receiving device sending data to the transmitting device, as Figure 11 shown in the example of (a), the host-side chip of the receiving device is connected to a 100G LPO module. The host-side chip uses the 2×RS(544,514) method to perform data processing on the data to be sent. Correspondingly, the host-side chip of the transmitting device uses the 2×RS(544,514) method to perform data processing on the received data. That is to say, this is a symmetric scenario where the codeword interleaving depth is the same in both data transmission directions.

[0197] In the direction of the receiving device sending data to the transmitting device, as Figure 11 shown in the example of (b), the host-side chip of the receiving device is connected to a 100G ordinary optical module. The host-side chip uses RS(544,514) to perform FEC encoding on the data and uses a non-codeword interleaving FEC method for data processing. This method can be simply referred to as 1×RS(544,514). Correspondingly, the host-side chip of the transmitting device uses the 1×RS(544,514) method to perform data processing on the received data. That is to say, this is an asymmetric scenario where the codeword interleaving depth is different in both data transmission directions.

[0198] Figure 12This is a schematic diagram of the second application scenario for data transmission between the sending device and the receiving device in the embodiments of this application. As Figure 12 shown, it is a breakout scenario, that is, the host-side chip of the sending device sends multiple data streams to the optical module through multiple channels, and the multiple data streams share one optical module. Taking Figure 12 as an example, the 400GE bandwidth is optically divided into 4 independent 100GE signals. The host-side chip of the sending device is connected to a 400G LPO module. The host-side chip sends 4 data streams to the 400G LPO module through 4 channels respectively. The transmission rate of each data stream is 100Gbps, and the total transmission rate is 400Gbps.

[0199] In the direction of the sending device sending data to the receiving device, the host-side chip of the sending device performs FEC encoding on the data using RS(544,514) and performs data processing using a 2-way codeword interleaved FEC method. This method can be abbreviated as 2×RS(544,514). The host-side chip of the sending device performs data processing on the 4 data streams to be sent using the 2×RS(544,514) method. The 400G LPO module of the sending device is connected to 4 ordinary optical modules of the receiving device through 4 optical fibers respectively, and each ordinary optical module of the receiving device is connected to the corresponding host-side chip. Each host-side chip of the receiving device performs data processing on the received data using the 2×RS(544,514) method. The data processing performed by the host-side chip of the receiving device can be regarded as the inverse operation of the data processing performed by the host-side chip of the sending device.

[0200] In the direction of the receiving device sending data to the sending device, as an example, each host-side chip of the receiving device performs data processing on the data to be sent using the 2×RS(544,514) method. Correspondingly, the host-side chip of the sending device performs data processing on the received data using the 2×RS(544,514) method. As another example, each host-side chip of the receiving device performs data processing on the data to be sent using the 1×RS(544,514) method. Correspondingly, the host-side chip of the sending device performs data processing on the received data using the 1×RS(544,514) method.

[0201] Figure 13 This is a schematic diagram of the third application scenario for data transmission between the sending device and the receiving device in the embodiments of this application. As Figure 13 shown, it is another breakout scenario, different from the scenario shown in Figure 12 shown. Figure 13In the scenario shown, the host - side chip of the sending device can use different FEC methods to process different data streams to be sent. For example, if the host - side chip of the sending device is connected to a 400G LPO module, the 4 Physical Coding Sublayers (PCS) in the host - side chip of the sending device process 4 data streams to be sent respectively, and the data - processing method used by PCS3 is different from that of other PCSs.

[0202] In the direction from the sending device to the receiving device, PCS1, PCS2, and PCS4 all use the 1×RS(544,514) method to process the data to be sent, and PCS3 uses the 2×RS(544,514) method to process the data to be sent. The 400G LPO module can use wavelength - multiplexing to transmit the 4 data streams from the host - side chip through the same optical fiber to the receiving device. The demultiplexer of the receiving device demultiplexes the signals from the optical fiber by wavelength and transmits the 4 wavelength - demultiplexed signals to 4 optical modules of the receiving device respectively. 3 of the optical modules of the receiving device are 100G ordinary optical modules, and these 3 100G ordinary optical modules are respectively used to receive data from PCS1, PCS2, and PCS4. The other 1 optical module of the receiving device is a 100G LPO module, and this 100G LPO module is used to receive data from PCS3. Correspondingly, the 3 host - side chips in the receiving device connected to the 3 100G ordinary optical modules respectively use the 1×RS(544,514) method to process the received data, and the host - side chip in the receiving device connected to the 100G LPO module uses the 2×RS(544,514) method to process the received data.

[0203] In the direction from the receiving device to the sending device, the host - side chip in the receiving device connected to the 100G LPO module uses the 2×RS(544,514) method to process the data to be sent. Correspondingly, PCS3 in the host - side chip of the sending device uses the 2×RS(544,514) method to process the received data. The 3 host - side chips in the receiving device connected to the 3 100G ordinary optical modules respectively use the 1×RS(544,514) method to process the data to be sent. Correspondingly, PCS1, PCS2, and PCS4 in the host - side chip of the sending device use the 1×RS(544,514) method to process the received data.

[0204] It should be noted that the above Figure 12 and Figure 13In the breakout scenarios described above, it is assumed that the host-side chip sends four data streams to the optical module through four channels respectively. In some other possible scenarios, the host-side chip can also send data to the optical module through a different number of channels. For example, the host-side chip sends two data streams to the optical module through two channels. Another example is that the host-side chip sends eight data streams to the optical module through eight channels. Yet another example is that the host-side chip sends sixteen data streams to the optical module through sixteen channels.

[0205] Figure 14 This is a schematic structural diagram of a communication device in an embodiment of the present application. As Figure 14 shown, the communication device includes: a processing unit 301, a transceiver unit 302, and a host-side chip 303. In a possible implementation manner, the communication device is applied to the data sending side. The processing unit 301 is configured to execute the above-mentioned step 101, step 102, and step 205. The transceiver unit 302 is configured to execute the above-mentioned step 105, step 201, and step 206. The host-side chip 303 is configured to execute the above-mentioned step 104. In another possible implementation manner, the communication device is applied to the data receiving side. The processing unit 301 is configured to execute the above-mentioned step 202. The transceiver unit 302 is configured to execute the above-mentioned step 203 and step 204. The host-side chip 303 is configured to execute the above-mentioned step 106. It should be understood that the communication device provided in the embodiments of the present application can also be implemented in other ways. For example, the unit division in the above-mentioned communication device is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system. In addition, each functional unit in the embodiments of the present application can be integrated in a processing unit, or can be individual physical units, or two or more functional units can be integrated in a processing unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0206] Figure 15 This is a schematic structural diagram of a host-side chip in an embodiment of the present application. As Figure 15 shown, the host-side chip includes a processor 401 and an interface circuit 402. It should be understood that the interface circuit 402 can be a transceiver or an input / output interface. The interface circuit 402 is configured to receive signals from other devices outside the host-side chip and transmit them to the processor 401, or send signals from the processor 401 to other devices outside the host-side chip. In a possible implementation manner, the host-side chip is applied to the data sending side. The interface circuit 402 is configured to execute the signal transceiver operations on the data sending side in the embodiments shown in Figure 5 and Figure 6 above. The processor 401 is configured to execute the operations shown in Figure 5 andFigure 6 Other operations of the data sending side in the illustrated embodiment except for signal transceiver operations. In another possible implementation, the host-side chip is applied to the data receiving side, and the interface circuit 402 is used to perform the above-mentioned Figure 5 and Figure 6 signal transceiver operations of the data receiving side in the illustrated embodiment, and the processor 401 is used to perform the above-mentioned Figure 5 and Figure 6 other operations of the data receiving side except for signal transceiver operations in the illustrated embodiment. Optionally, the host-side chip may further include a memory 403, wherein the memory 403 is used to store program instructions and data.

[0207] Figure 16 This is a schematic structural diagram of a sending device in an embodiment of the present application. As Figure 16 shown, the sending device includes a processor 501 and an interface circuit 502. It should be understood that the interface circuit 502 may be a transceiver or an input / output interface. The interface circuit 502 is used to receive signals from other devices outside the sending device and transmit them to the processor 501 or send signals from the processor 501 to other devices outside the sending device. Specifically, the interface circuit 502 is used to perform the sending device signal transceiver operations in the above-mentioned Figure 5 and Figure 6 illustrated embodiments, and the processor 501 is used to perform the other operations of the sending device except for signal transceiver operations in the above-mentioned Figure 5 and Figure 6 illustrated embodiments. Optionally, the sending device may further include a memory 503, wherein the memory 503 is used to store program instructions and data.

[0208] Figure 17 This is a schematic structural diagram of a receiving device in an embodiment of the present application. As Figure 17 shown, the receiving device includes a processor 601 and an interface circuit 602. It should be understood that the interface circuit 602 may be a transceiver or an input / output interface. The interface circuit 602 is used to receive signals from other devices outside the receiving device and transmit them to the processor 601 or send signals from the processor 601 to other devices outside the receiving device. Specifically, the interface circuit 602 is used to perform the receiving device signal transceiver operations in the above-mentioned Figure 5 and Figure 6 illustrated embodiments, and the processor 601 is used to perform the other operations of the receiving device except for signal transceiver operations in the above-mentioned Figure 5 and Figure 6 illustrated embodiments. Optionally, the receiving device may further include a memory 603, wherein the memory 603 is used to store program instructions and data.

[0209] The embodiments of the present application further provide a chip. The chip includes one or more interface circuits, and further integrates a processing circuit for implementing the functions of the aforementioned processor 401, processor 501, or processor 601. As an example, a memory is integrated in the chip. As another example, when no memory is integrated in the chip, it can be connected to an external memory through an interface. The chip can complete the method steps of any one or more of the foregoing embodiments. Alternatively, the chip implements the actions performed by the data processing device in the above embodiments according to the program code stored in the memory.

[0210] The embodiments of the present application further provide a computer-readable storage medium, including programs or instructions, which, when running on a computer, enable the methods executed by the processors 401, 501, or 601 in the method embodiments as described above.

[0211] It should be understood that the processors mentioned in the embodiments of the present application can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor that implements by reading the software code stored in the memory. The memory can exist independently and be connected to the processor, or the memory can also be integrated with the processor.

[0212] As an example, the processor in the embodiments of the present application can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor can be a microprocessor, can also be any conventional processor, and can also be a processing circuit that implements specific functions.

[0213] In an embodiment of the present application, the memory may be a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), a register, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may be located in an ASIC. Additionally, the ASIC may be located in a network device or a terminal device. Of course, the processor and the storage medium may also exist as discrete components in a network device or a terminal device.

[0214] In the above embodiment, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.

[0215] When implemented using hardware, the data processing method provided in the embodiments of the present application may not be implemented by reading software code or instructions. For example, it may be implemented by a CPU, a DSP, an ASIC, an FPGA, other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.

[0216] When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a terminal device, or other programmable devices. The computer program or instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server integrating one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a Digital Versatile Disc (DVD); or it may be a semiconductor medium, such as a solid state disk (SSD).

[0217] Finally, it should be noted that the above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims described above.

Claims

1. A data processing method, characterized in that, Including: Obtain the type of the optical module; Determine the forward error correction (FEC) method for data processing of the data to be transmitted according to the type of the optical module; If the type of the optical module is a linear drive pluggable optical (LPO) module, a near-packaged optical (NPO) module, or a co-packaged optical (CPO) module, the host-side chip processes the data to be transmitted using a first FEC method.

2. The method according to claim 1, wherein The host-side chip processing the data to be transmitted using the first FEC method includes: The host-side chip processes the data to be transmitted using a multi-codeword interleaved FEC method.

3. The method according to claim 2, characterized in that, The multi-interleaved FEC method is a 2-codeword interleaved FEC method, a 4-codeword interleaved FEC method, or an 8-codeword interleaved FEC method.

4. The method according to any one of claims 1 to 3, characterized in that, The host-side chip processing the data to be transmitted using the first FEC method includes: The host-side chip encodes the data to be transmitted using a first FEC code type.

5. The method according to claim 4, characterized in that, The first FEC code type is Reed-Solomon RS(544,514) or RS(528,514).

6. The method according to any one of claims 1 to 5, characterized in that, If the type of the optical module is an LPO module, an NPO module, or a CPO module, the method further includes: Initiate auto-negotiation with the receiving device to instruct the host-side chip of the receiving device to process the received data using the first FEC method.

7. The method according to claim 6, wherein The auto-negotiation with the receiving device includes: Send a link codeword to the receiving device, where the link codeword includes an indication field for instructing the host-side chip of the receiving device to process the received data using the first FEC method.

8. The method according to claim 7, wherein The indication field is located in the base page and / or the additional page of the link codeword.

9. The method according to claim 8, characterized in that, The indication field is located in the FEC capability area of the base page.

10. The method according to any one of claims 7 to 9, characterized in that The rate of sending the link codeword is 106.25 / X gigabits per second (Gbps), where X is an integer greater than or equal to 1.

11. The method according to any one of claims 1 to 5, characterized in that, If the type of the optical module is an LPO module, an NPO module, or a CPO module, the method further includes: Initiate link training with the receiving device to instruct the host-side chip of the receiving device to process the received data using the first FEC method.

12. The method according to claim 11, wherein, The link training with the receiving device includes: Send a training frame to the receiving device, where the training frame includes an indication field for instructing the host-side chip of the receiving device to process the received data using the first FEC method.

13. The method according to claim 12, wherein The indication field is located in the parameter update area, the status report area, the control area, and / or the status area of the training frame.

14. The method according to claim 12 or 13, characterized in that, The rate of sending the training frame is 106.25 Gbps or 103.125 Gbps.

15. The method according to any one of claims 1 to 14, characterized in that The method further includes: Receive auto-negotiation or link training initiated by the receiving device, where the type of the receiving-end optical module connected to the host-side chip of the receiving device is an LPO module, an NPO module, or a CPO module, and the auto-negotiation or link training initiated by the receiving device is used to instruct the host-side chip to process the data to be transmitted using the first FEC method.

16. The method according to any one of claims 1 to 15, characterized in that, The method further includes: If the host - side chip is connected to a general optical module, the host - side chip processes the data to be transmitted using a second FEC method, and the general optical module is not the LPO module, the NPO module, or the CPO module.

17. The method according to claim 16, wherein The host - side chip's processing of the data to be transmitted using the second FEC method includes: The host - side chip processes the data to be transmitted using a FEC method without codeword interleaving.

18. The method according to claim 16 or 17, characterized in that, The host - side chip's processing of the data to be transmitted using the second FEC method includes: The host - side chip encodes the data to be transmitted using a second FEC code pattern.

19. The method according to any one of claims 1 to 18, characterized in that, The host - side chip sends data to the optical module through one channel.

20. The method according to any one of claims 1 to 18, characterized in that, The host - side chip sends N paths of data to the optical module through N channels respectively, where N is an integer greater than 1; The host - side chip's processing of the data to be transmitted using the first FEC method includes: The host - side chip processes a paths of data among the N paths of data to be transmitted using the first FEC method, where 1 ≤ a ≤ N; The method further includes: The host - side chip processes b paths of data among the N paths of data to be transmitted using the second FEC method, where N = a + b.

21. The method according to claim 19 or 20, characterized in that, The channel is a connection unit interface AUI or a common electrical interface CEI.

22. The method according to any one of claims 1 to 21, characterized in that, The method further includes: Receiving c paths of data, where c ≥ 1, which are sent after being processed by the receiving - end host - side chip of the receiving device using the first FEC method; and / or, Receiving d paths of data, where d ≥ 1, which are sent after being processed by the receiving - end host - side chip of the receiving device using the second FEC method.

23. The method according to any one of claims 1 to 22, characterized in that, The rate of each path of data to be transmitted by the host - side chip is 100 Gbps.

24. The method according to claim 1, wherein When the type of the optical module is an LPO module and the type of the receiving - end optical module connected to the receiving - end host - side chip of the receiving device is an LPO module, the method further includes: Receiving the data sent after being processed by the receiving - end host - side chip using the first FEC method; Or, When the type of the optical module is an LPO module and the type of the receiving - end optical module connected to the receiving - end host - side chip of the receiving device is a general optical module, the method further includes: Receiving the data sent after being processed by the receiving - end host - side chip using the second FEC method.

25. The method according to claim 1, characterized in that, The host - side chip sends N paths of data to the optical module through N channels respectively. The type of the optical module is an LPO module, and the N channels are CEIs, where N = 2, 4, 8, or 16; The host - side chip's processing of the data to be transmitted using the first FEC method includes: The host - side chip processes the N paths of data to be transmitted using the first FEC method.

26. The method according to claim 25, characterized in that, When the receiving device includes N receiving - end host - side chips and the type of the receiving - end optical module connected to each receiving - end host - side chip is an LPO module, the method further includes: Receiving N paths of data respectively sent after being processed by the N receiving - end host - side chips using the first FEC method; Or, The receiving device includes N host-side chips on the receiving end, and the type of receiving optical module connected to each host-side chip on the receiving end is a common optical module. The method further includes: Receiving N paths of data respectively sent after being processed by the N host-side chips on the receiving end using the second FEC method.

27. The method according to claim 1, wherein The host-side chips respectively send the N paths of data to the optical modules through N channels, and the type of the optical module is an LPO module, where N = 2, 4, 8, or 16; The host-side chips perform data processing on the data to be sent using the first FEC method, including: The host-side chips perform data processing on M paths of the N paths of data to be sent using the first FEC method, where 1 ≤ M < N; The method further includes: The host-side chips perform data processing on the N - M paths of the N paths of data to be sent using the second FEC method.

28. The method according to claim 27, wherein The receiving device includes N host-side chips on the receiving end, and the type of receiving optical module connected to M host-side chips on the receiving end is an LPO module, and the type of receiving optical module connected to N - M host-side chips on the receiving end is a common optical module. The method further includes: Receiving M paths of data respectively sent after being processed by the M host-side chips on the receiving end using the first FEC method; Receiving N - M paths of data respectively sent after being processed by the N - M host-side chips on the receiving end using the second FEC method.

29. The method according to any one of claims 25 to 28, characterized in that, The transmission rate of each of the N channels is 100 Gbps.

30. A data processing method, characterized in that Including: Receiving the auto-negotiation or link training initiated by the sending device; Determining the forward error correction (FEC) method for the host-side chips to process the received data according to the auto-negotiation or the link training; Sending a feedback message to the sending device, where the feedback message is used to indicate the FEC method.

31. The method according to claim 30, wherein Receiving the auto-negotiation initiated by the sending device includes: Receiving a first link codeword sent by the sending device, where the first link codeword includes a first indication field; Determining the FEC method for the host-side chips to process the received data according to the auto-negotiation includes: Determining the FEC method according to the first indication field.

32. The method according to claim 31, wherein The first indication field is located in the base page and / or the additional page of the first link codeword.

33. The method according to claim 32, wherein The first indication field is located in the FEC capability area of the base page of the first link codeword.

34. The method according to any one of claims 31 to 33, characterized in that, Sending a feedback message to the sending device includes: Sending a second link codeword to the sending device, where the second link codeword includes a second indication field, and the second indication field is used to indicate the FEC method.

35. The method according to claim 34, wherein The second indication field is located in the base page and / or the additional page of the second link codeword.

36. The method according to claim 35, characterized in that, The second indication field is located in the acknowledgement (ACK) area of the base page of the second link codeword, and / or, the second indication field is located in the ACK area of the additional page of the second link codeword.

37. The method according to any one of claims 31 to 36, characterized in that, The rate of sending the first link codeword is 106.25 / X gigabits per second (Gbps), where X is an integer greater than or equal to 1.

38. The method according to claim 30, wherein Receiving the link training initiated by the sending device includes: Receiving a first training frame sent by the sending device, where the first training frame includes a third indication field; Determining the FEC method for the host - side chip to process the received data according to the link training includes: Determining the FEC method according to the third indication field.

39. The method according to claim 38, wherein The third indication field is located in the parameter update area, status reporting area, control area, and / or status area of the first training frame.

40. The method according to claim 38 or 39, characterized in that, Sending a feedback message to the sending device includes: Sending a second training frame to the sending device, where the second training frame includes a fourth indication field for indicating the FEC method.

41. The method according to any one of claims 38 to 40, characterized in that, The rate of sending the first training frame is 106.25 Gbps or 103.125 Gbps.

42. The method according to any one of claims 30 to 41, characterized in that, If the type of the optical module connected to the transmitting - end host - side chip in the sending device is a linear - drive pluggable optical LPO module, near - packaged optical NPO module, or co - packaged optical CPO module, the FEC method is the first FEC method; If the type of the optical module connected to the transmitting - end host - side chip in the sending device is a common optical module, the FEC method is the second FEC method.

43. The method according to any one of claims 30 to 42, characterized in that, The method further includes: Initiating auto - negotiation or link training to the sending device to indicate the FEC method for the transmitting - end host - side chip of the sending device to process the received data.

44. The method according to claim 43, characterized in that, If the type of the optical module connected to the host - side chip is an LPO module, NPO module, or CPO module, the auto - negotiation or link training initiated to the sending device is used to indicate that the transmitting - end host - side chip processes the received data using the first FEC method; If the type of the optical module connected to the host - side chip is a common optical module, the auto - negotiation or link training initiated to the sending device is used to indicate that the transmitting - end host - side chip processes the received data using the second FEC method.

45. The method according to claim 42 or 44, characterized in that, The first FEC method includes at least one of a FEC method with multi - path codeword de - interleaving and a decoding method using the first FEC code pattern, and the second FEC method includes at least one of a FEC method without codeword de - interleaving and a decoding method using the second FEC code pattern.

46. A communication device, characterized in that, Includes: A processing unit and a host - side chip; The processing unit is configured to: obtain the type of the optical module; Determine the forward error correction FEC method for processing the data to be sent according to the type of the optical module; If the type of the optical module is a linear - drive pluggable optical LPO module, near - packaged optical NPO module, or co - packaged optical CPO module, the host - side chip is configured to: process the data to be sent using the first FEC method.

47. A communication device, characterized in that, Includes: A transceiver unit, a processing unit, and a host - side chip; The transceiver unit is configured to: receive the auto - negotiation or link training initiated by the sending device; The processing unit is configured to: determine the forward error correction FEC method for the host - side chip to process the received data according to the auto - negotiation or the link training; The transceiver unit is configured to: send a feedback message to the sending device, where the feedback message is used to indicate the FEC method.

48. A chip, characterized in that, The chip includes a processor, and the processor is configured to execute the method according to any one of claims 1 to 45.

49. A host-side chip, characterized in that, The host-side chip includes a processor and an interface circuit. The interface circuit is used for receiving and sending signals. The processor is used for executing the method according to any one of claims 1 to 45.

50. A transmitting device, characterized in that, The sending device includes a processor and an interface circuit. The interface circuit is used for receiving and sending signals. The processor is used for executing the method according to any one of claims 1 to 29.

51. A receiving device, characterized in that, The receiving device includes a processor and an interface circuit. The interface circuit is used for receiving and sending signals. The processor is used for executing the method according to any one of claims 30 to 45.

52. A communication system, characterized in that, Comprising: A receiving device and a sending device according to claim 50.

53. A communication system, characterized in that, Comprising: A sending device and a receiving device according to claim 51.

54. A computer-readable storage medium, characterized in that, Instructions are stored on the computer-readable storage medium. When the instructions are executed by a computer, the method according to any one of claims 1 to 45 is implemented.

Citation Information

Cited By

  • Data processing method, apparatus, and system

    WO2025152776A1