Data transmission method, apparatus, device and system, and readable storage medium

By using concatenated coding and interleaving, the problems of channel loss and noise limitation at high data rates are solved, achieving data transmission with higher coding gain and lower latency, thus improving data transmission quality and efficiency.

CN119051801AActive Publication Date: 2024-11-29HUAWEI TECH CO LTD

Patent Information

Application Number
CN202411075047.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-08-11
Filing Date
2021-09-01
Publication Date
2024-11-29
Estimated Expiration
2041-09-01

AI Technical Summary

Technical Problem

As data transmission rates increase, channel loss and noise limit the rate and distance of data transmission. Existing forward error correction codes (FEC) require more parity bits in demanding scenarios, leading to increased bandwidth and latency issues.

Method used

The concatenated coding method is adopted. The data of the first FEC code pattern is obtained through the first module and then encoded by the second FEC code pattern. Combined with interleaving processing, the correlation of error bits within the codeword is eliminated, thereby improving the error correction performance.

Benefits of technology

Effective error correction in channels with high bit error rates improves data transmission quality and efficiency, simplifies the implementation process, and reduces latency and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119051801A_ABST
    Figure CN119051801A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data transmission method, device, equipment and system and a readable storage medium. The data transmission method comprises the steps that a first module obtains first data, the first data is data which is coded by adopting a first FEC code pattern and is subjected to first processing, and the first processing comprises interleaving processing; the first module encodes the first data according to a second FEC code pattern to obtain a plurality of second code words; the first module performs second processing on the plurality of second code words to obtain second data; the first module transmits the second data. According to the method, the transmitted data can have higher coding gain through cascade coding, effective error correction can be performed on the data with error codes when the data is transmitted in a channel with the error codes easily occurring, and due to the fact that the first data is the data obtained through interleaving processing, error bit correlation in the code words corrected by the second FEC code can be eliminated, and the error correction efficiency is improved. The error correction performance is improved, and the data transmission quality is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202111022657.4, and the original application date is September 1, 2021. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a method, apparatus, device, system and readable storage medium for data transmission. Background Art

[0003] As data transmission rates increase, channel loss and noise limit the rate and distance of data transmission. Forward error correction (FEC) is a data encoding method that can provide check bits for the transmitted data, improve the data transmission rate and transmission distance in the channel, and has been increasingly widely used. During the data transmission process, the transmitter encodes the original data using a specific FEC code type and sends the encoded data to the receiver. The receiver decodes the received data using the same FEC code type to obtain the original data. Summary of the invention

[0004] The present application proposes a data transmission method, apparatus, device, system and readable storage medium for improving the quality of data transmission.

[0005] In a first aspect, a method for data transmission is provided, the method comprising: a first module acquires first data, the first data is data encoded using a first forward error correction code (FEC) code type and subjected to a first processing, the first processing comprising an interleaving process; the first module encodes the first data according to a second FEC code type to obtain a plurality of second code words; the first module performs a second processing on the plurality of second code words to obtain second data; and the first module transmits the second data.

[0006] This method can make the transmitted data have a higher coding gain through cascade coding. When transmitting in a channel prone to bit errors, it can effectively correct the data with bit errors. Moreover, since the first data is data obtained through interleaving processing, the correlation of erroneous bits in the codeword after the second FEC code correction can be eliminated, thereby improving the error correction performance and further improving the quality of data transmission.

[0007] In a possible implementation, the second processing includes inserting at least one of a training sequence and a pilot symbol required by the coherent link. By inserting at least one of a training sequence and a pilot symbol required by the coherent link, the method can be applied to the coherent link.

[0008] In a possible implementation manner, at least one of the first processing and the second processing further includes inserting data for adjusting the frequency point. By inserting the data for adjusting the frequency point, the frequency point of the processed data can meet the requirements.

[0009] In a possible implementation, the first module obtains the first data, including: the first module receives a plurality of first sub-data sent by the second module, the plurality of first sub-data being data encoded by a first FEC code type and distributed through a physical medium access sublayer PMA; the first module aligns the plurality of first sub-data to obtain a plurality of first code words; the first module interleaves the plurality of first code words to obtain the first data. By interleaving the plurality of first code words, the correlation of error bits in the code words subsequently encoded by the second FEC code type can be eliminated, thereby improving the error correction performance.

[0010] In a possible implementation, the first module obtains the first data, including: the first module receives a plurality of first sub-data sent by the second module, the plurality of first sub-data being data encoded by the first FEC code type and being interleaved and distributed by the physical medium access sublayer PMA; the first module aligns the plurality of first sub-data to obtain a plurality of first code words; the first module interleaves the plurality of first code words to obtain the first data. When the first sub-data are interleaved, the plurality of first code words are interleaved subsequently, so that the correlation of error bits in the code words encoded by the second FEC code type can be further eliminated, thereby improving the error correction performance.

[0011] In a possible implementation, the first module aligns the multiple first sub-data to obtain multiple first codewords, including: the first module aligns the multiple first sub-data, deinterleaves the aligned data, and obtains multiple first codewords according to the deinterleaving result; or the first module aligns the multiple first sub-data and uses the aligned data as the multiple first codewords. Directly using the aligned data as the multiple first codewords without deinterleaving can increase the data transmission speed.

[0012] In a possible implementation manner, the first module obtains the first data, including: the first module receives a plurality of first sub-data sent by the second module, the plurality of first sub-data being data encoded by a first FEC code type and being interleaved and distributed by a physical medium access sublayer PMA; the first module aligns the plurality of first sub-data to obtain the first data. Since the plurality of first sub-data are data encoded by a first FEC code type and being interleaved and distributed by a PMA, aligning the plurality of first sub-data to obtain the first data can further save latency and power consumption.

[0013] In a possible implementation, the first module is located in a first chip, the second module is located in a second chip, and the receiving of multiple first sub-data sent by the second module includes: the first module receives multiple first sub-data sent by the second module through multiple channels of an accessory unit interface AUI.

[0014] In a possible implementation, the first module is located in the first chip, and the first module obtains the first data, including: the first module receives multiple first sub-data sent by the second module through a channel of an accessory unit interface AUI, the second module is located in the second chip, the multiple first sub-data are data encoded by a first FEC code type and distributed through a physical medium access sublayer PMA, or the multiple first sub-data are data encoded by a first FEC code type and are interleaved and distributed by a physical medium access sublayer PMA; the first module performs alignment mark AM locking on the multiple first sub-data to obtain multiple first codewords; the first module performs interleaving on the multiple first codewords to obtain the first data.

[0015] In a possible implementation, the multiple first sub-data are data encoded using a first FEC code type and are interleaved and distributed by a physical medium access sublayer PMA, and the first module performs alignment mark AM locking on the multiple first sub-data to obtain multiple first code words, including: the first module performs AM locking on the multiple first sub-data, deinterleaving the AM-locked data, and obtaining multiple first code words according to the deinterleaving result; or, the first module performs AM locking on the multiple first sub-data, and uses the AM-locked data as the multiple first code words.

[0016] In a possible implementation, the first module is located in the first chip, and the first module obtains the first data, including: the first module receives multiple first sub-data sent by the second module through a channel of an accessory unit interface AUI, the second module is located in the second chip, and the multiple first sub-data are data encoded with a first FEC code type and interleaved and distributed by a physical medium access sublayer PMA; the first module performs an alignment mark AM lock on the multiple first sub-data, and uses the AM-locked data as the first data.

[0017] In a possible implementation, the first module performs a second processing on the multiple second codewords to obtain second data, including: the first module performs an interleaving process on the multiple second codewords, groups the interleaving results according to the symbols or at least one bit required for data modulation, and distributes the grouped data to corresponding data channels; and obtains the second data based on the data in each data channel.

[0018] In a possible implementation, the first module performs a second processing on the multiple second code words to obtain second data, including: the first module groups the multiple second code words according to the symbols or at least one bit required for data modulation, and distributes the grouped data to corresponding data channels; and obtains the second data based on the data in each data channel.

[0019] In a possible implementation, obtaining the second data based on the data in each data channel includes: inserting the training sequence and pilot symbols required for the coherent link into the data in each data channel to obtain processed data, and inserting data for adjusting the frequency into the processed data to obtain the second data.

[0020] In a possible implementation, obtaining the second data based on the data in each data channel includes: inserting data for adjusting the frequency into the data in each data channel to obtain processed data, and inserting a training sequence and pilot symbols required for a coherent link into the processed data to obtain the second data.

[0021] In a possible implementation, the interleaving processing of the multiple first codewords includes: directly interleaving the multiple first codewords, where the number of interleaved codewords is the number of codewords participating in the interleaving; or, staggered interleaving of the multiple first codewords at a reference interval, where the number of interleaved codewords is the number of codewords participating in the interleaving, and the reference interval is the number of code blocks staggered between two codewords; or, convolutionally interleaving the multiple first codewords, where the number of interleaved codewords is the number of codewords participating in the interleaving.

[0022] In a possible implementation, the interleaving processing of the multiple second codewords includes: interleaving second codewords from the same encoder among the multiple second codewords; or, interleaving multiple second codewords from multiple encoders among the multiple second codewords; or, interleaving second codewords from the same encoder among the multiple second codewords, and again interleaving multiple data streams from multiple encoders obtained after interleaving.

[0023] In a possible implementation, the first module encodes the first data according to a second FEC code type to obtain multiple second code words, including: the first module distributes the first data to obtain multiple second sub-data, and the first module encodes the multiple second sub-data respectively according to the second FEC code type to obtain multiple second code words.

[0024] In a possible implementation, the first module distributes the first data to obtain multiple second sub-data, including: the first module distributes the first data through a physical coding sublayer PCS channel to obtain multiple second sub-data; or, the first module distributes the first data through a physical medium access sublayer PMA to obtain multiple second sub-data.

[0025] In a possible implementation manner, the first module transmits the second data, including: the first module distributes the second data to obtain a plurality of third sub-data, and sends the plurality of third sub-data through a plurality of logical channels.

[0026] In a second aspect, a method for data transmission is provided, the method comprising: a third module acquires second data, the second data is data obtained by encoding first data using a second forward error correction code FEC code type and performing a second processing, the first data is data encoded using a first FEC code type and subjected to a first processing, the first processing comprising an interleaving process; the third module decodes the second data according to the second FEC code type to obtain decoded data.

[0027] In a possible implementation manner, the third module acquires the second data, including: the third module receives a plurality of third sub-data, and restores the second data based on the plurality of third sub-data.

[0028] In a third aspect, a data transmission device is provided, the device is applied to a first module, and the device includes:

[0029] An acquiring unit, configured to acquire first data, wherein the first data is data encoded using a first forward error correction code (FEC) pattern and subjected to a first process, wherein the first process includes an interleaving process;

[0030] an encoding unit, configured to encode the first data according to a second FEC code type to obtain a plurality of second code words;

[0031] A processing unit, configured to perform a second process on the plurality of code words to obtain second data;

[0032] A transmission unit, configured to transmit the second data.

[0033] In a possible implementation manner, the second processing includes inserting at least one of a training sequence and a pilot symbol required by a coherent link.

[0034] In a possible implementation manner, at least one of the first processing and the second processing further includes inserting data for adjusting the frequency point.

