Method and device for processing Ethernet data stream, computer system and network system

By dynamically adjusting the FEC decoder and deinterleaver configuration in the receiving end device, the problem of poor adaptability of concatenated codes in high bit error rate scenarios is solved, and the reliability and efficiency of Ethernet communication are improved.

CN118784143APending Publication Date: 2024-10-15HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310377636.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-06
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In Ethernet communications, concatenated codes have poor adaptability in high bit error rate scenarios, making it difficult to flexibly adjust the error correction capabilities of the receiving device, affecting the reliability and efficiency of the communication system.

Method used

By obtaining the bit error rate, symbol error rate and other indicators in the transmission information as trigger conditions, adjust the configuration of the FEC decoder and deinterleaver in the receiving end device, and dynamically adjust the error correction capability, including enabling or disabling different decoding and interleaver configuration to adapt to different error scenarios.

Benefits of technology

This method realizes a method to flexibly adjust the error correction capability of the receiving end device under different error scenarios, improves the reliability and efficiency of the communication system, and reduces the error rate and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784143A_ABST
    Figure CN118784143A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for processing Ethernet data flow, a computer system, a network system and a computer readable storage medium. The method is applied to a receiving end device comprising a first forward error correction (FEC) decoder and a second FEC decoder. The method comprises the following steps: acquiring transmission information of a first data stream; and if the transmission information satisfies a trigger condition, adjusting the error correction capability of the receiving end device. By applying the method, the device, the computer system, the network system and the computer readable storage medium, the data stream can be flexibly and effectively processed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a method, device, computer system, network system and computer-readable storage medium for processing Ethernet data stream. Background Art

[0002] In order to combat the influence of bit errors in communication transmission, forward error correction (FEC) is introduced into the communication system to correct the bit errors and thus recover the transmitted data. As the communication link rate increases, the bit error rate (BER) also gradually increases, requiring a stronger FEC to correct the bit errors. In Ethernet communications, the Institute of Electrical and Electronics Engineers (IEEE) 802.3bs200GE / 400GE selected a single-stage FEC RS (544,514) to correct bit errors at a rate of 100G / lane. For the 200G / lane rate, in order to combat the higher received BER, in some schemes, another level of FEC coding is added to the original Reed-Solomon (RS) code to form a cascade code. The basic system transmission diagram using cascade codes is shown below. Figure 1 , wherein the first FEC encoder and the second FEC encoder together form a concatenated code. In some scenarios, the concatenated code has poor adaptability. Summary of the invention

[0003] The present application discloses a method, device, computer system, network system and computer-readable storage medium for processing Ethernet data stream, which can flexibly and effectively process Ethernet data stream.

[0004] According to a first aspect of the present application, a method for processing an Ethernet data stream is applied to a receiving device including a first forward error correction (FEC) decoder and a second FEC decoder, the method comprising: obtaining transmission information of the first data stream; if the transmission information satisfies a trigger condition, adjusting the error correction capability of the receiving device. With this method, in a scenario where a concatenated code is configured, the error correction capability of the receiving device can still be adjusted according to the actual application scenario.

[0005] In a possible implementation, the transmission information includes one or more of a bit error rate BER, a number of error bits, a symbol error rate SER, a number of error symbols, a codeword error rate CER, a number of error codewords, channel state information, and an eye diagram parameter of the first data stream. The method of the present application can be based on the number of errors or error rates of various error units as a measure of a threshold or trigger condition, and can be widely used in various scenarios.

[0006] In a possible implementation, the receiving end device further includes a first deinterleaver, and the transmission information satisfies a trigger condition, and the error correction capability of the receiving end device is adjusted, including one or more of (1)-(6):

[0007] (1) if the number of bit errors in P codewords at the second FEC decoder is less than J, the first deinterleaver and the second FEC decoder are disabled, where P and J are positive integers and P>J>1;

[0008] (2) if the number of bit errors in the P codewords at the second FEC decoder is less than K, the first deinterleaver is disabled and the hard decision decoding HDD of the second FEC decoder is enabled, where K is a positive integer and K>J;

[0009] (3) If the number of bit errors in the P codewords at the second FEC decoder is less than L, the first deinterleaver is disabled and the soft decision decoding SDD of the second FEC decoder is enabled, configuration 2, where L is a positive integer and L>K;

[0010] (4) if the number of bit errors in the P codewords at the second FEC decoder is less than M, then the first deinterleaver is disabled and configuration 1 of the second FEC decoder SDD is enabled, where M>L;

[0011] (5) if the number of bit errors in the P codewords at the second FEC decoder is less than N, then enabling the FEC decoder to be configured as SDD configuration 1 and enabling configuration 2 of the first deinterleaver, where N>M;

[0012] (6) If none of (1) to (5) is satisfied, enable Configuration 1 of the second FEC decoder and enable Configuration 1 of the first deinterleaver.

[0013] In a possible implementation manner, the transmission information satisfies a trigger condition, and the error correction capability of the receiving end device is adjusted, including any one of the following:

[0014] (1) enabling configuration 1 of soft decision decoding SDD of the second FEC decoder;

[0015] (2) enabling configuration 2 of the SDD of the second FEC decoder;

[0016] (3) enabling hard decision decoding HDD of the second FEC decoder;

[0017] (4) Disabling the second FEC decoder.

[0018] The error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than that of configuration 2, and the error correction capability of configuration 2 is stronger than that of the HDD of the second FEC decoder.

[0019] In a possible implementation manner, the receiving end device further includes a first deinterleaver, and the transmission information satisfies a trigger condition, and the error correction capability of the receiving end device is adjusted, including any one of the following:

[0020] (1) enabling configuration 1 of soft decision decoding SDD of the second FEC decoder and enabling configuration 1 of the first deinterleaver;

[0021] (2) enabling configuration 1 of the SDD of the second FEC decoder and enabling configuration 2 of the first deinterleaver;

[0022] (3) enabling SDD configuration 1 of the second FEC decoder and disabling the first deinterleaver;

[0023] (4) enabling configuration 2 of the SDD of the second FEC decoder and disabling the first deinterleaver;

[0024] (5) enabling the hard decision decoding HDD of the second FEC decoder and disabling the first deinterleaver;

[0025] (6) disabling the second FEC decoder and the first deinterleaver;

[0026] The deinterleaving delay and / or power consumption of configuration 1 of the first deinterleaver is higher than the deinterleaving delay and / or power consumption of configuration 2 of the first deinterleaver; the error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than the error correction capability of configuration 2, and the error correction capability of configuration 2 is stronger than the error correction capability of the HDD of the second FEC decoder.

[0027] In a possible implementation, the receiving end device further includes a data position inverse transformer, a first deinterleaver and a second deinterleaver, the data position inverse transformer is used to perform an inverse transformation operation on the position of the received data bit or symbol whose position has been transformed by the data position transformer, the transmission information satisfies the trigger condition, and the error correction capability of the receiving end device is adjusted, including any one of the following:

[0028] (1) The bit error rate BER of the data stream received by the receiving end device satisfies BER<=a, the data position inverse transformer, the second FEC decoder, the first deinterleaver and the second deinterleaver are disabled, and a>0;

[0029] (2) When the BER of the data stream received by the receiving end device satisfies a < BER <= b, disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the hard decision decoding HDD of the second FEC decoder;

[0030] (3) When the BER of the data stream received by the receiving end device satisfies b < BER <= c, disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the soft decision decoding SDD of the second FEC decoder;

[0031] (4) When the BER of the data stream received by the receiving end device satisfies c < BER <= d, disable the data position inverse converter and the first deinterleaver and enable the soft decision decoding SDD of the second FEC decoder, the data position inverse converter, and the second deinterleaver;

[0032] (5) When the BER of the data stream received by the receiving end device satisfies d < BER <= e, enable the soft decision decoding SDD of the second FEC decoder, the data position inverse converter, the second deinterleaver, and the first deinterleaver.

[0033] Based on these solutions, the error correction ability of the receiving end device can be flexibly adjusted based on the strength of the error correction ability and considering power consumption and / or latency, etc.

[0034] In a possible implementation, the transmission information is related to the number of error units at the first FEC decoder and / or the second FEC decoder.

[0035] In a possible implementation, the error unit includes a codeword or a bit or a symbol or a bit group containing any number of bits.

[0036] In a possible implementation, the transmission information includes: information on how to adjust the error correction ability of the receiving end device.

[0037] In a possible implementation, the information on how to adjust the error correction ability of the receiving end device includes: disabling or weakening the error correction ability of the second FEC decoder.

[0038] In a possible implementation, the receiving end device further includes a deinterleaver, and the information on how to adjust the error correction ability of the receiving end device includes:

[0039] Disabling or weakening the error correction ability of the second FEC decoder; and / or

[0040] Disabling or weakening the deinterleaving effect of the deinterleaver.

[0041] In a possible implementation manner, the receiving end device further includes a deinterleaver and a data position inverse transformer, and the information on how to adjust the error correction capability of the receiving end device includes:

[0042] Disabling or weakening the error correction capability of the second FEC decoder; and / or

[0043] Disabling or weakening the deinterleaving effect of the deinterleaver; and / or

[0044] The function of the data position inverse converter is disabled.

[0045] In a possible implementation manner, the transmission information comes from a register of the transmitting / receiving end device and / or the transmission information is triggered by a primitive.

[0046] According to a second aspect of the present application, a method for processing an Ethernet data stream is performed by a transmitting end device, the transmitting end device comprising a first forward error correction FEC encoder and a second FEC encoder, the method comprising: configuring a data stream processing mode of the transmitting end device based on an indication. With this method, the data stream processing mode of the transmitting end device can be flexibly configured.

[0047] In a possible implementation manner, the instruction includes: information on how to adjust the error correction capability data stream processing manner of the sending end device.

[0048] In a possible implementation manner, configuring the data stream processing mode indication of the transmitting end device includes: disabling or weakening the error correction capability of the second FEC decoder.

[0049] In a possible implementation manner, the transmitting end device further includes a first interleaver, and the configuring the data stream processing mode indication of the transmitting end device includes:

[0050] Disabling or weakening the error correction capability of the second FEC decoder;

[0051] and / or

[0052] Disabling or weakening the interleaving effect of the first interleaver.

[0053] In a possible implementation, the transmitting end device further includes a first interleaver and a data position converter, and the configuring the data stream processing mode indication of the transmitting end device includes:

[0054] Disabling or weakening the error correction capability of the second FEC decoder; and / or

[0055] disabling or reducing the error correction capability of the first interleaver; and / or

[0056] The data location converter function is disabled.

[0057] In a possible implementation manner, the instruction comes from a receiving device corresponding to the sending device.

[0058] In a possible implementation manner, the indication is in a register of the transmitting end device and / or the indication is triggered by a primitive.

[0059] According to a third aspect of the present application, a device for processing an Ethernet physical layer data stream includes a processor, wherein the processor is used to execute the method described in any one of the above-mentioned first aspect and possible implementation manners of the first aspect.

[0060] According to a fourth aspect of the present application, a device for processing an Ethernet physical layer data stream includes a processor, wherein the processor is used to execute the method described in any one of the second aspect of the claim and the possible implementation manner of the second aspect.

[0061] In a possible implementation manner, the device includes an Ethernet interface.

[0062] According to a fifth aspect of the present application, a computer system comprises the device.

[0063] According to the sixth aspect of the present application, a network system includes a sending end device and a receiving end device, the sending end device includes the device described in any one of the third aspect and its possible implementation methods, and the receiving end device includes the device in any one of the fourth aspect and its possible implementation methods.

[0064] According to the seventh aspect of the present application, a computer program (product), when executed by a computer, can enable a processor or a computer to execute the corresponding steps and / or processes in the above method embodiments.

[0065] A computer-readable storage medium stores at least one program instruction or code, and the program instruction or code is loaded and executed by a computer to enable the computer to implement any of the above-mentioned methods.

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

[0067] 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.

[0068] A device is provided, comprising a chip according to any one of the above solutions. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 A schematic diagram of a concatenated code channel transmission model of the present application;

[0070] Figure 2A to Figure 2N A schematic diagram of the concatenated code channel transmission model of the present application;

[0071] Figure 3 A schematic diagram of a method for processing Ethernet data stream according to an embodiment of the present application;

[0072] Figure 4 A schematic diagram of the structure of a device for processing Ethernet data streams according to an embodiment of the present application;

[0073] Figure 5 A schematic diagram of the structure of another device for processing Ethernet data stream according to an embodiment of the present application;

[0074] Figure 6 A schematic diagram of the structure of a computer system according to an embodiment of the present application;

[0075] Figure 7 A schematic diagram of the structure of a network system according to an embodiment of the present application. DETAILED DESCRIPTION

[0076] Bit errors (BE) are inevitable in communication transmission due to environmental interference, system errors, etc. Bit errors refer to the inconsistency between the data received by the information receiving end and the data sent by the sending end. Bit errors in the transmission of key control signals of the device may cause system crashes and data loss. In addition, the occurrence of bit errors also greatly affects the communication delay and the consumer's experience of video, games, calls, etc. Therefore, the amount of bit errors at the information receiving end and the bit error ratio (BER) are important indicators of communication system performance.

[0077] The smaller the BER at the receiving end, the higher the transmission reliability. To ensure the high reliability of the system, the communication system will make requirements for the receiving BER. For example, the IEEE 802.3bs 400GE standard requires that the BER when data enters the media access control (MAC) layer of the receiving end is lower than 1ⅹ10^(-13), that is, 1ⅹ10 -13 , and the BER at the receiving end after the link transmission is completed is about 2.4ⅹ10^(-4), that is, 2.4ⅹ10 -4Therefore, in order to eliminate most of the bit errors, FEC is used to correct the bit errors and restore them to the transmitted data. After FEC correction, the BER of the data entering the MAC layer of the receiving end will be greatly reduced.

[0078] However, the channel status may cause the bit error rate (ie, receiving BER) of the signal reaching the receiving end to be high due to environmental changes or human factors. Even after FEC correction, the receiving BER may not meet specific communication requirements for a period of time.

[0079] like Figure 1 In a cascade code channel transmission scenario, the transmitting device includes a first FEC encoder and a second FEC encoder, and the receiving device includes a first FEC decoder and a second FEC decoder. The data stream of the transmitting device is encoded by the first FEC encoder and the second FEC encoder, and then sent to the receiving device through PMA / PMD. The receiving device decodes the received data stream by the second FEC decoder and the second FEC decoder in turn to obtain the data stream initially sent by the transmitting device. The first FEC encoder is the outer code of the cascade code, which can be a Reed-Solomon (RS) encoder, such as RS (544,514) code; accordingly, the first FEC decoder can be an RS decoder, such as RS (544,514) code, and the RS (544,514) code 10-bit symbol is used for error correction. The second FEC encoder is the inner code of the concatenated code, and may be an FEC code based on bit error correction, and may be different from the RS (544, 514) code. For example, the second FEC encoder may be a Bose-Chaudhuri-Hocquenghem (BCH) code encoder, an extended BCH code encoder, a Hamming code encoder, or an extended Hamming code encoder; accordingly, the second FEC decoder may be an FEC decoder based on bit error correction and having the same code type as the second FEC encoder.

[0080] In some embodiments, the first FEC encoder may also be any one of a BCH code encoder, a fire code encoder, a turbo code encoder, a turbo product code (TPC) encoder, a staircase code encoder, and a low density parity check (LDPC) code encoder. The second FEC encoder may also be any one of a fire code encoder, a turbo code encoder, a TPC encoder, a staircase code encoder, and a LDPC code encoder.

[0081] like Figure 2A and Figure 2B ,exist Figure 1In the concatenated code scenario, a first interleaver is further added between the first FEC encoder and the second FEC encoder to further reduce the bit error rate. In some embodiments, the first interleaver can be a convolutional interleaver. Accordingly, a first deinterleaver is included between the second FEC decoder and the first FEC decoder of the receiving end device, and the first deinterleaver can also be a convolutional deinterleaver. According to Figure 2A , the data is encoded by the first FEC encoder and then enters the first interleaver. The first interleaver interleaves the data from the first FEC encoder. The interleaved data enters the second FEC encoder. After being encoded by the second FEC encoder, the data is sent to the second FEC decoder of the receiving device through the channel. The second FEC decoder corresponds to the second FEC encoder and is used to decode the data encoded by the second FEC encoder. The data decoded by the second FEC decoder enters the first deinterleaver to deinterleave the incoming data. The deinterleaved data enters the first FEC decoder to perform FEC decoding on the incoming data. According to Figure 2B , the data is encoded by the first FEC encoder and the second FEC encoder and then arrives at the first interleaver. The first interleaver interleaves the data from the first FEC encoder, and the interleaved data is sent to the receiving device through the channel. The data stream received by the receiving device is deinterleaved by the first deinterleaver, decoded by the second FEC decoder, and decoded by the first FEC decoder to obtain the original data.

[0082] The second FEC decoder can use soft decision decoding (SDD). The second FEC decoder used as the inner code uses soft decision decoding, which makes almost all received codewords correctable, so that the number of error bits can be directly obtained. This will make the statistics of the number of bit errors slightly different from the statistics of the number of bit errors in the RS code. For uncorrectable codewords, the number of error bits can be set to the minimum Hamming distance d of the inner code. The error statistics of the second FEC decoder used as the inner code using SDD may be slightly different from the actual number of bit errors, and statistical data can be used to help reduce this difference. If the inner code uses hard decision decoding (HDD), the above-mentioned SDD error number statistics method can also be used.