[0035] In a possible implementation, the acquisition unit is used to receive multiple first sub-data sent by the second module, where the multiple first sub-data are data encoded using a first FEC code type and distributed through a physical medium access sublayer PMA; align the multiple first sub-data to obtain multiple first codewords; and interleave the multiple first codewords to obtain the first data.

[0036] In a possible implementation, the acquisition unit is used to receive multiple first sub-data sent by the second module, where the multiple first sub-data are data encoded using a first FEC code type and are interleaved and distributed by a physical medium access sublayer PMA; align the multiple first sub-data to obtain multiple first codewords; and interleave the multiple first codewords to obtain the first data.

[0037] In a possible implementation, the acquisition unit is used to align the multiple first sub-data, deinterleave the aligned data, and obtain multiple first codewords according to the deinterleaving result; or, align the multiple first sub-data and use the aligned data as the multiple first codewords.

[0038] In a possible implementation, the acquisition unit is used to receive multiple first sub-data sent by the second module, where the multiple first sub-data are data encoded using a first FEC code type and are interleaved and distributed by a physical medium access sublayer PMA; and the multiple first sub-data are aligning to obtain the first data.

[0039] In a possible implementation, the first module is located in a first chip, the second module is located in a second chip, and the acquisition unit is used to receive a plurality of first sub-data sent by the second module through a plurality of channels of an accessory unit interface AUI.

[0040] In a possible implementation, the first module is located in the first chip, the acquisition unit is used to receive multiple first sub-data sent by the second module through a channel of an accessory unit interface AUI, the second module is located in the second chip, the multiple first sub-data are data encoded with a first FEC code type and distributed through a physical medium access sublayer PMA, or the multiple first sub-data are data encoded with a first FEC code type and interleaved and distributed by a physical medium access sublayer PMA; the multiple first sub-data are locked with an alignment flag AM to obtain multiple first codewords; the multiple first codewords are interleaved to obtain the first data.

[0041] In a possible implementation, the multiple first sub-data are data encoded using a first FEC code type and are interleaved and distributed by a physical medium access sublayer PMA. The acquisition unit is used to perform AM locking on the multiple first sub-data, deinterleave the AM-locked data, and obtain multiple first code words based on the deinterleaving result; or, perform AM locking on the multiple first sub-data, and use the AM-locked data as the multiple first code words.

[0042] In a possible implementation, the first module is located in the first chip, and the acquisition unit is used to receive multiple first sub-data sent by the second module through a channel of an accessory unit interface AUI, the second module is located in the second chip, and the multiple first sub-data are data encoded with a first FEC code type and interleaved and distributed by a physical medium access sublayer PMA; the alignment mark AM is locked for the multiple first sub-data, and the data after AM locking is used as the first data.

[0043] In a possible implementation, the processing unit is used to perform interleaving processing on the multiple second codewords, group the interleaving results according to the symbols or at least one bit required for data modulation, and distribute the grouped data to corresponding data channels; and obtain the second data based on the data in each data channel.

[0044] In a possible implementation, the processing unit is configured to group the multiple second codewords according to symbols or at least one bit required for data modulation, distribute the grouped data to corresponding data channels, and obtain the second data based on the data in each data channel.

[0045] In a possible implementation, the processing unit is used to insert the training sequence and pilot symbol required by the coherent link into the data in each data channel to obtain processed data, and insert data for adjusting the frequency into the processed data to obtain second data.

[0046] In a possible implementation, the processing unit is used to insert data for adjusting the frequency into the data in each data channel to obtain processed data, and insert a training sequence and pilot symbol required for a coherent link into the processed data to obtain second data.

[0047] In a possible implementation, the acquisition unit is used to directly interleave the multiple first codewords, and the number of interleaved codewords is the number of codewords participating in the interleaving; or, staggered interleaving is performed on the multiple first codewords at a reference interval, and the number of interleaved codewords is the number of codewords participating in the interleaving, and the reference interval is the number of code blocks staggered between two codewords; or, convolution interleaving is performed on the multiple first codewords, and the number of interleaved codewords is the number of codewords participating in the interleaving.

[0048] In one possible implementation, the processing unit is configured to interleave second codewords from the same encoder among the multiple second codewords; or, interleave multiple second codewords from multiple encoders among the multiple second codewords; or, interleave second codewords from the same encoder among the multiple second codewords, and interleave multiple data streams from multiple encoders obtained after interleaving again.

[0049] In a possible implementation manner, the encoding unit is configured to distribute the first data to obtain a plurality of second sub-data, and encode the plurality of second sub-data respectively according to the second FEC code type to obtain a plurality of second code words.

[0050] In a possible implementation, the encoding unit is configured to distribute the first data through a physical coding sublayer PCS channel to obtain multiple second sub-data; or distribute the first data through a physical medium access sublayer PMA to obtain multiple second sub-data.

[0051] In a possible implementation, the transmission unit is configured to distribute the second data to obtain a plurality of third sub-data, and send the plurality of third sub-data through a plurality of logical channels.

[0052] In a fourth aspect, a data transmission device is provided, the device is applied to the third module, and the device includes:

[0053] an acquiring unit, configured to acquire second data, wherein the second data is data obtained by encoding the first data using a second forward error correction code FEC code type and performing a second process, wherein the first data is data encoded using a first FEC code type and subjected to a first process, wherein the first process includes an interleaving process;

[0054] A decoding unit is used to decode the second data according to the second FEC code type to obtain decoded data.

[0055] In a possible implementation manner, the acquisition unit is configured to receive a plurality of third sub-data, and restore the second data based on the plurality of third sub-data.

[0056] In a fifth aspect, a device for data transmission is provided, the device comprising: a processor, the processor being coupled to a memory, the memory storing at least one program instruction or code, the at least one program instruction or code being loaded and executed by the processor, so that the device implements a method for data transmission as described in any one of the first aspect or the second aspect.

[0057] In a sixth aspect, a system for data transmission is provided, the system comprising: a first data transmission device for executing the first aspect or any method described in the first aspect, and a second data transmission device for executing the second aspect or any method described in the second aspect.

[0058] In the seventh aspect, a computer-readable storage medium is provided, which stores at least one program instruction or code. When the program instruction or code is loaded and executed by a processor, the computer implements the method for data transmission as described in any one of the first aspect or the second aspect.

[0059] Another communication device is provided, the device comprising: a communication interface, a memory and a processor. The memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control the communication interface to receive data and control the communication interface to send data, and when the processor executes the instructions stored in the memory, the processor executes the method in the first aspect or any possible implementation of the first aspect, or executes the method in the second aspect or any possible implementation of the second aspect.

[0060] As an exemplary embodiment, the number of the processors is one or more, and the number of the memories is one or more.

[0061] As an exemplary embodiment, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

[0062] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips respectively. The embodiments of the present application do not limit the type of memory and the setting method of the memory and the processor.

[0063] A computer program (product) is provided, the computer program (product) comprising: a computer program code, when the computer program code is executed by a computer, the computer is enabled to execute the methods in the above aspects.

[0064] A chip is provided, comprising a processor, for calling and executing instructions stored in a memory from the memory, so that a device equipped with the chip executes the methods in the above aspects.

[0065] Another chip is provided, comprising: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, the processor is used to execute the code in the memory, and when the code is executed, the processor is used to execute the methods in the above aspects.

[0066] A device is provided, comprising a chip as described in any one of the above solutions.

[0067] A device is provided, comprising the first chip described in any one of the above solutions, and / or the third chip described in any one of the above solutions. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 It is a schematic diagram of an implementation scenario of a data transmission method provided in an embodiment of the present application;

[0069] Figure 2 This is a flow chart of a method for data transmission provided by an embodiment of the present application;

[0070] Figure 3 It is a schematic diagram of an interleaving process provided by an embodiment of the present application;

[0071] Figure 4 is another schematic diagram of an interleaving process provided by an embodiment of the present application;

[0072] Figure 5 It is a schematic diagram of data transmission provided by an embodiment of the present application;

[0073] Figure 6 is another schematic diagram of an interleaving process provided by an embodiment of the present application;

[0074] Figure 7 is another schematic diagram of an interleaving process provided by an embodiment of the present application;

[0075] Figure 8 is another schematic diagram of an interleaving process provided by an embodiment of the present application;

[0076] Fig. 9 It is a structural diagram of a data processing system provided in an embodiment of the present application;

[0077] Fig.10 is another schematic diagram of an interleaving process provided by an embodiment of the present application;

[0078] Fig.11is another schematic diagram of an interleaving process provided by an embodiment of the present application;

[0079] Fig.12 It is a schematic diagram of a data processing process provided by an embodiment of the present application;

[0080] Fig.13 It is a schematic diagram of an implementation environment of an application scenario provided by an embodiment of the present application;

[0081] Fig.14 It is a schematic diagram of an implementation environment of another application scenario provided by an embodiment of the present application;

[0082] Fig.15 It is a schematic diagram of an implementation environment of another application scenario provided by an embodiment of the present application;

[0083] Fig.16 It is a schematic diagram of an implementation environment of another application scenario provided by an embodiment of the present application;

[0084] Fig.17 It is a schematic diagram of an implementation environment of another application scenario provided by an embodiment of the present application;

[0085] Fig.18 It is a schematic diagram of an implementation environment of another application scenario provided by an embodiment of the present application;

[0086] Fig.19 It is a schematic diagram of an implementation environment of another application scenario provided by an embodiment of the present application;

[0087] Fig. 20 is a flow chart of another method for data transmission provided by an embodiment of the present application;

[0088] Fig.21 It is a structural schematic diagram of a data transmission device provided in an embodiment of the present application;

[0089] Fig. 22 is a schematic diagram of the structure of another data transmission device provided in an embodiment of the present application;

[0090] Fig.23 It is a structural diagram of another data transmission device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0091] The terms used in the implementation mode of the present application are only used to explain the embodiments of the present application, and are not intended to limit the present application. The embodiments of the present invention are described below in conjunction with the accompanying drawings.

[0092] In the field of communication technology, as the data transmission rate increases, the loss and noise of the channel limit the rate and distance of data transmission. The emergence of FEC provides error correction protection for the data in transmission, reduces the bit error rate during data transmission, and thus can increase the data transmission rate and transmission distance in the channel. However, as the data transmission rate continues to increase, the transmission distance continues to increase, and the requirements for FEC are getting higher and higher. At the same time, stronger FEC often requires more check bits, so that the bandwidth required for data is higher. Therefore, for scenarios with increased link rates and more challenging channels, FEC with higher coding gain may be required. For example, for Ethernet interfaces of 800 gigabit Ethernet (GE) / 1.6 terabit Ethernet (TE), or 200G 4-level pulse amplitude modulation (PAM4) optical links. Higher-speed transmission often faces more stringent channel and bit error rate requirements, and stronger FEC can keep the bit error rate after correction at a good level after the bit error rate before correction increases.

[0093] When the transmission distance is shorter, the proportion of path delay in the overall transmission delay is lower, and the proportion of delay caused by FEC is also higher, becoming a limiting factor of system delay. For example, if the fiber delay is about 50μs at a distance of 10km, the FEC delay of 1μs is only 2% of the path delay, but if the fiber delay is 5μs at a distance of 1km, the FEC delay of 1μs will be 20% of the path delay. As the distance is further shortened, this ratio will continue to increase, which is obviously unacceptable.

[0094] In this regard, an embodiment of the present application provides a method for data transmission. The method is based on a first module for transmitting data, which encodes the first data encoded by the first FEC code type again through the second FEC code type to obtain the second data of cascade coding, so that the second data has a higher coding gain. When transmitted in a channel prone to code errors, the data with code errors can be effectively corrected, thereby improving the quality of data transmission. Secondly, since the second data is data directly encoded on the basis of the first data, the implementation process of the method is relatively simple, which improves the efficiency of data transmission. Furthermore, since the first data is data obtained through interleaving processing, the correlation of error bits in the codeword after the second FEC code correction can be eliminated, thereby improving the error correction performance and further improving the quality of data transmission.

[0095] The method of the embodiment of the present application can be applied to the current Ethernet interface or other scenarios where data needs to be transmitted. For example, coherent optics often have longer burst errors and higher bit error rates (BER). The method provided by the embodiment of the present application can be used for low-latency cascade FEC of coherent links. Figure 1 Taking the implementation scenario shown in the figure as an example, the implementation scenario includes multiple modules, and each module can exchange information to achieve data transmission. Figure 1 As shown, data can be transmitted between the first module 101 and the second module 102, and between the first module 101 and the third module 103. Figure 1 The implementation scenario shown may include N modules, where N is a positive integer greater than or equal to 2. Figure 1 In the example, only three modules are used for illustration. In addition, each module may be located in the same chip or in different chips.

[0096] Combination Figure 1 In the implementation scenario shown, the data transmission method provided by the embodiment of the present application is as follows Figure 2 As shown, including but not limited to steps 201 to 204.

[0097] 201. A first module obtains first data, where the first data is data encoded using a first FEC code type and subjected to a first process, where the first process includes an interleaving process.

[0098] The method provided in the embodiment of the present application adopts a cascade coding method, and the first data encoded by the first FEC code type is encoded again by the second FEC code type through the first module to obtain the cascade coded second data. Since the correlation of the error bits in the codeword after the second FEC code type is subsequently encoded can be eliminated through the interleaving process, thereby improving the error correction performance, the first data is the data encoded by the first FEC code type and subjected to the first processing, and the first processing includes the interleaving process.

[0099] The embodiment of the present application does not limit the manner in which the first module obtains the first data. In a possible implementation, the first module and the second module can transmit data, the first module receives multiple first sub-data sent by the second module, and obtains the first data based on the first sub-data. Wherein, the first sub-data is data encoded using a first FEC code type. The embodiment of the present application does not limit the first FEC code type. Exemplarily, the first FEC code type is any one of a Reed-Solomon (RS) code, a Bose-Chaudhuri-Hocquenghem (BCH) code, a Fire code, a turbo code, a turbo product code (TPC), a staircase code, and a low-density parity-check (LDPC) code.

[0100] In addition to being encoded using the first FEC code type, the first sub-data is also processed in other ways. The embodiment of the present application does not limit the processing methods of other processing of the first sub-data except for the first FEC code type encoding. For example, the first sub-data is data encoded using the first FEC code type and distributed through the physical medium attachment sublayer (PMA), or the first sub-data is data encoded using the first FEC code type and is interleaved and distributed by PMA. Depending on the different situations of the first sub-data, the first module obtains the first data in ways that include but are not limited to the following four.

[0101] Method 1 for obtaining first data, in which a first module obtains first data, includes: the first module receives multiple first sub-data sent by the second module, where the multiple first sub-data are data encoded using a first FEC code type and distributed through PMA; the first module aligns the multiple first sub-data to obtain multiple first codewords; the first module interleaves the multiple first codewords to obtain first data.

[0102] In the first method of acquiring the first data, the first module is located in the first chip, the second module is located in the second chip, and the first module receives multiple first sub-data sent by the second module, including but not limited to the first module receiving multiple first sub-data sent by the second module through multiple channels of an attachment unit interface (AUI). Exemplarily, one first sub-data is sent through one AUI channel.

[0103] Among them, the multiple first sub-data are data that have been encoded by the first FEC code type and distributed by PMA, but the first sub-data have not been interleaved. Therefore, in order to obtain the first data that have been interleaved, after receiving the multiple first sub-data, the first module aligns the multiple first sub-data to obtain multiple first code words, and then interleaves the multiple first code words to obtain the first data. In the first method of obtaining the first data, since the first sub-data have not been interleaved, but the first module has interleaved the multiple first code words, in the embodiment of the present application, the first sub-data encoded using the first FEC code type can be called outer code encoding, the first code word is called an outer code code word, and the outer code encoding occurs in the second module.

[0104] The embodiment of the present application does not limit the method of aligning multiple first sub-data. Since the alignment marker (AM) character is used as the boundary, and because of this, the AM character can provide an existing mark for data identification, thereby facilitating the subsequent identification of the inserted data. Therefore, in the case where the first sub-data includes the AM character, the alignment of multiple first sub-data includes but is not limited to AM locking and de-skew. Among them, AM locking is used to find the boundary of the codeword. After finding the boundary of the codeword, de-skew can be performed in the manner defined by 400GbE to obtain the first codeword.

[0105] In the embodiment of the present application, the interleaving process performed by the first module on the plurality of first codewords is called outer code interleaving. Therefore, in the first method of obtaining the first data, the interleaving process is not performed in the second module, and the outer code interleaving is performed in the first module. The methods of performing the interleaving process on the plurality of first codewords, i.e., outer code interleaving, include but are not limited to the following three methods.

[0106] In the first outer code interleaving mode, multiple first code words are directly interleaved, and the number of interleaved code words is the number of code words participating in the interleaving.

[0107] Direct interleaving means interleaving the codewords involved in the interleaving in sequence without any gap according to the interleaving granularity, and the number of interleaved codewords obtained is the number of codewords involved in the interleaving. Figure 3 As shown, taking the four codewords of codeword A, codeword B, codeword C and codeword D as an example, the number of interleaved codewords obtained by directly interleaving these four codewords is the number of codewords involved in the interleaving. Figure 3 If the number of code words involved in interleaving is 4, then the number of interleaved code words is represented by M, M=4.

[0108] like Figure 4As shown, the content of codeword A includes A0, A1, A2, A3, A4, A5, A6 and A7, the content of codeword B includes B0, B1, B2, B3, B4, B5, B6 and B7, the content of codeword C includes C0, C1, C2, C3, C4, C5, C6 and C7, and the content of codeword D includes D0, D1, D2, D3, D4, D5, D6 and D7. After directly interleaving codeword A, codeword B, codeword C and codeword D, according to Figure 4 A0, B0, C0, D0, A1, B1, C1, D1... are sent in the direction indicated by the arrows, and so on. The sending order is as follows Figure 5 shown. Figure 4 and Figure 5 In the example, A0, B0, etc. represent an interleaving granularity. The embodiment of the present application does not limit the interleaving granularity, including but not limited to 1 bit, 1 quadrature amplitude modulation (QAM) 16 symbol, or multiple bits and multiple symbols.

[0109] The second outer code interleaving mode is to perform staggered interleaving on multiple first code words with reference intervals, the number of interleaved code words is the number of code words participating in the interleaving, and the reference interval is the number of code blocks staggered between two code words.

[0110] Staggered interleaving means that the code words participating in the interleaving are interleaved in sequence according to the interleaving granularity at the reference interval, and the number of interleaved code words obtained is the number of code words participating in the interleaving. Figure 6 As shown, taking the four codewords of codeword A, codeword B, codeword C and codeword D as an example, after staggered interleaving of the four codewords at the reference interval, the number of interleaved codewords obtained is the number of codewords involved in interleaving. Figure 6 If the number of code words involved in interleaving is 4, then the number of interleaved code words is represented by M, M=4.

[0111] The content of codeword A includes A0, A1, A2, A3, A4, A5, A6 and A7, the content of codeword B includes B0, B1, B2, B3, B4, B5, B6 and B7, the content of codeword C includes C0, C1, C2, C3, C4, C5, C6 and C7, and the content of codeword D includes D0, D1, D2, D3, D4, D5, D6 and D7. Taking the reference interval as K code blocks and K=1 as an example, that is, codeword A, codeword B, codeword C and codeword D are staggered and interleaved in sequence according to the interleaving granularity with a delay of 1 code block, and then interleaved according to the interleaving granularity. Figure 7 Send A0, A1, B0, A2, B1, C0, A3, B2, C1, D0, A4, B3, C2, D1... and so on in the direction shown by the arrows. Figure 7In the example, A0, B0, etc. represent an interleaving granularity. The embodiment of the present application does not limit the interleaving granularity, including but not limited to 1 bit, 1 QAM16 symbol, or multiple bits and multiple symbols.

[0112] Optionally, Figure 7 Only K=1, that is, the reference interval is 1 code block, is used as an example for illustration, but it is not used to limit the present application. K can also be other values, that is, the reference interval can be other values, and the present application embodiment does not limit the reference interval.

[0113] In outer code interleaving mode three, convolution interleaving is performed on multiple first code words, and the number of interleaved code words is the number of code words participating in the interleaving.

[0114] In the third interleaving method, the codewords do not enter channels with different delays in parallel, but enter serially. Convolution interleaving refers to polling and distributing the input bit stream, that is, the multiple first codewords participating in the interleaving, to multiple registers with different delay lengths according to p bits as a data block unit. The delays corresponding to these registers are usually increased or decreased by the same amount according to the order in which the data blocks are distributed and arrive. Then, the data blocks from each register with unequal delays are converged into the same data stream to form an interleaved bit stream. Among them, the embodiment of the present application does not limit the size of p, and can be set based on the application scenario or experience.

[0115] like Figure 8 As shown, a plurality of first codewords from the first module are distributed to N channels in sequence according to the arrangement order of the original data initially sent in the first module, and each channel has a different delay. Figure 8 In the example, the delay corresponding to the register usually increases in equal amounts according to the order in which the data blocks are distributed and arrive, the delay of channel 1 is 1 unit, the delay of channel 2 is 2 units, and so on. Optionally, the starting point of delay accumulation can be 0 units. Taking the example that the delay corresponding to the register usually decreases in equal amounts according to the order in which the data blocks are distributed and arrive, the delay of channel 1 can be the maximum value, such as N units, the delay of channel 2 is N-1 units, and so on. Optionally, the starting point of delay decrease can also be N-1, until the minimum value is 0.

[0116] Whether increasing or decreasing, the delay unit may be a delay corresponding to n bits, where n is a positive integer. Exemplarily, the selected value of n may be the code length of the inner code, that is, the code length of the second FEC code type.

[0117] The second method for obtaining the first data is that the first module obtains the first data, including: the first module receives multiple first sub-data sent by the second module, the multiple first sub-data are data encoded by the first FEC code type and are interleaved and distributed by the physical medium access sublayer PMA; the first module aligns the multiple first sub-data to obtain multiple first codewords; the first module interleaves the multiple first codewords to obtain the first data.

[0118] In the second method of obtaining the first data, the first module is located in the first chip, the second module is located in the second chip, and the first module receives multiple first sub-data sent by the second module, including but not limited to the first module receiving multiple first sub-data sent by the second module through multiple channels of one AUI. Exemplarily, one first sub-data is sent through one AUI channel.