[0083] like Figure 2C to Figure 2E ,exist Figure 2A and / or Figure 2BOn the basis of the above, one or more interleavers can be further added to the transmitting device to further reduce the bit error rate through multiple interleaving; accordingly, the receiving device will also further add one or more deinterleavers to deinterleave the received code stream that has been interleaved multiple times. One or more of the one or more interleavers further added can also be convolution interleavers, and accordingly, one or more of the one or more deinterleavers further added to the receiving device can also be convolution deinterleavers. Figure 2C to Figure 2E and Figure 2L to Figure 2N Each of the given two interleavers ( Figure 2C to Figure 2E and Figure 2L to Figure 2N In a cascade code scenario of a first interleaver and a second interleaver (as shown in any one of the preceding claims), the logical structure of a transmitting device and a receiving device.

[0084] On the basis of the concatenated code including multiple interleavers, the bit error rate can be further reduced by adding a data position converter in the transmitting end device and receiving a data position inverse converter corresponding to the data position converter in the receiving end device. Figure 2F and Figure 2G Shows a 1 interleaver ( Figure 2F and Figure 2G The logical structure of the transmitting device and the receiving device in the cascade code scenario of the first interleaver) and the data position converter shown in FIG. Figure 2L to Figure 2N Shows a 2-way interleaver ( Figure 2L to Figure 2N The logical structure of the transmitting end device and the receiving end device in the cascade code scenario of the first interleaver and the second interleaver) and the data position converter shown.

[0085] like Figure 3 As shown, an embodiment of the present application provides a method for processing an Ethernet data stream, the method being applied to a receiving end device including a first FEC decoder and a second FEC decoder, the method comprising:

[0086] S10. Acquire transmission information of a first data stream.

[0087] Specifically, the first data stream is a data stream sent by a transmitting device to a receiving device, and the receiving device obtains the transmission information of the first data stream according to the first data stream. In some embodiments, the transmission information includes one or more of the bit error rate BER, the number of error bits, the symbol error rate (SER), the number of error symbols, the codeword error rate (CER), the number of error codewords, the channel state information (CSI), and the eye diagram parameters of the first data stream. The channel state information includes the frequency response. The frequency response refers to the phenomenon that when an electrical signal output with a constant voltage is connected to the system, the sound pressure generated by the speaker increases or decreases with the change of frequency, and the phase changes with the frequency. This change relationship between the sound pressure and the phase and the frequency is called the frequency response. It also refers to the frequency range that the system can replay within the range allowed by the amplitude, and the change amount of the signal within this range is called the frequency response, also called the frequency characteristic. The main parameters of the eye diagram include: extinction ratio, jitter, cross point, rising edge time, falling edge time, margin. The extinction ratio is defined as the value of the "1" level to the "0" level in the eye diagram. The extinction ratio requirements vary according to different rates, transmission distances, and laser types. The extinction ratio is a very important parameter in the measurement of optical communication transmitters, and its size determines the quality of the communication signal.

[0088] The sending device can be Figure 1 to Figure 2N Any of the sending end devices shown in the figure, the receiving end device can be Figure 1 to Figure 2N In any of the receiving devices shown in the figure, the sending device includes a first FEC encoder and a second FEC encoder, and correspondingly, the receiving device includes a second FEC decoder and a first FEC decoder. The first FEC encoder of the sending device corresponds to the first FEC decoder of the receiving device, and the second FEC encoder of the sending device corresponds to the second FEC decoder of the receiving device.

[0089] S20: If the transmission information satisfies a trigger condition, adjust the error correction capability of the receiving device.

[0090] The receiving end device obtains the transmission information of the first data stream, determines whether the transmission information satisfies the trigger condition, and if so, adjusts the error correction capability of the receiving end device. In some embodiments, the receiving end device is Figure 1 to Figure 2N In any of the receiving end devices described above, the trigger condition is related to the number of error units at the first FEC decoder and / or the second FEC decoder. In some embodiments, the error unit includes a codeword or a bit or a symbol or a bit group containing an arbitrary number of bits.

[0091] In some embodiments, the receiving device may be Figure 1 to Figure 2N The receiving end device shown in any one of the above, the transmission information includes the BER of the first data stream, and the adjustment of the error correction capability of the receiving end device may include any one of the following (1) to (3):

[0092] (1) enabling configuration 1 of the SDD of the second FEC decoder;

[0093] (2) enabling configuration 2 of the SDD of the second FEC decoder;

[0094] (3) enabling the HDD of the second FEC decoder;

[0095] (4) Disabling the second FEC decoder.

[0096] The error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than that of configuration 2, and the error correction capability of configuration 2 of the SDD of the second FEC decoder is stronger than that of the HDD of the second FEC decoder.

[0097] In some embodiments, the receiving device may be Figure 1 to Figure 2N The receiving end device shown in any one of the above, the transmission information includes the BER of the first data stream, and the trigger condition includes one of the following (a) to (e):

[0098] (a) The BER of the first data stream satisfies BER<=a;

[0099] (b) The BER of the first data stream satisfies a <BER<=b;

[0100] (c) The BER of the first data stream satisfies b <BER<=c;

[0101] (d) The BER of the first data stream satisfies c <BER<=d;

[0102] (e) The BER of the first data stream satisfies d <BER<=e;

[0103] Where a>0.

[0104] Accordingly, if the transmission information satisfies one of the above trigger conditions (a) to (e), the receiving end device is Figure 2A to Figure 2E , Figure 2H to Figure 2N The receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder, a second FEC decoder and a first deinterleaver, and adjusting the error correction capability of the receiving end device includes any one of the following (A) to (E):

[0105] (A) The BER of the first data stream satisfies BER <= a, disable the second FEC decoder and the first deinterleaver, where a > 0;

[0106] (B) The BER of the first data stream satisfies a < BER <= b, disable the first deinterleaver and enable the HDD of the second FEC decoder;

[0107] (C) The BER of the first data stream satisfies b < BER <= c, disable the first deinterleaver and enable Configuration 2 of the SDD of the second FEC decoder;

[0108] (D) The BER of the first data stream satisfies c < BER <= d, disable the first deinterleaver and enable Configuration 1 of the SDD of the second FEC decoder;

[0109] (E) The BER of the first data stream satisfies d < BER <= e, enable Configuration 1 of the SDD of the second FEC decoder and the first deinterleaver.

[0110] Correspondingly, if the transmission information meets one of the above trigger conditions (a) to (e), the receiving end device is Figure 2C to Figure 2E any of the receiving end devices shown in, and the receiving end device includes a first FEC decoder, a second FEC decoder, a first deinterleaver, and a second deinterleaver. Adjusting the error correction ability of the receiving end device includes any one of the following (A) to (E):

[0111] (A) The BER of the first data stream satisfies BER <= a, disable the second FEC decoder, the first deinterleaver, and the second deinterleaver, where a > 0;

[0112] (B) The BER of the first data stream satisfies a < BER <= b, disable the first deinterleaver and the second deinterleaver, and enable the HDD of the second FEC decoder;

[0113] (C) The BER of the first data stream satisfies b < BER <= c, disable the first deinterleaver and the second deinterleaver, and enable the SDD of the second FEC decoder;

[0114] (D) The BER of the first data stream satisfies c < BER <= d, disable the first deinterleaver and the second deinterleaver and enable the SDD of the second FEC decoder;

[0115] (E) The BER of the first data stream satisfies d < BER <= e, enable the SDD of the second FEC decoder and the first deinterleaver.

[0116] Accordingly, if the transmission information satisfies one of the above trigger conditions (a) to (e), the receiving-end device is Figure 2F and Figure 2G the receiving-end device shown, and the receiving-end device includes a first FEC decoder, a second FEC decoder, and a data position inverse converter. Adjusting the error correction capability of the receiving-end device includes any one of the following (A) to (E):

[0117] (A) When the BER of the first data stream satisfies BER <= a, disable the second FEC decoder and the data position inverse converter;

[0118] (B) When the BER of the first data stream satisfies a < BER <= b, disable the second FEC decoder and enable the data position inverse converter;

[0119] (C) When the BER of the first data stream satisfies b < BER <= c, disable the data position inverse converter and enable the HDD of the second FEC decoder;

[0120] (D) When the BER of the first data stream satisfies c < BER <= d, disable the data position inverse converter and enable the SDD of the second FEC decoder;

[0121] (E) When the BER of the first data stream satisfies d < BER <= e, enable the SDD of the second FEC decoder and the data position inverse converter.

[0122] Accordingly, if the transmission information satisfies one of the above trigger conditions (a) to (e), the receiving-end device is Figure 2H to Figure 2N any of the receiving-end devices shown. The receiving-end device includes a first FEC decoder, a second FEC decoder, a data position inverse converter, and a first deinterleaver. The data position inverse converter is used to perform an inverse transformation operation on the positions of the data bits or symbols whose positions have been transformed by the data position converter. Then, adjusting the error correction capability of the receiving-end device includes any one of the following (A) to (E):

[0123] (A) When the BER of the first data stream satisfies BER <= a, disable the data position inverse converter, the second FEC decoder, and the first deinterleaver, where a > 0;

[0124] (B) When the BER of the first data stream satisfies a < BER <= b, disable the data position inverse converter and the first deinterleaver, and enable the HDD of the second FEC decoder;

[0125] (C) The BER of the first data stream satisfies b < BER <= c, disable the first deinterleaver, and enable the SDD of the second FEC decoder;

[0126] (D) The BER of the first data stream satisfies c < BER <= d, disable the data position inverse converter and enable the SDD of the first deinterleaver and the second FEC decoder;

[0127] (E) The BER of the first data stream satisfies d < BER <= e, enable the SDD of the second FEC decoder, the data position inverse converter, and the first deinterleaver.

[0128] Correspondingly, if the transmitted information satisfies one of the above trigger conditions (a) to (e), the receiving end device is Figure 2L to Figure 2N the receiving end device shown in any of

[0129] (A) The BER of the first data stream satisfies BER <= a, disable the data position inverse converter, the second FEC decoder, the first deinterleaver, and the second deinterleaver, where a > 0;

[0130] (B) The BER of the first data stream satisfies a < BER <= b, disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the HDD of the second FEC decoder;

[0131] (C) The BER of the first data stream satisfies b < BER <= c, disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the SDD of the second FEC decoder;

[0132] (D) The BER of the first data stream satisfies c < BER <= d, disable the first deinterleaver and enable the SDD of the second FEC decoder;

[0133] (E) The BER of the first data stream satisfies d < BER <= e, enable the SDD of the second FEC decoder and the first deinterleaver.

[0134] In some embodiments, the receiving end device may be Figure 1 to Figure 2NThe receiving end device shown in any one of the above, wherein the transmission information includes the number of codeword errors of the first data stream, and adjusting the error correction capability of the receiving end device includes one of the following (a) to (e):

[0135] (I) disabling the second FEC decoder;

[0136] (II) enabling the HDD of the second FEC decoder;

[0137] (III) enabling configuration 2 of the SDD of the second FEC decoder;

[0138] (IV) enabling SDD configuration 1 of the second FEC decoder;

[0139] (V) enabling configuration 1 of the FEC decoder to be configured as SDD and enabling configuration 2 of the first deinterleaver;

[0140] (VI) Enable configuration 1 of the second FEC decoder and enable configuration 1 of the first deinterleaver

[0141] Accordingly, if the transmission information satisfies one of the above trigger conditions (I) to (IV), the receiving end device may be Figure 1 to Figure 2N The receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder and a second FEC decoder, and the transmission information includes one of the following (I) to (VI):

[0142] (I) the number of bit errors in P codewords at the second FEC decoder is less than J, where P and J are positive integers and P>J>1;

[0143] (II) the number of bit errors in the P codewords at the second FEC decoder is less than K, where K is a positive integer and K>J;

[0144] (III) the number of bit errors in the P codewords at the second FEC decoder is less than L, where L is a positive integer and L>K;

[0145] (IV) the number of bit errors in the P codewords at the second FEC decoder is less than M, where M>L;

[0146] (V) the number of bit errors in the P codewords at the second FEC decoder is less than N, where N>M;

[0147] (VI) If (I) to (V) are not satisfied.

[0148] Accordingly, if the transmission information satisfies one of the above trigger conditions (I) to (VI), the receiving device may be Figure 1 to Figure 2NThe receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder and a second FEC decoder, and the adjusting the error correction capability of the receiving end device includes any one of the following:

[0149] (I) if the number of bit errors in P codewords at the second FEC decoder is less than J, where P and J are positive integers and P>J>1, disabling the second FEC decoder;

[0150] (II) if the number of bit errors in the P codewords at the second FEC decoder is less than K, where K is a positive integer and K>J, then the HDD of the second FEC decoder is enabled;

[0151] (III) if the number of bit errors in the P codewords at the second FEC decoder is less than L, where L is a positive integer and L>K, then configuration 2 of the SDD of the second FEC decoder is enabled;

[0152] (IV) If the number of bit errors in the P codewords at the second FEC decoder is less than M, where M>L, then SDD configuration 1 of the second FEC decoder is enabled.

[0153] The error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than that of configuration 2, and the error correction capability of configuration 2 is stronger than that of the HDD of the second FEC decoder.

[0154] Accordingly, if the transmission information satisfies one of the above trigger conditions (I) to (VI), in some embodiments, the receiving end device may be Figure 2A to Figure 2E , Figure 2H to Figure 2N The receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder, a second FEC decoder and a first deinterleaver, and if the transmission information meets the trigger condition, the error correction capability of the receiving end device is adjusted, including one of (I)-(VI):

[0155] (I) if the number of bit errors in P codewords at the second FEC decoder is less than J, disabling the first deinterleaver and the second FEC decoder, where P and J are positive integers and P>J>1;

[0156] (II) if the number of bit errors in the P codewords at the second FEC decoder is less than K, then the first deinterleaver is disabled and the HDD of the second FEC decoder is enabled, where K is a positive integer and K>J;

[0157] (III) if the number of bit errors in the P codewords at the second FEC decoder is less than L, then disabling the first deinterleaver and enabling configuration 2 of the SDD of the second FEC decoder, where L is a positive integer and L>K;

[0158] (IV) if the number of bit errors in the P codewords at the second FEC decoder is less than M, then the first deinterleaver is disabled and configuration 1 of the second FEC decoder SDD is enabled, where M>L;

[0159] (V) if the number of bit errors in the P codewords at the second FEC decoder is less than N, then enabling the FEC decoder to be configured as SDD configuration 1 and enabling configuration 2 of the first deinterleaver, where N>M;

[0160] (VI) If none of (1) to (5) is satisfied, enable Configuration 1 of the second FEC decoder and enable Configuration 1 of the first deinterleaver.

[0161] Accordingly, if the transmission information satisfies one of the trigger conditions (I) to (VI), in some embodiments, the receiving end device may be Figure 2F and Figure 2G The receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder, a second FEC decoder and a data position inverse transformer, and if the transmission information meets the trigger condition, the error correction capability of the receiving end device is adjusted, including one of (I)-(VI):

[0162] (I) if the number of bit errors in P codewords at the second FEC decoder is less than J, disabling the data position inverse transformer and the second FEC decoder, where P and J are positive integers and P>J>1;

[0163] (II) if the number of bit errors in the P codewords at the second FEC decoder is less than K, then disabling the second FEC decoder and enabling the inverse data position transformer, where K is a positive integer and K>J;

[0164] (III) if the number of bit errors in the P codewords at the second FEC decoder is less than L, then the data position inverse transformer is disabled and the HDD of the second FEC decoder is enabled, where L is a positive integer and L>K;

[0165] (IV) if the number of bit errors in the P codewords at the second FEC decoder is less than M, then disabling the data position inverse transformer and enabling configuration 2 of the SDD of the second FEC decoder, where M>L;

[0166] (V) if the number of bit errors in the P codewords at the second FEC decoder is less than N, then disabling the data position inverse transformer and enabling the FEC decoder to be configured as SDD configuration 1, where N>M;

[0167] (VI) If none of (I) to (V) is satisfied, configuration 1 of the SDD of the second FEC decoder is enabled and the data position inverse transformer is enabled.

[0168] Accordingly, if the transmission information satisfies one of the above trigger conditions (I) to (VI), in some embodiments, the receiving end device may be Figure 2C to Figure 2E , Figure 2L to Figure 2N The receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder, a second FEC decoder, a first deinterleaver and a second deinterleaver, and if the transmission information meets the trigger condition, the error correction capability of the receiving end device is adjusted, including one of (I)-(VI):

[0169] (I) if the number of bit errors in P codewords at the second FEC decoder is less than J, disabling the first deinterleaver, the second deinterleaver, and the second FEC decoder, where P and J are positive integers and P>J>1;

[0170] (II) if the number of bit errors in the P codewords at the second FEC decoder is less than K, then disabling the second deinterleaver and the second FEC decoder and enabling the first deinterleaver, where K is a positive integer and K>J;

[0171] (III) if the number of bit errors in the P codewords at the second FEC decoder is less than L, then disabling the second FEC decoder and enabling the first deinterleaver and the second deinterleaver, where L is a positive integer and L>K;

[0172] (IV) if the number of bit errors in the P codewords at the second FEC decoder is less than M, then the first deinterleaver and the second deinterleaver are disabled and the HDD of the second FEC decoder is enabled, where M>L;

[0173] (V) if the number of bit errors in the P codewords at the second FEC decoder is less than N, then disabling the first deinterleaver and the second deinterleaver and enabling configuration 2 of the SDD of the second FEC decoder, where N>M;

[0174] (VI) If none of (1) to (5) is satisfied, disabling the first deinterleaver and the second deinterleaver and enabling configuration 1 of the SDD of the second FEC decoder.

[0175] Accordingly, if the transmission information satisfies one of the above trigger conditions (I) to (VI), in some embodiments, the receiving end device may be Figure 2L to Figure 2NThe receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder, a second FEC decoder, a first deinterleaver, a second deinterleaver and a data position inverse transformer, and if the transmission information meets the trigger condition, the error correction capability of the receiving end device is adjusted, including one of (I)-(VI):

[0176] (I) if the number of bit errors in P codewords at the second FEC decoder is less than J, then disabling the first deinterleaver, the second deinterleaver, the second FEC decoder, and the data position inverse transformer, wherein P and J are positive integers and P>J>1;

[0177] (II) if the number of bit errors in the P codewords at the second FEC decoder is less than K, then the second deinterleaver, the second FEC decoder and the data position inverse transformer are disabled and the first deinterleaver is enabled, where K is a positive integer and K>J;

[0178] (III) if the number of bit errors in the P codewords at the second FEC decoder is less than L, the second FEC decoder is disabled and the first deinterleaver, the second deinterleaver and the data position inverse transformer are enabled, where L is a positive integer and L>K;

[0179] (IV) if the number of bit errors in the P codewords at the second FEC decoder is less than M, then the first deinterleaver, the data position inverse transformer and the second deinterleaver are disabled and the HDD of the second FEC decoder is enabled, where M>L;

[0180] (V) if the number of bit errors in the P codewords at the second FEC decoder is less than N, then disabling the first deinterleaver and the second deinterleaver and enabling configuration 2 of the SDD of the second FEC decoder, where N>M;

[0181] (VI) If none of (1) to (5) is satisfied, disabling the first deinterleaver and the second deinterleaver and enabling configuration 1 of the SDD of the second FEC decoder.

[0182] The deinterleaving delay and / or power consumption of configuration 1 of the first deinterleaver is higher than the deinterleaving delay and / or power consumption of configuration 2 of the first deinterleaver; the error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than the error correction capability of configuration 2, and the error correction capability of configuration 2 is stronger than the error correction capability of the HDD of the second FEC decoder. The error correction capabilities of the first deinterleaver and the second FEC decoder are stronger than the function of the data position inverse transformer.

[0183] In some embodiments, in some embodiments, the receiving device may be Figure 1 to Figure 2NThe receiving end device shown in any one of the above, the transmission information includes the number of error units of the first data stream. In some embodiments, the transmission information includes one or more of the bit error rate BER, the number of error bits, the symbol error rate SER, the number of error symbols, the codeword error rate CER, the number of error codewords, channel state information, and eye diagram parameters of the first data stream. Taking the error unit as an error codeword as an example, the trigger condition includes the following receiving end device can be Figure 2A to Figure 2E and Figure 2H to Figure 2N The receiving end device shown in any one of the above, the receiving end device further includes a first deinterleaver, and the adjusting the error correction capability of the receiving end device includes any one of the following:

[0184] ① Enable configuration 1 of the soft decision decoding SDD of the second FEC decoder and enable configuration 1 of the first deinterleaver;

[0185] ② Enable configuration 1 of the SDD of the second FEC decoder and enable configuration 2 of the first deinterleaver;

[0186] ③ Enable SDD configuration 1 of the second FEC decoder and disable the first deinterleaver;

[0187] ④ Enable configuration 2 of the SDD of the second FEC decoder and disable the first deinterleaver;

[0188] ⑤ enabling the hard decision decoding HDD of the second FEC decoder and disabling the first deinterleaver;

[0189] ⑥ disabling the second FEC decoder and the first deinterleaver;

[0190] The deinterleaving delay and / or power consumption of configuration 1 of the first deinterleaver is higher than the deinterleaving delay and / or power consumption of configuration 2 of the first deinterleaver; the error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than the error correction capability of configuration 2, and the error correction capability of configuration 2 is stronger than the error correction capability of the HDD of the second FEC decoder. The error correction capabilities of the first deinterleaver and the second FEC decoder are stronger than the function of the data position inverse transformer.

[0191] Accordingly, if the transmission information satisfies one of the above trigger conditions ① to ⑥, in some embodiments, the receiving end device may be Figure 2A to Figure 2E , Figure 2H to Figure 2N The receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder, a second FEC decoder and a first deinterleaver, and if the transmission information meets the trigger condition, the error correction capability of the receiving end device is adjusted, including one of ① to ⑥:

[0192] ① If the number of bit errors in the P codewords at the second FEC decoder is less than J, then the configuration 1 of the soft decision decoding SDD of the second FEC decoder is enabled and the configuration 1 of the first deinterleaver is enabled, where P and J are positive integers and P>J>1;

[0193] ② If the number of bit errors in the P codewords at the second FEC decoder is less than K, then configuration 1 of the SDD of the second FEC decoder is enabled and configuration 2 of the first deinterleaver is enabled, where K is a positive integer and K>J;

[0194] ③ If the number of bit errors in the P codewords at the second FEC decoder is less than L, SDD configuration 1 of the second FEC decoder is enabled and the first deinterleaver is disabled, where L is a positive integer and L>K;

[0195] ④ If the number of bit errors in the P codewords at the second FEC decoder is less than M, then enable configuration 2 of the SDD of the second FEC decoder and disable the first deinterleaver, where M>L;

[0196] ⑤ If the number of bit errors in the P codewords at the second FEC decoder is less than N, the hard decision decoding HDD of the second FEC decoder is enabled and the first deinterleaver is disabled, where N>M;

[0197] ⑥If ①~⑤ are not satisfied, then disable the second FEC decoder and the first deinterleaver.

[0198] Specifically, an example of using a threshold of the received BER as a trigger condition to trigger adjustment of the error correction capability of the receiving end device can be referred to Table 1.

[0199] Table 1

[0200]

[0201] In some embodiments, the receiving device may be Figure 1 to Figure 2N In any of the receiving devices shown in , when the receiving device receives a manually triggered first indication, if the first indication does not include information on how to adjust, the error correction capability of the receiving device is adjusted according to a first preset method. In some embodiments, the first indication may be located in a register of the receiving device and / or the first indication may be triggered by a primitive. In some embodiments, the first preset method may include any one of the following (1) to (3):

[0202] (1) enabling configuration 1 of the SDD of the second FEC decoder;

[0203] (2) enabling configuration 2 of the SDD of the second FEC decoder;

[0204] (3) enabling the HDD of the second FEC decoder;

[0205] (4) Disabling the second FEC decoder.

[0206] The error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than that of configuration 2, and the error correction capability of configuration 2 of the SDD of the second FEC decoder is stronger than that of the HDD of the second FEC decoder.

[0207] In some embodiments, the receiving device is Figure 2A to Figure 2E , Figure 2H to Figure 2N The receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder, a second FEC decoder and a first deinterleaver, and the first preset mode includes any one of the following (A) to (E):

[0208] (A) disabling the second FEC decoder and the first deinterleaver;

[0209] (B) disabling the first deinterleaver and enabling the HDD of the second FEC decoder;

[0210] (C) disabling the first deinterleaver and enabling configuration 2 of the SDD of the second FEC decoder;

[0211] (D) disabling the first deinterleaver and enabling configuration 1 of the SDD of the second FEC decoder;

[0212] (E) Enable Configuration 1 of the SDD of the second FEC decoder and the first deinterleaver.

[0213] In some embodiments, the receiving device is Figure 2C to Figure 2E The receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder, a second FEC decoder, a first deinterleaver and a second deinterleaver, and the first preset mode includes any one of the following (A) to (E):

[0214] (A) disabling the second FEC decoder, the first deinterleaver, and the second deinterleaver;

[0215] (B) disabling the first deinterleaver and the second deinterleaver, and enabling the HDD of the second FEC decoder;

[0216] (C) disabling the first deinterleaver and the second deinterleaver, and enabling the SDD of the second FEC decoder;

[0217] (D) disabling the first deinterleaver and the second deinterleaver and enabling the SDD of the second FEC decoder;

[0218] (E) Enabling the SDD of the second FEC decoder and the first deinterleaver.

[0219] In some embodiments, the receiving device is Figure 2F and Figure 2G The receiving end device shown in the figure includes a first FEC decoder, a second FEC decoder and a data position inverse transformer, and the first preset mode includes any one of the following (A) to (E):

[0220] (A) disabling the second FEC decoder and the data position inverse transformer;

[0221] (B) disabling the second FEC decoder and enabling the data position inverse transformer;

[0222] (C) disabling the data position inverse transformer and enabling the HDD of the second FEC decoder;

[0223] (D) disabling the data position inverse transformer and enabling the SDD of the second FEC decoder;

[0224] (E) Enabling the SDD of the second FEC decoder and the inverse data position transformer.

[0225] In some embodiments, the receiving device is Figure 2H to Figure 2N The receiving end device shown in any one of the above, the receiving end device includes a first FEC decoder, a second FEC decoder, a data position inverse transformer and a first deinterleaver, the data position inverse transformer is used to perform an inverse transformation operation on the position of the received data bit or symbol whose position has been transformed by the data position transformer, then the first preset mode includes any one of the following (A) to (E):

[0226] (A) disabling the data position inverse transformer, the second FEC decoder and the first deinterleaver;

[0227] (B) disabling the data position inverse transformer and the first deinterleaver, and enabling the HDD of the second FEC decoder;

[0228] (C) disabling the first deinterleaver and enabling the SDD of the second FEC decoder;

[0229] (D) disabling the data position inverse transformer and enabling the SDD of the first deinterleaver and the second FEC decoder;

[0230] (E) Enable the SDD of the second FEC decoder, the data position inverse converter, and the first deinterleaver.

[0231] In some embodiments, the receiving end device is Figure 2L to Figure 2N any of the receiving end devices shown in, the receiving end device includes a first FEC decoder, a second FEC decoder, a data position inverse converter, a first deinterleaver, and a second deinterleaver, the data position inverse converter is used to perform an inverse transformation operation on the positions of the received data bits or symbols whose positions have been transformed by the data position converter, and the first indication includes any one of the following (A) to (E):

[0232] (A) Disable the data position inverse converter, the second FEC decoder, the first deinterleaver, and the second deinterleaver;

[0233] (B) Disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the HDD of the second FEC decoder;

[0234] (C) Disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the SDD of the second FEC decoder;

[0235] (D) Disable the first deinterleaver and enable the SDD of the second FEC decoder;

[0236] (E) Enable the SDD of the second FEC decoder and the first deinterleaver.

[0237] In some embodiments, the first indication includes information on how to adjust the error correction capability of the receiving end device. The first indication may include any one of the above (1) to (3), so that the receiving end device can adjust the error correction capability of the receiving end device according to the content included in the first indication.

[0238] In some embodiments, the receiving end device is Figure 2A to Figure 2E 、 Figure 2H to Figure 2N any of the receiving end devices shown in, the receiving end device includes a first FEC decoder, a second FEC decoder, and a first deinterleaver, and the first indication includes any one of the following (A) to (E):

[0239] (A) When the BER of the first data stream satisfies BER <= a, disable the second FEC decoder and the first deinterleaver, where a > 0;

[0240] (B) When the BER of the first data stream satisfies a < BER <= b, disable the first deinterleaver and enable the HDD of the second FEC decoder;

[0241] (C) When the BER of the first data stream satisfies b < BER <= c, disable the first deinterleaver and enable the SDD of the second FEC decoder in Configuration 2;

[0242] (D) When the BER of the first data stream satisfies c < BER <= d, disable the first deinterleaver and enable the SDD of the second FEC decoder in Configuration 1;

[0243] (E) When the BER of the first data stream satisfies d < BER <= e, enable the SDD of the second FEC decoder in Configuration 1 and the first deinterleaver.

[0244] In some embodiments, the receiving end device is Figure 2C to Figure 2E and Figure 2L to Figure 2N any of the receiving end devices shown in, the receiving end device includes a first FEC decoder, a second FEC decoder, a first deinterleaver and a second deinterleaver, and the first indication includes any one of the following (A) to (E):

[0245] (A) When the BER of the first data stream satisfies BER <= a, disable the second FEC decoder, the first deinterleaver and the second deinterleaver, where a > 0;

[0246] (B) When the BER of the first data stream satisfies a < BER <= b, disable the first deinterleaver and the second deinterleaver, and enable the HDD of the second FEC decoder;

[0247] (C) When the BER of the first data stream satisfies b < BER <= c, disable the first deinterleaver and the second deinterleaver, and enable the SDD of the second FEC decoder;

[0248] (D) When the BER of the first data stream satisfies c < BER <= d, disable the first deinterleaver and the second deinterleaver and enable the SDD of the second FEC decoder;

[0249] (E) When the BER of the first data stream satisfies d < BER <= e, enable the SDD of the second FEC decoder and the first deinterleaver.

[0250] In some embodiments, the receiving end device is Figure 2F and Figure 2G the receiving end device shown in, the receiving end device includes a first FEC decoder, a second FEC decoder and a data position inverse converter, and the first indication includes any one of the following (A) to (E):

[0251] (A) When the BER of the first data stream satisfies BER <= a, disable the second FEC decoder and the data position inverse converter, where a > 0;

[0252] (B) When the BER of the first data stream satisfies a < BER <= b, disable the second FEC decoder and enable the data position inverse converter;

[0253] (C) When the BER of the first data stream satisfies b < BER <= c, disable the data position inverse converter and enable the HDD of the second FEC decoder;

[0254] (D) When the BER of the first data stream satisfies c < BER <= d, disable the data position inverse converter and enable the SDD of the second FEC decoder;

[0255] (E) When the BER of the first data stream satisfies d < BER <= e, enable the SDD of the second FEC decoder and the data position inverse converter.

[0256] In some embodiments, the receiving end device is Figure 2H to Figure 2N the receiving end device shown in any of

[0257] (A) When the BER of the first data stream satisfies BER <= a, disable the data position inverse converter, the second FEC decoder, and the first deinterleaver, where a > 0;

[0258] (B) When the BER of the first data stream satisfies a < BER <= b, disable the data position inverse converter and the first deinterleaver, and enable the HDD of the second FEC decoder;

[0259] (C) When the BER of the first data stream satisfies b < BER <= c, disable the first deinterleaver, and enable the SDD of the second FEC decoder;

[0260] (D) When the BER of the first data stream satisfies c < BER <= d, disable the data position inverse converter and enable the first deinterleaver and the SDD of the second FEC decoder;

[0261] (E) When the BER of the first data stream satisfies d < BER <= e, enable the SDD of the second FEC decoder, the data position inverse converter, and the first deinterleaver.

[0262] In some embodiments, the receiving end device is Figure 2L to Figure 2N any of the receiving end devices shown in, and the receiving end device further includes a data position inverse converter, a first deinterleaver, and a second deinterleaver. The data position inverse converter is configured to perform an inverse transformation operation on the positions of the received data bits or symbols whose positions have been transformed by the data position converter. The first indication includes any one of the following (A) to (E):

[0263] (A) When the BER of the first data stream satisfies BER <= a, disable the data position inverse converter, the second FEC decoder, the first deinterleaver, and the second deinterleaver, where a > 0;

[0264] (B) When the BER of the first data stream satisfies a < BER <= b, disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the HDD of the second FEC decoder;

[0265] (C) When the BER of the first data stream satisfies b < BER <= c, disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the SDD of the second FEC decoder;

[0266] (D) When the BER of the first data stream satisfies c < BER <= d, disable the first deinterleaver and enable the SDD of the second FEC decoder;

[0267] (E) When the BER of the first data stream satisfies d < BER <= e, enable the SDD of the second FEC decoder and the first deinterleaver.

[0268] An embodiment of the present application further provides another method for processing an Ethernet physical layer data stream. The method is executed by a sending end device, and the sending end device may be Figure 1 to Figure 2N any of the sending end devices described above. The method includes: configuring the data stream processing mode of the sending end device based on a second indication.

[0269] In some embodiments, the second indication includes information on how to configure the data stream processing mode of the sending end device.

[0270] In some embodiments, the second indication is in the register of the sending end device and / or the second indication is triggered by a primitive.

[0271] In some embodiments, the second indication comes from a receiving end device corresponding to the sending end device.

[0272] In some embodiments, the sending end device may be Figure 1 to Figure 2NThe transmitting end device shown in any one of the above, the transmitting end device includes a first FEC encoder and a second FEC encoder, and the second indication may include any one of the following (1) to (3):

[0273] (1) enabling configuration 1 of the SDD of the second FEC encoder;

[0274] (2) enabling configuration 2 of the SDD of the second FEC encoder;

[0275] (3) enabling the HDD of the second FEC encoder;

[0276] (4) Disabling the second FEC decoder.

[0277] The error correction capability of configuration 1 of the SDD of the second FEC encoder is higher than that of configuration 2, and the error correction capability of configuration 2 is stronger than that of the HDD of the second FEC encoder.

[0278] In some embodiments, the sending device may be Figure 2A to Figure 2E , Figure 2H to Figure 2N The transmitting end device shown in any one of the above, wherein the transmitting end device includes a first FEC encoder, a second FEC encoder and a first interleaver, and the second indication may include any one of the following ① to ⑥:

[0279] ① Enable configuration 1 of the SDD of the second FEC encoder and enable configuration 1 of the first interleaver;

[0280] ② Enable configuration 1 of the SDD of the second FEC encoder and enable configuration 2 of the first interleaver;

[0281] ③ Enable SDD configuration 1 of the second FEC encoder and disable the first interleaver;

[0282] ④ Enable configuration 2 of the SDD of the second FEC encoder and disable the first interleaver;

[0283] 5. Enable the HDD of the second FEC encoder and disable the first interleaver;

[0284] ⑥ disabling the second FEC encoder and the first interleaver;

[0285] In some embodiments, the sending device is Figure 2A to Figure 2E , Figure 2H to Figure 2N The transmitting end device shown in any one of the above, the receiving end device includes a first FEC encoder, a second FEC encoder and a first interleaver, and the second indication includes any one of the following (A) to (E):

[0286] (A) disabling the second FEC encoder and the first interleaver;

[0287] (B) disabling the first interleaver and enabling the HDD of the second FEC encoder;

[0288] (C) disabling the first interleaver and enabling configuration 2 of the SDD of the second FEC encoder;

[0289] (D) disabling the first interleaver and enabling configuration 1 of the SDD of the second FEC encoder;

[0290] (E) Enable Configuration 1 of the SDD of the second FEC encoder and the first interleaver.

[0291] In some embodiments, the sending device is Figure 2C to Figure 2E and Figure 2L to Figure 2N The transmitting end device shown in any one of the above, the transmitting end device includes a first FEC encoder, a second FEC encoder, a first interleaver and a second interleaver, and the second preset mode includes any one of the following (A) to (E):

[0292] (A) disabling the second FEC encoder, the first interleaver, and the second interleaver;

[0293] (B) disabling the first interleaver and the second interleaver, and enabling the HDD of the second FEC encoder;

[0294] (C) disabling the first interleaver and the second interleaver, and enabling the SDD of the second FEC encoder;

[0295] (D) disabling the first interleaver and the second interleaver and enabling the SDD of the second FEC encoder;

[0296] (E) Enabling the SDD of the second FEC encoder and the first interleaver.

[0297] The interleaving delay and / or power consumption of configuration 1 of the first interleaver is higher than the interleaving delay and / or power consumption of configuration 2 of the first interleaver; the error correction capability of configuration 1 of the SDD of the second FEC encoder is higher than the error correction capability of configuration 2, and the error correction capability of configuration 2 is stronger than the error correction capability of the HDD of the second FEC encoder.

[0298] In some embodiments, the transmitting device may be Figure 2F and Figure 2G The transmitting end device shown in any one of the above, wherein the transmitting end device includes a first FEC encoder, a second FEC encoder and a data position converter, and the second indication includes one of (I)-(VI):

[0299] (I) disabling the data position converter and the second FEC encoder;

[0300] (II) disabling the second FEC encoder and enabling the data position converter;

[0301] (III) disabling the data location converter and enabling the HDD of the second FEC encoder;

[0302] (IV) disabling the data location converter and enabling configuration 2 of the SDD of the second FEC encoder;

[0303] (V) disabling the data location converter and enabling the FEC encoder to be configured as SDD configuration 1;

[0304] (VI) Enable configuration 1 of the SDD of the second FEC encoder and enable the data location converter.

[0305] In some embodiments, the receiving device is Figure 2F and Figure 2G The receiving end device shown in the figure, the sending end device includes a first FEC encoder, a second FEC encoder and a data position converter, and the second preset mode includes any one of the following (A) to (E):

[0306] (A) disabling the second FEC encoder and the data position converter;

[0307] (B) disabling the second FEC encoder and enabling the data position converter;

[0308] (C) disabling the data position inverse transformer and enabling the HDD of the second FEC encoder;

[0309] (D) disabling the data position inverse transformer and enabling the SDD of the second FEC encoder;

[0310] (E) Enabling the SDD of the second FEC encoder and the data location converter.

[0311] In some embodiments, the transmitting device may be Figure 2C to Figure 2E , Figure 2H to Figure 2N The transmitting end device shown in any one of the above, wherein the transmitting end device includes a first FEC encoder, a second FEC encoder, a first interleaver and a second interleaver, and the indication includes one of (I)-(VI):

[0312] (I) disabling the first interleaver, the second interleaver, and the second FEC encoder;

[0313] (II) disabling the second interleaver and the second FEC encoder and enabling the first interleaver;

[0314] (III) disabling the second FEC encoder and enabling the first deinterleaver and the second interleaver;

[0315] (IV) disabling the first interleaver and the second deinterleaver and enabling the HDD of the second FEC encoder;

[0316] (V) disabling the first interleaver and the second interleaver and enabling configuration 2 of the SDD of the second FEC encoder;

[0317] (VI) Configuration 1 of disabling the first interleaver and the second interleaver and enabling the SDD of the second FEC encoder.

[0318] In some embodiments, the sending device is Figure 2H to Figure 2N The transmitting end device shown in any one of the above, the transmitting end device includes a first FEC encoder, a second FEC encoder, a data position converter and a first interleaver, and the data position converter is used to convert the position of the received data bit or symbol, then the second preset mode includes any one of the following (A) to (E):

[0319] (A) disabling the data position converter, the second FEC encoder and the first interleaver;

[0320] (B) disabling the data position converter and the first interleaver, and enabling the HDD of the second FEC encoder;

[0321] (C) disabling the first interleaver and enabling the SDD of the second FEC encoder;

[0322] (D) disabling the data position converter and enabling the SDD of the first deinterleaver and the second FEC encoder;

[0323] (E) Enabling the SDD of the second FEC encoder, the data position converter and the first interleaver.

[0324] In some embodiments, the sending device may be Figure 2L to Figure 2N The transmitting end device shown in any one of the above, the transmitting end device includes a first FEC encoder, a second FEC encoder, a data position converter, a first interleaver and a second interleaver, the data position converter is used to convert the position of the received data bit or symbol, and the indication may include any one of the following:

[0325] (I) disabling the data position converter, the second FEC encoder, the first interleaver, and the second interleaver;

[0326] (II) disabling the data position converter, the second interleaver and the first interleaver, and enabling the HDD of the second FEC encoder;

[0327] (III) disabling the data position converter, the second interleaver and the first interleaver, and enabling the SDD of the second FEC encoder;

[0328] (IV) disabling the first interleaver and enabling the SDD of the second FEC encoder;

[0329] (V) Enabling the SDD of the second FEC encoder.

[0330] In some embodiments, the sending device is Figure 2L to Figure 2N The transmitting end device shown in any one of the above, the transmitting end device includes a first FEC encoder, a second FEC encoder, a data position converter, a first interleaver and a second interleaver, the data position converter is used to convert the position of the received data bit or symbol, and the second preset mode includes any one of the following (A) to (E):

[0331] (A) disabling the data position inverse transformer, the second FEC decoder, the first deinterleaver, and the second deinterleaver;

[0332] (B) disabling the data position inverse transformer, the second deinterleaver, and the first deinterleaver, and enabling the HDD of the second FEC decoder;

[0333] (C) disabling the data position inverse transformer, the second deinterleaver and the first deinterleaver, and enabling the SDD of the second FEC decoder;

[0334] (D) disabling the first deinterleaver and enabling the SDD of the second FEC decoder;

[0335] (E) Enabling the SDD of the second FEC decoder and the first deinterleaver.

[0336] The interleaving delay and / or power consumption of configuration 1 of the first interleaver is higher than the interleaving delay and / or power consumption of configuration 2 of the first interleaver; the error correction capability of configuration 1 of the SDD of the second FEC encoder is higher than the error correction capability of configuration 2, and the error correction capability of configuration 2 is stronger than the error correction capability of the HDD of the second FEC encoder. The error correction capabilities of the first interleaver, the second interleaver, and the second FEC encoder are stronger than the function of the data position converter.

[0337] In some embodiments, the transmitting device and the receiving device can jointly adjust the error correction capability of the data stream, that is, the receiving device adjusts the error correction capability of the data stream based on the first trigger condition, and the transmitting device adjusts the error correction capability of the data stream to be sent based on the second trigger condition.

[0338] In some embodiments, if the transmission information meets the trigger condition, the connection between the transmitting device and the receiving device can be interrupted when the error correction capability of the receiving device is adjusted. After the adjustment is completed, the connection is re-established with the adjusted configuration, and the data stream is transmitted according to the adjusted error correction capability of the receiving device.

[0339] Figure 1 to Figure 2N The cascade code method can effectively improve the data stream transmission process with high bit error rate, but in some scenarios, such as data stream transmission between devices in a data center, data stream transmission in high-speed computing, artificial intelligence (AI), etc., when the data stream transmission bit error rate is low or in some scenarios, when the data stream transmission bit error rate fluctuates slightly, the reliability requirements of the standard can be met without cascade code. Therefore, the embodiment of the present application provides a method for disabling some components or weakening the error correction capability of some components.

[0340] exist Figure 1 to Figure 2N In the cascade code scenario shown, the second FEC decoder can decode by HDD mode and SDD mode. In this scenario, the adjustment method is shown in Table 1. In order to obtain the optimal decoding error correction capability, the SDD configuration 1 of the second FEC decoder can be enabled. When it is necessary to weaken its error correction capability, the SDD configuration 2 of the second FEC decoder can be enabled. The configuration 2 of the second FEC decoder soft decoding has lower delay and / or power consumption than configuration 1, which can be achieved by reducing the test pattern and / or changing the decoding algorithm. The error correction performance of the configuration 2 of the second FEC decoder soft decoding is weaker, but it is still stronger than the error correction performance of the hard decoding of the second FEC decoder. Therefore, the data stream transmission delay and power consumption can be reduced by disabling the second FEC decoder or weakening the error correction capability of the second FEC decoder. For weakening the error correction capability of the second FEC decoder, the error correction capability in the SDD mode of the second FEC decoder can be reduced to reduce the transmission delay and power consumption of the data stream, or the SDD mode of the second FEC decoder can be replaced with a hard decoding mode.

[0341] Table 1 is based on Figure 1 to Figure 2N How to adjust the cascade code scene

[0342] Adjustment method Second FEC decoder Method 1 Enable second FEC decoder SDD configuration 1 Method 2 Enable the second FEC decoder SDD configuration 2 Method 3 Disable the second FEC decoder

[0343] exist Figure 2A to Figure 2E and Figure 2H to Figure 2N In any of the cascade code scenarios shown in , the data stream transmission delay and power consumption can be reduced by disabling the second FEC decoder, disabling the interleaver, weakening the interleaving effect of the interleaver, and weakening the error correction capability of the second FEC decoder. The specific adjustment method is shown in Table 2.

[0344] The second FEC decoder and the first FEC decoder both count the number of bit errors during decoding, and set control information based on the number of bit errors and the judgment threshold, and the control information is used to indicate the disabling information. In some embodiments, the disabling information includes a disable_indicater control parameter, and the disable_indicater control parameter is used to indicate the following adjustment methods in the transceiver device:

[0345] Table 2 is based on Figure 2A to Figure 2E and Figure 2H to Figure 2N Adjustment method for any of the cascade code scenarios shown in

[0346] Adjustment method Second FEC decoder First deinterleaver Method 1 Enable second FEC decoder SDD configuration 1 Enable first deinterleaver configuration 1 Method 2 Enable second FEC decoder SDD configuration 1 Enable first deinterleaver configuration 2 Method 3 Enable second FEC decoder SDD configuration 1 Disable the first deinterleaver Method 4 Enable the second FEC decoder SDD configuration 2 Disable the first deinterleaver Method 5 Enable the second FEC decoder HDD Disable the first deinterleaver Method 6 Disable the second FEC decoder Disable the first deinterleaver

[0347] In some embodiments, the first and / or second interleaver is a convolution interleaver, and when the convolution interleaver is enabled, the convolution interleaver can be configured with different delays through a register, that is, the delay of each row of interleaving is set. Table 2 schematically shows two convolution interleaver configurations with different delays: configuration 1 and configuration 2, wherein the convolution interleaver delay and / or power consumption of configuration 1 is higher than the convolution interleaver delay and / or power consumption of configuration 2. In some embodiments, there may be more than two convolution interleaver configurations, for example, in addition to the aforementioned configurations 1 and 2, configurations 3, 4, ..., n with successively lower delays and / or power consumption may also be included.

[0348] Because the power consumption and / or delay of the convolution interleaver is greater than the soft decoding power consumption and / or delay of the second FEC decoder, it is preferred to reduce the configuration of the convolution interleaver or disable it. The convolution interleaver configuration 2 has lower latency and / or power consumption than the configuration 1, which can be achieved by reducing the number of registers or modifying parameters. Correspondingly, the interleaving effect of configuration 2 is reduced and the error correction performance is weaker.

[0349] In some embodiments, Figure 1 to Figure 2N The second FEC encoder and the second FEC decoder are disabled or enabled at the same time, that is, when the second FEC decoder is disabled, the second FEC encoder is also disabled at the same time; when the second FEC decoder is enabled, the second FEC encoder is also enabled at the same time.

[0350] In some embodiments, Figure 2A to Figure 2E and Figure 2H to Figure 2NThe interleaver and deinterleaver shown in any one of the figures are enabled or disabled at the same time, that is, when the deinterleaver is disabled, the interleaver is also disabled at the same time; when the deinterleaver is enabled, the interleaver is also enabled at the same time.

[0351] If the number of bit errors of the first FEC decoder is not considered for judgment, only the number of bit errors of the second FEC decoder and the threshold are used for size judgment. In some embodiments, the number of bit errors and the threshold can be processed in units of codewords, bits, symbols, or bit groups containing any number of bits. Taking codewords as units, for example, Figure 2A to Figure 2E , Figure 2H to Figure 2N In any of the receiving end devices shown in , various adjustment methods according to Table 2 are as follows:

[0352] (1) If the number of bit errors in the P codewords at the second FEC decoder is less than J, the deinterleaver is disabled. Figure 2A to Figure 2E , Figure 2H to Figure 2N any of the first deinterleaver and / or the second deinterleaver shown in ) and the second FEC decoder, wherein P and J are positive integers and P>J>1;