[0119] Since the multiple first sub-data are data that have been encoded by the first FEC code type and have been interleaved and distributed by PMA, after the first module receives the multiple first sub-data, the multiple first sub-data can be aligned to obtain multiple first code words. Then, the multiple first code words are interleaved to obtain the first data. In the second method for obtaining the first data, since the first sub-data have been interleaved and the first module has interleaved the multiple first code words, the error correction performance can be further improved. In addition, in the embodiment of the present application, the interleaving process performed by the first module on the multiple first code words is called outer code interleaving. Therefore, in the second method for obtaining the first data, the interleaving process is performed in the second module, and the outer code interleaving is performed in the first module.

[0120] Regarding the method of aligning the multiple first sub-data, it still includes but is not limited to AM locking and de-skew. In addition, the method of interleaving the multiple first codewords can refer to the description of the outer code interleaving methods 1 to 3 in the above-mentioned method 1 for obtaining the first data, which will not be repeated here.

[0121] It should be noted that in the second method of obtaining the first data, since the multiple first sub-data are data encoded by the first FEC code type and interleaved and distributed by PMA, and interleaving is required after obtaining the multiple first code words, the first module aligns the multiple first sub-data to obtain the multiple first code words, which may include a deinterleaving operation, or may not deinterleave and directly interleave the multiple first code words.

[0122] Exemplarily, the first module aligns the multiple first sub-data to obtain the multiple first codewords, including: the first module aligns the multiple first sub-data, deinterleaves the aligned data, and obtains the multiple first codewords according to the deinterleaving result. For example, if the interleaving performed in the second module is 2 codeword interleaving, then the first module obtains the multiple first sub-data, and after aligning the multiple first sub-data, obtains data of 2*n codeword length, and in the case of deinterleaving, deinterleaves the data of 2*n codeword length, obtains the multiple first codewords according to the deinterleaving result, and performs the description of the outer code interleaving methods one to three in the above-mentioned method one for obtaining the first data.

[0123] Alternatively, the first module aligns multiple first sub-data to obtain multiple first codewords, including: the first module aligns multiple first sub-data and uses the aligned data as multiple first codewords. For example, if the interleaving performed in the second module is 2 codeword interleaving, then the first module obtains multiple first sub-data, and after aligning the multiple first sub-data, obtains data with a length of 2*n codewords. Without deinterleaving, the data with a length of 2*n codewords is used as 2*n codewords, that is, multiple first codewords, and the description of the outer code interleaving methods one to three in the above-mentioned method one for obtaining the first data is performed. Directly using the aligned data as multiple first codewords without deinterleaving can increase the data transmission speed.

[0124] Method three for obtaining the first data, the first module obtains the first data, including: the first module receives multiple first sub-data sent by the second module, the multiple first sub-data are data encoded by the first FEC code type and are interleaved and distributed by the physical medium access sublayer PMA; the first module aligns the multiple first sub-data to obtain the first data.

[0125] In the third method of obtaining the first data, the first module is located in the first chip, the second module is located in the second chip, and the first module receives multiple first sub-data sent by the second module, including but not limited to the first module receiving multiple first sub-data sent by the second module through multiple channels of one AUI. Exemplarily, one first sub-data is sent through one AUI channel.

[0126] Since the multiple first sub-data are data that have been encoded by the first FEC code type and have been interleaved and distributed by PMA, after the first module receives the multiple first sub-data, it is no longer necessary to perform interleaving processing, and the multiple first sub-data only need to be aligned. In this way, the step of obtaining the first codeword can be saved, further saving latency and power consumption. In the third method of obtaining the first data, since the first sub-data has been interleaved, but the interleaving processing has not been performed in the first module, the interleaving processing is performed in the second module, and the outer code interleaving is not performed in the first module.

[0127] The method for aligning the plurality of first sub-data includes but is not limited to AM locking and de-skew.

[0128] It should be noted that in the above methods 1 to 3 for obtaining the first data, when the first module obtains the first data, it receives multiple first sub-data sent from the second module through multiple channels of AUI. Optionally, the first module can also receive multiple first sub-data sent by the second module through one channel of AUI, as detailed in the following method 4 for obtaining the first data.

[0129] Method four for obtaining the first data, the first module is located in the first chip, and the first module obtains the first data, including: the first module receives multiple first sub-data sent by the second module through a channel of an AUI, the second module is located in the second chip, the multiple first sub-data are data encoded by a first FEC code type and distributed through PMA, or the multiple first sub-data are data encoded by a first FEC code type and are interleaved and distributed through PMA; the first module AM ​​locks the multiple first sub-data, and obtains the first data according to the AM locked data.

[0130] Exemplarily, the first module AM-locks multiple first sub-data and obtains first data according to the AM-locked data, including: the first module AM-locks multiple first sub-data to obtain multiple first codewords; the first module interleaves multiple first codewords to obtain first data.

[0131] In the fourth method of obtaining the first data, since the multiple first sub-data are sent by a channel of an AUI, and the multiple first sub-data are not only encoded by the first FEC code type, but also distributed by PMA, in view of the fact that the multiple first sub-data have not been interleaved, in order to obtain the first data that has been interleaved, after the first module receives the multiple first sub-data, it performs AM locking on the multiple first sub-data to obtain multiple first code words, and then interleaves the multiple first code words to obtain the first data. In the fourth method of obtaining the first data, since the first sub-data have not been interleaved, but the first chip has interleaved the multiple first code words, in the embodiment of the present application, the interleaving process performed by the first module on the multiple first code words is called outer code interleaving. Therefore, in the fourth method of obtaining the first data, no interleaving process is performed in the second module, and outer code interleaving is performed in the first module.

[0132] In a possible implementation, the multiple first sub-data in the fourth method for obtaining the first data are sent by a channel of an AUI, and the multiple first sub-data are not only encoded using the first FEC code type, but also undergo interleaving processing and PMA distribution. For the case where the multiple first sub-data are interleaved, since interleaving processing is required after obtaining the multiple first code words, in the fourth method for obtaining the first data, the first module performs AM locking on the multiple first sub-data, and when obtaining the multiple first code words, it may include a deinterleaving operation, or it may not deinterleave and directly interleave the multiple first code words.

[0133] Exemplarily, the first module performs AM locking on the multiple first sub-data to obtain multiple first code words, including: the first module performs AM locking on the multiple first sub-data, deinterleaving the AM-locked data, and obtaining multiple first code words according to the deinterleaving result. For example, if the interleaving performed in the second module is 2 code word interleaving, then the first module obtains multiple first sub-data, and after performing AM locking on the multiple first sub-data, obtains data with a length of 2*n code words, and in the case of deinterleaving, deinterleaves the data with a length of 2*n code words, obtains multiple first code words according to the deinterleaving result, and then performs interleaving processing on the multiple first code words.

[0134] Alternatively, the first module performs AM locking on the multiple first sub-data to obtain multiple first code words, including: the first module performs AM locking on the multiple first sub-data, and uses the AM locked data as the multiple first code words. For example, if the interleaving performed in the second module is 2 code word interleaving, then the first module obtains the multiple first sub-data, and after performing AM locking on the multiple first sub-data, obtains data with a length of 2*n code words, and without deinterleaving, uses the data with a length of 2*n code words as 2*n code words, that is, multiple first code words, and then performs interleaving processing on the multiple first code words.

[0135] In addition, the manner of interleaving multiple first code words can refer to the description of outer code interleaving manners one to three in the above-mentioned manner one for obtaining the first data, and will not be repeated here.

[0136] In a possible implementation, the multiple first sub-data are data encoded using a first FEC code type and are interleaved and distributed by a physical medium access sublayer PMA. The first module AM-locks the multiple first sub-data, and obtains the first data based on the AM-locked data, including: the first module AM-locks the multiple first sub-data, and uses the AM-locked data as the first data.

[0137] For example, the first module is located in the first chip, the second module is located in the second chip, and the first module obtains the first data, including: the first module receives multiple first sub-data sent by the second module through a channel of an AUI, and the multiple first sub-data are data encoded by a first FEC code type and are interleaved and distributed by PMA; the first module performs an alignment mark AM lock on the multiple first sub-data, and uses the data after AM locking as the first data.

[0138] 202. The first module encodes the first data according to the second FEC code type to obtain multiple second code words.

[0139] Regardless of which of the above-mentioned methods 1 to 4 for obtaining the first data is used to obtain the first data, in order to further improve the error correction performance and realize cascade coding, after the first module obtains the first data, the first data is encoded according to the second FEC code type to obtain multiple second code words. Encoding the first data can be called inner code encoding, and the second code word is called an inner code code word. The inner code encoding occurs in the first module.

[0140] Among them, the second FEC code type includes but is not limited to any one of RS code, BCH code, Fire code, turbo code, turbo product code, ladder code and LDPC code. The embodiment of the present application does not limit the type of the second FEC code type. Exemplarily, if the code rate of the second code word is R (R = k / n), the rate of the first data before encoding is D, then the rate after encoding is D / R. Among them, k is the code word information bit length, n is the code word length, and the code word length is the information bit length plus the check bit length. For example, the rate of the first data before encoding is D = 425Gb / s. If R = 17 / 18 is selected, the rate after encoding is D / R = 450Gb / s. If R = 239 / 256, the rate D / R after encoding is approximately 455.23Gb / s.

[0141] In a possible implementation, the first module encodes the first data according to the second FEC code type to obtain multiple second code words, including: the first module distributes the first data to obtain multiple second sub-data, and the first module encodes the multiple second sub-data respectively according to the second FEC code type to obtain multiple second code words.

[0142] Exemplarily, the first module distributes the first data to obtain the plurality of second sub-data, including: the first module distributes the first data through a physical coding sublayer (PCS) channel to obtain the plurality of second sub-data; or the first module distributes the first data through a PMA to obtain the plurality of second sub-data. The embodiment of the present application does not limit the number of the second sub-data distributed by the first module, for example, the number of the distributed second sub-data can be determined based on an application scenario or experience.

[0143] 203. The first module performs second processing on the plurality of second code words to obtain second data.

[0144] In a possible implementation manner, the first module performs second processing on the plurality of second code words to obtain second data in a manner including but not limited to the following two.

[0145] Method one for obtaining the second data, in which the first module performs a second processing on multiple second code words to obtain the second data, includes: the first module performs an interleaving process on the multiple second code words, groups the interleaving results according to the symbols or at least one bit required for data modulation, and distributes the grouped data to the corresponding data channel; and obtains the second data based on the data in each data channel.

[0146] In the first method of obtaining the second data, by interleaving multiple second codewords, it is possible to cope with burst errors on the link, further improving the error correction performance. The embodiment of the present application does not limit the method of interleaving multiple second codewords. The second codewords after interleaving generate P data paths, where P is an integer greater than or equal to 1. Each data path corresponds to an inner code encoder. For example, Fig. 9 As shown, the outer code interleaving is implemented by an outer code interleaver, the inner code interleaving is implemented by an inner code interleaver, and each data path corresponds to an inner code encoder. Exemplarily, the interleaving process for the multiple second code words includes but is not limited to the following three interleaving process modes.

[0147] Inner code interleaving mode 1, second code words from the same encoder are interleaved among multiple second code words.

[0148] In the first inner code interleaving method, the number of second code words from the same encoder among the multiple second code words is M', and the M' second code words can be interleaved according to the interleaving granularity K'. Fig.10 As shown, take the M' codewords from the same encoder as codeword A, codeword B, codeword C and codeword D as an example, wherein the content of codeword A includes A0, A1, A2, A3, A4, A5..., the content of codeword B includes B0, B1, B2, B3, B4, B5..., the content of codeword C includes C0, C1, C2, C3, C4, C5..., the content of codeword D includes D0, D1, D2, D3, D4, D5.... After codeword A, codeword B, codeword C and codeword D are interleaved at an interleaving granularity K', according to Fig.10 Send A0, B0, C0, D0, A1, B1, C1, D1, A2, B2… and so on in the direction shown by the arrows. Fig.10In the example, A0, B0, etc. represent an interleaving granularity. The embodiment of the present application does not limit the interleaving granularity K', including but not limited to 1 bit, 1 QAM16 symbol, or multiple bits and multiple symbols.

[0149] Inner code interleaving mode 2, multiple second code words from multiple encoders are interleaved among multiple second code words.

[0150] In the second inner code interleaving method, since multiple second code words from multiple encoders are interleaved, the number of code words involved in the interleaving is equal to the number of encoders. Fig.11 As shown, taking the interleaving of four second codewords from encoder A, encoder B, encoder C and encoder D as an example, the four second codewords are codeword A, codeword B, codeword C and codeword D. Among them, the content of codeword A includes A0, A1, A2, A3, A4, A5..., the content of codeword B includes B0, B1, B2, B3, B4, B5..., the content of codeword C includes C0, C1, C2, C3, C4, C5..., and the content of codeword D includes D0, D1, D2, D3, D4, D5.... After codeword A, codeword B, codeword C and codeword D are interleaved at the interleaving granularity K', according to Fig.11 Send A0, B0, C0, D0, A1, B1, C1, D1, A2, B2… and so on in the direction shown by the arrows.

[0151] Inner code interleaving mode three, second code words from the same encoder are interleaved among multiple second code words, and multiple data streams from multiple encoders obtained after interleaving are interleaved again.

[0152] The inner code interleaving mode 3 is a combination of the inner code interleaving mode 1 and the inner code interleaving mode 2. First, the second code words from the same encoder among the multiple second code words are interleaved, and the second code words from different encoders are interleaved to obtain multiple data streams, and one encoder obtains one data stream. After that, the multiple data streams from multiple encoders obtained after interleaving are interleaved again. Since the inner code interleaving mode 3 adopts two-dimensional interleaving, the error correction performance of the second data obtained after inner code interleaving is better.

[0153] Regardless of whether the inner code interleaving method 1 or method 2 is used, the method 1 for obtaining the second data can obtain a data stream through inner code interleaving, and then group the data according to the symbols required for data modulation and distribute them to data channels corresponding to two polarization directions. For example, for continuous 8-bit data, the first 4 bits are allocated to X polarization and the last 4 bits are allocated to Y polarization.

[0154] In addition, it should be noted that in the above-mentioned inner code interleaving methods 1 to 3, whether it is interleaving the second codewords from the same encoder, or interleaving multiple data streams from multiple encoders, or interleaving multiple second codewords from multiple encoders, any one of the direct interleaving, staggered interleaving and convolutional interleaving methods described in the above-mentioned outer code interleaving methods 1 to 3 can be used for interleaving. The specific interleaving method to be used is not limited in the embodiments of the present application.

[0155] The second method for obtaining the second data is that the first module performs a second processing on multiple second code words to obtain the second data, including: the first module groups the multiple second code words according to the symbols or at least one bit required for data modulation, and distributes the grouped data to the corresponding data channel; and obtains the second data based on the data in each data channel.

[0156] In the second method for obtaining the second data, the first module does not perform interleaving processing on the second codeword, and can directly group multiple second codewords according to the symbol required for data modulation or at least one bit, thereby saving the delay and power consumption of inner code interleaving. For example, when grouping according to the symbols required for data modulation and distributing them to data channels corresponding to two polarization directions, the first 4 bits of the continuous 8-bit data can be divided into X polarization and the last 4 bits can be divided into Y polarization.

[0157] In a possible implementation, the method provided in the embodiment of the present application can be applied to a coherent link. Considering the data stream after the inner code and outer code overhead, when inserting a training sequence (TS) / pilot symbol on the coherent link, a method of making up a frequency point can be adopted. Therefore, the second processing includes but is not limited to inserting at least one of the training sequence and pilot symbol required for the coherent link.

[0158] Optionally, at least one of the first processing and the second processing further includes inserting data for adjusting the frequency. The embodiment of the present application does not limit the type and content of the data for adjusting the frequency. The data for adjusting the frequency may be inserted periodically according to a fixed length. The fixed length and period may be determined based on the application scenario or experience, and the embodiment of the present application does not limit this. If the frequency is not suitable, or the frequency does not meet the requirements, the first processing and the second processing may both include inserting data for adjusting the frequency, or the first processing or the second processing may include inserting data for adjusting the frequency. If the frequency is suitable, the first processing and the second processing may not insert data for adjusting the frequency.

[0159] In addition, the embodiments of the present application do not limit the order of inserting the training sequence and pilot symbols required for the coherent link and inserting the data for adjusting the frequency.

[0160] For example, obtaining the second data based on the data in each data channel includes: inserting the training sequence and pilot symbol required by the coherent link into the data in each data channel to obtain processed data, and inserting data for adjusting the frequency into the processed data to obtain the second data.

[0161] Alternatively, obtaining the second data based on the data in each data channel includes: inserting data for adjusting the frequency into the data in each data channel to obtain processed data, and inserting the training sequence and pilot symbol required by the coherent link into the processed data to obtain the second data.

[0162] It should be noted that the embodiments of the present application do not limit the inserted training sequence and pilot symbol. For example, the inserted training sequence and pilot symbol can be pre-configured and configured based on the application scenario or experience. If the frequency point is already suitable after the training sequence and pilot symbol are inserted, there is no need to perform the frequency point adjustment step, that is, there is no need to insert data for adjusting the frequency point. For example, Fig.12 In the TS, TS corresponds to the training sequence, PS corresponds to the pilot symbol, and OH corresponds to the additional data added without adjusting the frequency. Exemplarily, the first symbol of TS is part of the PS sequence.

[0163] For example, when t=t1=0 (ie, TS and OH do not exist), K=0. The encoded rate is: D / R*(P+1) / P. If P=72, the final rate is 456.25Gb / s. Under DP-QAM16 modulation, the code rate corresponds to a baud rate of 57.03125GBd, which is 365 times the base frequency of 156.25MHz.

[0164] For another example, when t≠0, that is, when TS exists, it is necessary to consider that the baud rate corresponding to D_out is also an integer multiple. For example, t=10, t1=63, T=100, T1=1, then D_out=457.5Gb / s, under DP-QAM16 modulation, the baud rate is 366 times the frequency.

[0165] It should be noted that the value of the above t1 may be greater than P. In this case, the OH content may span one or more PSs.

[0166] 204. The first module transmits second data.

[0167] In a possible implementation, the first module transmits the second data, including: the first module distributes the second data to obtain a plurality of third sub-data, and sends the plurality of third sub-data through a plurality of logical channels.

[0168] The embodiment of the present application does not limit the amount of third sub-data obtained by the first module distributing the second data. For example, the amount of third sub-data obtained by the distribution can be determined based on an application scenario or experience.

[0169] The method provided in the embodiment of the present application is based on the first module for transmitting data, which encodes the first data encoded by the first FEC code type again through the second FEC code type to obtain the second data of cascade coding, so that the second data has a higher coding gain, and when transmitted in a channel prone to code errors, it can effectively correct the data with code errors, thereby improving the quality of data transmission. Since the second data is data directly encoded on the basis of the first data, the implementation process of the method is relatively simple, and the efficiency of data transmission is improved. Furthermore, since the first data is data obtained through interleaving, the correlation of the error bits in the codeword after the second FEC code correction can be eliminated, thereby improving the error correction performance. In addition, by simultaneously adopting outer code interleaving and inner code interleaving, the error correction performance can be further improved.

[0170] Next, combining the above Figure 2 The method flow shown takes the first module located in the first chip and the second module located in the second module, and takes the following scenarios as examples to illustrate the data transmission method provided in the embodiments of the present application.

[0171] Scenario 1: The second chip does not perform interleaving, and the first chip performs outer code interleaving and inner code interleaving.

[0172] This scene is Figure 2 In the embodiment shown, the first method for obtaining the first data and the second method for obtaining the second data are combined, that is, the second chip does not perform interleaving processing, and the first chip performs interleaving processing on both the first codeword and the second codeword. The implementation environment of this scenario can be as follows Fig.13 As shown, the process of data transmission is as follows.

[0173] The second chip performs outer code encoding on the original data, that is, encoding using FEC1 (first FEC code type), and performs PMA distribution on the encoded data to obtain multiple first sub-data, and then sends the multiple first sub-data to the first chip through AUI. The multiple first sub-data are data encoded using the first FEC code type and distributed through PMA. After receiving the multiple first sub-data, the first chip performs AM locking and de-skew on the multiple first sub-data, thereby achieving alignment operations and obtaining multiple first code words. Afterwards, the first chip performs interleaving processing on the multiple first code words, that is, outer code interleaving, to obtain the first data.

[0174] Furthermore, the first chip encodes the first data according to the second FEC code type, obtains multiple second code words, performs interleaving processing on the multiple second code words, i.e., inner code interleaving, and then groups the interleaving results according to the symbols required for data modulation, distributes the grouped data to the corresponding data channel, obtains the second data based on the data in each data channel, and finally modulates the second data for transmission.

[0175] Scenario 2: The second chip does not perform interleaving, the first chip performs outer code interleaving and inner code interleaving, and the first chip performs frequency adjustment and TS / Pilot insertion.

[0176] This scenario 2 is based on scenario 1, with the addition of frequency adjustment and TS / Pilot insertion. Figure 2 In the embodiment shown, the first method for obtaining the first data and the second method for obtaining the second data are combined, that is, the second chip does not perform interleaving processing, and the first chip performs interleaving processing on both the first codeword and the second codeword. The implementation environment of this scenario can be as follows Fig.14 As shown, the process of data transmission is as follows.

[0177] The second chip performs outer code encoding on the original data, that is, encoding using FEC1 (first FEC code type), and performs PMA distribution on the encoded data to obtain multiple first sub-data, and then sends the multiple first sub-data to the first chip through AUI. The multiple first sub-data are data encoded using the first FEC code type and distributed through PMA. After receiving the multiple first sub-data, the first chip performs AM locking and de-skew on the multiple first sub-data, thereby achieving alignment operations and obtaining multiple first code words. Afterwards, the first chip performs interleaving processing on the multiple first code words, that is, outer code interleaving, to obtain the first data.

[0178] Furthermore, the first chip encodes the first data according to the second FEC code type, obtains multiple second code words, performs interleaving processing on the multiple second code words, i.e., inner code interleaving, and then groups the interleaving results according to the symbols required for data modulation, distributes the grouped data to the corresponding data channel, obtains the second data based on the data in each data channel, and finally modulates the second data for transmission.

[0179] Among them, in scenario two, second data is obtained based on the data in each data channel, including: inserting the training sequence and pilot symbols required by the coherent link into the data in each data channel to obtain processed data, and inserting data for adjusting the frequency into the processed data to obtain second data.