[0353] (2) If the number of bit errors in the P codewords at the second FEC decoder is less than K, the deinterleaver is disabled. Figure 2A to Figure 2E , Figure 2H to Figure 2N any of the first deinterleaver and / or the second deinterleaver shown in ) and enabling the HDD of the second FEC decoder, wherein K is a positive integer and K>J;

[0354] (3) If the number of bit errors in the P codewords at the second FEC decoder is less than L, the deinterleaver is disabled. Figure 2A to Figure 2E , Figure 2H to Figure 2N any one of the first deinterleaver and / or the second deinterleaver shown in L) and enabling configuration 2 of the SDD of the second FEC decoder, where L is a positive integer and L>K;

[0355] (4) If the number of bit errors in the P codewords at the second FEC decoder is less than M, the deinterleaver is disabled. Figure 2A to Figure 2E , Figure 2H to Figure 2N any of the first deinterleaver and / or the second deinterleaver shown in ) and enabling configuration 1 of the second FEC decoder SDD, wherein M>L;

[0356] (5) If the number of bit errors in the P codewords at the second FEC decoder is less than N, the FEC decoder is configured as SDD configuration 1 and the deinterleaver is enabled ( Figure 2A to Figure 2E , Figure 2H to Figure 2N Configuration 2 of the first deinterleaver and / or the second deinterleaver shown in any one of the above), wherein N>M;