[0180] Alternatively, obtaining the second data based on the data in each data channel includes: inserting data for adjusting the frequency into the data in each data channel to obtain processed data, and inserting the training sequence and pilot symbol required by the coherent link into the processed data to obtain the second data.

[0181] Scenario 3: The second chip does not perform interleaving, the first chip performs outer code interleaving but does not perform inner code interleaving, and the first chip performs frequency adjustment and TS / Pilot insertion.

[0182] Compared with scenario 2, scenario 3 reduces the operation of the first chip to perform inner code interleaving. Figure 2 In the embodiment shown, the first method for obtaining the first data is combined with the second method for obtaining the second data, that is, the second chip does not perform interleaving processing, and the first chip only performs outer code interleaving processing on the first codeword. The implementation environment of this scenario can be as follows Fig.15 As shown, the process of data transmission is as follows.

[0183] The second chip performs outer code encoding on the original data, that is, encoding using FEC1 (first FEC code type), and performs PMA distribution on the encoded data to obtain multiple first sub-data, and then sends the multiple first sub-data to the first chip through AUI. The multiple first sub-data are data encoded using the first FEC code type and distributed through PMA. After receiving the multiple first sub-data, the first chip performs AM locking and de-skew on the multiple first sub-data, thereby achieving alignment operations and obtaining multiple first code words. Afterwards, the first chip performs interleaving processing on the multiple first code words, that is, outer code interleaving, to obtain the first data.

[0184] Furthermore, the first chip encodes the first data according to the second FEC code type to obtain multiple second code words, and then the first chip groups the multiple second code words according to the symbols required for data modulation, distributes the grouped data to the corresponding data channels, obtains the second data based on the data in each data channel, and finally modulates and sends the second data.

[0185] Among them, in scenario three, the second data is obtained based on the data in each data channel, including: inserting the training sequence and pilot symbols required by the coherent link into the data in each data channel to obtain processed data, and inserting data for adjusting the frequency into the processed data to obtain the second data.

[0186] Alternatively, obtaining the second data based on the data in each data channel includes: inserting data for adjusting the frequency into the data in each data channel to obtain processed data, and inserting the training sequence and pilot symbol required by the coherent link into the processed data to obtain the second data.

[0187] Scenario 4: The second chip performs interleaving, the first chip performs outer code interleaving and inner code interleaving, and the first chip performs frequency adjustment and TS / Pilot insertion.

[0188] This scenario four can be Figure 2 In the embodiment shown, the second method for obtaining the first data is combined with the first method for obtaining the second data, that is, the second chip performs interleaving processing, and the first chip performs interleaving processing on both the first codeword and the second codeword. The implementation environment of this scenario can be as follows Fig.16 As shown, the process of data transmission is as follows.

[0189] The second chip performs outer code encoding on the original data, that is, encoding using FEC1 (first FEC code type), and performs outer code interleaving on the encoded data, and performs PMA distribution on the interleaved data stream to obtain multiple first sub-data, and then sends the multiple first sub-data to the first chip through AUI. The multiple first sub-data are data encoded using the first FEC code type and are interleaved and distributed by the physical medium access sublayer PMA. After receiving the multiple first sub-data, the first chip performs AM locking and de-skew on the multiple first sub-data to achieve alignment operations, and then obtains multiple first code words through deinterleaving. After that, the first chip performs interleaving processing on the multiple first code words, that is, outer code interleaving, to obtain the first data.

[0190] Furthermore, the first chip encodes the first data according to the second FEC code type, obtains multiple second code words, performs interleaving processing on the multiple second code words, i.e., inner code interleaving, and then groups the interleaving results according to the symbols required for data modulation, distributes the grouped data to the corresponding data channel, obtains the second data based on the data in each data channel, and finally modulates the second data for transmission.

[0191] Among them, in scenario four, the second data is obtained based on the data in each data channel, including: inserting the training sequence and pilot symbols required by the coherent link into the data in each data channel to obtain processed data, and inserting data for adjusting the frequency into the processed data to obtain the second data.

[0192] Alternatively, obtaining the second data based on the data in each data channel includes: inserting data for adjusting the frequency into the data in each data channel to obtain processed data, and inserting the training sequence and pilot symbol required by the coherent link into the processed data to obtain the second data.

[0193] Scenario 5: The second chip performs interleaving, the first chip performs outer code interleaving but does not perform inner code interleaving, and the first chip performs frequency adjustment and TS / Pilot insertion.

[0194] This scene five can be Figure 2 In the embodiment shown, the second method for obtaining the first data is combined with the second method for obtaining the second data, that is, the second chip performs interleaving processing, and the first chip only performs interleaving processing on the first codeword, and does not perform interleaving processing on the second codeword. The implementation environment of this scenario can be as follows Fig.17 As shown, the process of data transmission is as follows.

[0195] The second chip performs outer code encoding on the original data, that is, encoding using FEC1 (first FEC code type), and performs outer code interleaving on the encoded data, and performs PMA distribution on the interleaved data stream to obtain multiple first sub-data, and then sends the multiple first sub-data to the first chip through AUI. The multiple first sub-data are data encoded using the first FEC code type and are interleaved and distributed by the physical medium access sublayer PMA. After receiving the multiple first sub-data, the first chip performs AM locking and de-skew on the multiple first sub-data to achieve alignment operations, and then obtains multiple first code words through deinterleaving. After that, the first chip performs interleaving processing on the multiple first code words, that is, outer code interleaving, to obtain the first data.

[0196] Furthermore, the first chip encodes the first data according to the second FEC code type to obtain multiple second code words. The first chip then groups the multiple second code words according to the symbols required for data modulation and distributes the grouped data to corresponding data channels; and obtains the second data based on the data in each data channel.

[0197] Among them, in scenario five, the second data is obtained based on the data in each data channel, including: inserting the training sequence and pilot symbols required by the coherent link into the data in each data channel to obtain processed data, and inserting data for adjusting the frequency into the processed data to obtain the second data.

[0198] Alternatively, obtaining the second data based on the data in each data channel includes: inserting data for adjusting the frequency into the data in each data channel to obtain processed data, and inserting the training sequence and pilot symbol required by the coherent link into the processed data to obtain the second data.

[0199] Scenario 6: The second chip performs interleaving, the first chip does not perform outer code interleaving, but performs inner code interleaving, and the first chip performs frequency adjustment and TS / Pilot insertion.

[0200] This scene six can be Figure 2 The second method for obtaining the first data and the first method for obtaining the second data in the embodiment shown are combined, that is, the second chip performs interleaving processing, and the first chip does not perform interleaving processing on the first codeword, but performs interleaving processing on the second codeword. The implementation environment of this scenario can be as follows Fig.18As shown, the process of data transmission is as follows.

[0201] The second chip performs outer code encoding on the original data, that is, encoding using FEC1 (first FEC code type), and performs outer code interleaving on the encoded data, and performs PMA distribution on the interleaved data stream to obtain multiple first sub-data, and then sends the multiple first sub-data to the first chip through AUI. The multiple first sub-data are data encoded using the first FEC code type and are interleaved and distributed by the physical medium access sublayer PMA. After receiving the multiple first sub-data, the first chip performs AM locking and de-skew on the multiple first sub-data to achieve alignment operations, and then obtains multiple first code words through deinterleaving. After that, the first chip performs interleaving processing on the multiple first code words, that is, outer code interleaving, to obtain the first data.

[0202] Furthermore, the first chip encodes the first data according to the second FEC code type to obtain multiple second code words. The first chip then interleaves the multiple second code words, groups the interleaving results according to the symbols required for data modulation, and distributes the grouped data to corresponding data channels; and obtains the second data based on the data in each data channel.

[0203] Among them, in scenario six, the second data is obtained based on the data in each data channel, including: inserting the training sequence and pilot symbols required by the coherent link into the data in each data channel to obtain processed data, and inserting data for adjusting the frequency into the processed data to obtain the second data.

[0204] Alternatively, obtaining the second data based on the data in each data channel includes: inserting data for adjusting the frequency into the data in each data channel to obtain processed data, and inserting the training sequence and pilot symbol required by the coherent link into the processed data to obtain the second data.

[0205] Scenario 7: The second chip performs interleaving, the first chip does not perform outer code interleaving, nor does it perform inner code interleaving, but the first chip performs frequency adjustment and TS / Pilot insertion.

[0206] This scene seven can be Figure 2 The third method for obtaining the first data and the second method for obtaining the second data in the embodiment shown are combined, that is, the second chip performs interleaving processing, and the first chip does not perform interleaving processing on the first codeword, but performs interleaving processing on the second codeword. The implementation environment of this scenario can be as follows Fig.18 As shown, the process of data transmission is as follows.

[0207] The second chip performs outer code encoding on the original data, that is, FEC1 (first FEC code type) encoding, and performs outer code interleaving on the encoded data, and performs PMA distribution on the interleaved data stream to obtain multiple first sub-data, and then sends the multiple first sub-data to the first chip through AUI. The multiple first sub-data are data encoded by the first FEC code type and are interleaved and distributed by the physical medium access sublayer PMA. After receiving the multiple first sub-data, the first chip performs AM locking on the multiple first sub-data to achieve alignment operation, and then obtains the first data by deinterleaving.

[0208] Furthermore, the first chip encodes the first data according to the second FEC code type to obtain multiple second code words. The first chip then groups the multiple second code words according to the symbols required for data modulation and distributes the grouped data to corresponding data channels; and obtains the second data based on the data in each data channel.

[0209] Among them, in scenario seven, the second data is obtained based on the data in each data channel, including: inserting the training sequence and pilot symbols required by the coherent link into the data in each data channel to obtain processed data, and inserting data for adjusting the frequency into the processed data to obtain the second data.

[0210] Alternatively, obtaining the second data based on the data in each data channel includes: inserting data for adjusting the frequency into the data in each data channel to obtain processed data, and inserting the training sequence and pilot symbol required by the coherent link into the processed data to obtain the second data.

[0211] It should be noted that the above scenarios 1 to 7 correspond to Figure 13-Figure 19 In the embodiment, the outer code encoding (FEC1) can be implemented inside the PCS, or can be independently implemented outside the PCS by a separate encoding module, which is not limited in the embodiment of the present application.

[0212] Another point that needs to be explained is that TS / Pilot in the embodiments of the present application can be understood as TS and / or Pilot.

[0213] The above takes the first module as an example to illustrate the method of data transmission. Next, the data transmission process will be described after the first module sends the second data. Fig. 20 As shown, the data transmission method includes the following steps.

[0214] 2001, the third module obtains second data, the second data is data obtained by encoding the first data with the second FEC code type and performing a second process, the first data is data encoded with the first FEC code type and subjected to a first process, and the first process includes an interleaving process.

[0215] Combination Figure 1 In the implementation environment shown, the third module obtains the second data sent by the first module. Figure 2 In the embodiment shown, there are many ways for the first module to obtain the second data, which will not be described in detail in the embodiment of the present application. Figure 2 In the case where the first module distributes the second data to obtain multiple third sub-data and sends the multiple third sub-data through multiple logical channels, the third module obtains the second data including: the third module receives the multiple third sub-data and recovers the second data based on the multiple third sub-data.

[0216] 2002. The third module decodes the second data according to the second FEC code type to obtain decoded data.

[0217] Since there are multiple ways for the first module to obtain the second data, there are also multiple situations of the second data. For different situations of the second data, the third module can use different situations for processing, including but not limited to decoding the second data according to the second FEC code type to obtain decoded data.

[0218] Afterwards, the third module may further process the decoded data, and the embodiment of the present application does not limit the processing method of the third module on the second data. For example, the decoded data continues to be sent to other modules. Alternatively, the second data is data obtained after outer code interleaving and inner code interleaving, then before the third module decodes the second data according to the second FEC code type, it first deinterleaves the second data to obtain the second code word, and then decodes the second code word with the second FEC code type, and after obtaining the decoded data, the decoded data is deinterleaved again to obtain the first code word.

[0219] In addition, the third module may be located in the third chip, the first module may be located in the first chip, and the third module receives the second data sent by the first module through the AUI.

[0220] The embodiment of the present application also provides a device for data transmission. Fig.21 Schematic diagram of a data transmission device provided in an embodiment of the present application. Fig.21 The following multiple units are shown, Fig.21 The data transmission device shown can perform all or part of the operations performed by the first module. It should be understood that the device may include more additional units than the units shown or omit some of the units shown, and the embodiments of the present application are not limited to this. Fig.21 As shown, the device comprises:

[0221] An acquiring unit 2101 is configured to acquire first data, where the first data is data encoded using a first forward error correction code (FEC) pattern and subjected to a first process, where the first process includes an interleaving process;

[0222] The encoding unit 2102 is used to encode the first data according to the second FEC code type to obtain a plurality of second code words;

[0223] The processing unit 2103 is used to perform second processing on the multiple code words to obtain second data;

[0224] The transmission unit 2104 is used to transmit the second data.

[0225] In a possible implementation manner, the second processing includes inserting at least one of a training sequence and a pilot symbol required by the coherent link.

[0226] In a possible implementation manner, at least one of the first process and the second process further includes inserting data for adjusting the frequency point.

[0227] In a possible implementation, the acquisition unit 2101 is used to receive multiple first sub-data sent by the second module, where the multiple first sub-data are data encoded using a first FEC code type and distributed through a physical medium access sublayer PMA; align the multiple first sub-data to obtain multiple first codewords; and interleave the multiple first codewords to obtain first data.

[0228] In a possible implementation, the acquisition unit 2101 is used to receive multiple first sub-data sent by the second module, where the multiple first sub-data are data encoded using a first FEC code type and are interleaved and distributed by a physical medium access sublayer PMA; align the multiple first sub-data to obtain multiple first codewords; and interleave the multiple first codewords to obtain first data.

[0229] In a possible implementation, the acquisition unit 2101 is used to align multiple first sub-data, deinterleave the aligned data, and obtain multiple first codewords according to the deinterleaving result; or, align multiple first sub-data and use the aligned data as multiple first codewords.

[0230] In a possible implementation, the acquisition unit 2101 is used to receive multiple first sub-data sent by the second module, where the multiple first sub-data are data encoded using a first FEC code type and are interleaved and distributed by a physical medium access sublayer PMA; the multiple first sub-data are aligning to obtain first data.

[0231] In a possible implementation, the first module is located in the first chip, the second module is located in the second chip, and the acquiring unit 2101 is configured to receive a plurality of first sub-data sent by the second module through a plurality of channels of an accessory unit interface AUI.

[0232] In a possible implementation, the first module is located in the first chip, and the acquisition unit 2101 is used to receive multiple first sub-data sent by the second module through a channel of an accessory unit interface AUI. The second module is located in the second chip, and the multiple first sub-data are data encoded with a first FEC code type and distributed through a physical medium access sublayer PMA, or the multiple first sub-data are data encoded with a first FEC code type and interleaved and distributed by the PMA; the alignment flag AM is locked for the multiple first sub-data to obtain multiple first codewords; the multiple first codewords are interleaved to obtain first data.

[0233] In a possible implementation, the multiple first sub-data are data encoded using a first FEC code type and interleaved and distributed by a physical medium access sublayer PMA. The acquisition unit 2101 is used to AM-lock the multiple first sub-data, deinterleave the AM-locked data, and obtain multiple first codewords based on the deinterleaving result; or, AM-lock the multiple first sub-data and use the AM-locked data as multiple first codewords.

[0234] In a possible implementation, the first module is located in the first chip, and the acquisition unit 2101 is used to receive multiple first sub-data sent by the second module through a channel of an accessory unit interface AUI. The second module is located in the second chip, and the multiple first sub-data are data encoded with a first FEC code type and are interleaved and distributed by a physical medium access sublayer PMA; the alignment mark AM is locked for the multiple first sub-data, and the data after AM locking is used as the first data.

[0235] In a possible implementation, the processing unit 2103 is used to perform interleaving processing on multiple second codewords, group the interleaving results according to the symbols or at least one bit required for data modulation, and distribute the grouped data to the corresponding data channels; and obtain the second data based on the data in each data channel.

[0236] In a possible implementation, the processing unit 2103 is configured to group multiple second codewords according to symbols or at least one bit required for data modulation, distribute the grouped data to corresponding data channels, and obtain second data based on the data in each data channel.

[0237] In a possible implementation, the processing unit 2103 is used to insert the training sequence and pilot symbol required by the coherent link into the data in each data channel to obtain processed data, and insert data for adjusting the frequency into the processed data to obtain second data.

[0238] In a possible implementation, the processing unit 2103 is used to insert data for adjusting the frequency into the data in each data channel to obtain processed data, and insert the training sequence and pilot symbol required by the coherent link into the processed data to obtain second data.

[0239] In a possible implementation, the acquisition unit 2101 is used to directly interleave multiple first codewords, where the number of interleaved codewords is the number of codewords participating in the interleaving; or, to staggered interleave multiple first codewords with a reference interval, where the number of interleaved codewords is the number of codewords participating in the interleaving, and the reference interval is the number of code blocks staggered between two codewords; or, to convolutionally interleave multiple first codewords, where the number of interleaved codewords is the number of codewords participating in the interleaving.

[0240] In one possible implementation, the processing unit 2103 is used to interleave second codewords from the same encoder among multiple second codewords; or, to interleave multiple second codewords from multiple encoders among multiple second codewords; or, to interleave second codewords from the same encoder among multiple second codewords, and to interleave multiple data streams from multiple encoders obtained after interleaving again.

[0241] In a possible implementation, the encoding unit 2102 is configured to distribute the first data to obtain a plurality of second sub-data, and encode the plurality of second sub-data respectively according to a second FEC code type to obtain a plurality of second code words.

[0242] In a possible implementation, the encoding unit 2102 is configured to distribute the first data through a physical coding sublayer PCS channel to obtain multiple second sub-data; or distribute the first data through a physical medium access sublayer PMA to obtain multiple second sub-data.

[0243] In a possible implementation, the transmission unit 2104 is configured to distribute the second data to obtain a plurality of third sub-data, and send the plurality of third sub-data through a plurality of logical channels.

[0244] Fig. 22 Schematic diagram of a data transmission device provided in an embodiment of the present application. Fig. 22 The following multiple units are shown, Fig. 22The data transmission device shown can perform all or part of the operations performed by the third module. It should be understood that the device may include more additional units than the units shown or omit some of the units shown, and the embodiments of the present application are not limited to this. Fig. 22 As shown, the device comprises:

[0245] The acquiring unit 2201 is used to acquire second data, where the second data is data obtained by encoding the first data using the second forward error correction code FEC code type and performing a second process, and the first data is data encoded using the first FEC code type and subjected to a first process, where the first process includes an interleaving process;

[0246] The decoding unit 2202 is used to decode the second data according to the second FEC code type to obtain decoded data.

[0247] In a possible implementation, the acquiring unit 2201 is configured to receive a plurality of third sub-data, and restore the second data based on the plurality of third sub-data.

[0248] It should be understood that the above Fig.21 , Fig. 22 When the device provided realizes its functions, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be assigned to different functional units as needed, that is, the internal structure of the device is divided into different functional units to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0249] An embodiment of the present application provides a device for data transmission, the device comprising: a processor, the processor is coupled to a memory, the memory stores at least one program instruction or code, the at least one program instruction or code is loaded and executed by the processor, so that the data transmission device implements the method in the above method embodiment.

[0250] See also Fig.23 , Fig.23 A schematic structural diagram of a data transmission device 1100 provided by an exemplary embodiment of the present application is shown. The data transmission device 1100 is a sending side / receiving side device. Fig.23 The data transmission device 1100 shown is used to perform the above Figure 2Operations involved in the method for data transmission shown. The data transmission device 1100 is, for example, a network device such as a switch, a router, and other devices that include this chip cascading mode (such as a server, a PC, etc.). The hardware structure of the data transmission device 1100 includes a communication interface 1101 and a processor 1102. Optionally, the communication interface 1101 and the processor 1102 are connected via a bus 1104. Among them, the communication interface 1101 is used to obtain the first data and transmit the second data, and the processor may store instructions or program codes, and execute the functions performed by the above-mentioned first module or the functions performed by the third module by calling the instructions or program codes. Optionally, the network device also includes a memory 1103, in which instructions or program codes are stored, and the processor 1102 is used to call the instructions or program codes in the memory 1103 so that the network device executes the relevant processing steps of the first module in the above-mentioned method embodiment. In a specific embodiment, the data transmission device 1100 of the embodiment of the present application may include the first module in each of the above-mentioned method embodiments, and the processor 1102 in the data transmission device 1100 reads the instructions or program codes in the memory 1103, so that Fig.23 The data transmission device 1100 shown can execute all or part of the operations executed by the first module.

[0251] In a specific embodiment, the data transmission device 1100 of the embodiment of the present application includes the third module in each of the above method embodiments, and the processor 1102 in the data transmission device 1100 reads the instruction or program code in the memory 1103, so that Fig.23 The data transmission device 1100 shown can execute all or part of the operations executed by the third module.

[0252] Exemplarily, the processor 1102 is, for example, a general-purpose central processing unit (CPU), a digital signal processor (DSP), a network processor (NP), a graphics processing unit (GPU), a neural-network processing units (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the solution of the present application. For example, the processor 1102 includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. It can implement or execute various logic blocks, modules, and circuits described in conjunction with the disclosure of the embodiments of the present invention. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0253] Optionally, the data transmission device 1100 further includes a bus. The bus is used to transmit information between the components of the data transmission device 1100. The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.23 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus. Fig.23 In addition to being connected by a bus, the components of the data transmission device 1100 may also be connected in other ways, and the embodiment of the present invention does not limit the connection method of the components.

[0254] The memory 1103 is, for example, a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1103 is, for example, independent and connected to the processor 1102 via a bus. The memory 1103 can also be integrated with the processor 1102.

[0255] The communication interface 1101 uses any transceiver-like device to communicate with other devices or communication networks, and the communication network can be Ethernet, a radio access network (RAN) or a wireless local area network (WLAN), etc. The communication interface 1101 may include a wired communication interface and may also include a wireless communication interface. Specifically, the communication interface 1101 may be an Ethernet interface, a fast Ethernet (FE) interface, a gigabit Ethernet (GE) interface, an asynchronous transfer mode (ATM) interface, a wireless local area network (WLAN) interface, a cellular network communication interface or a combination thereof. The Ethernet interface may be an optical interface, an electrical interface or a combination thereof. In an embodiment of the present application, the communication interface 1101 may be used for the data transmission device 1100 to communicate with other devices.