[0357] (6) Otherwise, enable configuration 1 of the second FEC decoder and enable the deinterleaver ( Figure 2A to Figure 2E , Figure 2H to Figure 2N Configuration 1 of any one of the first deinterleaver and / or second deinterleaver shown in .

[0358] In some embodiments, the trigger condition of each adjustment method can be set with a number of occurrences, and the number of occurrences of each trigger condition can be the same or different, and the adjustment is triggered only when the respective occurrence number threshold is met.

[0359] The multi-condition switching between these adjustment modes can be realized through the state machine. The adjustment mode switching can be performed automatically when the communication between the transceiver and the receiver is just established, or it can be switched during the communication process because the switching conditions are met. When switching, the connection can be reset or the synchronization lock can be re-performed, and then the communication can be carried out in the switched mode. Specifically, there are two switching modes, one is to switch from the default high error state to the low error state, and the other is to switch from the default low error state to the high error state. Switching from the default high error state to the low error state, that is, the system default configuration before the communication is established is the high error state. If the actual channel error rate after the communication is established meets the high error state, there is no need to switch; if the actual channel error rate is very low, the configuration will be switched. Switching from the default low error state to the high error state, that is, the system default configuration before the communication is established is the low error state. If the actual channel error rate after the communication is established meets the low error state, there is no need to switch; if the actual channel error rate is high, the configuration will be switched.

[0360] In the embodiment of the present application, "disabling" includes "closing" or "bypassing", and "enabling" includes "enabling in hardware" or "enabling in software".

[0361] In some embodiments, the "disabling the second FEC decoder" in the adjustment method can be (1) turning off the second FEC decoder, or (2) the data stream is not decoded by the second FEC decoder but the second FEC decoder is not turned off, that is, the SDD configuration 1 or SDD configuration 2 or HDD of the second FEC decoder is turned on. "Disabling the second FEC decoder" means (1) turning off the second FEC decoder, which can effectively reduce transmission power consumption.

[0362] In some embodiments, the "disabling deinterleaver" in the adjustment mode can be (1) turning off the deinterleaver, or (2) the data stream is not processed by the deinterleaver, but the deinterleaver is not turned off, that is, configuration 1 or configuration 2 of the deinterleaver is turned on. When the "disabling deinterleaver" in the adjustment mode is (1) turning off the deinterleaver, the transmission power consumption can be effectively reduced.

[0363] The present application also provides a device for processing Ethernet data streams. Figure 4is a schematic diagram of the structure of a device for processing Ethernet data streams provided in an embodiment of the present application, based on Figure 4 The multiple modules shown, Figure 4 The device for processing Ethernet data stream shown can perform the above Figure 3 All or part of the operations in the method embodiment shown. It should be understood that the device may include more additional modules than the modules shown or omit some of the modules shown, and the embodiment of the present application is not limited to this. Figure 4 The device is the receiving end device. Figure 4 As shown, the device includes an acquisition module 401 and an adjustment module 402, wherein: the acquisition module 401 is used to acquire transmission information of the first data stream; the adjustment module 402 is used to: if the transmission information meets the trigger condition, adjust the error correction capability of the receiving end device.

[0364] In some embodiments, the acquisition module 401 and the adjustment module 402 may be the same logic module or physical circuit, for example, located in the same chip.

[0365] In some embodiments, the transmission information includes one or more of the bit error rate BER, number of error bits, symbol error rate SER, number of error symbols, codeword error rate CER, number of error codewords, channel state information, and eye diagram parameters of the first data stream.

[0366] In some embodiments, the receiving end device further includes a first deinterleaver, and the transmission information satisfies a trigger condition, and the error correction capability of the receiving end device is adjusted, including one or more of (1)-(6):

[0367] (1) if the number of bit errors in P codewords at the second FEC decoder is less than J, the first deinterleaver and the second FEC decoder are disabled, where P and J are positive integers and P>J>1;

[0368] (2) if the number of bit errors in the P codewords at the second FEC decoder is less than K, the first deinterleaver is disabled and the hard decision decoding HDD of the second FEC decoder is enabled, where K is a positive integer and K>J;

[0369] (3) If the number of bit errors in the P codewords at the second FEC decoder is less than L, the first deinterleaver is disabled and the soft decision decoding SDD of the second FEC decoder is enabled, configuration 2, where L is a positive integer and L>K;

[0370] (4) if the number of bit errors in the P codewords at the second FEC decoder is less than M, then the first deinterleaver is disabled and configuration 1 of the second FEC decoder SDD is enabled, where M>L;

[0371] (5) if the number of bit errors in the P codewords at the second FEC decoder is less than N, then enabling the FEC decoder to be configured as SDD configuration 1 and enabling configuration 2 of the first deinterleaver, where N>M;

[0372] (6) If none of (1) to (5) is satisfied, enable Configuration 1 of the second FEC decoder and enable Configuration 1 of the first deinterleaver.

[0373] In some embodiments, the transmission information satisfies a trigger condition, and the error correction capability of the receiving end device is adjusted, including any of the following:

[0374] (1) enabling configuration 1 of soft decision decoding SDD of the second FEC decoder;

[0375] (2) enabling configuration 2 of the SDD of the second FEC decoder;

[0376] (3) enabling hard decision decoding HDD of the second FEC decoder;

[0377] (4) Disabling the second FEC decoder.

[0378] The error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than that of configuration 2, and the error correction capability of configuration 2 is stronger than that of the HDD of the second FEC decoder.

[0379] In some embodiments, the receiving end device further includes a first deinterleaver, and the transmission information satisfies a trigger condition, and the error correction capability of the receiving end device is adjusted, including any one of the following:

[0380] (1) enabling configuration 1 of soft decision decoding SDD of the second FEC decoder and enabling configuration 1 of the first deinterleaver;

[0381] (2) enabling configuration 1 of the SDD of the second FEC decoder and enabling configuration 2 of the first deinterleaver;

[0382] (3) enabling SDD configuration 1 of the second FEC decoder and disabling the first deinterleaver;

[0383] (4) enabling configuration 2 of the SDD of the second FEC decoder and disabling the first deinterleaver;

[0384] (5) enabling the hard decision decoding HDD of the second FEC decoder and disabling the first deinterleaver;

[0385] (6) disabling the second FEC decoder and the first deinterleaver;

[0386] The deinterleaving delay and / or power consumption of configuration 1 of the first deinterleaver is higher than those of configuration 2 of the first deinterleaver; the error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than that of configuration 2, and the error correction capability of configuration 2 is stronger than that of the HDD of the second FEC decoder.

[0387] In some embodiments, the receiving end device further includes a data position inverse transformer, a first deinterleaver, and a second deinterleaver. The data position inverse transformer is configured to perform an inverse transformation operation on the positions of the received data bits or symbols whose positions have been transformed by the data position transformer. When the transmission information meets the trigger condition and adjusts the error correction capability of the receiving end device, it includes any one of the following:

[0388] (1) When the bit error rate BER of the data stream received by the receiving end device satisfies BER <= a, disable the data position inverse transformer, the second FEC decoder, the first deinterleaver, and the second deinterleaver, where a > 0;

[0389] (2) When the BER of the data stream received by the receiving end device satisfies a < BER <= b, disable the data position inverse transformer, the second deinterleaver, and the first deinterleaver, and enable the hard decision decoding HDD of the second FEC decoder;

[0390] (3) When the BER of the data stream received by the receiving end device satisfies b < BER <= c, disable the data position inverse transformer, the second deinterleaver, and the first deinterleaver, and enable the soft decision decoding SDD of the second FEC decoder;

[0391] (4) When the BER of the data stream received by the receiving end device satisfies c < BER <= d, disable the first deinterleaver and enable the soft decision decoding SDD of the second FEC decoder;

[0392] (5) When the BER of the data stream received by the receiving end device satisfies d < BER <= e, enable the soft decision decoding SDD of the second FEC decoder.

[0393] In some embodiments, the transmission information is related to the number of error units at the first FEC decoder and / or the second FEC decoder. The error unit includes a codeword, a bit, a symbol, or a bit group containing any number of bits.

[0394] In some embodiments, the transmission information includes information on how to adjust the error correction capability of the receiving end device.

[0395] In some embodiments, the information on how to adjust the error correction capability of the receiving end device includes: disabling or weakening the error correction capability of the second FEC decoder.

[0396] In some embodiments, the receiving device also includes a deinterleaver, and the information on how to adjust the error correction capability of the receiving device includes: disabling or weakening the error correction capability of the second FEC decoder; and / or disabling or weakening the deinterleaving effect of the deinterleaver.

[0397] In some embodiments, the receiving end device also includes a deinterleaver and a data position inverse transformer, and the information on how to adjust the error correction capability of the receiving end device includes: disabling or weakening the error correction capability of the second FEC decoder; and / or, disabling or weakening the deinterleaving effect of the deinterleaver; and / or, disabling the function of the data position inverse transformer.

[0398] In some embodiments, the transmission information is located in a register of the transmitting end device and / or the transmission information is triggered by a primitive.

[0399] like Figure 5 As shown, an embodiment of the present application also provides a device for processing Ethernet data stream, which is located in a sending end device, and the device includes a configuration module, which is used to configure the data stream processing method of the sending end device based on a second indication.

[0400] In some embodiments, the instruction includes: information on how to adjust the data stream processing mode of the transmitting end device. In some embodiments, the instruction includes disabling or weakening the error correction capability of the second FEC decoder.

[0401] In some embodiments, the transmitting end device further includes a first interleaver, and the instruction includes: disabling or weakening the error correction capability of the second FEC decoder; and / or disabling or weakening the interleaving effect of the first interleaver.

[0402] In some embodiments, the transmitting end device also includes a first interleaver and a data position changer, and the indication includes disabling or weakening the error correction capability of the second FEC decoder; and / or disabling or weakening the interleaving effect of the first interleaver; and / or disabling the function of the data position changer.

[0403] In some embodiments, the indication comes from a receiving device corresponding to the sending device.

[0404] In some embodiments, the indication is in a register of the transmitting device and / or the indication is triggered by a primitive.

[0405] In some embodiments, Figure 4and / or Figure 5 The device is located in an Ethernet interface, or in a chip. In some embodiments, the Ethernet interface including the device is located in a computing device. The computing device may be a network device or a server, and the network device may be a routing device or a switching device.

[0406] like Figure 6 As shown, the embodiment of the present application further provides a computer system 600, which includes: a transceiver 601, a processor 602 and a memory 603. The transceiver 601, the processor 602 and the memory 603 are connected via a bus 604. Among them, the transceiver 601 is used to receive and send messages, the memory 603 is used to store instructions or program codes, and the processor 602 is used to call the instructions or program codes in the memory 603 so that the device executes the relevant processing steps of the first module or the second module in the above-mentioned method embodiment. In a specific embodiment, the computer system 600 of the embodiment of the present application may correspond to the first module or the second module in each of the above-mentioned method embodiments. The processor 602 in the computer system 600 reads the instructions or program codes in the memory 603 so that Figure 6 The computer system 600 shown can execute all or part of the operations in the above-mentioned method embodiments executed by the receiving device and / or the sending device.

[0407] The computer system 600 may also correspond to the above Figure 4 or Figure 5 The device shown, for example, Figure 4 and Figure 5 The acquisition module 401 involved in the process is equivalent to the transceiver 601 , and the adjustment module 402 or the configuration module is equivalent to part or all of the functions in the processor 602 .

[0408] like Figure 7 As shown, a network system according to an embodiment of the present application includes a sending end device and a receiving end device, wherein the sending end device is Figure 5 or Figure 6 In the device of the corresponding embodiment, the receiving end device is Figure 4 or Figure 6 The device of the corresponding embodiment.

[0409] In some embodiments, the processor or chip 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. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting an advanced RISC machines (ARM) architecture.

[0410] 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.

[0411] 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 ROM, a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasable PROM, EPROM), an electrically erasable programmable read-only memory (electrically EPROM, EEPROM) or a flash memory. The volatile memory may be a RAM, which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (static RAM, SRAM), dynamic random access memory (dynamic random access memory, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (doubledata rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM).

[0412] In some embodiments, the computer system 700 may be a network device or a server. For example, the network device may be a routing device or a switching device.

[0413] An embodiment of the present application also provides a computer-readable storage medium, in which at least one program instruction or code is stored. The program instruction or code is executed by a computer to obtain and send the status information, control information described in embodiment one or two separately, or send the status information and the control information together.

[0415] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using 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 loading and executing computer program instructions on a computer, the process or function according to the present 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 devices. 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 by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0416] In order to clearly illustrate the interchangeability of hardware and software, the steps and components of each embodiment have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person 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 beyond the scope of this application.

[0417] The computer program code for implementing the method of 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 alignment mark search device, so that when the program code is executed by the computer or other programmable alignment mark search device, the function / operation specified in the flow chart and / or block diagram is implemented. The program code can be executed completely on the computer, partially on the computer, as an independent software package, partially on the computer and partially on the remote computer or completely on the remote computer or server.

[0418] 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, etc. Examples of signals may include electrical, optical, radio, acoustic or other forms of propagation signals, such as carrier waves, infrared signals, etc.

[0419] 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.

[0420] 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.

[0421] 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.

[0422] 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.

[0423] In this application, the words such as "first", "second", etc. are used to distinguish the same or similar items with basically 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 element. For example, without departing from the scope of various examples, the first module can be referred to as the second module, and similarly, the second module can be referred to as the first module.

[0424] 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.

[0425] 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 code blocks means two or more code blocks. The terms "system" and "network" are often used interchangeably herein.

[0426] It should be understood that the terms used in the description of various examples herein are only for describing specific examples and are not intended to be limiting. As used in the description of 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.

[0427] 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.

[0428] It should also be understood that, depending on the context, the phrase “if it is determined that…” or “if [stated condition or event] is detected” may be interpreted to mean “upon determining that…” or “in response to determining that…” or “upon detecting [stated condition or event]” or “in response to detecting [stated condition or event]”.