[0256] In a specific implementation, as an embodiment, the processor 1102 may include one or more CPUs. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0257] In a specific implementation, as an embodiment, the data transmission device 1100 may include multiple processors. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0258] In a specific implementation, as an embodiment, the data transmission device 1100 may also include an output device and an input device. The output device communicates with the processor 1102 and may display information in a variety of ways. For example, the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device communicates with the processor 1102 and may receive user input in a variety of ways. For example, the input device may be a mouse, a keyboard, a touch screen device, or a sensor device.

[0259] In some embodiments, the memory 1103 is used to store the program code for executing the solution of the present application, and the processor 1102 can execute the program code stored in the memory 1103. That is, the data transmission device 1100 can implement the data transmission method provided by the method embodiment through the processor 1102 and the program code in the memory 1103. The program code may include one or more software modules. Optionally, the processor 1102 itself may also store the program code or instruction for executing the solution of the present application.

[0260] In a specific embodiment, the data transmission device 1100 of the embodiment of the present application may include the first chip in each of the above method embodiments, and the processor 1102 in the data transmission device 1100 reads the program code in the memory 1103 or the program code or instruction stored in the processor 1102 itself, so that Fig.23 The data transmission device 1100 shown can execute all or part of the operations executed by the first network device.

[0261] In a specific embodiment, the data transmission device 1100 of the embodiment of the present application may include the third module in each of the above method embodiments, and the processor 1102 in the data transmission device 1100 reads the program code in the memory 1103 or the program code or instruction stored in the processor 1102 itself, so that Fig.23 The data transmission device 1100 shown can execute all or part of the operations executed by the third module.

[0262] The data transmission device 1100 may also correspond to the above Fig.21 , 22 The device shown, Fig.21 , 22 Each functional unit in the device shown is implemented using software of the data transmission device 1100. In other words, Fig.21 , 22 The functional units included in the apparatus shown are generated after the processor 1102 of the data transmission device 1100 reads the program code stored in the memory 1103 .

[0263] in, Figure 2 Each step of the data transmission method shown is completed by an integrated logic circuit of hardware or software instructions in the processor of the data transmission device 1100. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0264] The embodiment of the present application also provides a data transmission system, which includes: a first data transmission device and a second data transmission device; the first data transmission device is used to perform Figure 2 The method executed by the first module shown, the second data transmission device is used to execute Figure 2 The method executed by the third module shown.

[0265] The functions of the first data transmission device and the second data transmission device of the system can be referred to above. Figure 2 The relevant descriptions shown will not be repeated here one by one.

[0266] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0267] Further, in an optional embodiment, the memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. The memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0268] The memory may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM) and direct memory bus random access memory (DR RAM).

[0269] A computer-readable storage medium is also provided, wherein the storage medium stores at least one program instruction or code, which, when loaded and executed by a processor, enables the computer to implement the above Figure 2 The method of data transmission is shown.

[0270] The present application provides a computer program. When the computer program is executed by a computer, a processor or a computer can be enabled to execute the corresponding steps and / or processes in the above method embodiments.

[0271] A chip is provided, comprising a processor, for calling and executing instructions stored in a memory from the memory, so that a device equipped with the chip executes the methods in the above aspects.

[0272] Another chip is provided, comprising: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, the processor is used to execute the code in the memory, and when the code is executed, the processor is used to execute the methods in the above aspects.

[0273] A device is provided, comprising a chip as described in any one of the above solutions.

[0274] A device is provided, comprising the first chip described in any one of the above solutions, and / or the third chip described in any one of the above solutions.

[0275] In some embodiments, Figure 13-19 In the embodiment of the present invention, the second chip may be a transmitting side device, such as a physical layer (PHY) chip in a router, a switch, or a server, and the first chip may be an interface of a receiving side device, such as a chip in an optical module or a CDR / retimer chip. The third chip may be an interface of a receiving side device, such as a chip in an optical module or a CDR / retimer chip. The PHY chip may be a chip located on a single board of a computing device, and the chip may be one of a CPU, a network processor (NP), a neural network processing unit (NPU), a field programmable gate array (FPGA), a programmable logic controller (PLC), etc., or any combination thereof.

[0276] In some embodiments, the first chip communicates with the second chip via AUI; in some embodiments, the third chip communicates with the first chip via AUI.

[0277] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state hard disk, solidstate disk), etc.

[0278] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation methods of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application should be included in the scope of protection of the present application.

[0279] Those of ordinary skill in the art will appreciate that, in conjunction with the various method steps and modules described in the embodiments disclosed herein, they can be implemented in software, hardware, firmware, or any combination thereof. In order to clearly illustrate the interchangeability of hardware and software, the steps and components of each embodiment have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those of ordinary skill in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0280] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0281] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer program instructions. As an example, the method of the embodiment of the present application can be described in the context of a machine executable instruction, and the machine executable instruction is such as included in the program module executed in the device on the real or virtual processor of the target. Generally speaking, a program module includes a routine, a program, a library, an object, a class, a component, a data structure, etc., which performs a specific task or realizes a specific abstract data structure. In various embodiments, the function of the program module can be merged or divided between the described program modules. The machine executable instruction for the program module can be executed in a local or distributed device. In a distributed device, the program module can be located in both a local and a remote storage medium.

[0282] The computer program code for realizing the method for the embodiment of the present application can be written in one or more programming languages. These computer program codes can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by a computer or other programmable data processing device, causes the function / operation specified in the flow chart and / or block diagram to be implemented. The program code can be executed completely on a computer, partially on a computer, as an independent software package, partially on a computer and partially on a remote computer or completely on a remote computer or server.

[0283] In the context of the embodiments of the present application, computer program codes or related data may be carried by any appropriate carrier to enable a device, apparatus or processor to perform the various processes and operations described above. Examples of carriers include signals, computer readable media, and the like.

[0284] Examples of signals may include electrical, optical, radio, acoustic or other forms of propagated signals, such as carrier waves, infrared signals, etc.

[0285] A machine-readable medium may be any tangible medium that contains or stores a program for or related to an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More detailed examples of machine-readable storage media include an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0286] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0287] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, or it can be an electrical, mechanical or other form of connection.

[0288] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0289] In addition, each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0290] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0291] In this application, the terms "first", "second", etc. are used to distinguish between identical or similar items with substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is the quantity and execution order limited. It should also be understood that although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of the various described examples, a first network device may be referred to as a second network device, and similarly, a second network device may be referred to as a first network device. Both the first network and the device and the second network device may be network devices, and in some cases, may be separate and different network devices.

[0292] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0293] The term "at least one" in this application means one or more, and the term "multiple" in this application means two or more, for example, multiple second messages means two or more second messages. The terms "system" and "network" are often used interchangeably herein.

[0294] It should be understood that the terms used in the description of the various examples herein are only for describing specific examples and are not intended to be limiting. As used in the description of the various examples and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

[0295] It should also be understood that the term “comprise” (also known as “includes,” “including,” “comprises” and / or “comprising”) when used in this specification specifies the presence of stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0296] It should also be understood that the terms "if" and "if" may be interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting." Similarly, the phrases "if it is determined that ..." or "if [a stated condition or event] is detected" may be interpreted to mean "upon determining that ..." or "in response to determining that ..." or "upon detecting [a stated condition or event]" or "in response to detecting [a stated condition or event]," depending on the context.

[0297] It should be understood that determining B based on A does not mean determining B only based on A. B can also be determined based on A and / or other information.

[0298] It should also be understood that the references to "one embodiment", "an embodiment", or "a possible implementation" throughout the specification mean that specific features, structures, or characteristics related to the embodiment or implementation are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment", or "a possible implementation" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

Claims

1. A method for data transmission, characterized in that: The method comprises: The first module acquires first data sent by the second module, the first data is data encoded by a first forward error correction FEC code type and subjected to a first process, the first process includes a first outer code interleaving process, and the first module and the second module communicate through an accessory unit interface AUI; The first module performs a third processing on the first data to obtain coded data, wherein the third processing includes a second outer code interleaving process and an inner code coding process, and the inner code coding process is a coding process implemented according to a second FEC code type; The first module performs a second process on the encoded data to obtain second data; The first module transmits the second data.

2. The method according to claim 1, characterized in that The second processing includes inserting at least one of a training sequence and a pilot symbol.

3. The method according to claim 1, characterized in that The second process includes grouping the coded data according to symbols required for modulation.

4. The method according to claim 3, characterized in that The inner code encoding process is implemented by a plurality of inner code encoders, the encoded data includes multiple channels of data, the multiple channels of data correspond to the plurality of inner code encoders one by one, and the encoding data is grouped according to symbols required for modulation, including: The multiple data are grouped according to symbols required for modulation.

5. The method according to any one of claims 1 to 4, characterized in that: At least one of the first process and the second process further includes inserting data for adjusting the frequency point.

6. The method according to any one of claims 1 to 5, characterized in that: The second outer code interleaving process includes convolutional interleaving.

7. The method according to any one of claims 1 to 6, characterized in that: The second FEC code type is a Bose-Chaudhuri-Hokkewenheim BCH code.

8. The method according to any one of claims 1 to 7, characterized in that: The first module obtains the first data sent by the second module, including: The first module receives a plurality of first sub-data sent by the second module, where the first data includes the plurality of first sub-data, and the plurality of first sub-data are data encoded by a first FEC code type and distributed through a physical medium access sublayer PMA.

9. The method according to claim 8, characterized in that The first module obtains the first data sent by the second module, including: The first module receives the plurality of first sub-data sent by the second module through the plurality of channels of the AUI.

10. The method according to any one of claims 1 to 9, characterized in that: The third process also includes a de-skew process.

11. The method according to any one of claims 1 to 10, characterized in that: The third process further includes an alignment flag AM locking process.

12. The method according to any one of claims 1 to 11, characterized in that: The first FEC code type is used in outer code encoding of the concatenated coding, and the second FEC code type is used in inner code encoding of the concatenated coding.

13. The method according to any one of claims 1 to 12, characterized in that: The first module is a chip in an optical module, and the second module is a physical layer PHY chip.

14. The method according to any one of claims 6 to 13, characterized in that: Convolutional interleaving includes: The first data is polled and distributed to multiple registers with different delay lengths according to p bits as a data block unit, and the data blocks from the registers with unequal delays are aggregated into the same data stream to form an interleaved bit stream, and there is a register among the registers that does not delay the bit stream.

15. A data transmission device, characterized in that: The data transmission device is used to execute the method according to any one of claims 1-14.

16. The device according to claim 15, characterized in that The data transmission device includes an optical module.

17. A data transmission system, characterized in that: The data transmission system comprises a first module and a second module, the first module is used to execute the method according to any one of claims 1 to 14, and the second module is used to send first data to the first module.

Citation Information

Patent Citations

  • Method and apparatus for channel coding and interleaving in mobile media broadcast

    CN101013931A

  • System and method including modified bit-interleaved coded modulation

    CN104115435A

  • Coding and decoding of a polar code concatenated with interleaving with an outer systematic code

    CN110999094A

  • Sending device and method of digital broadcasting system

    CN1489308A

  • Transmission device with simplified digital broadcasting system and method thereof

    CN1490947A

Cited By

  • Communication method and device

    CN121098447A