[0429] 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.

[0430] 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 processing Ethernet data streams, It is characterized in that The method is applied to a receiving end device including a first forward error correction FEC decoder and a second FEC decoder, and the method includes: Acquire transmission information of a first data stream; If the transmission information meets the trigger condition, the error correction capability of the receiving end device is adjusted.

2. The method according to claim 1, It is characterized in that The transmission information includes one or more of the bit error rate BER, the number of erroneous bits, the symbol error rate SER, the number of erroneous symbols, the codeword error rate CER, the number of erroneous codewords, channel state information, and eye diagram parameters of the first data stream.

3. The method according to claim 1 or 2, It is characterized in that The receiving end device further includes a first deinterleaver, and the transmission information satisfies a trigger condition, and the error correction capability of the receiving end device is adjusted, including one or more of (1)-(6): (1) if the number of bit errors in P codewords at the second FEC decoder is less than J, the first deinterleaver and the second FEC decoder are disabled, where P and J are positive integers and P>J>1; (2) if the number of bit errors in the P codewords at the second FEC decoder is less than K, the first deinterleaver is disabled and the hard decision decoding HDD of the second FEC decoder is enabled, where K is a positive integer and K>J; (3) If the number of bit errors in the P codewords at the second FEC decoder is less than L, the first deinterleaver is disabled and the soft decision decoding SDD of the second FEC decoder is enabled, configuration 2, where L is a positive integer and L>K; (4) if the number of bit errors in the P codewords at the second FEC decoder is less than M, then the first deinterleaver is disabled and configuration 1 of the second FEC decoder SDD is enabled, where M>L; (5) if the number of bit errors in the P codewords at the second FEC decoder is less than N, then enabling the FEC decoder to be configured as SDD configuration 1 and enabling configuration 2 of the first deinterleaver, where N>M; (6) If none of (1) to (5) is satisfied, enable Configuration 1 of the second FEC decoder and enable Configuration 1 of the first deinterleaver.

4. The method according to claim 1 or 2, It is characterized in that The transmission information satisfies a trigger condition, and the error correction capability of the receiving end device is adjusted, including any of the following: (1) enabling configuration 1 of soft decision decoding SDD of the second FEC decoder; (2) enabling configuration 2 of the SDD of the second FEC decoder; (3) enabling hard decision decoding HDD of the second FEC decoder; (4) Disabling the second FEC decoder. The error correction capability of configuration 1 of the SDD of the second FEC decoder is higher than that of configuration 2, and the error correction capability of configuration 2 is stronger than that of the HDD of the second FEC decoder.

5. The method according to claim 1 or 2, It is characterized in that The receiving end device further includes a first deinterleaver. When the transmission information meets the trigger condition and the error correction capability of the receiving end device is adjusted, it includes any one of the following: (1) Enable Configuration 1 of the soft decision decoding (SDD) of the second FEC decoder and enable Configuration 1 of the first deinterleaver; (2) Enable Configuration 1 of the SDD of the second FEC decoder and enable Configuration 2 of the first deinterleaver; (3) Enable Configuration 1 of the SDD of the second FEC decoder and disable the first deinterleaver; (4) Enable Configuration 2 of the SDD of the second FEC decoder and disable the first deinterleaver; (5) Enable the hard decision decoding (HDD) of the second FEC decoder and disable the first deinterleaver; (6) Disable the second FEC decoder and the first deinterleaver; wherein the deinterleaving delay and / or power consumption of Configuration 1 of the first deinterleaver are higher than those of Configuration 2 of the first deinterleaver; the error correction capability of Configuration 1 of the SDD of the second FEC decoder is higher than that of Configuration 2, and the error correction capability of Configuration 2 is stronger than that of the HDD of the second FEC decoder.

6. The method according to claim 1 or 2, characterized in that the receiving end device further includes a data position inverse converter, a first deinterleaver, and a second deinterleaver. The data position inverse converter is used to perform an inverse transformation operation on the positions of the data bits or symbols whose positions have been transformed by the data position converter. When the transmission information meets the trigger condition and the error correction capability of the receiving end device is adjusted, it includes any one of the following: (1) When the bit error rate (BER) of the data stream received by the receiving end device satisfies BER <= a, disable the data position inverse converter, the second FEC decoder, the first deinterleaver, and the second deinterleaver, where a > 0; (2) When the BER of the data stream received by the receiving end device satisfies a < BER <= b, disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the hard decision decoding (HDD) of the second FEC decoder; (3) When the BER of the data stream received by the receiving end device satisfies b < BER <= c, disable the data position inverse converter, the second deinterleaver, and the first deinterleaver, and enable the soft decision decoding (SDD) of the second FEC decoder; (4) When the BER of the data stream received by the receiving end device satisfies c < BER <= d, disable the data position inverse converter and the first deinterleaver, and enable the soft decision decoding (SDD) of the second FEC decoder, the data position inverse converter, and the second deinterleaver; (5) When the BER of the data stream received by the receiving end device satisfies d < BER <= e, enable the soft decision decoding (SDD) of the second FEC decoder, the data position inverse converter, the second deinterleaver, and the first deinterleaver.

7. The method according to any one of claims 1 - 6, characterized in that The transmission information is related to the number of error units at the first FEC decoder and / or the second FEC decoder.

8. The method according to claim 7, It is characterized in that The error unit includes a code word or a bit or a symbol or a bit group containing any number of bits.

9. The method according to claim 1 or 2, It is characterized in that The transmission information includes: information on how to adjust the error correction capability of the receiving end device.

10. The method according to claim 9, It is characterized in that The information on how to adjust the error correction capability of the receiving end device includes: disabling or weakening the error correction capability of the second FEC decoder.

11. The method according to claim 9, It is characterized in that The receiving end device further includes a deinterleaver, and the information on how to adjust the error correction capability of the receiving end device includes: Disabling or weakening the error correction capability of the second FEC decoder; and / or Disabling or weakening the deinterleaving effect of the deinterleaver.

12. The method according to claim 9, It is characterized in that The receiving end device further includes a deinterleaver and a data position inverse transformer, and the information on how to adjust the error correction capability of the receiving end device includes: Disabling or weakening the error correction capability of the second FEC decoder; and / or Disabling or weakening the deinterleaving effect of the deinterleaver; and / or The function of the data position inverse transformer is disabled.

13. The method according to any one of claims 1 to 8, It is characterized in that The transmission information is in a register of the receiving device and / or the transmission information is triggered by a primitive.

14. A method for processing Ethernet data streams, It is characterized in that The method is performed by a transmitting end device, the transmitting end device includes a first forward error correction FEC encoder and a second FEC encoder, and the method includes: A data stream processing mode of the transmitting end device is configured based on the indication.

15. The method of claim 14, It is characterized in that The instruction includes information on how to adjust the data stream processing method of the transmitting end device.

16. The method according to claim 14 or 15, It is characterized in that The configuring of the data stream processing mode of the transmitting end device includes: disabling or weakening the capability of the second FEC encoder.

17. The method according to any one of claims 14 to 16, It is characterized in that The transmitting end device further includes a first interleaver, and the data stream processing method of configuring the transmitting end device includes: Disabling or weakening the interleaving effect of the first interleaver.

18. The method according to any one of claims 14 to 17, It is characterized in that The transmitting end device further includes a first interleaver and a data position converter, and the data stream processing method of configuring the transmitting end device includes: The data location converter function is disabled.

19. The method according to any one of claims 14 to 18, It is characterized in that The instruction comes from a receiving device corresponding to the sending device.

20. The method according to any one of claims 14 to 19, It is characterized in that The indication is in a register of the transmitting end device and / or the indication is triggered by a primitive.

21. A device for processing Ethernet data stream, It is characterized in that The method comprises a processor configured to execute the method according to any one of claims 1 to 13.

22. A device for processing Ethernet data stream, It is characterized in that The method comprises a processor configured to execute the method according to any one of claims 14 to 20.

23. The device according to claim 21 or 22, It is characterized in that The device comprises an Ethernet interface.

24. A computer system, It is characterized in that Comprising the device of claim 21 or 22.

25. A network system, It is characterized in that It includes a sending end device and a receiving end device, the sending end device includes the device described in claim 22 or 23, and the receiving end device includes the device described in claim 21 or 23.

26. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores at least one program instruction or code, and the program instruction or code is loaded and executed by the computer to enable the computer to implement any one of the methods described in claims 1 to 20.

Citation Information

Cited By

  • Method and apparatus for processing ethernet data stream, and computer system and network system

    EP4672648A1

  • Method and apparatus for processing ethernet data stream, and computer system and network system

    WO2024208120A1